/* ── Home Artists section ── */
.home-artists-section {
    padding: 5rem 2rem 4rem;
    max-width: 1240px;
    margin: 0 auto;
}

.home-artists-section > .container {
    max-width: 1120px;
}

.home-artists-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    margin-bottom: 2.5rem;
}

.home-artists-header h2 {
    font-family: 'Archivo', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--primary-color);
    margin: 0;
    line-height: 1;
}

.home-artists-carousel {
    position: relative;
}

.home-artists-carousel.has-overflow::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0.6rem;
    width: 96px;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to right, rgba(15, 15, 15, 0), var(--bg-base, #0f0f0f));
}

.home-artists-row {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 0.2rem 5.5rem 0.6rem 0;
}

.home-artists-row::-webkit-scrollbar {
    display: none;
}

.home-artists-carousel:not(.has-overflow) .home-artists-row {
    justify-content: center;
}

.home-artist-card {
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: var(--bg-elevated, #111);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    flex: 0 0 clamp(300px, 42%, 420px);
    min-width: 0;
    scroll-snap-align: start;
    isolation: isolate;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-artist-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.home-artist-card .arrow-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transform: scale(0.72);
    transform-origin: center;
    transition: opacity 0.2s ease;
}

.home-artist-card.is-hovered .arrow-overlay {
    opacity: 1;
}

.home-artist-card .arrow-path {
    transition: stroke-dashoffset 0.55s ease-out;
}

.home-artist-card.is-hovered .arrow-path {
    stroke-dashoffset: 0;
}

.home-artist-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--bg-elevated, #111);
}

.home-artist-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.5s ease;
}

.home-artist-card:hover .home-artist-img-wrap img {
    transform: scale(1.05);
}

.home-artist-info {
    padding: 1rem 1.25rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    border-top: 1px solid var(--border-color);
}

.home-artist-badge {
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.home-artist-name {
    font-family: 'Archivo', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary-color);
    line-height: 1.1;
    transition: color 0.2s;
}

.home-artist-card:hover .home-artist-name {
    color: var(--accent-color);
}

.home-artists-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: rgba(15, 15, 15, 0.86);
    color: var(--primary-color);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.home-artists-carousel.has-overflow .home-artists-arrow {
    display: flex;
}

.home-artists-arrow:hover {
    background: var(--accent-color);
    color: var(--bg-base);
}

.home-artists-arrow:disabled {
    cursor: default;
    opacity: 0.35;
}

.home-artists-arrow:disabled:hover {
    background: rgba(15, 15, 15, 0.86);
    color: var(--primary-color);
}

.home-artists-arrow--prev {
    left: -1rem;
}

.home-artists-arrow--next {
    right: -1rem;
}

.home-artists-cta {
    margin-top: 1.5rem;
    text-align: center;
}

.home-spotify-playlist {
    margin: 2rem auto 0;
    max-width: 860px;
    padding-top: 1rem;
}

.home-spotify-playlist iframe {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 12px;
    background: var(--bg-elevated, #111);
}

@media (max-width: 600px) {
    .home-artist-card {
        flex-basis: min(82vw, 340px);
    }
    .home-artists-row {
        gap: 1rem;
        scroll-padding-inline: 0.25rem;
        padding-right: 3.5rem;
    }
    .home-artists-section {
        padding: 3rem 1rem 2rem;
    }
    .home-artists-carousel.has-overflow::after {
        width: 56px;
    }
    .home-spotify-playlist {
        margin-top: 1.5rem;
    }
    .home-artists-arrow--prev {
        left: 0.35rem;
    }
    .home-artists-arrow--next {
        right: 0.35rem;
    }
}

/* Index page specific styles */
html, body {
    height: 100%;
    overflow-x: hidden;
}

body { position: relative; }

/* Floating SVG Animation */
.wrap {
    perspective-origin: 50% 50%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    overflow: hidden;
}

.page {
    margin: 3%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 30px;
    border-radius: 3px;
    text-align: center;
    font-size: 1.4vw;
}

/* Hero Logo */
.hero-logo {
    max-width: 1000px;
    width: 120%;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
    position: relative;
    z-index: 10;
    animation: fadeInUp 1s ease-out;
}

.svg-shape {
    position: absolute;
    bottom: -100vh;
    transform-style: preserve-3d;
    pointer-events: none;
    width: 150px;
    height: auto;
    opacity: 0.12;
    filter: brightness(0) saturate(100%) invert(82%) sepia(25%) saturate(900%) hue-rotate(211deg) brightness(95%) contrast(98%);
}

.svg-shape:nth-child(1)  { left: 80%; animation: raise1 21s linear infinite; animation-delay: -1s;  transform: scale(0.4) rotate(327deg); z-index: -6; }
.svg-shape:nth-child(2)  { left: 60%; animation: raise2 18s linear infinite; animation-delay: -2s;  transform: scale(0.5) rotate(117deg); z-index: -5; }
.svg-shape:nth-child(3)  { left: 100%; animation: raise3 12s linear infinite; animation-delay: -5s; transform: scale(0.6) rotate(201deg); z-index: -4; }
.svg-shape:nth-child(4)  { left: 20%; animation: raise4 19s linear infinite; animation-delay: -1s;  transform: scale(0.7) rotate(285deg); z-index: -3; }
.svg-shape:nth-child(5)  { left: 40%; animation: raise5 15s linear infinite; animation-delay: 0s;   transform: scale(0.8) rotate(9deg);   z-index: -2; }
.svg-shape:nth-child(6)  { left: 0%;  animation: raise6 17s linear infinite; animation-delay: -3s;  transform: scale(0.9) rotate(93deg);  z-index: -1; }
.svg-shape:nth-child(7)  { left: 80%; animation: raise7 14s linear infinite; animation-delay: -2s;  transform: scale(1.0) rotate(177deg); z-index: 0;  }
.svg-shape:nth-child(8)  { left: 60%; animation: raise8 16s linear infinite; animation-delay: -4s;  transform: scale(1.1) rotate(261deg); z-index: 1;  }
.svg-shape:nth-child(9)  { left: 40%; animation: raise9 13s linear infinite; animation-delay: 0s;   transform: scale(1.2) rotate(345deg); z-index: 2;  }
.svg-shape:nth-child(10) { left: 20%; animation: raise10 20s linear infinite; animation-delay: -1s; transform: scale(1.3) rotate(69deg);  z-index: 3;  }

@keyframes raise1  { to { bottom: 150vh; transform: scale(0.4) rotate(327deg); } }
@keyframes raise2  { to { bottom: 150vh; transform: scale(0.5) rotate(117deg); } }
@keyframes raise3  { to { bottom: 150vh; transform: scale(0.6) rotate(201deg); } }
@keyframes raise4  { to { bottom: 150vh; transform: scale(0.7) rotate(285deg); } }
@keyframes raise5  { to { bottom: 150vh; transform: scale(0.8) rotate(9deg);   } }
@keyframes raise6  { to { bottom: 150vh; transform: scale(0.9) rotate(93deg);  } }
@keyframes raise7  { to { bottom: 150vh; transform: scale(1.0) rotate(177deg); } }
@keyframes raise8  { to { bottom: 150vh; transform: scale(1.1) rotate(261deg); } }
@keyframes raise9  { to { bottom: 150vh; transform: scale(1.2) rotate(345deg); } }
@keyframes raise10 { to { bottom: 150vh; transform: scale(1.3) rotate(69deg);  } }

/* Countdown, retained for the next edition */
.page .countdown {
    display: inline-flex;
    justify-content: center;
    gap: 0;
    margin: 2rem 0;
    flex-wrap: nowrap;
    position: relative;
    z-index: 10;
    animation: fadeInUp 1.4s ease-out;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem 0.5rem;
}

.page .countdown-item {
    padding: 0 2rem;
    min-width: 80px;
    flex-shrink: 0;
    position: relative;
}

.page .countdown-item + .countdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: var(--border-strong);
}

.page .countdown-item span {
    display: block;
}

.page .countdown-item span:first-child {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    font-family: 'Archivo', sans-serif;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.page .countdown-item span:last-child {
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-family: 'Archivo Narrow', sans-serif;
    letter-spacing: 0.08em;
}

/* Festival finale */
.page .festival-finale {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem 0;
    position: relative;
    z-index: 10;
    animation: fadeInUp 1.4s ease-out;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.35rem 2.25rem 1.25rem;
}

.page .festival-finale p {
    margin: 0;
}

.page .festival-finale-title {
    color: var(--primary-color);
    font-family: 'Archivo', sans-serif;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 900;
    letter-spacing: 0.035em;
    line-height: 1.1;
    text-transform: uppercase;
}

.page .festival-finale-title span {
    color: var(--accent-color);
}

.page .festival-finale-signoff {
    margin-top: 0.45rem;
    color: var(--accent-color);
    font-family: 'Archivo Narrow', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.page .festival-finale-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 0.85rem;
    width: 100%;
    border-top: 1px solid var(--border-strong);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-family: 'Archivo Narrow', sans-serif;
    letter-spacing: 0.12em;
}

.page .festival-finale-socials {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.page .festival-finale-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.page .festival-finale-socials a:hover,
.page .festival-finale-socials a:focus-visible {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-1px);
}

.page .date {
    position: relative;
    z-index: 10;
}

/* Homepage newsletter CTA */
.home-newsletter-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 1rem;
}

.home-newsletter-section .cta-section {
    margin-top: 0;
}

/* Steunkaart section */
.home-steunkaart-section {
    padding: 5rem 2rem;
    max-width: 1240px;
    margin: 0 auto;
}

.home-steunkaart-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1120px;
}

.home-steunkaart-text h2 {
    font-family: 'Archivo', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--primary-color);
    margin: 0.4rem 0 1rem;
    line-height: 1;
}

.home-steunkaart-text > p {
    color: var(--text-body, #ccc);
    line-height: 1.65;
    margin-bottom: 1rem;
}

.home-steunkaart-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.home-steunkaart-list li {
    padding: 0.5rem 0.85rem;
    border-left: 3px solid var(--accent-color);
    background: var(--bg-elevated, #111);
    border-radius: 0 4px 4px 0;
    font-size: 0.95rem;
    color: var(--primary-color);
}

.home-steunkaart-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem !important;
}

.home-steunkaart-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    position: relative;
}

.home-steunkaart-img {
    width: 100%;
    max-width: 360px;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-steunkaart-img--front {
    transform: translateX(-1.25rem) rotate(-1.5deg);
}

.home-steunkaart-img--back {
    transform: translateX(1.25rem) rotate(1.5deg);
}

.home-steunkaart-img:hover {
    transform: translateX(0) rotate(0deg) scale(1.03);
    box-shadow: 0 14px 48px rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.home-steunkaart-inner .bancontact-qr {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .home-steunkaart-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .home-steunkaart-section { padding: 3.5rem 1.5rem; }
    .home-steunkaart-cards {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .home-steunkaart-img { max-width: 280px; }
    .home-steunkaart-img--front,
    .home-steunkaart-img--back { transform: none; }
    .home-steunkaart-img:hover { transform: scale(1.03); }
}

@media (max-width: 480px) {
    .home-steunkaart-text h2 { font-size: 2rem; }
    .home-steunkaart-section { padding: 2.5rem 1.25rem; }
    .home-steunkaart-cards { flex-direction: column; }
    .home-steunkaart-img { max-width: 100%; }
}

/* Instagram showcase */
.instagram-showcase {
    max-width: 1180px;
    text-align: center;
}

.info-block .container.instagram-showcase {
    padding: 3rem 2rem;
    background: var(--bg-surface);
}

.instagram-showcase-header {
    margin-bottom: 1.5rem;
}

.instagram-showcase-header h2 {
    margin-bottom: 0.5rem;
    font-size: 2.1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.instagram-showcase-header p {
    max-width: 520px;
    margin: 0 auto;
    color: var(--text-body);
    font-size: 1rem;
}

.instagram-post-grid {
    --instagram-equal-shell-height: auto;
    --instagram-equal-embed-height: 0px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 1rem;
    align-items: stretch;
    grid-auto-rows: 1fr;
    max-width: 1120px;
    margin: 0 auto;
}

.instagram-embed-shell {
    position: relative;
    border-radius: 8px;
    padding: 0.55rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    overflow: hidden;
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: var(--instagram-equal-shell-height);
}

.instagram-embed-shell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-color);
}

.instagram-embed-shell .instagram-media {
    flex: 1 1 auto;
    margin: 0 auto !important;
    width: 100% !important;
    min-height: var(--instagram-equal-embed-height) !important;
    min-width: 0 !important;
    max-width: 360px !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.instagram-embed-shell iframe {
    min-height: var(--instagram-equal-embed-height) !important;
}

.instagram-embed-shell .instagram-media > a {
    display: inline-block;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
}

.instagram-follow-link {
    margin-top: 1.75rem !important;
}

@media (max-width: 768px) {
    .home-newsletter-section {
        padding: 0 1.25rem 0.5rem;
    }

    .info-block .container.instagram-showcase {
        padding: 2rem 1.25rem;
    }

    .instagram-showcase-header h2 { font-size: 1.65rem; }

    .instagram-embed-shell { padding: 0.5rem; }

    .instagram-embed-shell .instagram-media {
        max-width: 380px !important;
    }

    .page .countdown {
        gap: 0;
        margin: 1.5rem 0;
        padding: 1rem 0.25rem;
    }

    .page .countdown-item {
        padding: 0 1rem;
        min-width: 0;
    }

    .page .countdown-item span:first-child {
        font-size: 1.75rem;
        margin-bottom: 0.2rem;
    }

    .page .countdown-item span:last-child {
        font-size: 0.6rem;
    }

    .page .festival-finale {
        margin: 1.5rem 0;
        padding: 1.15rem 1.5rem 1rem;
    }

    .hero-logo {
        max-width: 600px;
        width: 95%;
    }

    .page .date {
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
    }

    .svg-shape {
        width: 60px;
        opacity: 0.11;
    }
}

@media (max-width: 480px) {
    .instagram-showcase-header h2 { font-size: 1.35rem; }

    .instagram-post-grid { gap: 0.85rem; }

    .instagram-follow-link { width: 100%; }

    .hero-logo { max-width: 450px; width: 98%; }

    .page .countdown { gap: 0; padding: 0.75rem 0; }

    .page .countdown-item { padding: 0 0.75rem; min-width: 0; }

    .page .countdown-item span:first-child { font-size: 1.5rem; }

    .page .countdown-item span:last-child { font-size: 0.55rem; }

    .page .festival-finale {
        width: 100%;
        margin: 1.25rem 0;
        padding: 1rem 0.85rem 0.9rem;
    }

    .page .festival-finale-title { font-size: 1.1rem; }

    .page .festival-finale-signoff { font-size: 0.9rem; }

    .page .festival-finale-status {
        margin-top: 0.8rem;
        padding-top: 0.7rem;
        font-size: 0.62rem;
    }

    .svg-shape { width: 45px; opacity: 0.10; }
}

@media (prefers-reduced-motion: reduce) {
    .wrap { display: none; }
    .svg-shape { animation: none; }
}
