/* --- CUSTOM FONT --- */
@font-face {
    font-family: 'Agrandir Grand';
    src: url('Agrandir-Grand.ttf') format('truetype'); 
    font-weight: normal;
    font-style: normal;
}

/* --- RESET & VARIABLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --radiant-blue: #00A6EF;
    --vibrant-gold: #FFD21E;
    --aqua-blue: #00E5FF;
    --accent-orange: #FF7043;
    --deep-blue: #005EA8;
    --ink-blue: #023B69;
    --primary-cyan: var(--aqua-blue); 
    --accent-gold: var(--vibrant-gold); 
    --bg-dark: var(--ink-blue); 
    --text-light: #F4FBFF; 
    --text-dark: #063A5B;
    --glass-bg: rgba(0, 166, 239, 0.18); 
}

body {
    font-family: 'Poppins', serif;
    background: linear-gradient(180deg, var(--radiant-blue) 0%, var(--deep-blue) 48%, #0179BC 100%); 
    color: var(--text-light);
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

.about-section,
.team-section,
.agenda-section,
.faq-section,
.contact-section,
footer {
    content-visibility: auto;
    contain-intrinsic-size: 900px;
}

/* --- FIRST VIEW REVEAL --- */
.reveal-card {
    opacity: 0;
    transform: translate3d(0, 34px, 0) scale(0.985);
    transition:
        opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease,
        color 0.28s ease;
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.reveal-card.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.reveal-text {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition:
        opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
        color 0.28s ease,
        text-shadow 0.28s ease;
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.reveal-text.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.about-card,
.foundation-card,
.org-field-node,
.card,
.timeline-svg-panel,
.modal-card,
.mentor-guild-card,
.contact-card,
.faq-container details {
    transition:
        opacity 0.72s ease,
        transform 0.22s ease,
        background 0.14s ease,
        border-color 0.14s ease,
        box-shadow 0.18s ease,
        color 0.08s ease;
}

.about-card:hover,
.about-card:focus,
.foundation-card:hover,
.foundation-card:focus,
.org-field-node:hover,
.org-field-node:focus-visible,
.card:hover,
.mentor-guild-card:hover,
.contact-card:hover,
.faq-container details:hover,
.faq-container details:focus-within {
    background: var(--vibrant-gold);
    border-color: var(--vibrant-gold);
    color: var(--text-dark);
    box-shadow: 0 18px 46px rgba(255, 210, 30, 0.38);
}

.about-card:hover *,
.about-card:focus *,
.foundation-card:hover *,
.foundation-card:focus *,
.org-field-node:hover *,
.org-field-node:focus-visible *,
.card:hover *,
.mentor-guild-card:hover *,
.contact-card:hover *,
.faq-container details:hover *,
.faq-container details:focus-within * {
    color: var(--text-dark);
    text-shadow: none;
    transition: color 0.08s ease, text-shadow 0.08s ease;
}

.faq-container details:hover summary::before,
.faq-container details:focus-within summary::before {
    border-color: rgba(6, 58, 91, 0.52);
    color: var(--text-dark);
    box-shadow: 0 0 0 3px rgba(6, 58, 91, 0.12);
}

.faq-container details:hover summary::after,
.faq-container details:focus-within summary::after,
.faq-container details[open]:hover summary::after,
.faq-container details[open]:focus-within summary::after {
    color: var(--text-dark);
}

.reveal-card {
    transition:
        opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.14s ease,
        border-color 0.14s ease,
        box-shadow 0.18s ease,
        color 0.08s ease;
}

.about-card:hover::before,
.about-card:focus::before,
.foundation-card:hover::before,
.foundation-card:focus::before {
    opacity: 0;
}

/* --- SPLASH SCREEN --- */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    overflow: hidden;
    pointer-events: none; 
}

.shard {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, var(--radiant-blue) 0%, var(--deep-blue) 55%, var(--ink-blue) 100%); 
    z-index: 99998;
    transition: transform 0.7s cubic-bezier(0.8, 0, 0.2, 1), opacity 0.7s ease; 
}

.shard-top { clip-path: inset(0 0 50% 0); }
.shard-bottom { clip-path: inset(50% 0 0 0); }
.shard-right,
.shard-left {
    display: none;
}

.shard.shattered.shard-top { transform: translateY(-100vh); opacity: 0; }
.shard.shattered.shard-bottom { transform: translateY(100vh); opacity: 0; }


.splash-content {
    z-index: 100000;
    pointer-events: auto; 
    position: relative;
    width: 100%;
    min-height: calc(100dvh - 48px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin: auto;
}

.attendance-gate {
    width: min(92vw, 760px);
    max-height: min(72dvh, 620px);
    overflow-y: auto;
    scrollbar-gutter: stable;
    padding: 26px;
    border: 1px solid rgba(255, 210, 30, 0.46);
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(0, 229, 255, 0.14), rgba(2, 59, 105, 0.62)),
        rgba(1, 18, 45, 0.72);
    box-shadow: inset 0 0 28px rgba(0, 229, 255, 0.1), 0 20px 58px rgba(0, 30, 72, 0.36);
    transition: opacity 0.42s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), max-height 0.42s ease, padding 0.42s ease, margin 0.42s ease;
}

.attendance-heading {
    text-align: center;
    margin-bottom: 20px;
}

.attendance-heading span {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 5px 12px;
    border: 1px solid rgba(0, 229, 255, 0.36);
    border-radius: 999px;
    color: var(--primary-cyan);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.attendance-heading h2 {
    margin: 0;
    font-family: 'Eternal', sans-serif;
    color: #ffffff;
    font-size: clamp(1.7rem, 4vw, 2.8rem);
    letter-spacing: 0;
    text-shadow: 0 0 16px rgba(255, 210, 30, 0.42);
}

.attendance-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
}

.attendance-list label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 8px;
    background: rgba(1, 18, 45, 0.36);
    cursor: pointer;
    color: rgba(244, 251, 255, 0.88);
    font-size: 0.88rem;
    font-weight: 700;
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.attendance-list label:has(input:checked) {
    border-color: rgba(255, 210, 30, 0.62);
    background: rgba(255, 210, 30, 0.14);
    color: #ffffff;
}

.attendance-list input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-gold);
}

.attendance-check-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: min(100%, 260px);
    min-height: 42px;
    margin: 16px auto 0;
    border: 1px solid rgba(255, 210, 30, 0.62);
    border-radius: 8px;
    background: rgba(255, 210, 30, 0.14);
    color: var(--accent-gold);
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.attendance-check-all:hover {
    transform: translateY(-2px);
    background: var(--vibrant-gold);
    color: var(--text-dark);
    box-shadow: 0 14px 34px rgba(255, 210, 30, 0.26);
}

.attendance-progress {
    height: 8px;
    margin-top: 18px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(244, 251, 255, 0.16);
}

.attendance-progress-bar {
    display: block;
    width: var(--attendance-progress, 0%);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--aqua-blue), var(--vibrant-gold));
    transition: width 0.28s ease;
}

.attendance-status {
    margin-top: 10px;
    color: rgba(244, 251, 255, 0.78);
    text-align: center;
    font-size: 0.88rem;
    font-weight: 700;
}

.splash-content:not(.attendance-open) .attendance-gate {
    display: none;
}

.splash-content.attendance-open:not(.attendance-complete) .splash-bird-logo,
.splash-content.attendance-open:not(.attendance-complete) .onboarding-panel,
.splash-content.attendance-open:not(.attendance-complete) #btn-start {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    animation: none;
}

.splash-content.attendance-complete .attendance-gate {
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
    pointer-events: none;
    transform: translateY(-18px) scale(0.97);
}

.splash-bird-logo {
    width: clamp(210px, 30vw, 390px);
    height: auto;
    opacity: 0;
    filter:
        drop-shadow(0 0 18px rgba(0, 229, 255, 0.74))
        drop-shadow(0 0 18px rgba(255, 210, 30, 0.42));
    transform-origin: 50% 92%;
    cursor: pointer;
    animation: birdFadeDown 1.08s cubic-bezier(0.22, 1, 0.36, 1) 0.22s forwards;
    transition: filter 0.32s ease;
}

.splash-bird-logo:hover {
    filter:
        drop-shadow(0 0 26px rgba(0, 229, 255, 0.88))
        drop-shadow(0 0 24px rgba(255, 210, 30, 0.58));
}

.splash-bird-logo::selection {
    background: transparent;
}

.splash-logo-hint {
    margin: -6px 0 0;
    text-align: center;
    color: rgba(244, 251, 255, 0.86);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(10px);
    animation: splashHintIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.95s forwards;
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.splash-logo-hint span {
    display: block;
    font-size: clamp(0.78rem, 2.2vw, 0.98rem);
    text-shadow: 0 0 14px rgba(0, 229, 255, 0.45);
}

.splash-logo-hint small {
    display: block;
    margin-top: 6px;
    color: var(--accent-gold);
    font-size: clamp(0.62rem, 1.9vw, 0.76rem);
    letter-spacing: 0.3px;
    text-shadow: 0 0 12px rgba(255, 210, 30, 0.42);
}

.splash-content:not(.attendance-open):not(.onboarding-open):not(.onboarding-complete):not(.is-starting) .splash-logo-hint {
    visibility: visible;
}

.splash-content.attendance-open .splash-logo-hint,
.splash-content.onboarding-open .splash-logo-hint,
.splash-content.onboarding-complete .splash-logo-hint,
.splash-content.is-starting .splash-logo-hint {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
}

@keyframes splashHintIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.splash-content.is-starting .splash-bird-logo {
    animation: birdTakeoff 0.42s ease-in forwards;
}

.splash-content.is-starting #btn-start {
    opacity: 0;
    pointer-events: none;
    transition-delay: 0s;
    transition-duration: 0.08s;
    transform: translateY(-10px) scale(0.96);
}

.onboarding-panel {
    width: min(86vw, 760px);
    min-height: 280px;
    max-height: min(64dvh, 430px);
    padding: 24px 30px 22px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 210, 30, 0.58);
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(0, 229, 255, 0.14), rgba(2, 59, 105, 0.62)),
        rgba(1, 18, 45, 0.62);
    box-shadow:
        inset 0 0 28px rgba(0, 229, 255, 0.1),
        0 20px 58px rgba(0, 30, 72, 0.36);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(22px) scale(0.965);
    max-height: 0;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
    transition:
        opacity 0.74s ease,
        visibility 0.74s ease,
        transform 0.74s cubic-bezier(0.16, 1, 0.3, 1),
        max-height 0.66s cubic-bezier(0.16, 1, 0.3, 1),
        min-height 0.66s cubic-bezier(0.16, 1, 0.3, 1),
        padding 0.66s cubic-bezier(0.16, 1, 0.3, 1),
        margin 0.66s ease;
}

.onboarding-panel::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(0, 229, 255, 0.22);
    border-radius: 8px;
    pointer-events: none;
}

.onboarding-panel::after {
    content: "";
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: 70px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 210, 30, 0.85), rgba(255, 112, 67, 0.72), transparent);
    opacity: 0.48;
    pointer-events: none;
}

.onboarding-slide {
    display: block;
    text-align: center;
    position: absolute;
    inset: 24px 30px 92px;
    z-index: 1;
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    visibility: hidden;
    pointer-events: none;
    overflow-y: auto;
    scrollbar-width: thin;
    transition:
        opacity 0.48s ease,
        transform 0.48s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.48s ease;
}

.onboarding-slide.is-active {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
    pointer-events: auto;
}

.onboarding-step {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 6px 14px;
    border: 1px solid rgba(0, 229, 255, 0.42);
    border-radius: 999px;
    color: var(--primary-cyan);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.onboarding-slide h2 {
    font-family: 'Eternal', sans-serif;
    color: #ffffff;
    font-size: clamp(1.35rem, 2.45vw, 2.05rem);
    line-height: 1.2;
    letter-spacing: 0;
    margin-bottom: 14px;
    text-shadow: 0 0 16px rgba(255, 210, 30, 0.45), 0 0 22px rgba(0, 229, 255, 0.28);
}

.onboarding-slide p {
    max-width: 620px;
    margin: 0 auto;
    color: rgba(244, 251, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.62;
}

.onboarding-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 0;
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 20px;
    z-index: 1;
}

.onboarding-dots {
    display: flex;
    gap: 8px;
}

.onboarding-dots span {
    width: 28px;
    height: 4px;
    border-radius: 999px;
    background: rgba(244, 251, 255, 0.28);
    transition: background 0.25s ease, width 0.25s ease;
}

.onboarding-dots span.is-active {
    width: 42px;
    background: var(--accent-gold);
    box-shadow: 0 0 12px rgba(255, 210, 30, 0.5);
}

#btn-onboarding-next {
    min-width: 96px;
    min-height: 46px;
    padding: 10px 18px;
    border: 1px solid rgba(255, 210, 30, 0.78);
    border-radius: 4px;
    background: var(--accent-gold);
    color: var(--text-dark);
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1;
    white-space: nowrap;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

#btn-onboarding-next:hover {
    transform: translateY(-2px);
    background: #ffe36a;
    box-shadow: 0 0 20px rgba(255, 210, 30, 0.42);
}

.splash-content.onboarding-open .splash-bird-logo {
    animation: birdLiftForOnboarding 0.76s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.splash-content.onboarding-open .onboarding-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    max-height: min(64dvh, 430px);
    min-height: 280px;
    padding: 24px 30px 22px;
    margin: 0;
    overflow-y: auto;
    transition-delay: 0.08s;
}

.splash-content.onboarding-open.is-starting .splash-bird-logo {
    animation: birdTakeoff 0.42s ease-in forwards;
}

.splash-content:not(.onboarding-complete) #btn-start {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(14px) scale(0.96);
}

.splash-content.onboarding-complete .onboarding-panel {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px) scale(0.96);
    max-height: 0;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
}

.splash-content.onboarding-complete #btn-start {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
    animation: startReveal 0.42s cubic-bezier(0.18, 0.82, 0.24, 1) both, startPulse 1.8s ease-in-out 0.48s infinite;
}

.splash-content.onboarding-complete.is-starting #btn-start {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    animation: none;
    transition-duration: 0.05s;
}

@keyframes onboardingFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes birdFadeDown {
    0% {
        opacity: 0;
        transform: translateY(-34px) scale(0.96);
        filter:
            drop-shadow(0 0 6px rgba(0, 229, 255, 0.24))
            drop-shadow(0 0 6px rgba(255, 210, 30, 0.16));
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes birdLiftForOnboarding {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    48% {
        opacity: 1;
        transform: translateY(-18px) scale(0.92);
    }
    100% {
        opacity: 0.94;
        transform: translateY(-14px) scale(0.72);
    }
}

@keyframes birdTakeoff {
    0% {
        opacity: 1;
        transform: translateY(0) rotate(0deg) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(24vw, -34vh) rotate(14deg) scale(0.7);
    }
}

#btn-start {
    position: relative;
    width: min(86vw, 430px);
    height: 66px;
    padding: 0 78px 0 88px;
    font-family: 'Agrandir Grand', 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(0.9rem, 2.2vw, 1.18rem);
    color: var(--text-dark);
    background: rgba(1, 18, 45, 0.62);
    border: 2px solid rgba(0, 229, 255, 0.72);
    border-radius: 999px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    overflow: hidden;
    isolation: isolate;
    touch-action: none;
    user-select: none;
    box-shadow: inset 0 0 22px rgba(0, 229, 255, 0.12), 0 0 18px rgba(0, 229, 255, 0.35);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    animation: startPulse 1.8s ease-in-out 2.2s infinite;
    --swipe-progress: 0px;
    --swipe-fill: 0%;
}

#btn-start::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(90deg, rgba(244, 251, 255, 0.09) 0 1px, transparent 1px 16px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.1), rgba(255, 210, 30, 0.08));
    opacity: 0.64;
    pointer-events: none;
}

.swipe-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--swipe-fill);
    background: linear-gradient(90deg, var(--aqua-blue) 0%, var(--radiant-blue) 48%, var(--vibrant-gold) 100%);
    border-radius: inherit;
    box-shadow: 0 0 24px rgba(0, 229, 255, 0.38);
    transition: width 0.18s ease;
    z-index: -1;
}

.swipe-text {
    position: relative;
    display: block;
    z-index: 1;
    color: rgba(244, 251, 255, 0.9);
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
    transition: color 0.22s ease, opacity 0.22s ease;
}

.swipe-handle {
    position: absolute;
    left: 7px;
    top: 50%;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--vibrant-gold);
    color: var(--text-dark);
    box-shadow: 0 0 20px rgba(255, 210, 30, 0.36), inset 0 0 0 2px rgba(255, 255, 255, 0.36);
    transform: translate(var(--swipe-progress), -50%);
    transition: transform 0.18s ease, background 0.22s ease, box-shadow 0.22s ease;
    z-index: 2;
}

#btn-start:hover {
    border-color: var(--vibrant-gold);
    box-shadow: inset 0 0 24px rgba(255, 210, 30, 0.12), 0 0 35px rgba(0, 229, 255, 0.58), 0 0 24px rgba(255, 210, 30, 0.32);
    transform: translateY(-2px);
}

#btn-start:hover .swipe-handle,
#btn-start.is-dragging .swipe-handle {
    background: linear-gradient(135deg, var(--aqua-blue), var(--vibrant-gold));
    box-shadow: 0 0 26px rgba(0, 229, 255, 0.44), 0 0 24px rgba(255, 210, 30, 0.32);
}

#btn-start.is-complete {
    border-color: var(--vibrant-gold);
}

#btn-start.is-complete .swipe-text {
    color: var(--text-dark);
    text-shadow: none;
}

@keyframes startPulse {
    0%, 100% {
        box-shadow: 0 0 18px rgba(0, 229, 255, 0.35);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 229, 255, 0.66), 0 0 20px rgba(255, 210, 30, 0.34);
    }
}

@keyframes startReveal {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 600px) {
    nav {
        padding: 8px 12px;
        grid-template-columns: minmax(0, 0.8fr) auto minmax(0, 0.8fr);
        column-gap: 8px;
    }

    .logo-all {
        max-width: 34vw;
    }

    .logo-all img {
        height: 62px;
        max-width: 100%;
    }

    .logo-image img {
        height: 62px;
    }

    .nav-links {
        gap: 4px;
    }

    .nav-links a {
        font-size: 0.68rem;
        padding: 7px 8px;
    }

    .splash-content {
        gap: 14px;
        width: min(92vw, 420px);
    }

    .splash-bird-logo {
        width: clamp(178px, 54vw, 260px);
    }

    .onboarding-panel {
        padding: 20px 18px 18px;
        min-height: 300px;
        max-height: 68dvh;
    }

    .splash-content:not(.onboarding-open) .onboarding-panel {
        min-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }

    .splash-content.onboarding-open .onboarding-panel {
        min-height: 300px;
        max-height: 68dvh;
        padding: 20px 18px 18px;
    }

    .onboarding-slide {
        inset: 20px 18px 112px;
    }

    .onboarding-controls {
        flex-direction: column;
        gap: 12px;
        left: 18px;
        right: 18px;
        bottom: 16px;
    }

    .onboarding-slide h2 {
        font-size: 1.35rem;
    }

    .onboarding-slide p {
        font-size: 0.86rem;
        line-height: 1.5;
    }

    .attendance-gate {
        width: min(92vw, 420px);
        max-height: 76vh;
        padding: 20px 16px;
    }

    .attendance-list {
        grid-template-columns: 1fr;
    }

    #btn-start {
        height: 60px;
        padding: 0 66px 0 76px;
        font-size: 0.82rem;
        letter-spacing: 1px;
    }

    .swipe-handle {
        width: 46px;
        height: 46px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal-card,
    .reveal-text {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .splash-bird-logo,
    #btn-start {
        animation: none;
    }

    .splash-bird-logo {
        opacity: 1;
        transform: none;
    }
}

@keyframes shakeScreen {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    20% { transform: translate(-8px, 8px) rotate(-1deg); }
    40% { transform: translate(8px, -8px) rotate(1deg); }
    60% { transform: translate(-8px, -4px) rotate(0deg); }
    80% { transform: translate(8px, 4px) rotate(-1deg); }
}

/* --- NAVBAR --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 6px 30px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    column-gap: 18px;
    align-items: center;
    background-color: transparent;
    transition: background 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease, padding 0.35s ease;
    z-index: 1000;
    overflow: visible;
}

nav.scrolled {
    background: radial-gradient(circle at center, rgba(0, 229, 255, 0.22) 0%, rgba(0, 166, 239, 0.96) 48%, rgba(0, 94, 168, 0.98) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 210, 30, 0.35);
    box-shadow: 0 12px 34px rgba(0, 94, 168, 0.24);
    padding-top: 4px;
    padding-bottom: 4px;
}

nav.scrolled .logo,
nav.scrolled .nav-links a {
    color: var(--text-light);
}

nav.scrolled .logo span.logo-accent {
    color: var(--accent-gold);
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.1;
}

.logo-all {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    max-width: min(44vw, 680px);
    min-width: 0;
    justify-self: start;
}

.logo-all img {
    display: block;
    height: 82px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(-4px -4px 6px rgba(255, 210, 30, 0.28)) 
            drop-shadow(4px 4px 6px rgba(0, 229, 255, 0.28)); 
}

.logo-all img:hover {
    transform: scale(1.04);
    filter: drop-shadow(-6px -6px 14px rgba(255, 210, 30, 0.62)) 
            drop-shadow(6px 6px 14px rgba(0, 229, 255, 0.62));
}

.logo span.logo-accent {
    color: var(--accent-gold);
}

.logo-image img {
    height: 82px;
    width: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(-4px -4px 6px rgba(255, 210, 30, 0.5)) 
            drop-shadow(4px 4px 6px rgba(0, 229, 255, 0.5)); 
}

.logo-image img:hover {
    transform: scale(1.1);
    filter: drop-shadow(-6px -6px 15px rgba(255, 210, 30, 0.9)) 
            drop-shadow(6px 6px 15px rgba(0, 229, 255, 0.9)); 
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 10px;
    position: relative;
    align-items: center;
    justify-self: center;
}

.logo-image {
    justify-self: end;
}

.nav-links li {
    position: relative;
    z-index: 1; 
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.82rem;
    padding: 10px 12px;
    display: inline-block;
    position: relative;
    border-radius: 999px;
    transition: color 0.28s ease, text-shadow 0.28s ease, transform 0.28s ease;
    white-space: nowrap;
    z-index: 0;
    isolation: isolate;
}

.nav-links a::before {
    content: "";
    position: absolute;
    inset: 3px 4px;
    border-radius: inherit;
    background: var(--accent-gold);
    border: 1px solid rgba(0, 94, 168, 0.18);
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.28s ease, transform 0.28s ease;
    z-index: -1;
    box-shadow: 0 0 18px rgba(255, 210, 30, 0.42);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-orange));
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 0 12px rgba(255, 112, 67, 0.45);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links li.active a {
    color: var(--text-dark);
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

nav.scrolled .nav-links a:hover,
nav.scrolled .nav-links a:focus-visible,
nav.scrolled .nav-links li.active a {
    color: var(--text-dark);
}

nav.scrolled .nav-links a::before {
    background: #ffe36a;
    border-color: rgba(0, 94, 168, 0.26);
}

.nav-links a:hover::before,
.nav-links a:focus-visible::before,
.nav-links li.active a::before {
    opacity: 1;
    transform: scale(1);
}

.nav-links li.active a::before {
    background: var(--accent-gold);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links li.active a::after {
    opacity: 1;
    transform: scaleX(1);
}

.slide-box {
    display: none;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    height: 100vh;
    background:
        radial-gradient(circle at center, rgba(0, 229, 255, 0.22) 0%, rgba(0, 166, 239, 0.88) 48%, rgba(0, 94, 168, 0.98) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden; 
}

.memory-wall {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(2, 59, 105, 0.78), rgba(0, 166, 239, 0.1) 44%, rgba(2, 59, 105, 0.82)),
        url("dokumfoto3.jpg") center 52% / cover no-repeat;
    isolation: isolate;
}

.memory-wall::before,
.memory-wall::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.memory-wall::before {
    inset: -20%;
    background:
        linear-gradient(115deg, transparent 0 42%, rgba(0, 229, 255, 0.26) 43%, transparent 45% 58%, rgba(255, 210, 30, 0.22) 59%, transparent 61%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 72px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 72px);
    opacity: 0.42;
    transform: rotate(-6deg);
    mix-blend-mode: screen;
}

.memory-wall::after {
    inset: 0;
    background:
        radial-gradient(circle at 50% 44%, rgba(0, 229, 255, 0.14), transparent 24%),
        radial-gradient(circle at 50% 50%, transparent 0 34%, rgba(1, 20, 54, 0.62) 72%, rgba(1, 12, 36, 0.82) 100%);
}

.memory-frame {
    position: absolute;
    z-index: 1;
    border: 1px solid rgba(0, 229, 255, 0.46);
    border-radius: 8px;
    background-position: center;
    background-size: cover;
    box-shadow:
        inset 0 0 48px rgba(0, 229, 255, 0.14),
        0 22px 54px rgba(0, 30, 72, 0.34);
    filter: saturate(1.08) contrast(1.05);
    opacity: 0.58;
    contain: paint;
    backface-visibility: hidden;
}

.memory-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(180deg, rgba(0, 229, 255, 0.12), transparent 36%, rgba(2, 59, 105, 0.52)),
        linear-gradient(90deg, rgba(255, 210, 30, 0.16), transparent 22% 72%, rgba(0, 94, 168, 0.18));
}

.memory-frame-main {
    width: min(94vw, 1320px);
    height: min(72vh, 660px);
    left: 50%;
    top: 49%;
    transform: translate(-50%, -50%) rotate(-1.2deg);
    background-image: url("dokumfoto3.jpg");
    background-position: center 50%;
    clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 94%);
    opacity: 0.82;
    border-color: rgba(255, 210, 30, 0.58);
    box-shadow:
        inset 0 0 34px rgba(0, 229, 255, 0.12),
        inset 0 0 0 1px rgba(255, 210, 30, 0.2),
        0 28px 72px rgba(0, 18, 52, 0.46);
    filter: saturate(1.14) contrast(1.08);
    z-index: 1;
}

.memory-frame-side {
    width: min(27vw, 360px);
    height: min(35vh, 350px);
    right: 4vw;
    top: 13vh;
    transform: rotate(6deg);
    background-image: url("dokumfoto2.jpeg");
    background-position: 56% center;
    clip-path: polygon(10% 0, 100% 8%, 92% 100%, 0 86%);
    z-index: 2;
}

.memory-frame-small {
    width: min(24vw, 310px);
    height: min(29vh, 250px);
    left: 5vw;
    bottom: 7vh;
    transform: rotate(-8deg);
    background-image: url("dokumfoto4.jpg");
    background-position: 36% center;
    clip-path: polygon(0 12%, 94% 0, 100% 84%, 8% 100%);
    z-index: 2;
}

.memory-frame-cheer {
    width: min(29vw, 380px);
    height: min(30vh, 275px);
    left: 4vw;
    top: 14vh;
    transform: rotate(-5deg);
    background-image: url("dokumfoto5.jpeg");
    background-position: 52% center;
    clip-path: polygon(7% 0, 100% 10%, 94% 100%, 0 88%);
    z-index: 2;
}

.memory-frame-field {
    width: min(28vw, 360px);
    height: min(27vh, 250px);
    right: 6vw;
    bottom: 8vh;
    transform: rotate(5deg);
    background-image: url("dokumfoto6.jpeg");
    background-position: 56% center;
    clip-path: polygon(0 8%, 92% 0, 100% 88%, 8% 100%);
    z-index: 2;
}

.memory-scanline {
    position: absolute;
    left: -10%;
    right: -10%;
    top: 18%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 210, 30, 0.9), rgba(255, 112, 67, 0.86), transparent);
    box-shadow: 0 0 18px rgba(255, 112, 67, 0.52);
    opacity: 0.6;
    animation: archiveScan 6s ease-in-out infinite;
}

@keyframes archiveScan {
    0%, 100% { transform: translateY(0); opacity: 0.2; }
    45%, 55% { opacity: 0.74; }
    50% { transform: translateY(58vh); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at center, rgba(0, 229, 255, 0.06) 0%, rgba(0, 94, 168, 0.08) 34%, rgba(1, 16, 48, 0.46) 80%),
        linear-gradient(to right, rgba(1, 18, 45, 0.6), rgba(0, 166, 239, 0.1) 42%, rgba(1, 18, 45, 0.6)),
        linear-gradient(to bottom, rgba(0, 166, 239, 0.12) 0%, rgba(0, 43, 96, 0.46) 70%, rgba(0, 166, 239, 0.9) 100%);
    z-index: 1;
}

#dungeon-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none; 
}

.ember {
    position: absolute;
    bottom: -10px;
    border-radius: 50%;
    opacity: 0;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    20% { opacity: 0.8; }
    80% { opacity: 0.8; }
    100% { transform: translateY(-100vh) scale(0.5); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 3;
    width: min(92vw, 1120px);
    padding: 22px 18px;
}

.subtitle-top {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent-gold); 
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(1, 18, 45, 0.95), 0 0 14px rgba(255, 210, 30, 0.35);
}

.main-title {
    font-family: 'Agrandir Grand', sans-serif;
    font-size: 6rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 10px;
    text-shadow: 0 0 25px rgba(0, 229, 255, 0.7), 0 4px 22px rgba(0, 94, 168, 0.35); 
}

.subtitle-bottom {
    font-size: 1.5rem;
    font-weight: 400;
    color: #FFD21E;
    letter-spacing: 2px;
    margin-bottom: 50px;
    text-shadow: 0 2px 10px rgba(1, 18, 45, 0.95), 0 0 16px rgba(255, 210, 30, 0.3);
}

.author-box {
    background:
        linear-gradient(135deg, rgba(0, 229, 255, 0.18), rgba(2, 59, 105, 0.42)),
        rgba(1, 18, 45, 0.36);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 210, 30, 0.45); 
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    width: min(92vw, 960px);
    padding: 20px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 94, 168, 0.34); 
    border-bottom: 4px solid var(--accent-gold); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.author-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 229, 255, 0.34);
}

.role-badge {
    background-color: var(--accent-gold); 
    font-family: 'montserrat', sans-serif;
    color: var(--bg-dark);
    font-size: 1rem;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(255, 210, 30, 0.4);
}

.author-name {
    font-family: 'montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--text-light);
    margin: 0;
}

.hero-theme-title {
    font-family: 'Eternal', sans-serif;
    max-width: 980px;
    margin: 28px auto 0;
    color: #ffffff;
    font-size: 1.25rem;
    line-height: 1.55;
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
    overflow-wrap: anywhere;
    text-shadow: 0 0 14px rgba(1, 18, 45, 0.88), 0 0 22px rgba(78, 237, 255, 0.42);
}

@media (max-width: 900px) {
    .memory-frame-main {
        width: 124vw;
        height: 66vh;
        opacity: 0.76;
    }

    .memory-frame-side {
        width: 38vw;
        height: 28vh;
        right: -10vw;
        top: 14vh;
        opacity: 0.46;
    }

    .memory-frame-small {
        width: 34vw;
        height: 22vh;
        left: -10vw;
        bottom: 8vh;
        opacity: 0.4;
    }

    .memory-frame-cheer {
        width: 40vw;
        height: 24vh;
        left: -11vw;
        top: 15vh;
        opacity: 0.42;
    }

    .memory-frame-field {
        width: 40vw;
        height: 22vh;
        right: -12vw;
        bottom: 9vh;
        opacity: 0.42;
    }
}

@media (max-width: 600px) {
    .hero {
        min-height: 100svh;
    }

    .memory-wall {
        background-position: center;
    }

    .memory-frame-main {
        width: 146vw;
        height: 68vh;
        top: 47%;
        opacity: 0.68;
    }

    .memory-frame-side,
    .memory-frame-small,
    .memory-frame-cheer,
    .memory-frame-field {
        display: none;
    }

    .hero-overlay {
        background:
            radial-gradient(circle at center, rgba(0, 229, 255, 0.1) 0%, rgba(0, 94, 168, 0.18) 36%, rgba(1, 16, 48, 0.76) 82%),
            linear-gradient(to bottom, rgba(0, 166, 239, 0.28) 0%, rgba(0, 43, 96, 0.66) 74%, rgba(0, 166, 239, 0.95) 100%);
    }

    .hero-content {
        padding: 18px 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .memory-scanline {
        animation: none;
        opacity: 0.28;
    }
}

/* --- KOMPONEN UMUM UNTUK SECTION LAIN --- */
.container {
    max-width: 1000px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.section-title {
    font-family: 'Agrandir Grand', sans-serif;
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 50px;
    letter-spacing: 2px;
    text-align: center;
}

.text-glow {
    font-family:'Eternal';
    color: var(--primary-cyan);
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.65);
}

.text-glow-gold {
    font-family: 'Eternal';
    color: var(--accent-gold);
    text-shadow: 0 0 15px rgba(255, 210, 30, 0.65);
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 229, 255, 0.28);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 94, 168, 0.24);
    color: var(--text-light);
    padding: 40px;
    transition: transform 0.3s ease;
}

.glass-panel:hover {
    border-color: rgba(0, 229, 255, 0.6);
}

.section-aura,
.archive-runes,
.guild-map-grid,
.mission-route-lines,
.quest-terminal-grid,
.signal-radar {
    position: absolute;
    pointer-events: none;
}

.section-aura {
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.section-aura::before,
.section-aura::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(2px);
    opacity: 0.68;
}

.section-aura::before {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.24), transparent 68%);
}

.section-aura::after {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 210, 30, 0.2), transparent 70%);
}

.section-title {
    position: relative;
    isolation: isolate;
}

.team-section .container,
.agenda-section .container,
.faq-section .container,
.contact-section .container {
    position: relative;
    z-index: 3;
}

.section-photo-collage {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.24;
    filter: saturate(1.08) contrast(1.05);
    background:
        linear-gradient(180deg, rgba(1, 12, 35, 0.78), rgba(1, 12, 35, 0.7)),
        radial-gradient(circle at 50% 50%, transparent 0 18%, rgba(1, 12, 35, 0.72) 70%),
        url("dokumfoto2.jpeg") 7% 18% / 260px 175px no-repeat,
        url("dokumfoto4.jpg") 92% 24% / 290px 190px no-repeat,
        url("dokumfoto7.jpeg") 16% 82% / 285px 185px no-repeat,
        url("dokumfoto10.jpeg") 82% 78% / 300px 198px no-repeat,
        url("dokumfoto3.jpg") center / cover no-repeat;
    mix-blend-mode: multiply;
    mask-image: linear-gradient(to bottom, transparent 0%, black 14%, black 88%, transparent 100%);
}

.section-photo-collage::before,
.section-photo-collage::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 210, 30, 0.16);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 210, 30, 0.11), rgba(0, 229, 255, 0.08)),
        url("dokumfoto5.jpeg") center / cover no-repeat;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
    opacity: 0.64;
}

.section-photo-collage::before {
    width: min(34vw, 360px);
    height: min(22vw, 230px);
    left: -42px;
    top: 24%;
    transform: rotate(-9deg);
    clip-path: polygon(0 10%, 92% 0, 100% 84%, 8% 100%);
}

.section-photo-collage::after {
    width: min(36vw, 390px);
    height: min(23vw, 250px);
    right: -54px;
    bottom: 18%;
    transform: rotate(8deg);
    background-image:
        linear-gradient(135deg, rgba(255, 210, 30, 0.11), rgba(0, 229, 255, 0.08)),
        url("dokumfoto6.jpeg");
    clip-path: polygon(7% 0, 100% 10%, 92% 100%, 0 88%);
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -18px;
    width: min(280px, 56vw);
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), var(--accent-orange), transparent);
    box-shadow: 0 0 18px rgba(255, 112, 67, 0.46);
    transform: translateX(-50%);
    z-index: -1;
}

/* --- SECTION TENTANG --- */
.about-section {
    position: relative;
    overflow: hidden;
    padding: 100px 50px;
    background:
        linear-gradient(180deg, rgba(0, 8, 24, 0.46), rgba(0, 12, 32, 0.58)),
        linear-gradient(135deg, rgba(255, 210, 30, 0.1), transparent 22%),
        linear-gradient(to bottom, #006aaa 0%, #00588f 45%, #02345f 100%);
}

.archive-aura::before {
    left: -120px;
    top: 80px;
}

.archive-aura::after {
    right: -90px;
    bottom: 120px;
}

.archive-runes {
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(115deg, transparent 0 48%, rgba(255, 210, 30, 0.14) 49%, transparent 50%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 82px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 82px);
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    opacity: 0.42;
}

.about-photo-collage {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.28;
    mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 92%, transparent 100%);
}

.about-photo-collage::before,
.about-photo-collage::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 60%;
    width: min(72vw, 800px);
    height: min(48vw, 480px);
    border: 1px solid rgba(255, 210, 30, 0.18);
    transform: translate(-50%, -50%) rotate(-8deg);
    clip-path: polygon(8% 0, 92% 8%, 100% 78%, 54% 100%, 0 86%);
    background:
        linear-gradient(115deg, rgba(255, 210, 30, 0.1), transparent 36% 64%, rgba(255, 112, 67, 0.12)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 46px);
    mix-blend-mode: screen;
}

.about-photo-collage::after {
    width: min(56vw, 620px);
    height: min(36vw, 380px);
    transform: translate(-50%, -50%) rotate(10deg);
    opacity: 0.55;
    clip-path: polygon(0 18%, 70% 0, 100% 38%, 84% 100%, 12% 86%);
}

.about-photo {
    position: absolute;
    border: 1px solid rgba(255, 210, 30, 0.38);
    border-radius: 8px;
    background-position: center;
    background-size: cover;
    box-shadow:
        inset 0 0 30px rgba(0, 229, 255, 0.1),
        0 20px 48px rgba(0, 30, 72, 0.22);
    filter: saturate(1.08) contrast(1.04);
    overflow: hidden;
    contain: paint;
    backface-visibility: hidden;
}

.about-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 229, 255, 0.1), transparent 40%, rgba(2, 59, 105, 0.56)),
        linear-gradient(90deg, rgba(255, 210, 30, 0.12), transparent 36% 70%, rgba(0, 94, 168, 0.16));
}

.about-photo-main {
    width: 340px;
    height: 230px;
    left: 50%;
    top: 330px;
    transform: translateX(-50%) rotate(-7deg);
    background-image: url("dokumfoto1.jpeg");
    clip-path: polygon(5% 0, 100% 8%, 94% 100%, 0 88%);
}

.about-photo-left {
    width: 300px;
    height: 200px;
    left: 8%;
    top: 290px;
    transform: rotate(-11deg);
    background-image: url("dokumfoto2.jpeg");
    clip-path: polygon(0 10%, 92% 0, 100% 84%, 8% 100%);
}

.about-photo-right {
    width: 305px;
    height: 200px;
    right: 7%;
    top: 340px;
    transform: rotate(10deg);
    background-image: url("dokumfoto4.jpg");
    clip-path: polygon(6% 0, 100% 12%, 94% 100%, 0 88%);
}

.about-photo-small {
    width: 245px;
    height: 165px;
    left: 36%;
    top: 560px;
    transform: rotate(8deg);
    background-image: url("dokumfoto5.jpeg");
    clip-path: polygon(9% 0, 100% 8%, 90% 100%, 0 86%);
}

.about-photo-top-left {
    width: 250px;
    height: 165px;
    left: -28px;
    top: 210px;
    transform: rotate(9deg);
    background-image: url("dokumfoto6.jpeg");
    clip-path: polygon(7% 0, 100% 10%, 92% 100%, 0 90%);
}

.about-photo-top-right {
    width: 260px;
    height: 170px;
    right: -30px;
    top: 230px;
    transform: rotate(-9deg);
    background-image: url("dokumfoto7.jpeg");
    clip-path: polygon(0 8%, 92% 0, 100% 88%, 8% 100%);
}

.about-photo-bottom-left {
    width: 290px;
    height: 190px;
    left: 12%;
    bottom: 86px;
    transform: rotate(7deg);
    background-image: url("dokufoto8.jpeg");
    clip-path: polygon(8% 0, 100% 6%, 94% 100%, 0 86%);
}

.about-photo-bottom-right {
    width: 300px;
    height: 198px;
    right: 12%;
    bottom: 88px;
    transform: rotate(-8deg);
    background-image: url("dokumfoto10.jpeg");
    clip-path: polygon(0 12%, 92% 0, 100% 84%, 7% 100%);
}

.about-section .glass-panel {
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--accent-gold);
    background:
        linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(255, 210, 30, 0.06)),
        rgba(1, 18, 45, 0.58);
    text-align: justify;
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-section .glass-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(0, 229, 255, 0.12), transparent 26%),
        repeating-linear-gradient(0deg, transparent 0 28px, rgba(255, 255, 255, 0.035) 29px 30px);
    opacity: 0.55;
    pointer-events: none;
}

.about-section .glass-panel > * {
    position: relative;
    z-index: 1;
}

.about-section p { margin-bottom: 20px; }
.about-section p:last-child { margin-bottom: 0; }

.about-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin-top: 30px;
    align-items: start;
}

.about-detail-grid .about-card {
    grid-column: 1 / -1;
}

.about-card {
    border-top-color: var(--primary-cyan);
    cursor: pointer;
    overflow: hidden;
    min-height: 178px;
    transition: border-color 0.14s ease, box-shadow 0.18s ease, transform 0.22s ease, background 0.14s ease, color 0.08s ease;
}

.about-card:hover,
.about-card:focus {
    background: var(--vibrant-gold);
    border-color: var(--vibrant-gold);
    color: var(--text-dark);
    box-shadow: 0 18px 46px rgba(255, 210, 30, 0.38);
    outline: none;
}

.about-card.is-expanded {
    background: var(--vibrant-gold);
    min-height: auto;
    border-color: var(--vibrant-gold);
    color: var(--text-dark);
    box-shadow: 0 18px 46px rgba(255, 210, 30, 0.34);
}

.about-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.about-card h3 {
    font-family: 'Eternal', sans-serif;
    color: var(--accent-gold);
    font-size: 2rem;
    letter-spacing: 2px;
    margin-bottom: 0;
    text-align: left;
    text-shadow: 0 0 12px rgba(255, 210, 30, 0.45);
}

.about-card-header i {
    color: var(--primary-cyan);
    font-size: 1rem;
    transition: transform 0.22s ease, color 0.08s ease;
}

.about-card.is-expanded .about-card-header i {
    color: var(--text-dark);
    transform: rotate(180deg);
}

.about-card-preview {
    color: rgba(244, 251, 255, 0.82);
    margin-top: 18px;
}

.about-card.is-expanded .about-card-preview {
    display: none;
}

.about-card-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.45s ease, opacity 0.3s ease, visibility 0.3s ease, margin-top 0.3s ease;
}

.about-card.is-expanded .about-card-body {
    max-height: 900px;
    opacity: 1;
    visibility: visible;
    margin-top: 24px;
}

.about-card.is-expanded .about-card-body > *,
.foundation-card.is-expanded .foundation-card-body > * {
    animation: faqDropDown 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.about-card.is-expanded .about-card-body > *:nth-child(2),
.foundation-card.is-expanded .foundation-card-body > *:nth-child(2) {
    animation-delay: 0.06s;
}

.about-card.is-expanded .about-card-body > *:nth-child(3),
.foundation-card.is-expanded .foundation-card-body > *:nth-child(3) {
    animation-delay: 0.12s;
}

.about-card.is-expanded *,
.foundation-card.is-expanded * {
    color: var(--text-dark);
    text-shadow: none;
}

.about-card.is-expanded .about-card-body,
.foundation-card.is-expanded .foundation-card-body {
    color: var(--text-dark);
}

.about-foundation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin-top: 30px;
    align-items: stretch;
}

.about-foundation-grid > .about-card,
.about-foundation-grid > .foundation-card {
    height: 100%;
}

.about-foundation-grid .success-card {
    grid-column: 1 / -1;
}

.foundation-card {
    border-top-color: var(--primary-cyan);
    cursor: pointer;
    overflow: hidden;
    min-height: 178px;
    transition: border-color 0.14s ease, box-shadow 0.18s ease, background 0.14s ease, color 0.08s ease;
}

.foundation-card:hover,
.foundation-card:focus {
    background: var(--vibrant-gold);
    border-color: var(--vibrant-gold);
    color: var(--text-dark);
    box-shadow: 0 18px 46px rgba(255, 210, 30, 0.38);
    outline: none;
}

.foundation-card.is-expanded {
    background: var(--vibrant-gold);
    min-height: auto;
    border-color: var(--vibrant-gold);
    color: var(--text-dark);
    box-shadow: 0 18px 46px rgba(255, 210, 30, 0.34);
}

.foundation-card-heading {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 0;
}

.foundation-card h3 {
    font-family: 'Eternal', sans-serif;
    color: var(--accent-gold);
    font-size: 1.85rem;
    line-height: 1.25;
    letter-spacing: 0;
    text-shadow: 0 0 14px rgba(255, 210, 30, 0.42);
}

.foundation-card-heading i {
    color: var(--primary-cyan);
    font-size: 1rem;
    transition: transform 0.22s ease, color 0.08s ease;
}

.foundation-card.is-expanded .foundation-card-heading i {
    color: var(--text-dark);
    transform: rotate(180deg);
}

.foundation-preview {
    color: rgba(244, 251, 255, 0.82);
    margin-top: 18px;
}

.foundation-card.is-expanded .foundation-preview {
    display: none;
}

.foundation-card-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.45s ease, opacity 0.3s ease, visibility 0.3s ease, margin-top 0.3s ease;
}

.foundation-card.is-expanded .foundation-card-body {
    max-height: 680px;
    opacity: 1;
    visibility: visible;
    margin-top: 24px;
}

.foundation-card.is-expanded .indicator-panel {
    border-color: rgba(6, 58, 91, 0.28);
    background: rgba(255, 255, 255, 0.24);
    box-shadow: inset 0 0 20px rgba(6, 58, 91, 0.08);
}

.foundation-card.is-expanded .cyber-list li::before {
    border-color: rgba(6, 58, 91, 0.62);
    background: var(--text-dark);
    box-shadow: none;
}

.cyber-list {
    display: grid;
    gap: 13px;
    padding-left: 0;
    list-style: none;
}

.cyber-list li {
    position: relative;
    padding-left: 24px;
}

.cyber-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.78em;
    width: 8px;
    height: 8px;
    border: 1px solid var(--accent-gold);
    background: var(--primary-cyan);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.64);
    transform: translateY(-50%) rotate(45deg);
}

.indicator-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.indicator-panel {
    min-height: 100%;
    padding: 24px;
    border: 1px solid rgba(0, 229, 255, 0.28);
    border-radius: 12px;
    background: rgba(2, 59, 105, 0.28);
    box-shadow: inset 0 0 24px rgba(0, 229, 255, 0.08);
}

.indicator-label {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.indicator-label h4 {
    font-family: 'Eternal', sans-serif;
    color: #ffffff;
    font-size: 1.25rem;
    letter-spacing: 0;
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.44);
}

@media (max-width: 720px) {
    .author-box {
        padding: 18px 20px;
    }

    .hero-theme-title {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .about-detail-grid {
        grid-template-columns: 1fr;
    }

    .about-photo-collage {
        opacity: 0.2;
    }

    .section-photo-collage {
        opacity: 0.16;
        background:
            linear-gradient(180deg, rgba(1, 12, 35, 0.82), rgba(1, 12, 35, 0.78)),
            url("dokumfoto3.jpg") center / cover no-repeat;
    }

    .section-photo-collage::before,
    .section-photo-collage::after {
        width: 180px;
        height: 120px;
        opacity: 0.42;
    }

    .section-photo-collage::before {
        left: -60px;
        top: 24%;
    }

    .section-photo-collage::after {
        right: -60px;
        bottom: 18%;
    }

    .about-photo-collage::before,
    .about-photo-collage::after {
        width: 118vw;
        height: 58vh;
    }

    .about-photo-main,
    .about-photo-left,
    .about-photo-right,
    .about-photo-small,
    .about-photo-top-left,
    .about-photo-top-right,
    .about-photo-bottom-left,
    .about-photo-bottom-right {
        width: 180px;
        height: 120px;
    }

    .about-photo-left,
    .about-photo-small,
    .about-photo-top-left,
    .about-photo-bottom-left {
        left: -42px;
    }

    .about-photo-main,
    .about-photo-right,
    .about-photo-top-right,
    .about-photo-bottom-right {
        right: -42px;
    }

    .about-photo-main {
        left: 50%;
        right: auto;
        top: 130px;
        transform: translateX(-50%) rotate(-5deg);
    }

    .about-photo-top-left,
    .about-photo-top-right {
        top: 160px;
    }

    .about-photo-bottom-left,
    .about-photo-bottom-right {
        bottom: 80px;
    }

    .about-card h3 {
        text-align: center;
    }

    .about-foundation-grid,
    .indicator-grid {
        grid-template-columns: 1fr;
    }

    .about-card.is-expanded .about-card-body,
    .foundation-card.is-expanded .foundation-card-body {
        max-height: min(62dvh, 560px);
        overflow-y: auto;
        padding-right: 8px;
        overscroll-behavior: contain;
        scrollbar-width: thin;
    }

    .about-card.is-expanded .about-card-body::-webkit-scrollbar,
    .foundation-card.is-expanded .foundation-card-body::-webkit-scrollbar {
        width: 6px;
    }

    .about-card.is-expanded .about-card-body::-webkit-scrollbar-thumb,
    .foundation-card.is-expanded .foundation-card-body::-webkit-scrollbar-thumb {
        background: rgba(6, 58, 91, 0.38);
        border-radius: 999px;
    }

    .indicator-grid {
        gap: 16px;
    }

    .indicator-panel {
        padding: 18px;
    }

    .foundation-card-heading,
    .indicator-label {
        align-items: center;
        text-align: center;
    }
}

/* --- SECTION DIVISI (TIM) --- */
.team-section {
    position: relative;
    overflow: hidden;
    padding: 100px 50px;
    background:
        linear-gradient(180deg, rgba(0, 8, 24, 0.58), rgba(0, 13, 35, 0.64)),
        radial-gradient(circle at 50% 10%, rgba(255, 210, 30, 0.12), transparent 26%),
        linear-gradient(to bottom, #02345f 0%, #00588f 52%, #004b7c 100%);
}

.guild-aura::before {
    right: -100px;
    top: 80px;
}

.guild-aura::after {
    left: -80px;
    bottom: 70px;
}

.guild-map-grid {
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 50% 35%, rgba(0, 229, 255, 0.14), transparent 34%),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 58px),
        repeating-linear-gradient(-45deg, rgba(255, 210, 30, 0.055) 0 1px, transparent 1px 74px);
    opacity: 0.5;
    mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
}

.jobdesk-shortcut-panel {
    position: relative;
    z-index: 2;
    max-width: 980px;
    margin: 34px auto 0;
    padding: 22px;
    border-radius: 8px;
    border: 1px solid rgba(255, 210, 30, 0.26);
    background:
        linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(255, 210, 30, 0.08)),
        rgba(1, 18, 45, 0.18);
}

.jobdesk-shortcut-panel[hidden] {
    display: none;
}

.jobdesk-shortcut-panel.is-unlocked {
    animation: staffingUnlock 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.shortcut-toggle-btn {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 30px auto 0;
    padding: 11px 16px;
    border: 1px solid rgba(0, 229, 255, 0.42);
    border-radius: 8px;
    background: rgba(1, 18, 45, 0.34);
    color: rgba(244, 251, 255, 0.9);
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.team-section .shortcut-toggle-btn {
    display: flex;
    width: fit-content;
}

.shortcut-toggle-btn:hover,
.shortcut-toggle-btn.is-active {
    transform: translateY(-2px);
    border-color: var(--vibrant-gold);
    background: var(--vibrant-gold);
    color: var(--text-dark);
    box-shadow: 0 12px 30px rgba(255, 210, 30, 0.24);
}

.jobdesk-shortcut-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--accent-gold);
}

.jobdesk-shortcut-heading h3 {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.jobdesk-shortcut-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
}

.jobdesk-shortcut-grid button {
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid rgba(0, 229, 255, 0.34);
    border-radius: 8px;
    background: rgba(1, 18, 45, 0.38);
    color: rgba(244, 251, 255, 0.9);
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.jobdesk-shortcut-grid button:hover {
    transform: translateY(-2px);
    border-color: var(--vibrant-gold);
    background: var(--vibrant-gold);
    color: var(--text-dark);
    box-shadow: 0 12px 30px rgba(255, 210, 30, 0.24);
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.card {
    text-align: center;
    padding: 30px 20px;
    border-top: 2px solid var(--primary-cyan);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 229, 255, 0.28);
}

.card i {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.icon-cyan { color: var(--primary-cyan); }
.icon-gold { color: var(--accent-gold); }

.card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.card p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.6;
}

/* --- SECTION AGENDA (TIMELINE) --- */
.agenda-section {
    position: relative;
    overflow: hidden;
    padding: 100px 50px;
    background:
        linear-gradient(180deg, rgba(0, 8, 24, 0.6), rgba(0, 14, 38, 0.66)),
        radial-gradient(circle at 12% 20%, rgba(255, 210, 30, 0.12), transparent 24%),
        linear-gradient(to bottom, #004b7c 0%, #00639d 50%, #02345f 100%);
}

.route-aura::before {
    left: -110px;
    top: 45px;
}

.route-aura::after {
    right: 4vw;
    bottom: 40px;
}

.mission-route-lines {
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(105deg, transparent 10%, rgba(255, 210, 30, 0.18) 10.4%, transparent 11.2% 46%, rgba(0, 229, 255, 0.16) 46.4%, transparent 47.2%),
        radial-gradient(circle at 22% 28%, rgba(255, 210, 30, 0.22) 0 4px, transparent 5px),
        radial-gradient(circle at 66% 54%, rgba(0, 229, 255, 0.24) 0 5px, transparent 6px),
        radial-gradient(circle at 82% 24%, rgba(255, 210, 30, 0.18) 0 4px, transparent 5px);
    opacity: 0.72;
    mask-image: linear-gradient(to bottom, transparent, black 18%, black 86%, transparent);
}

.timeline-board {
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.timeline-svg-panel {
    position: relative;
    margin: 0;
    padding: 26px;
    border: 1px solid rgba(0, 229, 255, 0.42);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(255, 210, 30, 0.12), transparent 18% 82%, rgba(0, 94, 168, 0.16)),
        linear-gradient(135deg, rgba(0, 229, 255, 0.16), transparent 34%),
        radial-gradient(circle at 88% 14%, rgba(255, 210, 30, 0.16), transparent 24%),
        rgba(2, 20, 58, 0.58);
    box-shadow: inset 0 0 34px rgba(0, 229, 255, 0.13), 0 16px 42px rgba(0, 45, 90, 0.34);
    overflow: hidden;
    contain: paint;
    backface-visibility: hidden;
}

.timeline-svg-panel::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255, 210, 30, 0.24);
    border-radius: 10px;
    pointer-events: none;
}

.timeline-svg-panel::after {
    content: "";
    position: absolute;
    left: -20%;
    right: -20%;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 210, 30, 0.8), rgba(255, 112, 67, 0.76), transparent);
    box-shadow: 0 0 18px rgba(255, 112, 67, 0.5);
    animation: timelineScan 5.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes timelineScan {
    0%, 100% { transform: translateY(0); opacity: 0.18; }
    50% { transform: translateY(420px); opacity: 0.62; }
}

.timeline-svg-panel figcaption {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--accent-gold);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(255, 210, 30, 0.48);
}

.timeline-svg-panel figcaption i {
    color: var(--primary-cyan);
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.75);
}

.timeline-svg-panel img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    background: transparent;
    filter: saturate(1.1) contrast(1.04) drop-shadow(0 0 18px rgba(0, 229, 255, 0.22));
}

@media (max-width: 900px) {
    .timeline-svg-panel {
        padding: 16px;
    }
}

@media (max-width: 600px) {
    .timeline-board {
        gap: 24px;
    }

    .timeline-svg-panel figcaption {
        font-size: 0.85rem;
    }

    .timeline-svg-panel img {
        min-width: 720px;
    }

    .timeline-svg-panel {
        overflow-x: auto;
    }

    .mission-route-lines,
    .quest-terminal-grid,
    .archive-runes,
    .guild-map-grid {
        opacity: 0.28;
    }

    .section-aura::before,
    .section-aura::after {
        transform: scale(0.72);
    }
}

/* --- SECTION FAQ --- */
.faq-section {
    position: relative;
    overflow: hidden;
    padding: 100px 50px;
    background:
        linear-gradient(180deg, rgba(0, 8, 24, 0.62), rgba(0, 14, 38, 0.68)),
        radial-gradient(circle at 50% 18%, rgba(0, 229, 255, 0.14), transparent 26%),
        linear-gradient(to bottom, #02345f 0%, #004f82 100%);
}

.quest-aura::before {
    right: -90px;
    top: 80px;
}

.quest-aura::after {
    left: 8vw;
    bottom: 40px;
}

.quest-terminal-grid {
    inset: 0;
    z-index: 1;
    background:
        repeating-linear-gradient(0deg, rgba(244, 251, 255, 0.045) 0 1px, transparent 1px 34px),
        repeating-linear-gradient(90deg, rgba(0, 229, 255, 0.045) 0 1px, transparent 1px 64px);
    opacity: 0.42;
    mask-image: linear-gradient(to bottom, transparent, black 16%, black 84%, transparent);
}

.faq-container details {
    margin-bottom: 20px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-left: 4px solid rgba(0, 229, 255, 0.48);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(1, 18, 45, 0.34), rgba(0, 229, 255, 0.12)),
        var(--glass-bg);
}

.faq-container details[open] {
    border-color: var(--primary-cyan);
    box-shadow: 0 16px 40px rgba(0, 45, 90, 0.28), inset 0 0 28px rgba(0, 229, 255, 0.1);
}

.faq-container summary {
    font-weight: 700;
    font-size: 1.1rem;
    outline: none;
    list-style: none; /* Hilangkan panah default */
    position: relative;
    padding-right: 20px;
}

.faq-container summary::before {
    content: "\f121";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-right: 12px;
    border: 1px solid rgba(255, 210, 30, 0.44);
    border-radius: 50%;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent-gold);
    font-size: 0.82rem;
    box-shadow: 0 0 14px rgba(255, 210, 30, 0.18);
}

/* Kustom icon panah FAQ */
.faq-container summary::after {
    content: '+';
    position: absolute;
    right: 0;
    color: var(--accent-gold);
    font-size: 1.5rem;
}

.faq-container details[open] summary::after {
    content: '-';
    color: var(--primary-cyan);
}

.faq-container p {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(244, 251, 255, 0.88);
    transform-origin: top center;
}

.faq-container details[open] p {
    animation: faqDropDown 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes faqDropDown {
    from {
        opacity: 0;
        transform: translateY(-14px);
        clip-path: inset(0 0 100% 0);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        clip-path: inset(0 0 0 0);
    }
}

/* --- SECTION KONTAK --- */
.contact-section {
    position: relative;
    overflow: hidden;
    padding: 100px 50px;
    background:
        linear-gradient(180deg, rgba(0, 8, 24, 0.62), rgba(0, 14, 38, 0.7)),
        radial-gradient(circle at 50% 55%, rgba(255, 210, 30, 0.14), transparent 28%),
        linear-gradient(to bottom, #004f82 0%, #005f98 100%);
}

.signal-aura::before {
    left: -110px;
    bottom: 40px;
}

.signal-aura::after {
    right: -90px;
    top: 70px;
}

.signal-radar {
    width: min(62vw, 680px);
    aspect-ratio: 1;
    left: 50%;
    top: 50%;
    z-index: 1;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background:
        radial-gradient(circle, transparent 0 18%, rgba(0, 229, 255, 0.12) 18.4% 18.8%, transparent 19.2% 38%, rgba(255, 210, 30, 0.12) 38.4% 38.8%, transparent 39.2% 58%, rgba(0, 229, 255, 0.1) 58.4% 58.8%, transparent 59.2%),
        conic-gradient(from 0deg, rgba(0, 229, 255, 0.22), transparent 34deg 360deg);
    opacity: 0.54;
    animation: radarSpin 10s linear infinite;
}

@keyframes radarSpin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.contact-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-box {
    text-align: center;
    flex: 1;
    min-width: 250px;
    border-top: 2px solid var(--accent-gold);
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(0, 229, 255, 0.16), rgba(1, 18, 45, 0.22)),
        var(--glass-bg);
}

.contact-box-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.contact-box::before {
    content: "";
    position: absolute;
    inset: -1px;
    background:
        linear-gradient(90deg, transparent, rgba(255, 210, 30, 0.22), transparent),
        repeating-linear-gradient(90deg, transparent 0 18px, rgba(255, 255, 255, 0.04) 19px 20px);
    opacity: 0.52;
    pointer-events: none;
}

.contact-box > * {
    position: relative;
    z-index: 1;
}

.contact-box i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 0 0 18px currentColor;
}

.contact-box h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-box p {
    font-weight: 600;
    letter-spacing: 1px;
}

.contact-link-row {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-link-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid rgba(0, 229, 255, 0.42);
    border-radius: 999px;
    color: var(--primary-cyan);
    background: rgba(0, 229, 255, 0.1);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 900;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.contact-link-row a:hover,
.contact-link-row a:focus-visible,
.contact-box-link:hover,
.contact-box-link:focus-visible {
    outline: none;
}

.contact-link-row a:hover,
.contact-link-row a:focus-visible {
    transform: translateY(-2px);
    border-color: var(--accent-gold);
    background: var(--accent-gold);
    color: var(--text-dark);
}

.registration-card {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    max-width: 980px;
    margin: 34px auto 0;
    padding: 24px 28px;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff;
    border: 1px solid rgba(255, 210, 30, 0.72);
    border-top: 4px solid var(--accent-gold);
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(255, 210, 30, 0.24), rgba(0, 229, 255, 0.12) 42%, rgba(1, 18, 45, 0.72)),
        rgba(1, 18, 45, 0.76);
    box-shadow:
        0 20px 58px rgba(0, 0, 0, 0.34),
        0 0 30px rgba(255, 210, 30, 0.22),
        inset 0 0 28px rgba(0, 229, 255, 0.1);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.registration-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent),
        repeating-linear-gradient(90deg, transparent 0 24px, rgba(255, 255, 255, 0.04) 25px 26px);
    opacity: 0.62;
    pointer-events: none;
}

.registration-card > * {
    position: relative;
    z-index: 1;
}

.registration-card:hover,
.registration-card:focus-visible {
    transform: translateY(-4px);
    border-color: var(--accent-gold);
    box-shadow:
        0 24px 68px rgba(0, 0, 0, 0.38),
        0 0 42px rgba(255, 210, 30, 0.38),
        inset 0 0 34px rgba(0, 229, 255, 0.14);
    outline: none;
}

.registration-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 44px;
    max-width: 210px;
    padding: 10px 16px;
    border-radius: 12px;
    background: var(--accent-gold);
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 0 22px rgba(255, 210, 30, 0.34);
}

.registration-badge small {
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 1.2px;
    line-height: 1.1;
    opacity: 0.82;
}

.registration-badge strong {
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.registration-copy h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-family: 'Eternal', sans-serif;
    font-size: clamp(1.35rem, 2.5vw, 2.1rem);
    letter-spacing: 0;
    text-shadow: 0 0 16px rgba(255, 210, 30, 0.42);
}

.registration-copy p {
    margin: 0;
    color: rgba(244, 251, 255, 0.88);
    font-size: 0.95rem;
    line-height: 1.55;
    letter-spacing: 0;
}

.registration-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 10px 16px;
    border-radius: 8px;
    background: rgba(0, 229, 255, 0.14);
    border: 1px solid rgba(0, 229, 255, 0.44);
    color: var(--primary-cyan);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
}

@media (max-width: 720px) {
    .registration-card {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 22px 18px;
        text-align: center;
    }

    .registration-badge,
    .registration-action {
        justify-self: center;
    }

    .registration-action {
        width: 100%;
    }
}

/* --- FOOTER --- */
footer {
    background-color: var(--accent-gold); 
    padding: 40px 50px;
    position: relative;
    z-index: 2;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-left h3, .footer-center h4, .footer-right h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-dark); 
    font-weight: 800;
}

.footer-left p {
    font-size: 0.85rem;
    color: var(--text-dark); 
    font-weight: 500;
}

.footer-links ul { list-style: none; }
.footer-links { display: flex; gap: 40px; }

.footer-links a {
    text-decoration: none;
    color: var(--text-dark); 
    font-size: 0.85rem;
    line-height: 1.8;
    font-weight: 600;
    transition: 0.3s;
}

.footer-links a:hover { color: var(--accent-orange); }

.social-icons a {
    color: var(--text-dark); 
    font-size: 1.5rem;
    margin-right: 15px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: var(--accent-orange); 
    transform: translateY(-3px);
    display: inline-block;
}

/* Styling untuk Background Gelap Pop-up */
.modal-overlay {
    display: none; /* Sembunyikan secara default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Efek gelap */
    backdrop-filter: blur(5px); /* Efek blur di background */
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Kontainer Utama Modal */
.modal-content {
    background: rgba(15, 23, 42, 0.95); /* Warna dasar gelap */
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 1100px;
    max-height: 90vh;
    overflow-y: auto; /* Bisa di-scroll jika isinya panjang */
    padding: 30px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Tombol Close */
.close-btn {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #ff4d4d; /* Warna merah saat di-hover */
}

/* Judul Pop-up */
.modal-title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 2rem;
}

/* Grid untuk 3 Card Divisi di dalam Pop-up */
.modal-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Card Masing-Masing Divisi */
.modal-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.modal-card:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.1);
}

.modal-card h4 {
    color: #00ffff; /* Warna Cyan atau sesuaikan tema */
    margin-bottom: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    font-size: 1.3rem;
}

.modal-card ul,
.modal-card ol {
    text-align: left;
    padding-left: 24px;
    font-size: 0.95rem;
    color: #e2e8f0;
    line-height: 1.6;
    list-style-position: outside;
}

.modal-card ul {
    list-style-type: decimal;
}

.modal-card ul ul,
.modal-card ol ol {
    list-style-type: lower-alpha;
    padding-left: 24px;
    margin-top: 6px;
}

.modal-card ul li,
.modal-card ol li {
    margin-bottom: 10px;
}

.operator-list,
.operator-list ol {
    text-align: left;
    color: #e2e8f0;
    font-weight: 400;
    line-height: 1.6;
}

.operator-list {
    padding-left: 26px;
    margin: 0;
}

.operator-list ol {
    padding-left: 24px;
    margin-top: 4px;
}

.operator-list li {
    margin-bottom: 6px;
}

.guild-list-trigger {
    width: calc(100% - 20px);
    margin: 16px 10px 0;
    padding: 10px 14px;
    border: 1px solid var(--accent-gold);
    border-radius: 8px;
    background: rgba(255, 210, 30, 0.14);
    color: var(--accent-gold);
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.guild-list-trigger i {
    margin-right: 8px;
}

.guild-list-trigger:hover {
    transform: translateY(-2px);
    background: var(--accent-gold);
    color: var(--text-dark);
    box-shadow: 0 0 18px rgba(255, 210, 30, 0.34);
}

.staffing-open-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: min(100%, 320px);
    margin: 34px auto 0;
    padding: 13px 18px;
    border: 1px solid rgba(255, 210, 30, 0.72);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 210, 30, 0.2), rgba(255, 112, 67, 0.14));
    color: #ffffff;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: 0 0 22px rgba(255, 210, 30, 0.16);
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.staffing-open-btn:hover {
    transform: translateY(-3px);
    background: var(--vibrant-gold);
    color: var(--text-dark);
    box-shadow: 0 18px 42px rgba(255, 210, 30, 0.34);
}

.staffing-open-btn[hidden] {
    display: none;
}

.staffing-open-btn.is-unlocked {
    animation: staffingUnlock 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes staffingUnlock {
    0% {
        opacity: 0;
        transform: translateY(26px) scale(0.92);
        filter: brightness(1.8);
    }
    55% {
        opacity: 1;
        transform: translateY(-6px) scale(1.03);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: brightness(1);
    }
}

.staffing-modal {
    max-width: 1220px;
}

.staffing-intro {
    max-width: 720px;
    margin: -10px auto 26px;
    color: rgba(244, 251, 255, 0.82);
    text-align: center;
    line-height: 1.6;
}

.staffing-note {
    width: fit-content;
    max-width: 720px;
    margin: -12px auto 26px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 210, 30, 0.34);
    border-radius: 8px;
    background: rgba(255, 210, 30, 0.11);
    color: rgba(244, 251, 255, 0.88);
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
}

.staffing-note strong {
    color: var(--accent-gold);
}

.staffing-console {
    display: grid;
    grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1.08fr);
    gap: 22px;
    align-items: start;
}

.staffing-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 229, 255, 0.24);
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(2, 59, 105, 0.24)),
        rgba(255, 255, 255, 0.045);
    box-shadow: inset 0 0 24px rgba(0, 229, 255, 0.07);
}

.staffing-form-panel,
.staffing-preview-panel,
.staffing-summary-panel {
    padding: 22px;
}

.staffing-panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--accent-gold);
}

.staffing-panel-header h3 {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.staffing-field {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
    color: rgba(244, 251, 255, 0.88);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.staffing-field select,
.staffing-field input,
.staffing-name-row input {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(0, 229, 255, 0.28);
    border-radius: 8px;
    background: rgba(1, 18, 45, 0.54);
    color: #ffffff;
    font: 600 0.95rem 'Poppins', sans-serif;
    outline: none;
    padding: 10px 12px;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.staffing-field select:focus,
.staffing-field input:focus,
.staffing-name-row input:focus {
    border-color: var(--accent-gold);
    background: rgba(1, 18, 45, 0.72);
    box-shadow: 0 0 0 3px rgba(255, 210, 30, 0.14);
}

.staffing-name-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
    max-height: 330px;
    overflow-y: auto;
    padding-right: 4px;
}

.staffing-name-row {
    display: grid;
    gap: 6px;
}

.staffing-name-row span {
    color: rgba(244, 251, 255, 0.7);
    font-size: 0.78rem;
    font-weight: 700;
}

.staffing-name-row.is-chief span {
    color: var(--accent-gold);
}

.staffing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.staffing-action-primary,
.staffing-action-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.staffing-action-primary {
    border: 1px solid var(--accent-gold);
    background: var(--accent-gold);
    color: var(--text-dark);
}

.staffing-action-ghost {
    border: 1px solid rgba(244, 251, 255, 0.24);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.staffing-action-primary:hover,
.staffing-action-ghost:hover {
    transform: translateY(-2px);
}

.staffing-active-roster {
    display: grid;
    gap: 12px;
}

.staffing-roster-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(244, 251, 255, 0.12);
}

.staffing-roster-title h4 {
    margin: 0;
    color: #ffffff;
    font-size: 1.05rem;
}

.staffing-count-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 28px;
    border-radius: 999px;
    background: rgba(255, 210, 30, 0.16);
    color: var(--accent-gold);
    font-weight: 900;
}

.staffing-roster-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.staffing-roster-list li {
    display: grid;
    gap: 4px;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid rgba(0, 229, 255, 0.16);
    border-radius: 8px;
    background: rgba(1, 18, 45, 0.34);
    color: rgba(244, 251, 255, 0.9);
}

.staffing-roster-list li.is-chief {
    border-color: rgba(255, 210, 30, 0.5);
    background: rgba(255, 210, 30, 0.13);
}

.staffing-roster-list li.is-empty {
    border-style: dashed;
    opacity: 0.72;
}

.staffing-roster-list li span {
    color: rgba(244, 251, 255, 0.62);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.staffing-roster-list li.is-chief span {
    color: var(--accent-gold);
}

.staffing-roster-list li strong {
    color: #ffffff;
    font-size: 0.95rem;
}

.staffing-roster-list li.is-empty strong {
    color: rgba(244, 251, 255, 0.58);
    font-style: italic;
}

.staffing-empty {
    padding: 20px;
    border: 1px dashed rgba(244, 251, 255, 0.22);
    border-radius: 8px;
    color: rgba(244, 251, 255, 0.72);
    text-align: center;
}

.staffing-summary-panel {
    margin-top: 22px;
}

.staffing-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
}

.staffing-summary-card {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(1, 18, 45, 0.28);
}

.staffing-summary-card h4 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 0.95rem;
}

.staffing-summary-card p {
    margin: 0;
    color: rgba(244, 251, 255, 0.72);
    font-size: 0.86rem;
}

.staffing-summary-card.is-filled {
    border-color: rgba(255, 210, 30, 0.38);
    background: rgba(255, 210, 30, 0.1);
}

.mentor-guild-overlay {
    z-index: 10001;
}

.mentor-guild-modal {
    max-width: 1180px;
}

.mentor-guild-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.mentor-guild-card {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    padding: 22px;
    border: 1px solid rgba(0, 229, 255, 0.28);
    border-top: 3px solid var(--accent-gold);
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(2, 59, 105, 0.28)),
        rgba(255, 255, 255, 0.045);
    box-shadow: inset 0 0 26px rgba(0, 229, 255, 0.08);
    animation: guildCardIn 0.36s ease both;
}

.mentor-guild-card:nth-child(2n) {
    border-top-color: var(--primary-cyan);
}

.mentor-guild-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--accent-gold);
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

.mentor-guild-card h3 {
    font-family: 'Eternal', sans-serif;
    color: #ffffff;
    font-size: 1.25rem;
    letter-spacing: 0;
    margin-bottom: 10px;
    text-shadow: 0 0 12px rgba(255, 210, 30, 0.35);
}

.mentor-guild-card p {
    color: rgba(244, 251, 255, 0.86);
    font-size: 0.9rem;
    line-height: 1.6;
}

@keyframes guildCardIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@font-face {
    font-family: 'Eternal';
    src: url('Eternal.ttf') format('truetype');
}

@font-face {
    font-family: 'Metall' ;
    src: url('metall.ttf') format('truetype');
}

/* Membuat class khusus untuk teks Masa Bimbingan */
.teks-eternal {
    font-family: 'Eternal', sans-serif;
    font-size: 4rem; 
    color: #ffffff; 
    letter-spacing: 5px;
    display: inline-block;
    transform: scaleX(1.3);
    transform-origin: center; 
}

/* Styling untuk halaman di dalam card (Humas) */
.card-page {
    animation: fadeInPage 0.4s ease-in-out;
}

@keyframes fadeInPage {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Container untuk tombol navigasi */
.card-nav-buttons {
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* Tombol Prev / Next */
.card-nav-buttons button {
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.card-nav-buttons button:hover:not(:disabled) {
    background: var(--accent-gold);
    color: var(--bg-dark);
    border-color: var(--accent-gold);
    box-shadow: 0 0 18px rgba(255, 210, 30, 0.42);
    transform: translateY(-2px);
}

.card-nav-buttons button:disabled {
    border-color: #555;
    color: #555;
    cursor: not-allowed;
}

/* --- ACCORDION / DROPDOWN STYLES --- */
.accordion-header {
    cursor: pointer;
    background: rgba(0, 166, 239, 0.15); /* Warna biru redup */
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    margin: 0;
    font-size: 1.1rem;
    color: #00ffff;
}

.accordion-header:hover {
    background: rgba(0, 166, 239, 0.3);
    border-color: var(--accent-gold);
}

.accordion-header.active {
    border-color: var(--accent-gold);
    background: rgba(255, 215, 0, 0.15); /* Warna emas redup saat aktif */
    color: var(--accent-gold);
}

.accordion-header i {
    transition: transform 0.3s ease;
}

/* Memutar panah saat dropdown terbuka */
.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-body {
    display: none; /* Sembunyikan isi secara default */
    padding: 20px 10px 50px 10px; /* Jarak untuk teks dan tombol nav */
    position: relative;
    animation: fadeInPage 0.4s ease-in-out;
}

/* Styling Section Organigram */
.org-tree {
    --org-line: #00e5ff;
    --org-line-soft: rgba(0, 229, 255, 0.45);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
    padding: 10px 0 0;
}

.org-tree::before {
    content: "";
    position: absolute;
    top: 52px;
    bottom: 95px;
    left: 50%;
    width: 3px;
    background: var(--org-line);
    box-shadow: 0 0 12px var(--org-line);
    transform: translateX(-50%);
    z-index: 0;
}

.org-node {
    position: relative;
    padding: 20px 30px;
    border-radius: 12px;
    border: 2px solid var(--org-line);
    background: var(--glass-bg);
    color: var(--text-light);
    font-weight: 700;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 0 14px var(--org-line-soft), inset 0 0 18px rgba(0, 229, 255, 0.08);
    z-index: 2;
}

.org-node:hover,
.org-field-node:focus-visible {
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(255, 210, 30, 0.3);
}

.leader {
    background: rgba(255, 210, 30, 0.15); /* Sedikit sentuhan emas untuk ketua */
    border: 2px solid var(--accent-gold);
    margin-top: 0;
    cursor: pointer;
}

.org-row {
    position: relative;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.connector-line {
    width: 3px;
    height: 40px;
    background: var(--org-line);
    box-shadow: 0 0 12px var(--org-line);
    z-index: 1;
}

/* Style khusus untuk kotak PJ agar terlihat berbeda */
.pj-node {
    padding: 10px 15px;
    font-size: 0.85rem;
    background: rgba(0, 229, 255, 0.1); /* Warna Cyan transparan */
    border: 2px dashed var(--org-line);
    margin-bottom: 0;
}

.support-row {
    width: 72%;
    justify-content: space-between;
    margin: 0 0 20px;
    padding-top: 40px;
}

.support-row::before,
.bidang-row::before {
    content: "";
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 3px;
    background: var(--org-line);
    box-shadow: 0 0 12px var(--org-line);
    z-index: 1;
}

.support-row .org-node::before,
.org-field-node::before {
    content: "";
    position: absolute;
    top: -40px;
    left: 50%;
    width: 3px;
    height: 40px;
    background: var(--org-line);
    box-shadow: 0 0 12px var(--org-line);
    transform: translateX(-50%);
    z-index: 1;
}

.bidang-row {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    align-items: stretch;
    gap: 18px;
    margin-bottom: 0;
    padding-top: 40px;
}

.bidang-row::before {
    left: 8%;
    right: 8%;
}

.org-field-node {
    appearance: none;
    cursor: pointer;
    min-width: 180px;
    max-width: 205px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    overflow: visible;
}

.bidang-row .org-field-node {
    min-width: 0;
    max-width: none;
    width: 100%;
}

.org-field-node:hover {
    transform: translateY(-6px);
}

.org-field-node span {
    display: block;
}

.org-field-node small {
    color: var(--accent-gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
}

.field-icon {
    font-size: 2rem;
    margin-bottom: 4px;
}

@media (max-width: 900px) {
    .staffing-console {
        grid-template-columns: 1fr;
    }

    .staffing-name-fields {
        max-height: 260px;
    }

    .org-tree {
        max-width: 100%;
    }

    .support-row {
        width: 86%;
    }

    .org-field-node {
        min-width: 160px;
        max-width: 190px;
    }
}

@media (max-width: 720px) {
    .staffing-modal {
        padding: 24px 16px;
    }

    .staffing-form-panel,
    .staffing-preview-panel,
    .staffing-summary-panel {
        padding: 18px;
    }

    .staffing-actions {
        flex-direction: column;
    }

    .staffing-action-primary,
    .staffing-action-ghost {
        width: 100%;
    }

    .support-row,
    .bidang-row {
        width: 100%;
        align-items: center;
        gap: 18px;
        padding-top: 28px;
    }

    .support-row {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        justify-content: center;
        margin-bottom: 18px;
    }

    .bidang-row {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .support-row::before,
    .bidang-row::before {
        left: 50%;
        right: auto;
        width: 3px;
        height: calc(100% + 28px);
        transform: translateX(-50%);
    }

    .support-row::before {
        top: -2px;
        height: calc(100% + 18px);
    }

    .support-row .org-node::before,
    .org-field-node::before {
        top: -28px;
        height: 28px;
    }

    .org-node,
    .org-field-node {
        width: min(100%, 280px);
        max-width: 280px;
    }

    .signal-radar {
        width: 92vw;
        opacity: 0.34;
    }
}

@media (prefers-reduced-motion: reduce) {
    .timeline-svg-panel::after,
    .signal-radar {
        animation: none;
    }
}

@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    nav {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "brand mark"
            "menu menu";
        align-items: center;
        gap: 4px 8px;
        padding: 6px 10px 5px;
    }

    .logo-all {
        grid-area: brand;
        max-width: 72vw;
        justify-self: start;
    }

    .logo-image {
        grid-area: mark;
        justify-self: end;
    }

    .logo-all img,
    .logo-image img {
        height: 40px;
    }

    .nav-links {
        grid-area: menu;
        justify-self: center;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        gap: 4px;
        overflow-x: auto;
        padding: 2px 2px 3px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links li {
        flex: 0 0 auto;
    }

    .nav-links a {
        white-space: nowrap;
        font-size: 0.62rem;
        padding: 6px 7px;
        letter-spacing: 0.2px;
    }

    .hero,
    .about-section,
    .team-section,
    .agenda-section,
    .faq-section,
    .contact-section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .section-title {
        font-size: clamp(1.65rem, 8vw, 2.35rem);
        line-height: 1.18;
        overflow-wrap: anywhere;
    }

    .teks-eternal {
        font-size: clamp(2.2rem, 13vw, 3.3rem);
        transform: none;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .subtitle-bottom,
    .subtitle-top,
    .hero-theme-title,
    .author-name {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .author-box {
        width: min(100%, 360px);
    }

    .memory-wall {
        opacity: 0.54;
    }

    .about-section .glass-panel,
    .about-card,
    .foundation-card,
    .jobdesk-shortcut-panel,
    .modal-content {
        max-width: 100%;
    }

    .about-detail-grid,
    .about-foundation-grid,
    .indicator-grid,
    .modal-cards-grid,
    .contact-grid,
    .footer-container {
        grid-template-columns: 1fr;
    }

    .jobdesk-shortcut-panel {
        margin-top: 28px;
        padding: 18px 14px;
    }

    .shortcut-toggle-btn {
        width: 100%;
        margin-top: 24px;

    }

    .jobdesk-shortcut-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .jobdesk-shortcut-grid button {
        min-height: 40px;
        padding: 8px 6px;
        font-size: 0.68rem;
        letter-spacing: 0;
    }

    .org-tree {
        overflow: visible;
    }

    .org-node,
    .org-field-node {
        width: min(100%, 300px);
        min-width: 0;
        max-width: 300px;
    }

    .modal-overlay {
        align-items: flex-start;
        padding: 12px;
        overflow-y: auto;
    }

    .modal-content {
        max-height: none;
        min-height: auto;
        margin: 12px 0;
        padding: 24px 16px;
        border-radius: 10px;
    }

    .modal-title {
        padding-right: 34px;
        font-size: clamp(1.35rem, 7vw, 1.9rem);
        line-height: 1.15;
    }

    .close-btn {
        top: 10px;
        right: 16px;
        font-size: 30px;
    }

    .accordion-header {
        padding: 13px 14px;
        font-size: 0.95rem;
        gap: 10px;
    }

    .modal-card ul,
    .modal-card ol {
        padding-left: 20px;
        font-size: 0.86rem;
    }

    .timeline-svg-panel {
        padding: 14px;
    }

    .timeline-svg-panel img {
        max-width: 100%;
        height: auto;
    }

    .staffing-console,
    .staffing-summary,
    .staffing-roster-list,
    .mentor-guild-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        display: grid;
        gap: 22px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        gap: 22px;
    }
}

@media (max-width: 420px) {
    nav {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "left right"
            "menu menu";
        row-gap: 4px;
    }

    .logo-all {
        grid-area: left;
        max-width: 68vw;
    }

    .logo-image {
        grid-area: right;
    }

    .logo-all img,
    .logo-image img {
        height: 36px;
    }

    .nav-links {
        grid-area: menu;
        max-width: 100%;
        justify-content: center;
    }

    .hero {
        padding-top: 112px;
    }

    .jobdesk-shortcut-grid {
        grid-template-columns: 1fr;
    }

    #btn-start {
        width: min(92vw, 360px);
        padding: 0 58px 0 66px;
    }

    .swipe-text {
        font-size: 0.72rem;
        letter-spacing: 0.4px;
    }
}

.site-notification {
    position: fixed;
    top: 96px;
    left: clamp(12px, 3vw, 30px);
    width: min(410px, calc(100vw - 24px));
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 10px;
    align-items: end;
    padding: 0;
    color: var(--text-dark);
    background: transparent;
    border: 0;
    box-shadow: none;
    z-index: 9500;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-24px) scale(0.96);
    transition: opacity 0.34s ease, transform 0.34s cubic-bezier(0.18, 1, 0.32, 1);
}

.site-notification.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.site-notification-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 38% 28%, #ffffff 0 12%, var(--accent-gold) 13% 100%);
    border: 2px solid rgba(255, 255, 255, 0.78);
    border-radius: 50%;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.26), 0 0 16px rgba(255, 210, 30, 0.34);
    overflow: hidden;
}

.site-notification-icon img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.25));
}

.site-notification p {
    position: relative;
    margin: 0;
    padding: 11px 14px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.8rem;
    line-height: 1.38;
    color: var(--text-dark);
    background: linear-gradient(135deg, #fff4a3 0%, var(--accent-gold) 48%, #ffb72e 100%);
    border: 2px solid rgba(255, 255, 255, 0.82);
    border-radius: 14px 14px 14px 6px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28), 0 0 14px rgba(255, 210, 30, 0.2);
}

.site-notification p::before {
    content: "";
    position: absolute;
    left: -9px;
    bottom: 9px;
    width: 17px;
    height: 17px;
    background: var(--accent-gold);
    border-left: 2px solid rgba(255, 255, 255, 0.82);
    border-bottom: 2px solid rgba(255, 255, 255, 0.82);
    transform: rotate(45deg);
    border-radius: 0 0 0 4px;
}

.music-toggle {
    position: fixed;
    right: clamp(14px, 3vw, 28px);
    bottom: clamp(16px, 3vw, 28px);
    display: inline-grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 7px;
    background: rgba(7, 20, 39, 0.78);
    border: 1px solid rgba(255, 213, 74, 0.35);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(12px);
    border-radius: 8px;
    z-index: 9200;
}

.music-toggle button {
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    min-width: 68px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid transparent;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.08);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.music-toggle button:hover,
.music-toggle button:focus-visible,
.music-toggle button:active,
.music-toggle button.is-active {
    color: #061427;
    background: var(--accent-gold);
    border-color: rgba(255, 255, 255, 0.34);
    transform: translateY(-1px);
}

.music-toggle button:active {
    box-shadow: inset 0 0 0 999px rgba(255, 255, 255, 0.08);
}

@media (max-width: 640px) {
    .site-notification {
        top: 82px;
        left: 10px;
        width: calc(100vw - 20px);
        grid-template-columns: 40px 1fr;
        gap: 8px;
    }

    .site-notification-icon {
        width: 40px;
        height: 40px;
    }

    .site-notification-icon img {
        width: 36px;
        height: 36px;
    }

    .site-notification p {
        font-size: 0.72rem;
        padding: 9px 11px;
        border-radius: 12px 12px 12px 5px;
    }

    .music-toggle {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .music-toggle button {
        min-width: 0;
        height: 36px;
        font-size: 0.68rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .timeline-svg-panel::after,
    .signal-radar {
        animation: none;
    }
}
