/* ==========================================================================
   KRONE LINER - style.css
   Real Liquid Glass · Dark theme (Thermo-like) · blue accent (#7995f2)
   ========================================================================== */

:root {
    --white: #ffffff;
    --gray: #6c6c6c;
    --mediumgray: #aeaeae;
    --main-color: #7995f2;
    --main-color-brighter: #9fb1ff;
    --main-color-darker: #1239c0;
    --bg: #05070c;
    --text: #eef1f9;
    --text-muted: #a9b2c6;
    --radius: 18px;
    --radius-lg: 26px;
    --font: 'Outfit', 'Segoe UI', sans-serif;
    --line: rgba(255, 255, 255, 0.1);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; scrollbar-width: thin; scrollbar-color: #2b3350 transparent; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-thumb { background: #2b3350; border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }

html {
    scroll-padding-top: 84px;
    will-change: scroll-position;
}

body {
    font-family: var(--font);
    background:
        radial-gradient(1100px 600px at 50% -12%, rgba(18, 57, 192, 0.18), transparent 60%),
        var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    animation: pageIn 0.7s var(--ease) both;
}
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { width: min(1180px, 92%); margin: 0 auto; }
.container-narrow { width: min(820px, 92%); }
.center-btn { text-align: center; margin-top: 36px; }

/* ==========================================================================
   Liquid background blobs (refracted through the glass)
   ========================================================================== */
.bg-blobs { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.bg-blobs .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    will-change: transform;
}
.blob.b1 {
    width: 560px; height: 560px;
    top: -140px; left: -120px;
    background: radial-gradient(circle, #2b57e0 0%, transparent 70%);
    opacity: 0.75;
    animation: drift1 26s ease-in-out infinite alternate;
}
.blob.b2 {
    width: 500px; height: 500px;
    top: 28%; right: -160px;
    background: radial-gradient(circle, #5a32d9 0%, transparent 70%);
    opacity: 0.6;
    animation: drift2 32s ease-in-out infinite alternate;
}
.blob.b3 {
    width: 460px; height: 460px;
    bottom: -140px; left: 20%;
    background: radial-gradient(circle, #1a86e6 0%, transparent 70%);
    opacity: 0.65;
    animation: drift3 28s ease-in-out infinite alternate;
}
.blob.b4 {
    width: 340px; height: 340px;
    bottom: 16%; right: 10%;
    background: radial-gradient(circle, #a04df0 0%, transparent 70%);
    opacity: 0.5;
    animation: drift1 22s ease-in-out infinite alternate-reverse;
}
@keyframes drift1 { from { transform: translate(0, 0) scale(1); } to { transform: translate(90px, 60px) scale(1.15); } }
@keyframes drift2 { from { transform: translate(0, 0) scale(1.1); } to { transform: translate(-80px, -50px) scale(0.95); } }
@keyframes drift3 { from { transform: translate(0, 0) scale(0.95); } to { transform: translate(60px, -70px) scale(1.1); } }

/* ==========================================================================
   REAL LIQUID GLASS
   Gradient border (light on top) · heavy blur · inner sheen · rim light
   ========================================================================== */
.glass {
    position: relative;
    transform: translateZ(0);
    border: 1px solid transparent;
    background:
        radial-gradient(140% 90% at 12% 0%, rgba(255, 255, 255, 0.09), transparent 55%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015) 55%) padding-box,
        linear-gradient(160deg,
            rgba(255, 255, 255, 0.35),
            rgba(255, 255, 255, 0.05) 30%,
            rgba(255, 255, 255, 0.12) 60%,
            rgba(255, 255, 255, 0.03) 100%) border-box;
    -webkit-backdrop-filter: blur(32px) saturate(190%);
    backdrop-filter: blur(32px) saturate(190%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 1px 0 0 rgba(255, 255, 255, 0.04),
        inset -1px 0 0 rgba(255, 255, 255, 0.04),
        inset 0 -1px 0 rgba(255, 255, 255, 0.03),
        0 24px 60px rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), background-color 0.25s var(--ease);
    white-space: nowrap;
}
.btn-primary {
    border: 1px solid transparent;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03) 55%) padding-box,
        linear-gradient(160deg,
            rgba(255, 255, 255, 0.4),
            rgba(255, 255, 255, 0.06) 30%,
            rgba(255, 255, 255, 0.14) 60%,
            rgba(255, 255, 255, 0.04) 100%) border-box;
    color: var(--text);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
    backdrop-filter: blur(18px) saturate(170%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 18px 40px rgba(0, 0, 0, 0.35);
    transform: translateZ(0);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(121, 149, 242, 0.35),
        0 22px 46px rgba(0, 0, 0, 0.45);
}
.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    color: var(--text);
}
.btn-ghost:hover { border-color: var(--main-color); color: var(--main-color-brighter); transform: translateY(-2px); }
.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid var(--line);
    color: var(--text);
}
.btn-glass:hover { border-color: var(--main-color); color: var(--main-color-brighter); transform: translateY(-2px); }

/* ==========================================================================
   Navbar (liquid glass)
   ========================================================================== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(5, 7, 12, 0.5);
    -webkit-backdrop-filter: blur(26px) saturate(170%);
    backdrop-filter: blur(26px) saturate(170%);
    border-bottom: 1px solid var(--line);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 70px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
    width: 42px; height: 42px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    padding: 3px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.05rem; font-weight: 800; letter-spacing: 0.3px; }
.brand-text small { font-size: 0.68rem; color: var(--mediumgray); letter-spacing: 1px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.2s ease;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn { padding: 10px 18px; }
.nav-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    color: #fff;
    width: 42px; height: 42px;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

/* Language selector */
.lang-select { position: relative; }
.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    color: var(--text);
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: border-color 0.2s ease;
}
.lang-btn:hover, .lang-btn.open { border-color: var(--main-color); }
.lang-btn i { font-size: 0.7rem; color: var(--text-muted); transition: transform 0.25s ease; }
.lang-btn.open i { transform: rotate(180deg); }
.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 170px;
    background: rgba(12, 16, 28, 0.85);
    -webkit-backdrop-filter: blur(26px) saturate(170%);
    backdrop-filter: blur(26px) saturate(170%);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 6px;
    display: none;
    flex-direction: column;
    gap: 2px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 200;
}
.lang-menu.open { display: flex; }
.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--text);
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
}
.lang-option:hover, .lang-option.active { background: rgba(121, 149, 242, 0.16); color: #fff; }
.lang-option span { font-size: 1.05rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(5, 7, 12, 0.55) 0%, rgba(5, 7, 12, 0.25) 45%, rgba(5, 7, 12, 0.7) 100%);
}
.hero-inner { position: relative; z-index: 1; display: flex; justify-content: center; }
.hero-glass {
    background:
        radial-gradient(140% 90% at 12% 0%, rgba(255, 255, 255, 0.05), transparent 55%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.005) 55%) padding-box,
        linear-gradient(160deg,
            rgba(255, 255, 255, 0.35),
            rgba(255, 255, 255, 0.05) 30%,
            rgba(255, 255, 255, 0.12) 60%,
            rgba(255, 255, 255, 0.03) 100%) border-box;
    -webkit-backdrop-filter: blur(6px) saturate(150%);
    backdrop-filter: blur(6px) saturate(150%);
}
.hero-glass {
    width: min(760px, 100%);
    text-align: center;
    padding: 56px 48px;
    border-radius: 30px;
    animation: heroIn 0.9s var(--ease) 0.15s both;
}
@keyframes heroIn {
    from { opacity: 0; transform: translateY(26px) scale(0.98); }
    to { opacity: 1; transform: translateZ(0); }
}
.hero-logo {
    width: 110px; height: 110px;
    object-fit: contain;
    margin: 0 auto 22px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 6px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.hero h1 {
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.05;
    background: linear-gradient(120deg, #fff 30%, var(--main-color-brighter) 70%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }
.tagline {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--main-color-brighter);
    margin: 8px 0 16px;
}
.hero .lead {
    max-width: 560px;
    margin: 0 auto 30px;
    color: var(--text-muted);
    font-size: 1.05rem;
}
.hero-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats {
    display: flex;
    justify-content: center;
    gap: clamp(16px, 5vw, 60px);
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}
.hero-stats .stat { display: flex; flex-direction: column; gap: 2px; min-width: 70px; }
.hero-stats strong { font-size: clamp(1.7rem, 3.5vw, 2.3rem); font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.hero-stats strong i { font-size: 0.7em; color: var(--main-color-brighter); margin-right: 6px; }
.hero-stats span { color: var(--text-muted); font-size: 0.85rem; }

/* ------- Scroll down hint ------- */
.scroll-hint {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transform: translateX(-50%);
    text-decoration: none;
    cursor: pointer;
    animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-hint.hidden { opacity: 0; pointer-events: none; transition: opacity 0.5s; }
.scroll-hint-mouse {
    width: 28px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    background: rgba(5, 7, 12, 0.3);
    backdrop-filter: blur(4px);
}
.scroll-hint-mouse i {
    display: block;
    width: 3px;
    height: 8px;
    border-radius: 3px;
    background: var(--main-color-brighter);
    animation: wheelScroll 1.8s ease-in-out infinite;
}
.scroll-hint-text {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}
@keyframes wheelScroll {
    0% { transform: translateY(0); opacity: 1; }
    60% { transform: translateY(10px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 100px 0; position: relative; }
.page-head {
    padding: 160px 0 20px;
    text-align: center;
}
.page-head h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin: 10px 0 12px;
}
.page-section { padding: 30px 0 110px; }
.story { max-width: 760px; }
.story p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 22px;
}
.story p:last-child { margin-bottom: 0; }

.story-photo {
    position: relative;
    margin: 52px auto 0;
    padding: 16px;
    max-width: 760px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}
.story-photo img {
    display: block;
    width: 100%;
    border-radius: 16px;
}
.story-photo figcaption {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding-top: 14px;
}

.deco-heart {
    position: absolute;
    font-size: 22px;
    line-height: 1;
    opacity: 0.9;
    filter: drop-shadow(0 4px 10px rgba(255, 60, 120, 0.4));
    animation: heartFloat 3.4s ease-in-out infinite;
    pointer-events: none;
}
.dh1 { top: -22px; left: 6%; animation-delay: 0s; }
.dh2 { top: -18px; right: 8%; animation-delay: 0.55s; }
.dh3 { bottom: -16px; left: 12%; animation-delay: 1.1s; }
.dh4 { top: 32%; right: -26px; font-size: 18px; animation-delay: 1.5s; }
.dh5 { bottom: -14px; right: 14%; animation-delay: 0.8s; }
.dh6 { top: 12%; left: -26px; font-size: 18px; animation-delay: 0.35s; }
@keyframes heartFloat {
    0%, 100% { transform: translateY(0) rotate(-8deg) scale(1); }
    50% { transform: translateY(-12px) rotate(8deg) scale(1.12); }
}
.section-alt {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.035));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-head { text-align: center; margin-bottom: 54px; }
.section-head h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.5px;
}
.section-sub { color: var(--text-muted); margin-top: 10px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--main-color-brighter);
    margin-bottom: 16px;
}

/* ==========================================================================
   Info cards
   ========================================================================== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.info-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    border-radius: var(--radius);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 0 1px rgba(121, 149, 242, 0.45), 0 26px 60px rgba(0, 0, 0, 0.5);
}
.info-card i {
    width: 44px; height: 44px;
    flex-shrink: 0;
    display: grid; place-items: center;
    border-radius: 12px;
    font-size: 1.1rem;
    color: var(--main-color-brighter);
    background: rgba(121, 149, 242, 0.14);
}
.info-card span { display: block; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.info-card b { font-size: 0.98rem; font-weight: 700; }

/* ==========================================================================
   Featured event (Thermo style)
   ========================================================================== */
.featured-event {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.feat-cover { position: relative; min-height: 320px; }
.feat-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feat-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 35%, rgba(5, 7, 12, 0.7) 100%); }
.event-tag {
    position: absolute;
    top: 18px; left: 18px;
    z-index: 2;
    background: rgba(5, 7, 12, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 5px 14px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
}
.event-host {
    position: absolute;
    bottom: 18px; left: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    background: rgba(5, 7, 12, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 10px;
}
.feat-body { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.feat-body h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; line-height: 1.15; }
.feat-sub { color: var(--text-muted); margin: 12px 0 20px; }
.feat-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* ==========================================================================
   Event meta (Thermo 2x2 grid)
   ========================================================================== */
.event-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
}
.event-meta span {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.4;
}
.event-meta span i { color: var(--main-color); width: 15px; text-align: center; flex-shrink: 0; margin-top: 3px; }
.event-meta span b {
    color: var(--text);
    font-weight: 600;
    flex-shrink: 0;
}
.event-meta span b::after { content: ""; }

/* ==========================================================================
   Events carousel (auto slide, gallery style)
   ========================================================================== */
.events-carousel {
    position: relative;
    overflow: hidden;
    padding: 10px 0 6px;
}
.events-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: trackScroll 64s linear infinite;
}
.events-track:hover { animation-play-state: paused; }
.events-set { display: flex; gap: 22px; padding-right: 22px; }
.events-set .event-card { width: 360px; flex-shrink: 0; }
@keyframes trackScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.carousel-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 90px;
    z-index: 3;
    pointer-events: none;
}
.carousel-fade.left { left: 0; background: linear-gradient(90deg, rgba(5, 7, 12, 0.92) 0%, transparent 100%); }
.carousel-fade.right { right: 0; background: linear-gradient(270deg, rgba(5, 7, 12, 0.92) 0%, transparent 100%); }
.events-more { display: none; }
.events-more.open { display: block; animation: eventsIn 0.5s var(--ease) both; }
@keyframes eventsIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.events-more-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 22px;
    margin-top: 36px;
}
.events-more-end {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding: 22px 26px;
    border-radius: var(--radius);
}
.events-more-end p { display: flex; align-items: center; gap: 10px; color: var(--text-muted); }
.events-more-end p i { color: var(--main-color-brighter); }
.event-card {
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.event-card:hover {
    transform: translateY(-5px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 0 0 1px rgba(121, 149, 242, 0.45),
        0 26px 60px rgba(0, 0, 0, 0.5);
}
.event-cover { position: relative; height: 160px; overflow: hidden; }
.event-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.event-card:hover .event-cover img { transform: scale(1.05); }
.event-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5, 7, 12, 0.55) 100%); }
.event-body { padding: 20px 22px 22px; }
.event-body h3 { font-size: 1.08rem; font-weight: 700; line-height: 1.3; margin-bottom: 4px; }
.event-host-line {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.event-host-line b { color: var(--main-color-brighter); font-weight: 600; }
.event-foot {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 16px;
    margin-top: 18px;
    border-top: 1px solid var(--line);
}
.event-foot .btn { padding: 9px 16px; font-size: 0.82rem; }
.event-foot .btn-primary { margin-left: auto; }

/* ==========================================================================
   Partners
   ========================================================================== */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 16px;
}
.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 26px 18px;
    border-radius: var(--radius);
    text-align: center;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 0 1px rgba(121, 149, 242, 0.45), 0 26px 60px rgba(0, 0, 0, 0.5);
}
.partner-card img {
    width: 72px; height: 72px;
    object-fit: contain;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    padding: 6px;
}
.partner-card h4 { font-size: 0.92rem; font-weight: 700; line-height: 1.3; }
.partner-card span { font-size: 0.75rem; color: var(--text-muted); }

/* ==========================================================================
   Team
   ========================================================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 18px;
}
.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
    padding: 28px 18px;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.team-card:hover {
    transform: translateY(-6px);
    border-color: rgba(121, 149, 242, 0.45);
    box-shadow: 0 0 0 1px rgba(121, 149, 242, 0.35), 0 26px 60px rgba(0, 0, 0, 0.5);
}
.team-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    padding: 3px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.14);
    overflow: hidden;
}
.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.team-avatar-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--main-color), var(--main-color-brighter));
    color: #fff;
    font-size: 1.9rem;
    font-weight: 800;
}
.team-card h4 { font-size: 1.02rem; font-weight: 700; line-height: 1.3; }
.team-role { color: var(--main-color-brighter); font-size: 0.85rem; font-weight: 600; }
.team-sub { color: var(--text-muted); font-size: 0.76rem; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 18px;
}
.gallery-item {
    position: relative;
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16 / 9;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }

/* Gallery pagination */
.gallery-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}
.gallery-page-info {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* ==========================================================================
   Join
   ========================================================================== */
.join-glass {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 54px;
    border-radius: 30px;
    align-items: center;
}
.join-left h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 14px; }
.join-left p { color: var(--text-muted); }
.join-links { display: grid; gap: 14px; }
.join-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 14px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.join-link:hover {
    transform: translateX(6px);
    box-shadow: 0 0 0 1px rgba(121, 149, 242, 0.45), 0 26px 60px rgba(0, 0, 0, 0.5);
}
.join-link i {
    width: 46px; height: 46px;
    flex-shrink: 0;
    display: grid; place-items: center;
    border-radius: 12px;
    font-size: 1.25rem;
    color: var(--main-color-brighter);
    background: rgba(121, 149, 242, 0.14);
}
.join-link h4 { font-size: 0.98rem; font-weight: 700; }
.join-link span { font-size: 0.82rem; color: var(--text-muted); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; gap: 12px; }
.faq-item { border-radius: 14px; overflow: hidden; }
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { color: var(--main-color-brighter); transition: transform 0.25s ease; flex-shrink: 0; }
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-item p { padding: 0 22px 20px; color: var(--text-muted); font-size: 0.95rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: rgba(3, 5, 9, 0.7);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--line);
    padding: 70px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}
.footer-brand p { color: var(--text-muted); margin: 16px 0 20px; max-width: 280px; }
.footer-col h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; }
.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 5px 0;
    transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--main-color-brighter); }
.socials { display: flex; gap: 10px; }
.socials a {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    color: var(--text);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}
.socials a:hover { background: var(--main-color); color: #05070c; border-color: var(--main-color); }
.footer-bottom {
    border-top: 1px solid var(--line);
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p { color: var(--gray); font-size: 0.82rem; }
.footer-bottom a { color: var(--main-color-brighter); }
.footer-bottom a:hover { text-decoration: underline; }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal:where(.visible) { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal:nth-child(4) { transition-delay: 0.18s; }
.reveal:nth-child(5) { transition-delay: 0.24s; }
.reveal:nth-child(6) { transition-delay: 0.30s; }
.reveal:nth-child(7) { transition-delay: 0.36s; }
.reveal:nth-child(8) { transition-delay: 0.42s; }
.reveal:nth-child(9) { transition-delay: 0.48s; }
.reveal:nth-child(10) { transition-delay: 0.54s; }

/* ==========================================================================
   ULTRA SMOOTH OVERRIDES
   Longer easing, buttery hover, GPU-friendly motion
   ========================================================================== */
/* Longer, softer easing everywhere */
.btn,
.btn-primary,
.btn-ghost,
.btn-glass,
.info-card,
.event-card,
.team-card,
.partner-card,
.join-link,
.socials a,
.nav-links a,
.lang-btn,
.lang-option,
.footer-col a,
.faq-item summary,
.gallery-item img,
.event-cover img,
.team-avatar img,
.partner-card img {
    transition-duration: 0.5s !important;
    transition-timing-function: var(--ease) !important;
}

/* Extra lift + glow on hover for interactive glass surfaces */
.btn:hover,
.btn-primary:hover,
.btn-ghost:hover,
.btn-glass:hover {
    transform: translateY(-3px) scale(1.02);
    filter: brightness(1.06);
}
.info-card:hover,
.event-card:hover,
.team-card:hover,
.partner-card:hover,
.join-link:hover {
    transform: translateY(-6px) scale(1.015);
    filter: brightness(1.04);
}
.partner-card:hover { transform: translateY(-5px) scale(1.03); }

/* Bouncy, smooth button press */
.btn:active,
.btn-primary:active,
.btn-ghost:active,
.btn-glass:active {
    transform: translateY(-1px) scale(0.97);
    transition-duration: 0.12s !important;
}

/* Softer reveal animation with gentle float */
.reveal {
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1) !important;
    transition-property: opacity, transform !important;
    transition-duration: 1s !important;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
    transform: translateY(16px);
}
.reveal:where(.visible) { transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.06s !important; }
.reveal:nth-child(3) { transition-delay: 0.12s !important; }
.reveal:nth-child(4) { transition-delay: 0.18s !important; }
.reveal:nth-child(5) { transition-delay: 0.24s !important; }
.reveal:nth-child(6) { transition-delay: 0.30s !important; }
.reveal:nth-child(7) { transition-delay: 0.36s !important; }
.reveal:nth-child(8) { transition-delay: 0.42s !important; }
.reveal:nth-child(9) { transition-delay: 0.48s !important; }
.reveal:nth-child(10) { transition-delay: 0.54s !important; }

/* Hover glow ring that fades in smoothly */
.glass::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    opacity: 0;
    pointer-events: none;
    background: linear-gradient(160deg,
        rgba(121, 149, 242, 0.22),
        rgba(255, 255, 255, 0) 45%);
    transition: opacity 0.5s var(--ease);
}
.glass:hover::before { opacity: 1; }

/* Gentle image zoom everywhere */
.gallery-item img,
.event-cover img,
.story-photo img {
    transition-duration: 0.9s !important;
    transition-timing-function: var(--ease) !important;
}

/* Smooth navbar fade on scroll is handled by JS; smooth the shadow */
.nav { transition: background 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.6s var(--ease); }

/* FAQ answer soft entrance */
.faq-item[open] p { animation: faqIn 0.5s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Respect users who prefer reduced motion */
/* All animations always run */

/* ==========================================================================
   CUSTOM CURSOR (image-based)
   ========================================================================== */
/* JS adds .has-cursor on fine pointers; arrow image = default, hand = interactive */
@media (pointer: fine) {
    html.has-cursor,
    html.has-cursor * { cursor: url('../assets/cursor-arrow-v4.png') 6 6, auto; }
    html.has-cursor a,
    html.has-cursor a *,
    html.has-cursor button,
    html.has-cursor button *,
    html.has-cursor .btn,
    html.has-cursor .btn *,
    html.has-cursor input,
    html.has-cursor select,
    html.has-cursor textarea,
    html.has-cursor summary { cursor: url('../assets/cursor-hand-v4.png') 18 18, pointer; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
    .featured-event { grid-template-columns: 1fr; }
    .feat-cover { min-height: 220px; }
    .join-glass { grid-template-columns: 1fr; gap: 30px; padding: 36px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: absolute;
        top: 70px; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        background: rgba(5, 7, 12, 0.92);
        -webkit-backdrop-filter: blur(26px);
        backdrop-filter: blur(26px);
        border-bottom: 1px solid var(--line);
        padding: 12px 6%;
        gap: 4px;
        display: none;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 14px; }
    .hero-glass { padding: 40px 26px; }
    .hero-btns .btn { width: 100%; }
}
@media (max-width: 560px) {
    .section { padding: 70px 0; }
    .event-meta { grid-template-columns: 1fr; }
    .feat-body { padding: 28px 22px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .nav-actions .btn { display: none; }
    .brand-text small { display: none; }
    .info-grid { grid-template-columns: 1fr 1fr; }
    .events-set .event-card { width: min(340px, 86vw); }
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(3, 5, 10, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease);
}
.lightbox.open {
    opacity: 1;
    pointer-events: auto;
}
.lightbox-box {
    position: relative;
    width: min(90vw, 2000px);
    height: min(90vh, 1500px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    border-radius: 20px;
    background:
        radial-gradient(140% 90% at 12% 0%, rgba(255, 255, 255, 0.05), transparent 55%),
        #0d1220;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
    transform: scale(0.85);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}
.lightbox.open .lightbox-box { transform: scale(1); }
.lightbox-frame {
    position: relative;
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #05070c;
    border-radius: 14px;
    overflow: hidden;
}
.lightbox-frame img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.lightbox-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(5, 7, 12, 0.65);
    color: #fff;
    font-size: 1.15rem;
    transition: background 0.25s var(--ease), transform 0.3s var(--ease);
}
.lightbox-close:hover {
    background: rgba(255, 70, 70, 0.85);
    transform: rotate(90deg);
}
