* {
    box-sizing: border-box;
}

:root {
    --bg: #0f1115;
    --panel: #161a22;
    --text: #f4f5f7;
    --muted: #b8becc;
    --accent: #0b9cf0;
    --accent-2: #8ad5ff;
    --line: #2a3040;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(15, 17, 21, 0.8);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.topbar-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent);
}

.nav {
    display: flex;
    gap: 1.25rem;
}

.nav a {
    color: var(--muted);
    font-weight: 600;
}

.nav a:hover {
    color: var(--text);
}

.menu-toggle {
    display: none;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.4rem 0.6rem;
}

.hero {
    position: relative;
    min-height: 84vh;
    display: grid;
    place-items: center;
    background:
        linear-gradient(120deg, rgba(0, 0, 0, 0.7), rgba(15, 17, 21, 0.6)),
        image-set("images/bck.jpeg")
            center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(138, 213, 255, 0.15), transparent 40%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.eyebrow {
    margin: 0 0 1rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin: 0;
    line-height: 1.1;
}

.lead {
    color: var(--muted);
    max-width: 700px;
    margin: 1rem auto 0;
    font-size: 1.05rem;
}

.countdown {
    margin: 2rem auto 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(80px, 1fr));
    gap: 0.75rem;
    max-width: 620px;
}

.time-card {
    background: rgba(22, 26, 34, 0.85);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.9rem 0.5rem;
}

.time-card span {
    display: block;
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 700;
}

.time-card small {
    color: var(--muted);
}

.hero-actions {
    margin-top: 1.75rem;
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: 0.2s ease;
}

.btn-primary {
    background: var(--accent);
    color: #121212;
}

.btn-primary:hover {
    filter: brightness(1.06);
}

.btn-ghost {
    border-color: var(--line);
    color: var(--text);
    background: rgba(22, 26, 34, 0.55);
}

.btn-ghost:hover {
    border-color: var(--accent-2);
}

.btn.large {
    min-width: 210px;
}

.info-strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #11151c;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.25rem 0;
}

.info-grid-meta {
    padding-top: 0;
    border-top: 1px solid var(--line);
}

.info-grid h3 {
    margin: 0;
    color: var(--accent-2);
}

.info-stat-number {
    display: block;
    font-size: clamp(0.1rem, 2.6vw, 1.9rem);
    font-weight: 800;
    line-height: 1.1;
}

.info-grid p {
    margin: 0.35rem 0 0;
    color: var(--muted);
}

.section {
    padding: 4.5rem 0;
}

.section-label {
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.8px;
    margin: 0;
}

h2 {
    margin: 0.4rem 0 1.4rem;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.15rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.card h3 {
    margin-top: 0;
}

.card p {
    margin-bottom: 0;
    color: var(--muted);
}

.program-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.4fr);
    gap: 1rem;
    align-items: stretch;
}

.program-highlight {
    background: linear-gradient(160deg, rgba(11, 156, 240, 0.16), rgba(22, 26, 34, 0.95));
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.15rem;
}

.program-highlight:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.program-badge {
    display: inline-flex;
    margin: 0;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--accent-2);
    border: 1px solid rgba(138, 213, 255, 0.4);
    background: rgba(15, 17, 21, 0.45);
}

.program-highlight h3 {
    margin: 0.7rem 0 0.6rem;
    font-size: 1.35rem;
}

.program-highlight p {
    margin: 0 0 1rem;
    color: var(--muted);
    line-height: 1.5;
}

.program-timeline {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.6rem;
}

.program-timeline li {
    background: rgba(15, 17, 21, 0.65);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.program-timeline span {
    color: var(--text);
    font-weight: 700;
    margin-right: 0.35rem;
}

.program-events {
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 0.75rem;
}

.program-event {
    padding: 0.85rem 0.9rem;
    border-radius: 12px;
}

.program-event h3 {
    margin: 0 0 0.45rem;
    font-size: 1rem;
}

.program-event p {
    font-size: 0.9rem;
    line-height: 1.35;
}

.dark {
    background: #12161d;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.split {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.split p {
    color: var(--muted);
    max-width: 700px;
}

.apply-layout {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(320px, 1fr);
    gap: 1.2rem;
    align-items: start;
}

.apply-lead {
    color: var(--muted);
    max-width: 680px;
}

.apply-points {
    margin: 1rem 0 0;
    padding-left: 1.1rem;
    color: var(--muted);
    display: grid;
    gap: 0.45rem;
}

.apply-conditions {
    margin-top: 1rem;
    display: grid;
    gap: 0.75rem;
}

.condition-card {
    padding: 0.9rem 1rem;
}

.condition-card h3 {
    margin: 0 0 0.55rem;
    font-size: 1rem;
}

.condition-card ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--muted);
    display: grid;
    gap: 0.4rem;
    font-size: 0.92rem;
}

.apply-form {
    display: grid;
    gap: 0.55rem;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1rem;
}

.apply-form label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-2);
}

.apply-form input,
.apply-form select,
.apply-form textarea {
    width: 100%;
    background: #11151c;
    border: 1px solid var(--line);
    color: var(--text);
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    font-family: inherit;
    font-size: 0.95rem;
}

.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(11, 156, 240, 0.15);
}

.apply-form small {
    color: var(--muted);
}

.form-status {
    margin: 0.25rem 0 0;
    min-height: 1.25rem;
    color: var(--accent-2);
    font-size: 0.9rem;
}

.form-status.is-error {
    color: #ff7f7f;
}

.form-status.is-success {
    color: #8effbf;
}

.about-text {
    max-width: 800px;
    color: var(--muted);
}

.organizers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.organizer-photo {
    width: 100%;
    height: 220px;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 0.9rem;
    border: 1px solid var(--line);
}

.organizer-card p {
    min-height: 72px;
}

.special-guests-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.special-guest-card {
    display: grid;
    gap: 0.7rem;
    align-content: start;
}

.special-guest-photo {
    width: 100%;
    height: 220px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--line);
}

.special-guest-card h3 {
    margin: 0;
}

.special-guest-card p {
    margin: 0;
}

.guest-socials {
    display: grid;
    gap: 0.3rem;
}

.guest-socials .insta-link {
    margin-top: 0;
}

.gallery-lead {
    margin: 0 0 1rem;
    color: var(--muted);
}

.gallery-slider {
    display: grid;
    gap: 0.8rem;
}

.gallery-viewport {
    overflow: hidden;
}

.gallery-track {
    display: flex;
    transition: transform 0.3s ease;
}

.gallery-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
    gap: 0.8rem;
}

.gallery-item {
    margin: 0;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
    cursor: zoom-in;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item figcaption {
    padding: 0.65rem 0.75rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.gallery-nav {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--text);
    cursor: pointer;
}

.gallery-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.gallery-page {
    color: var(--muted);
    font-size: 0.92rem;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.shop-header {
    margin-bottom: 1.2rem;
    max-width: 760px;
}

.shop-header h2 {
    margin-bottom: 0.7rem;
}

.shop-lead {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.shop-card {
    display: grid;
    gap: 0.7rem;
    align-content: start;
    padding: 0.9rem;
}

.shop-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--line);
}

.shop-card h3 {
    margin: 0;
}

.shop-card p {
    margin: 0;
}

.shop-price {
    color: var(--text);
    font-weight: 700;
}

.shop-card .btn {
    width: fit-content;
    margin-top: 0.2rem;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.86);
    display: grid;
    place-items: center;
    padding: 1.25rem;
}

.lightbox[hidden] {
    display: none;
}

.lightbox img {
    max-width: min(1200px, 95vw);
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 10px;
    border: 1px solid var(--line);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(22, 26, 34, 0.85);
    color: var(--text);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.insta-link {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-2);
    font-weight: 700;
}

.insta-link:hover {
    color: var(--accent);
}

.insta-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer {
    border-top: 1px solid var(--line);
    padding: 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.footer h3 {
    margin: 0 0 0.5rem;
}

.footer p {
    margin: 0.2rem 0;
    color: var(--muted);
}

@media (max-width: 900px) {
    .cards,
    .info-grid,
    .special-guests-grid,
    .organizers-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .program-layout {
        grid-template-columns: 1fr;
    }

    .program-events {
        grid-template-columns: 1fr;
    }

    .split {
        flex-direction: column;
        align-items: flex-start;
    }

    .apply-layout {
        grid-template-columns: 1fr;
    }

    .gallery-slide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(3, auto);
    }
}

@media (max-width: 700px) {
    .menu-toggle {
        display: inline-flex;
    }

    .nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        background: #10131a;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        padding: 0.75rem 4%;
    }

    .nav.open {
        display: flex;
    }

    .countdown {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-slide {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(2, auto);
    }

    .shop-grid {
        grid-template-columns: 1fr;
    }
}
