/* ─── RESET, VARIABLE UNIFICATION & BASE SETUP ─── */
*, *::before, *::after { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

:root {
    --pink:    #ff3dac;
    --cyan:    #00e5ff;
    --purple:  #7b2fff;
    --yellow:  #ffe600;
    --bg-dark: #0a0020;
    --bg-mid:  #130040;
    --gold:    #ffd700;
    --green:   #00ff99;
    --font-title: 'Fredoka One', cursive;
    --font-body:  'Nunito', sans-serif;
}


html, body {
    width: 100%;
    height: 100%;
    overflow: hidden; /* Mencegah double scrollbar */
    background-color: #05000c;
}

body {
    width: 100%;
    background: #05000c url(../images/bg.jpg) no-repeat center center/cover;
    background-attachment: fixed;
    font-family: 'Montserrat', var(--font-body), sans-serif;
    
    /* Safely handles overflow containment on mobile viewports */
    overflow-x: hidden;
    overflow-y: auto;
    
    /* Smooth kinetic inertia scrolling support for older WebKit builds */
    -webkit-overflow-scrolling: touch; 
}


.main-section {
    height: 100vh;
    padding-top:50px;
}
.postit-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.scroll-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory; /* Memaksa scroll langsung 'mengkunci' ke section berikutnya */
    scroll-behavior: smooth; /* Efek pergeseran yang mulus */
    box-sizing: border-box;
}

.scroll-section {
    min-height: 100vh;
    width: 100%;
    scroll-snap-align: start; /* Mengunci bagian atas section ke bagian atas layar */
    scroll-snap-stop: always; /* Memaksa scroll berhenti tepat di section ini (tidak bisa kebablasan) */
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    box-sizing: border-box;
}
/* 1. KUSUS SECTION PERTAMA (Pre-register Utama) */
.scroll-section:first-child {
    /* Hapus padding atas jika ada agar mepet ke ujung paling atas */
    padding-top: 0 !important; 
    margin-top: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Mengatur konten mulai dari titik paling atas */
}

/* 2. SECTION KEDUA & SETERUSNYA (Post-it / Section Baru) */
.scroll-section:not(:first-child) {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Konten post-it/lainnya berada di tengah layar secara vertikal */
    align-items: center;
    
}
/* ─── AMBIENT STARS & NEON LIGHT SYSTEMS ─── */
.stars { 
    position: fixed; 
    inset: 0; 
    pointer-events: none; 
    z-index: 2; 
    overflow: hidden; 
}
.star {
    position: absolute; 
    border-radius: 50%; 
    background: #fff;
    animation: twinkle var(--d, 3s) infinite var(--delay, 0s);
    opacity: 0;
}
@keyframes twinkle {
    0%, 100% { opacity:0; transform:scale(.5); }
    50%      { opacity:1; transform:scale(1.5); }
}
@keyframes spin {
    from { transform:rotate(0deg); }
    to   { transform:rotate(360deg); }
}

.neon-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.35;
    pointer-events: none;
}
.top-left { width: 30vw; height: 30vw; background: #00ffff; top: -10%; left: -5%; }
.bottom-right { width: 35vw; height: 35vw; background: #ff007f; bottom: -15%; right: -5%; }

/* ─── TRUE FULLSCREEN CORE & MAX-WIDTH WRAPPERS ─── */
.fullscreen-container {
    position: relative;
    /* width: 100vw; */
    /* height: 100vh; */
    /* display: flex; */
    /* flex-direction: column;
    justify-content: center;
    padding: 3vh 20px; */
    z-index: 1;
}

.content-wrapper {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* ─── UPPER LAYOUT LAYERS (STAGE & HERO TEXT) ─── */
.upper-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    height: 60vh;
    align-items: center;
}

.character-section {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
    left: -130px;
    z-index: -1;
}

.character-placeholder {
    width: 100%;
    height: 95%;
    border: 2px dashed rgba(0, 242, 254, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
}
.placeholder-text { color: #433954; font-weight: bold; font-size: 14px; }

/* Sticker Badges styling */
.badge {
    position: absolute;
    padding: 8px 16px;
    font-weight: 900;
    transform: rotate(-10deg);
    border-radius: 4px;
    box-shadow: 4px 4px 0px #000;
    z-index: 3;
}
.goat-badge { background: #fff; color: #000; top: 10%; left: 4%; font-family: var(--font-title); }
.vibes-badge { background: #fffb00; color: #000; bottom: 15%; left: 2%; font-size: 15px; border: 2px solid #000; transform: rotate(-12deg); font-weight: 900; }

/* Title Hero Elements */
.info-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: center;
    height: 100%;
    bottom: -40px;
    position: relative;
}
.logo-container {
    margin-bottom: 2.5vh;
    animation: floatUpDown 5s ease-in-out infinite;
    z-index: 9;
}
.logo-container img {
    width: 120%;
}
.register-btn img {
    width: 100%;
}
.cta-header img{
    width: 120%;
}
.character-section img {
    width: 105%;
}
@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px); /* Moves up by 12 pixels at the midpoint */
    }
}
.logo-main {
    font-size: clamp(32px, 3.8vw, 52px);
    font-family: var(--font-title);
    color: #fff;
    line-height: 0.9;
    text-shadow: 3px 3px 0px #ff007f;
}
.logo-sub { font-size: 12px; color: #fff; font-weight: bold; margin-top: 4px; display: inline-block; }

.cta-header { display: flex; flex-direction: column; align-items: flex-end; z-index: 1; margin-top: -50px;}
.join-text { font-family: 'Permanent Marker', cursive; color: #fff; font-size: 26px; background: #000; padding: 0 12px; transform: skewX(-10deg); }
.prereg-text { font-family: 'Permanent Marker', cursive; color: #fff; background: #ff007f; font-size: clamp(24px, 2.8vw, 38px); padding: 4px 20px; margin-top: 4px; transform: rotate(-2deg); box-shadow: 4px 4px 0px #000; }
.now-text { font-weight: 900; color: #000; background: #00f2fe; font-size: clamp(22px, 2.4vw, 32px); padding: 2px 16px; display: inline-block; margin-top: 6px; transform: skewX(-15deg); box-shadow: 4px 4px 0px #000; }

/* ─── DYNAMIC MILESTONES BOX TIMELINE ─── */
.milestones-box-wrapper {
    max-width: 1400px;
    /* background: rgba(10, 2, 20, 0.85);
    border: 2px solid #ff007f;
    border-radius: 20px; */
    padding: 2vh 0 2vh 5vw;
    /* box-shadow: inset 0 0 15px rgba(255, 0, 127, 0.2), 0 10px 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px); */
    background: url("../images/rewards-bg-alt.png") no-repeat center center/contain;
}

.live-counter {
    text-align: center;
    margin-bottom: 2vh;
}
.counter-pill {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,61,172,.35);
    border-radius: 50px;
    padding: 6px 20px;
    font-size: .85rem; font-weight: 800;
}
.counter-dot {
    width:10px; height:10px; border-radius:50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.counter-num {
    font-family: var(--font-title);
    font-size: 1.2rem;
    color: var(--cyan);
    text-shadow: 0 0 12px var(--cyan);
}
.counter-label { color: rgba(255,255,255,.55); }

.rewards-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ─── DIAMOND CARD ENGINE ─── */
.diamond-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* gap: 6px; */
    width: 11%;
    text-align: center;
}
.diamond-badge {
    font-family: var(--font-title);
    font-size: 1.2rem;
    letter-spacing: 1px;
    transition: all .4s ease;
    font-weight: bold;
}
.diamond-orb {
    position: relative;
    width: 90px; height: 90px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: transform .3s ease, filter .4s ease;
    cursor: pointer;
    z-index: 2;
}
.diamond-orb::before {
    content: '';
    position: absolute; inset: -3px;
    border-radius: 50%;
    animation: spin 4s linear infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity .5s ease;
}
.diamond-card.unlocked .diamond-orb::before { opacity: 1; }
.diamond-card.unlocked .diamond-orb { transform: scale(1.04); }
.diamond-card.unlocked .diamond-orb:hover { transform: scale(1.12); }

.diamond-orb-inner {
    width: 90px; height: 90px;
    border-radius: 50%;
    background: var(--bg-mid);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    position: relative;
}
.diamond-gem-img {
    width: 90px; height: 90px;
    object-fit: contain;
    position: absolute;
    transition: opacity .4s ease, filter .4s ease;
}
.diamond-icon { opacity: 0; display: none; }

/* Locked/Unlocked States Overrides */
.diamond-card.locked .diamond-gem-img {
    filter: grayscale(100%) brightness(.45) contrast(.8);
    opacity: .7;
}
.diamond-card.locked .diamond-badge { color: rgba(255,255,255,.35); text-shadow: none; }
/* .diamond-card.locked .diamond-orb-inner { background: #1a1a2e; border: 2px solid rgba(255,255,255,.1); } */

.diamond-card.just-unlocked .diamond-orb { animation: unlock-pop .6s cubic-bezier(.34,1.56,.64,1) forwards; }
@keyframes unlock-pop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.25); }
    100% { transform: scale(1.04); }
}

/* Card Hover Previews */
.diamond-preview {
    position: absolute;
    bottom: 85px; left: 50%;
    transform: translateX(-50%) translateY(6px);
    width: 150px;
    background: rgba(10,0,32,.97);
    border-radius: 16px;
    padding: 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    z-index: 200;
    box-shadow: 0 0 30px rgba(255,61,172,.4), 0 8px 40px rgba(0,0,0,.6);
}
.diamond-preview-border {
    position: absolute; inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg,var(--ring-c1,#ff3dac),var(--ring-c2,#7b2fff));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
}
.diamond-preview img { width: 100%; border-radius: 10px; display: block; }
.preview-reward-name { font-size: .68rem; font-weight: 800; text-align: center; color: #fff; margin-top: 6px; line-height: 1.2; }
.preview-milestone { font-size: .6rem; text-align: center; color: var(--cyan); margin-top: 3px; font-weight: 700; }
.preview-locked-msg { font-size: .6rem; text-align: center; color: rgba(255,255,255,.4); margin-top: 3px; font-weight: 600; }
.diamond-card:hover .diamond-preview { opacity: 1; transform: translateX(-50%) translateY(0); }

.diamond-reward { font-size: 9px; color: #bcaec7; font-weight: bold; line-height: 1.2; height: 22px; overflow: hidden; }
.diamond-card.unlocked .diamond-reward { color: #fff; }
.diamond-card.locked .diamond-reward { color: rgba(255,255,255,.3); }

.diamond-arrow { 
    filter: grayscale(100%) brightness(.45) contrast(.8);
    opacity: .7;
 }
.diamond-arrow.unlocked { 
    filter: none;
    opacity: 1;
 }

/* Timeline Progress track */
.progress-wrap { max-width: 900px; margin: 2vh auto 0; padding: 0 10px; }
.progress-track { height: 7px; background: rgba(255,255,255,.08); border-radius: 8px; overflow: hidden; position: relative; }
.progress-fill { height: 100%; border-radius: 8px; background: linear-gradient(90deg,var(--pink),var(--cyan)); box-shadow: 0 0 12px var(--pink); transition: width 1s cubic-bezier(.4,0,.2,1); width: 0%; }
.progress-labels { display: flex; justify-content: space-between; margin-top: 5px; font-size: .65rem; color: rgba(255,255,255,.3); font-weight: 700; }

/* ─── PREMIUM REGISTER ACTION BUTTONS (DESKTOP vs MOBILE) ─── */
.register-btn {
    background: transparent;
    border: none;
    font-size: clamp(16px, 1.6vw, 24px);
    font-family: var(--font-title), sans-serif;
    font-weight: 900;
    cursor: pointer;
    transition: 0.1s ease;
    position: relative;
    white-space: nowrap;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.desktop { display: block; }
.mobile { display: none; }
.register-btn:hover { transform: scale(1.04); filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.4));  }
.register-btn:hover img { transform: scale(0.98); }
.btn-crown { position: absolute; top: -12px; right: 8px; color: #fffb00; transform: rotate(15deg); font-size: 16px; text-shadow: 2px 2px 0px #000; }

.desktop-btn-container { display: flex; align-items: center; padding-left: 2vw; }
.mobile-btn-container { display: none; } /* Default desktop view hides mobile duplicate */

/* ─── SITE FOOTER MODULE ─── */
.footer-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5vh;
}
.store-buttons { display: flex; gap: 10px; }
.store-btn {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    font-family: var(--font-body);
    transition: all 0.2s;
}
.store-btn:hover { background: rgba(255,255,255,0.1); border-color: var(--cyan); transform: translateY(-1px); }
.store-btn i { font-size: 16px; }
.store-btn span { display: block; font-weight: 900; font-size: 11px; }

.social-links { display: flex; gap: 40px; }
.social-links a { color: rgba(255,255,255,0.7); font-size: 32px; transition: all 0.2s; }
.social-links a:hover { color: #00f2fe; transform: translateY(-2px); }

/* ─── POPUP OVERLAY MODAL WINDOW SYSTEM ─── */
.modal-overlay {
    position:fixed; inset:0;
    background:rgba(0,0,10,.85);
    backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
    display:flex; align-items:center; justify-content:center;
    z-index:1000; opacity:0; pointer-events:none;
    transition:opacity .3s ease; padding:16px;
}
.modal-overlay.active { opacity:1; pointer-events:all; }
.modal-box {
    position:relative;
    background:linear-gradient(145deg,#160044,#0d0030);
    border:2px solid rgba(255,61,172,.4); border-radius:28px;
    padding:40px 36px;
    max-width:480px; width:100%;
    box-shadow:0 0 60px rgba(255,61,172,.3), inset 0 1px 0 rgba(255,255,255,.1);
    transform:translateY(30px) scale(.95);
    transition:transform .35s cubic-bezier(.34,1.56,.64,1);
}
.modal-overlay.active .modal-box { transform:translateY(0) scale(1); }
.modal-close {
    position:absolute; top:16px; right:16px;
    width:36px; height:36px; border-radius:50%;
    background:rgba(255,255,255,.1); border:none; color:#fff;
    font-size:1.1rem; cursor:pointer; display:flex; align-items:center; justify-content:center;
    transition:all .2s ease; z-index:2;
}
.modal-close:hover { background:var(--pink); transform:rotate(90deg); }
.modal-title { font-family:var(--font-title); font-size:1.5rem; text-align:center; margin-bottom:8px; color:#fff; }
.modal-subtitle { text-align:center; color:rgba(255,255,255,.55); font-size:.9rem; margin-bottom:30px; font-family: var(--font-body); }

.register-choices { display:flex; flex-direction:column; gap:14px; }
.choice-btn {
    display:flex; align-items:center; gap:14px; padding:16px 20px; border-radius:14px;
    border:2px solid transparent; background:rgba(255,255,255,.06); color:#fff;
    font-family:var(--font-body); font-size:1rem; font-weight:700; cursor:pointer; text-decoration:none; transition:all .25s ease;
}
.choice-btn.appstore { border-color:rgba(255,255,255,.2); }
.choice-btn.appstore:hover { border-color:#fff; background:rgba(255,255,255,.12); }
.choice-btn.googleplay { border-color:rgba(0,229,255,.3); }
.choice-btn.googleplay:hover { border-color:var(--cyan); background:rgba(0,229,255,.1); }
.choice-btn.email-btn { border-color:rgba(255,61,172,.4); }
.choice-btn.email-btn:hover { border-color:var(--pink); background:rgba(255,61,172,.1); }
.choice-icon { font-size:1.6rem; flex-shrink:0; }
.choice-text { display:flex; flex-direction:column; text-align: left;}
.choice-text span:first-child { font-size:.7rem; opacity:.6; font-weight:600; }
.choice-text strong { font-size:1rem; }

/* Modal Form Fields */
.form-group { display:flex; flex-direction:column; gap:6px; margin-bottom:18px; }
.form-label { font-size:.82rem; font-weight:800; color:var(--cyan); text-transform:uppercase; letter-spacing:1px; }
.form-input, .form-select {
    width:100%; padding:13px 16px; background:rgba(255,255,255,.06);
    border:2px solid rgba(255,255,255,.12); border-radius:12px; color:#fff;
    font-family:var(--font-body); font-size:.95rem; font-weight:600; outline:none; transition: all 0.25s;
}
.form-input:focus,.form-select:focus { border-color:var(--pink); background:rgba(255,61,172,.08); }
.form-input.error,.form-select.error { border-color:#ff4f4f; }
.form-select option { background:#160044; color:#fff; }
.form-error { font-size:.75rem; color:#ff6b6b; font-weight:700; min-height:16px; display:none; }
.form-error.show { display:block; }

.btn-submit {
    width:100%; padding:16px; font-family:var(--font-title); font-size:1.2rem; letter-spacing:2px;
    background:linear-gradient(135deg,var(--pink),var(--purple)); color:#fff; border:none; border-radius:14px;
    cursor:pointer; transition:all .2s; box-shadow:0 0 25px rgba(255,61,172,.5); margin-top:8px;
}
.btn-submit:hover:not(:disabled) { transform:translateY(-2px); box-shadow:0 0 40px rgba(255,61,172,.7); }
.btn-submit:disabled { opacity:.6; cursor:not-allowed; }
.btn-submit .loading-spinner {
    display:none; width:18px; height:18px; border:3px solid rgba(255,255,255,.3); border-top-color:#fff;
    border-radius:50%; animation:spin .7s linear infinite; margin:0 auto;
}
.btn-submit.loading .btn-label { display:none; }
.btn-submit.loading .loading-spinner { display:block; }

/* Thank You Modals */
.thankyou-content { text-align:center; padding:10px 0; }
.thankyou-emoji { font-size:3.5rem; margin-bottom:12px; animation:bounce 1s ease-in-out infinite alternate; }
@keyframes bounce { from{transform:translateY(0) rotate(-5deg);} to{transform:translateY(-12px) rotate(5deg);} }
.thankyou-title { font-family:var(--font-title); font-size:1.6rem; background:linear-gradient(90deg,var(--pink),var(--cyan),var(--yellow)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; margin-bottom:12px; }
.thankyou-text { color:rgba(255,255,255,.7); line-height:1.5; margin-bottom:24px; font-size:.95rem; font-family: var(--font-body); }
.confetti-row { font-size:1.8rem; letter-spacing:6px; margin-bottom:20px; }
.btn-close-ty { padding:12px 35px; font-family:var(--font-title); font-size:1.05rem; background:linear-gradient(135deg,var(--cyan),var(--purple)); color:#fff; border:none; border-radius:50px; cursor:pointer; box-shadow:0 0 25px rgba(0,229,255,.4); }

/* ─── WATCH TRAILER LINK ACTION STYLING ─── */
.video-trigger-container {
    margin: -5vh auto -2vh;
    display: flex;
    justify-content: center;
    width: 100%;
}

.watch-trailer-btn {
    background: transparent;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.play-icon-circle {
    width: 64px;
    height: 64px;
    background: var(--pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    box-shadow: 0 0 0 0 rgba(255, 61, 172, 0.7);
    animation: pulseRing 1.8s infinite;
    transition: transform 0.2s ease;
    z-index: 1;
}

.play-icon-circle i {
    margin-left: 3px; /* Slightly off-centers icon visually inside the circle perfectly */
}

.play-btn-text {
    color: #fff;
    font-family: var(--font-title);
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    transition: color 0.2s;
}

/* Hover Adjustments */
.watch-trailer-btn:hover .play-icon-circle {
    transform: scale(1.1);
    background: var(--cyan);
    animation-play-state: paused; /* Locks focus state cleanly */
    box-shadow: 0 0 15px var(--cyan);
}
.watch-trailer-btn:hover .play-btn-text {
    color: var(--cyan);
}

/* Pulsating Effect Generation Mapping */
@keyframes pulseRing {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 61, 172, 0.7);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(255, 61, 172, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 61, 172, 0);
    }
}

/* ─── RESPONSIVE 16:9 VIDEO IFRAME MODAL CONTAINER ─── */
.video-modal-box {
    max-width: 850px; /* Expands to fit widescreen video content */
    width: 100%;
    padding: 0px; /* Strips standard padding so video hits layout edges perfectly */
    background: #000;
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 0 60px rgba(0, 229, 255, 0.2);
    overflow: hidden;
}

.video-responsive-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Fixed aspect ratio equation logic (16:9 height bounds) */
    height: 0;
    overflow: hidden;
}

.video-responsive-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

/* Custom adjustment handle for closing the standalone video card overlay */
.video-modal-box .modal-close {
    top: 10px;
    right: 10px;
    background: #000;
    border: 2px solid var(--cyan);
}
.video-modal-box .modal-close:hover {
    background: var(--cyan);
    color: #000;
}

/* Responsive alignment correction */
@media (max-width: 992px) {
    .video-trigger-container {
        justify-content: center; /* Centers alignment below branding block on tablets and phones */
        margin-top: 15px;
    }
}

/* ==========================================================================
   RESPONSIVE DEVICE SWITCHING & MUTATION RULES
   ========================================================================== */
@media (max-width: 1280px) {
    .content-wrapper {

    }
    .upper-layout {
        height: 55vh;
    }
    .character-section {
        left: -20px ;
        bottom: -20px;
    }
    .character-section img {
        width: 100%;
    }
    .video-trigger-container {
        margin: -6vh auto -2vh;
    }
    .cta-header img {
        width: 115%;
    }
    .diamond-orb {
        width: 80px;
        height: 80px;
    }
    .diamond-orb-inner {
        width: 80px;
        height: 80px;
    }
    .diamond-gem-img {
        width: 80px;
    }
    .logo-container img {
        position: relative;
    }
    .info-section {
        bottom: -20px;
                overflow: hidden;
    }
}

@media (max-width: 992px) {
    body, html { overflow-y: auto; } /* Unlock strict body heights so it remains scalable scrollwise */
    
    .fullscreen-container { height: auto; min-height: 100vh; gap: 35px; padding: 25px 20px; }
    .upper-layout { grid-template-columns: 1fr; gap: 25px; height: auto; }
    .character-section { height: 260px; }
    .info-section, .cta-header { align-items: center; text-align: center; }
    
    /* INTERACTION BUTTON MUTATION ENGINE RULES */
    .desktop-btn-container { display: none; } /* Hide inside box action container */
    .mobile-btn-container { display: flex; justify-content: center; width: 100%; margin: 10px 0; z-index: 5; } /* Project button safely outside the container box boundary */
    
    .rewards-timeline { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .diamond-card { width: 28%; }
    .diamond-arrow { display: none; }
}

@media (max-width: 576px) {
    .main-section { padding-top: 0; height: auto;}
    .diamond-card { width: 45%; }
    .footer-bar { flex-direction: column; gap: 20px; padding-bottom: 10px; text-align: center; }
    .store-buttons {  width: 100%; }
    .store-buttons img { width: 100%; }
    .store-btn { justify-content: center; }
    .social-links { justify-content: center; }
    .character-section { left: auto; bottom: auto;}
    .desktop { display: none; }
    .mobile { display: block; }
    .logo-container img {
        width: 80%;
    }
    .cta-header img {
        width: 95%;
    }
    .register-btn img {
        width: 80%;
    }
    .cta-header {
        margin-top: -15px;
    }
    .milestones-box-wrapper {
        background: rgba(10, 2, 20, 0.85);
        border: 2px solid #ff007f;
        border-radius: 20px;
        padding: 2vh 2vw;
        box-shadow: inset 0 0 15px rgba(255, 0, 127, 0.2), 0 10px 30px rgba(0,0,0,0.5);
        backdrop-filter: blur(10px);
        z-index: 9;
        margin: 80px auto;
    }
    .register-btn {
        margin: -50px auto;
    }
    .video-trigger-container {
        margin: 1vh auto 3vh;
    }
    .scroll-section {
        display: block!important;
        min-height: auto!important;
    }
    .fullscreen-container {
        padding-bottom: 180px!important;
    }
}

@media (max-height: 696px) {
    
    .logo-container img {
        width: 80%;
    }
    .register-btn img {
        width: 100%;
    }
    .cta-header {
        align-items: center;
    }
    .cta-header img{
        width: 75%;
    }
    .character-section {
        
    }
    .character-section img {
        width: 95%;
    }
    .diamond-badge {
        font-size: 1rem;
    }
    .diamond-card {
        /* gap: 2px; */
    }
    .diamond-orb, .diamond-orb-inner, .diamond-gem-img {
    width: 70px; height: 70px;
    }
    .milestones-box-wrapper {
        padding: 2vh 15vw;
    }
    .store-buttons {  width: 90%; }
    .store-buttons img { width: 90%; }
}




/* Floating Footer Sticky Fix */
.footer-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%); /* Memaksa posisi persis di tengah layar */
    width: 100%;
    max-width: 1200px; /* Batasi lebar agar sejajar dengan konten atas */
    z-index: 1000;
    
    /* Layout alignment */
    display: flex;
    justify-content: space-between; /* Menjaga jarak tombol store & sosial media */
    align-items: center;
    padding: 15px 20px;
    box-sizing: border-box;

    /* Styling efek kaca/transparan jika diperlukan */
    /* background: rgba(15, 15, 25, 0.75); */
    /* backdrop-filter: blur(8px); */
}

/* Post-it Section */
.postit-carousel-wrapper {
    position: relative;
    width: 100%;
}

/* Tombol Panah Sembunyi di Desktop */
.carousel-arrow {
    display: none;
}

.postit-title {
    text-align: center;
    color: #fff;
    font-family: 'Fredoka One', cursive;
    font-size: 2em;
    margin-bottom: 75px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* ===================================================
   DESKTOP STYLES
   =================================================== */

/* Desktop Grid (3x3 = 9 Post-it) */
.postit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    transition: opacity 0.2s ease-in-out;
    font-weight: 600;
}

.postit-grid.loading {
    opacity: 0.3;
    pointer-events: none;
}

/* Custom Post-it Card Styling */
.postit-card {
    background: #fffa75;
    color: #222;
    padding: 20px;
    border-radius: 2px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.3);
    position: relative;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Variasi Class Warna Background */
.bg-postit-1 { background: #fffa75; }
.bg-postit-2 { background: #ff7eb9; }
.bg-postit-3 { background: #7afcff; }
.bg-postit-4 { background: #98ff98; }
.bg-postit-5 { background: #ffb347; }

/* Variasi Class Font Family Handwritten */
.font-postit-1 { font-family: 'Gloria Hallelujah', cursive; }
.font-postit-2 { font-family: 'Caveat Brush', cursive;}
.font-postit-3 { font-family: 'Pangolin', cursive;}
.font-postit-4 { font-family: 'Schoolbell', cursive;}
.font-postit-5 { font-family: 'Fuzzy Bubbles', cursive;}

/* Rotasi acak khas Post-it tempel (Desktop) */
.postit-card:nth-child(odd) { transform: rotate(-2deg); }
.postit-card:nth-child(even) { transform: rotate(2deg); }
.postit-card:nth-child(3n) { transform: rotate(-1deg); }

.postit-card:hover {
    transform: rotate(0deg) scale(1.04);
    z-index: 10;
    box-shadow: 10px 10px 20px rgba(0,0,0,0.4);
}

.postit-message {
    line-height: 1.4;
    word-break: break-word;
}

.postit-author {
    font-size: 0.85rem;
    font-weight: bold;
    text-align: right;
    margin-top: 15px;
    opacity: 0.8;
}

/* Keyframes Animasi Fade In */
@keyframes fadeInCard {
    from {
        opacity: 0;
        
    }
    to {
        opacity: 1;
        
    }
}

.postit-card.fade-in {
    animation: fadeInCard 0.4s ease-in-out forwards;
}


/* ===================================================
   MOBILE RESPONSIVE STYLES (<= 768px)
   =================================================== */
@media (max-width: 768px) {
    .footer-bar {
        background: rgba(15, 15, 25, 0.75);
        backdrop-filter: blur(8px);
    }

    .postit-carousel-wrapper {
        position: relative;
        display: flex;
        align-items: center;
        width: 100%;
    }

    .postit-grid {
        /* display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 15px;
        padding: 10px 5px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; */
        grid-template-columns: repeat(1, 1fr);
    }

    .postit-grid::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Edge */
    }

    .postit-card {
        flex: 0 0 100%;
        scroll-snap-align: center;
        min-height: 150px;
        /* Netralkan rotasi di mobile agar tidak terpotong tepi layar */
        transform: none !important; 
    }

    .carousel-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 20;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.6);
        border: 2px solid rgba(255, 255, 255, 0.6);
        color: #fff;
        font-size: 1.1rem;
        cursor: pointer;
        backdrop-filter: blur(4px);
    }

    .prev-arrow { left: -10px; }
    .next-arrow { right: -10px; }
}

.btn-refresh {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.8em;
    cursor: pointer;
    padding: 6px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-refresh:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.btn-refresh:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

/* ─── SIDEBAR DRAWER MENU ─── */
.sidebar-drawer {
    position: fixed;
    right: -280px; /* Sembunyi ke kanan */
    top: 50%;
    transform: translateY(-50%);
    width: 260px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 995;
    transition: right 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sidebar-drawer.active {
    right: 20px; /* Muncul di layar desktop */
}

/* ─── SIDEBAR TOGGLE BUTTON (NEMPEL DI DRAWER) ─── */
.sidebar-toggle-btn {
    position: fixed;
    right: 0; /* Posisi awal nempel di tepi kanan layar */
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: #160d4b;
    border: none;
    border-right: none;
    border-radius: 12px 0 0 12px;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 996;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -4px 0 15px rgba(255, 61, 172, 0.4);
    /* Transisi ikutan bergeser selaras dengan drawer */
    transition: right 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s;
}

/* Saat Drawer Active: Tombol bergeser ke kiri menempel di samping drawer */

.sidebar-drawer.active ~ .sidebar-toggle-btn,
body:has(.sidebar-drawer.active) .sidebar-toggle-btn {
    right: 280px; /* Sesuaikan jarak (Lebar drawer 260px + margin 20px) */
    border-radius: 12px 0 0 12px;
}

body:has(.sidebar-drawer.active) .sidebar-toggle-btn {
right: 290px;
border-radius: 12px;
    
}
.sidebar-toggle-btn:hover {
    background: var(--pink);
    color: #fff;
}

/* ─── MODAL DENGAN PREVIEW IMAGES & DESKRIPSI ─── */
.info-modal-box {
    max-width: 650px;
    width: 100%;
    padding: 30px;
    background: linear-gradient(145deg, #100028, #050012);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.info-modal-banner {
    width: 100%;
    border-radius: 16px;
    /* border: 2px solid rgba(255, 61, 172, 0.4); */
    margin-bottom: 20px;
    overflow: hidden;
    /* box-shadow: 0 0 20px rgba(0, 229, 255, 0.2); */
}

.info-modal-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.info-modal-body {
    max-height: 40vh;
    overflow-y: auto;
    padding-right: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.6;
    font-family: var(--font-body);
}
.info-modal-body p {
    margin-bottom: 10px;
    margin-top: 10px;
}

.info-modal-body::-webkit-scrollbar {
    width: 6px;
}
.info-modal-body::-webkit-scrollbar-thumb {
    background: var(--pink);
    border-radius: 10px;
}

.drawer-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0px 16px;
    background: linear-gradient(135deg, #dc088f, #2522e3);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-family: var(--font-title);
    font-size: 1em;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
    text-decoration: none;
}

.drawer-btn img {
    /* width: 28px;
    height: 28px; */
    object-fit: contain;
}

.drawer-btn:hover {
    transform: translateX(-5px) scale(1.02);
    filter: brightness(1.15);
    box-shadow: 0 0 20px rgba(255, 61, 172, 0.6);
}

.drawer-btn.btn-official {
    background: #ffffff;
    color: #000;
    margin-top: 10px;
}

/* ─── MOBILE DRAWER ADAPTATION ─── */
@media (max-width: 768px) {
    .sidebar-drawer {
        position: fixed;
        top: auto;
        bottom: -100%;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 90%;
        max-width: 400px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        background: rgba(10, 0, 20, 0.95);
        padding: 20px;
        border-radius: 20px 20px 0 0;
        border: 2px solid var(--pink);
        border-bottom: none;
        backdrop-filter: blur(10px);
        transition: bottom 0.35s ease;
    }

    .sidebar-drawer.active {
        right: auto;
        bottom: 0;
    }

    /* Di Mobile, tombol bergeser naik ke atas drawer */
    .sidebar-drawer.active ~ .sidebar-toggle-btn,
    body:has(.sidebar-drawer.active) .sidebar-toggle-btn {
        right: 50%;
        transform: translateX(50%);
        bottom: 310px; /* Posisi di atas drawer mobile */
        border-radius: 12px 12px 0 0;
        border: 2px solid var(--pink);
        border-bottom: none;
        /* width: 50px;
        height: 30px; */
    }

    .drawer-btn.btn-official {
        grid-column: span 2;
        margin-top: 0;
        justify-content: center;
    }

    .sidebar-toggle-btn {
        top: auto;
        bottom: 140px;
        transform: none;
        right: 0;
    }

    .drawer-btn {
        padding: 0px 12px;
        font-size: 0.8em;
    }
}
/* Menyembunyikan scrollbar secara menyeluruh */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
.scroll-container::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

html,
body,
.scroll-container {
    -ms-overflow-style: none;  /* IE dan Edge */
    scrollbar-width: none;  /* Firefox */
}

.modal-title, .gradient-title {
    font-family: 'Montserrat', 'Fredoka One', sans-serif;
    font-size: 2.3rem;
    font-weight: 900;
    font-style: italic; /* Membuat teks miring */
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1.5px;
    
    /* Gradasi Magenta ke Purple */
    background: linear-gradient(27deg, #dc088f 0%, #2522e3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    
    /* Bayangan teks halus opsional jika latar belakang gelap */
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.5));
}
/* ─── CUSTOM CLOSE BUTTON TAB (SEPERTI GAMBAR) ─── */
.modal-close {
   background: linear-gradient(135deg, #ff2ae6 0%, #8c1eff 100%);
    
    /* Border putih halus di sekeliling tombol */
    border: 2px solid rgba(255, 255, 255, 0.9);
    color: #ffffff;
    box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease-in-out;
}

/* Efek Hover saat tombol di-arahkan kursor */
.modal-close:hover {
    background: linear-gradient(135deg, #ff55ec 0%, #a442ff 100%);
    transform: scale(1.06);
    box-shadow: 0 0 15px rgba(255, 42, 230, 0.6);
}

/* FULLSCREEN SECTION DENGAN BACKGROUND STICKERS */
.sns-event-section {
    width: 100%;
    min-height: 100vh;
    position: relative;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/sns-stickers.webp') no-repeat center center / contain;
}

.sns-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 5;
}

/* ==========================================
   1. HEADER BANNER & FOLLOW CTA (IMAGE BG)
========================================== */
.header-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 10;
    margin-bottom: 20px;
}

.header-img-wrapper {
    width: 100%;
    max-width: 750px;
    display: flex;
    justify-content: center;
}

.header-banner-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(161, 0, 255, 0.6));
}

/* CONTAINER UTAMA BANNER CTA */
.follow-cta-box {
    position: relative;
    width: 100%;
    max-width: 580px;
    margin-top: -15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.follow-bg-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

/* WADAH IKON DI PITA BIRU */
.social-icons-wrapper {
    position: absolute;
    bottom: 16%;
    left: 54%;
    transform: translate(-50%, 0) rotate(-4.5deg);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2.5%;
    width: 55%;
    z-index: 5;
}

.sns-btn {
    width: 18%;
    max-width: 42px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.sns-btn:hover {
    transform: translateY(-4px) scale(1.15);
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.9));
}

.sns-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ==========================================
   2. MILESTONE BOARD (DESKTOP / WIDESCREEN)
========================================== */
.milestone-board {
    background: url('../images/sns-milestone-frame.webp') no-repeat center center / 100% 100%;
    width: 100%;
    padding: 19px 64px 53px 17px;
    position: relative;
    filter: drop-shadow(0 0 20px rgba(142, 0, 255, 0.4));
}

.vibes-badge-img {
    position: absolute;
    top: -25px;
    left: -15px;
    width: 120px;
    height: auto;
    z-index: 15;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.6));
    animation: badgeFloat 3s infinite ease-in-out;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(-3deg); }
}

.milestone-track-scroll {
    width: 100%;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
}

.milestone-track-scroll::-webkit-scrollbar {
    height: 6px;
}
.milestone-track-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}
.milestone-track-scroll::-webkit-scrollbar-thumb {
    background: #8e00ff;
    border-radius: 10px;
}

.milestone-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 900px;
    height: 260px;
    padding: 0 20px;
}

/* STEP ITEM (HADIAH) */
.milestone-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    position: relative;
    transition: filter 0.4s ease, transform 0.3s ease, opacity 0.4s ease;
}

.milestone-step.step-top { transform: translateY(-35px); }
.milestone-step.step-bottom { transform: translateY(35px); }

/* LOCKED / GREYED OUT */
.milestone-step.locked { filter: grayscale(100%) opacity(35%); }
.milestone-step.step-top.locked { transform: translateY(-35px) scale(0.95); }
.milestone-step.step-bottom.locked { transform: translateY(50px) scale(0.95); }

/* UNLOCKED */
.milestone-step.unlocked { filter: grayscale(0%) opacity(100%); }
.milestone-step.step-top.unlocked { transform: translateY(-35px) scale(1.05); }
.milestone-step.step-bottom.unlocked { transform: translateY(35px) scale(1.05); }

.milestone-step.unlocked .reward-img {
    animation: gentleGlow 2.5s infinite ease-in-out;
}

.reward-img-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.reward-img {
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: contain;
}

/* ARROW */
.milestone-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    transition: filter 0.3s ease, opacity 0.3s ease;
    opacity: 0.3;
    filter: grayscale(100%);
}

.milestone-arrow.active-arrow {
    opacity: 1;
    filter: grayscale(0%) drop-shadow(0 0 8px #d000ff);
}

.arrow-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* PANAH KONEKTOR KHUSUS TABLET/HP (Disembunyikan di Desktop) */
.row-connector-arrow {
    display: none;
}

@keyframes gentleGlow {
    0% { filter: drop-shadow(0 0 5px rgba(208, 0, 255, 0.4)); }
    50% { filter: drop-shadow(0 0 15px rgba(0, 240, 255, 0.8)); }
    100% { filter: drop-shadow(0 0 5px rgba(208, 0, 255, 0.4)); }
}

/* ==========================================
   3. MEDIA QUERIES (TABLET PORTRAIT & MOBILE)
========================================== */

@media (min-width: 1600px) {
    .sns-container {
        max-width: 1300px;
    }
}

/* TABLET VERTICAL & HANDPHONE (<= 820px) */
@media (max-width: 820px) {
    .sns-event-section { 
        padding: 20px 10px; 
        min-height: 100vh;
        height: auto;
    }

    .social-icons-wrapper {
        bottom: 18%;
        left: 54%;
        width: 58%;
        gap: 2%;
    }

    .vibes-badge-img { 
        width: 85px; 
        top: -22px; 
        left: -10px; 
    }

    .sns-btn {
        width: 16%;       /* Ubah ukuran persen icon di mobile (sesuaikan jika perlu) */
        max-width: 32px;  /* Resize ukuran maksimal icon sosial media */
    }

    /* 1. BACKGROUND SOLID COLOR + BORDER 5px GRADASI + BORDER RADIUS */
    .milestone-board {
        background: #180933; /* Solid Dark Purple */
        border-radius: 24px;
        padding: 35px 12px 25px 12px;
        position: relative;
        filter: drop-shadow(0 0 15px rgba(142, 0, 255, 0.5));
    }

    /* Gradient Border 5px */
    .milestone-board::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 24px;
        padding: 5px; /* Ketebalan Border 5px */
        background: linear-gradient(135deg, #00f0ff, #a100ff, #ff007a);
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
    }

    .milestone-track-scroll {
        overflow-x: visible;
        padding: 0;
    }

    .milestone-arrow {
        display: none !important; /* Menyembunyikan panah horizontal & konektor */
    }
    /* 2. GRID 2 BARIS DENGAN PANAH INTEGRATED */
    .milestone-track {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 3 kolom berisi item reward saja */
        align-items: center;
        justify-items: center;
        min-width: unset;
        width: 100%;
        height: auto;
        padding: 0;
        row-gap: 20px;
        column-gap: 10px;
    }
    /* Item Step Hadiah */
    .milestone-step {
        width: 100%;
        max-width: 95px;
    }

    .reward-img {
        max-width: 85px;
    }

    /* Normalisasi posisi Y pada grid 2 baris */
    .milestone-step.step-top,
    .milestone-step.step-bottom,
    .milestone-step.step-top.locked,
    .milestone-step.step-bottom.locked,
    .milestone-step.step-top.unlocked,
    .milestone-step.step-bottom.unlocked {
        transform: translateY(0);
    }

    .milestone-step.unlocked {
        transform: scale(1.05);
    }

    /* Panah Horizontal */
    .milestone-arrow {
        width: 20px;
    }

    /* Panah Penghubung Baris 1 ke Baris 2 */
    .row-connector-arrow {
        grid-column: 1 / -1;
        display: flex;
        justify-content: flex-end;
        padding-right: 12%;
        margin: -4px 0;
    }

    .row-connector-arrow .arrow-img {
        width: 24px;
        transform: rotate(90deg); /* Menunjuk ke bawah mengarah ke Baris 2 */
    }
}

/* ==========================================
   FLOATING PAGE NAVIGATION STYLES
========================================== */

/* --- DESKTOP (LEFT FIXED STICKY NAV) --- */
.page-nav-floating {
    position: fixed;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 990; /* Di bawah Z-index Modal (1000) dan Sidebar Toggle (996) */
}

.page-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 12px 10px;
    background: rgba(10, 0, 32, 0.65);
    border: 1px solid rgba(255, 61, 172, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(255, 61, 172, 0.15);
}

.page-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    padding: 4px;
}

/* Dots Styling */
.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Label Hover Tooltip */
.nav-label {
    position: absolute;
    left: 28px;
    background: linear-gradient(135deg, #dc088f, #2522e3);
    color: #fff;
    font-family: var(--font-title, 'Fredoka One', sans-serif);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-8px);
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

/* Hover States */
.page-nav-link:hover .nav-dot {
    background: var(--cyan, #00e5ff);
    transform: scale(1.25);
    box-shadow: 0 0 10px var(--cyan, #00e5ff);
}

.page-nav-link:hover .nav-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Active Section State */
.page-nav-link.active .nav-dot {
    background: var(--pink, #ff3dac);
    border-color: #fff;
    transform: scale(1.35);
    box-shadow: 0 0 12px var(--pink, #ff3dac);
}


/* --- MOBILE RESPONSIVE (BOTTOM CENTER BAR) --- */
@media (max-width: 768px) {
    /* ==========================================
   FLOATING PAGE NAVIGATION STYLES
========================================== */

/* --- DESKTOP (LEFT FIXED STICKY NAV) --- */
.page-nav-floating {
    position: fixed;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 990; /* Di bawah Z-index Modal (1000) & Sidebar Toggle (996) */
}

.page-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 12px 10px;
    background: rgba(10, 0, 32, 0.65);
    border: 1px solid rgba(255, 61, 172, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(255, 61, 172, 0.15);
}

.page-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    padding: 4px;
}

/* Dots Styling */
.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Label Hover Tooltip */
.nav-label {
    position: absolute;
    left: 28px;
    background: linear-gradient(135deg, #dc088f, #2522e3);
    color: #fff;
    font-family: var(--font-title, 'Fredoka One', sans-serif);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-8px);
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

/* Hover States */
.page-nav-link:hover .nav-dot {
    background: var(--cyan, #00e5ff);
    transform: scale(1.25);
    box-shadow: 0 0 10px var(--cyan, #00e5ff);
}

.page-nav-link:hover .nav-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Active Section State */
.page-nav-link.active .nav-dot {
    background: var(--pink, #ff3dac);
    border-color: #fff;
    transform: scale(1.35);
    box-shadow: 0 0 12px var(--pink, #ff3dac);
}

/* --- HIDE TOTAL DI TAMPILAN HP / MOBILE (<= 768px) --- */
@media (max-width: 768px) {
    .page-nav-floating {
        display: none !important;
    }
}
}