/* Global Styles */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #121212;
    background-image: radial-gradient(circle at 50% 0%, #2a1f35 0%, #121212 70%);
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    overflow-x: hidden;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: transparent; /* Ensure canvas background is transparent */
}

/* Seasonal Themes */
body.theme-snow {
    background-image: radial-gradient(circle at 50% 0%, #1a2a3a 0%, #0a1015 70%);
}

body.theme-halloween {
    background-image: radial-gradient(circle at 50% 0%, #3a1a0a 0%, #150500 70%);
}
body.theme-halloween .button-link {
    border-color: rgba(255, 100, 0, 0.3);
}
body.theme-halloween .button-link:hover {
    box-shadow: 0 0 20px rgba(255, 100, 0, 0.4);
    border-color: #ff6400;
}

body.theme-easter {
    background-image: radial-gradient(circle at 50% 0%, #2a3a2a 0%, #0a150a 70%);
}
body.theme-easter .button-link {
    border-color: rgba(100, 255, 150, 0.2);
}

/* Seasonal Decorations */
.seasonal-decoration {
    position: fixed;
    pointer-events: none;
    z-index: 1;
    opacity: 0.8;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
}

/* Snowman for Winter */
.deco-snowman {
    bottom: 20px;
    left: 20px;
    font-size: 4rem;
    animation: wobble 3s infinite ease-in-out;
}

/* Pumpkin for Halloween */
.deco-pumpkin {
    bottom: 20px;
    left: 20px;
    font-size: 4rem;
    animation: pulse 2s infinite;
}

/* Egg for Easter */
.deco-egg {
    bottom: 20px;
    left: 20px;
    font-size: 3rem;
    animation: bounce 2s infinite;
}

@keyframes wobble {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    background-color: #121212;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #444;
}

/* Layout */
.wrapper {
    min-height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 40px;
    padding-bottom: 40px;
}

.content {
    width: 100%;
    max-width: 480px;
    padding: 0 20px;
}

.container {
    width: 100%;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    filter: none;
    margin: 0;
}

/* Header */
#header {
    margin: 20px 0 40px 0;
    text-align: center;
}

#header-line {
    margin: 0;
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

#under-line {
    margin-top: 8px;
    color: #a0a0a0;
    font-weight: 400;
    font-size: 1.1rem;
    text-decoration: none;
}

#album-link-2 {
    text-decoration: none;
    color: white;
    width: max-content;
}

#album-link-2:hover {
    color: #7a7979;
    transition: color;
    transition-duration: 300ms;
}

/* Links */
#links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding-bottom: 40px;
}

.button-link {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Oddělí levou část a šipku */
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px; /* Větší zaoblení pro modernější look */
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    overflow: hidden;
}

/* Levá část (Ikona + Texty) */
.link-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1; /* Zabere veškeré dostupné místo */
}

.link-icon {
    width: 42px; /* Větší ikona */
    height: 42px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}

/* Textová skupina */
.link-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.link-title {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
    color: #ffffff;
}

.link-subtitle {
    font-weight: 400;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6); /* Šedivější text */
    margin-top: 2px;
    transition: color 0.2s ease;
}

/* Šipka */
.link-arrow {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 10px;
    transition: transform 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

/* Hover Efekty */
.button-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.02); /* Jemné zvětšení */
}

.button-link:hover .link-subtitle {
    color: rgba(255, 255, 255, 0.9); /* Podnadpis se rozsvítí */
}

.button-link:hover .link-arrow {
    color: #fff;
    transform: translateX(4px); /* Šipka uhne doprava */
}

/* Banner Styles */
#banner {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* Square aspect ratio for album art */
    max-width: 420px;
    margin: 0 auto 30px auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
    background-color: #1e1e1e; /* Placeholder color */
}

#banner:hover {
    transform: scale(1.02);
}

#bannerimage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0; /* Hidden initially for fade-in */
    transition: opacity 0.5s ease;
}

#bannerimage.loaded {
    opacity: 1;
}

.status-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: rgba(239, 65, 65, 0.9);
    backdrop-filter: blur(4px);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 10;
    pointer-events: none;
}

.priority {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(141, 141, 141, 0.507);
}