/* ================================================
   style.css — Nusabit Studio
   Design: Classic Light / Warm Cream
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Share+Tech+Mono&family=VT323:wght@400&display=swap');

/* ── CSS VARIABLES — Classic Light Theme ── */
:root {
    /* Warm classic palette */
    --c-amber:      #d4820a;
    --c-amber-dim:  #995500;
    --c-green:      #1a9900;
    --c-green-dim:  #116600;
    --c-red:        #cc2222;
    --c-cyan:       #0077aa;
    --c-magenta:    #aa0077;
    --c-yellow:     #cc8800;
    --c-blue:       #2255bb;
    --c-white:      #f5f0e8;

    --brand:        #d4820a;
    --brand-2:      #cc5500;
    --brand-glow:   rgba(212,130,10,0.25);
    --brand-dim:    rgba(212,130,10,0.1);

    /* Warm cream backgrounds */
    --bg-main:      #f5f0e8;
    --bg-card:      #ede7d9;
    --bg-nav:       rgba(245,240,232,0.97);
    --bg-footer:    #e0d9cc;

    --text-dark:    #1e1a10;
    --text-muted:   #7a6840;
    --text-bright:  #1a1508;
    --text-dim:     #b09a70;

    --border:       rgba(120,80,20,0.14);
    --border-vis:   rgba(120,80,20,0.26);
    --border-r:     4px;
    --border-r-sm:  2px;
    --shadow:       0 4px 24px rgba(0,0,0,0.1);
    --shadow-card:  0 8px 32px rgba(0,0,0,0.12);
    --shadow-hover: 0 4px 24px rgba(212,130,10,0.2), 0 8px 48px rgba(212,130,10,0.08);

    --font-title:   'Press Start 2P', monospace;
    --font-mono:    'Share Tech Mono', monospace;
    --font-body:    'Share Tech Mono', monospace;

    --scan-opacity: 0;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 14px;
    overflow-x: hidden;
}

/* ── NO CRT EFFECTS (classic mode) ── */
body::before, body::after { display: none; }

/* ── SUBTLE GRAIN TEXTURE (like akhirpekan.studio feel) ── */
body {
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    background-attachment: fixed;
}

/* ── PIXEL GRID OVERLAY ── */
#pcanvas { display: none; }

.modal-open { overflow: hidden; }

::-webkit-scrollbar { width: 8px; background: var(--bg-main); border-left: 1px solid var(--border); }
::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 2px; }
::-webkit-scrollbar-track { background: var(--bg-card); }

/* ── PIXEL ART BORDER UTILITY ── */
.px-border {
    border: 2px solid var(--brand);
    box-shadow: inset 0 0 0 1px rgba(212,130,10,0.1);
}

/* ────────────────────────────────────────────────
   NAVIGATION
──────────────────────────────────────────────── */
nav {
    background: var(--bg-nav);
    border-bottom: 2px solid var(--border-vis);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 0 5%;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 900;
}

nav::after { display: none; }

.nav-studio-name {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-title);
    font-size: 0.6rem;
    font-weight: 400;
    color: var(--brand);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: opacity 0.2s;
}
.nav-studio-name:hover { opacity: 0.75; }

.nav-logo-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border: 2px solid var(--border-vis);
    padding: 3px;
    border-radius: 4px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-right button {
    background: transparent;
    border: 1px solid var(--border-vis);
    border-radius: 4px;
    padding: 6px 12px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.nav-right button:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: var(--brand-dim);
}

.nav-menu-btn { padding: 6px 10px !important; }

/* ── MENU OVERLAY ── */
#menuOverlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(245,240,232,0.97);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
#menuOverlay.open { display: flex; }

#menuOverlay::before, #menuOverlay::after {
    content: '';
    position: absolute;
    inset: 20px;
    border: 2px solid var(--border-vis);
    pointer-events: none;
}
#menuOverlay::before { display: none; }

.menu-close-btn {
    position: absolute;
    top: 36px; right: 48px;
    font-family: var(--font-title);
    font-size: 0.8rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    z-index: 1;
    letter-spacing: 2px;
}
.menu-close-btn:hover { color: var(--brand); }

.menu-links {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    z-index: 1;
}
.menu-links li a {
    display: block;
    font-family: var(--font-title);
    font-size: clamp(0.6rem, 2vw, 1rem);
    font-weight: 400;
    color: var(--text-muted);
    text-decoration: none;
    padding: 10px 24px;
    letter-spacing: 3px;
    transition: color 0.15s;
    position: relative;
}
.menu-links li a::before {
    content: '> ';
    opacity: 0;
    color: var(--brand);
    transition: opacity 0.15s;
}
.menu-links li a:hover {
    color: var(--brand);
}
.menu-links li a:hover::before { opacity: 1; }

/* ────────────────────────────────────────────────
   HERO
──────────────────────────────────────────────── */
.hero {
    background:
        linear-gradient(to bottom, rgba(245,230,200,0.5) 0%, rgba(230,215,185,0.6) 60%, rgba(215,200,170,0.7) 100%),
        url('../img/bg.jpg') center center / cover no-repeat;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 5% 60px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* subtle warm grid */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(180,120,30,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(180,120,30,0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 55% at 50% 40%, rgba(255,200,100,0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* ── HERO LOGO ── */
.hero-logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 50%;
    border: 3px solid rgba(212,130,10,0.7);
    padding: 10px;
    background: rgba(245,240,232,0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow:
        0 0 0 6px rgba(212,130,10,0.1),
        0 8px 32px rgba(0,0,0,0.15);
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
    animation: logoIn 0.8s ease both 0.1s;
}
@keyframes logoIn {
    from { opacity: 0; transform: scale(0.8) translateY(-10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.hero-orb { display: none; }

.hero-corner {
    position: absolute;
    width: 80px; height: 80px;
    border: 2px solid rgba(212,130,10,0.3);
    opacity: 0.7;
}
.hero-corner-tl { top: 24px; left: 24px; border-right: none; border-bottom: none; }
.hero-corner-tr { top: 24px; right: 24px; border-left: none; border-bottom: none; }
.hero-corner-bl { bottom: 60px; left: 24px; border-right: none; border-top: none; }
.hero-corner-br { bottom: 60px; right: 24px; border-left: none; border-top: none; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245,240,232,0.7);
    border: 1px solid var(--border-vis);
    border-radius: 4px;
    padding: 6px 16px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--brand);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
    animation: badgeFadeIn 0.7s ease both;
    backdrop-filter: blur(4px);
}
@keyframes badgeFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-badge-dot {
    width: 6px; height: 6px;
    background: var(--brand);
    border-radius: 50%;
    animation: blinkDot 1s steps(1) infinite;
}
@keyframes blinkDot { 0%,49%{opacity:1;} 50%,100%{opacity:0;} }

.hero-title {
    font-family: var(--font-title);
    font-size: clamp(1.2rem, 4vw, 2.6rem);
    font-weight: 400;
    color: var(--text-bright);
    line-height: 1.4;
    letter-spacing: 2px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    text-align: center;
    animation: heroTitleIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
    text-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
@keyframes heroTitleIn {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-title span {
    color: var(--brand);
}

.tagline {
    font-family: var(--font-mono);
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    color: var(--text-muted);
    margin-bottom: 48px;
    min-height: 1.6em;
    font-weight: 400;
    position: relative;
    z-index: 1;
    animation: taglineIn 1.1s ease both 0.3s;
    max-width: 640px;
    letter-spacing: 1px;
}
@keyframes taglineIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.cursor {
    color: var(--brand);
    animation: blink 1s steps(1) infinite;
    font-weight: 300;
}
@keyframes blink { 0%,49%{opacity: 1;} 50%,100%{opacity: 0;} }

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 1;
    animation: btnsIn 1s ease both 0.6s;
}
@keyframes btnsIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.btn-primary-scroll {
    background: var(--brand);
    color: #fff;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 4px;
    font-family: var(--font-title);
    font-size: 0.55rem;
    font-weight: 400;
    letter-spacing: 1px;
    transition: all 0.15s;
    box-shadow: 0 4px 16px rgba(212,130,10,0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}
.btn-primary-scroll:hover {
    background: var(--c-amber-dim);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(212,130,10,0.4);
}
.btn-primary-scroll:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(212,130,10,0.2);
}

.btn-cs-hero {
    background: rgba(245,240,232,0.7);
    color: var(--text-dark);
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 4px;
    font-family: var(--font-title);
    font-size: 0.55rem;
    font-weight: 400;
    letter-spacing: 1px;
    border: 2px solid var(--border-vis);
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}
.btn-cs-hero:hover {
    background: var(--bg-card);
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(212,130,10,0.15);
}

/* ────────────────────────────────────────────────
   STATS
──────────────────────────────────────────────── */
#stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--bg-card);
    border-top: 2px solid var(--border-vis);
    border-bottom: 2px solid var(--border-vis);
    position: relative;
    z-index: 1;
}

.stat-card {
    background: var(--bg-main);
    padding: 32px 20px;
    text-align: center;
    border-right: 1px solid var(--border);
    transition: background 0.2s;
    position: relative;
}
.stat-card:last-child { border-right: none; }
.stat-card:hover { background: var(--bg-card); }

.stat-number {
    font-family: var(--font-title);
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 400;
    color: var(--brand);
    display: block;
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ────────────────────────────────────────────────
   SECTIONS
──────────────────────────────────────────────── */
.section-padding { padding: 80px 5%; position: relative; z-index: 1; color: var(--text-dark); }

.section-header-title {
    font-family: var(--font-title);
    font-size: clamp(0.65rem, 1.5vw, 0.9rem);
    font-weight: 400;
    color: var(--brand);
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 14px;
}
.section-header-title::before {
    content: '//';
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 1.2em;
}
.section-header-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border-vis), transparent);
}

/* ── FILTER TABS ── */
.filter-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.filter-tab {
    background: var(--bg-card);
    border: 1px solid var(--border-vis);
    border-radius: 4px;
    padding: 7px 16px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.15s;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.filter-tab:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: var(--brand-dim);
}
.filter-tab.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    box-shadow: 0 2px 10px rgba(212,130,10,0.3);
}

/* ── GAMES GRID ── */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-vis);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.game-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--brand);
    opacity: 0;
    transition: opacity 0.2s;
}
.game-card:hover {
    border-color: var(--brand);
    box-shadow: 0 6px 24px rgba(212,130,10,0.15);
    transform: translateY(-2px);
}
.game-card:hover::before { opacity: 1; }
.game-card.hidden { display: none; }

.game-image-wrapper {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-card);
    position: relative;
}
.game-image-wrapper::after { display: none; }
.game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.game-card:hover .game-image {
    transform: scale(1.04);
}

.game-info { padding: 14px 16px 16px; border-top: 1px solid var(--border); }

.game-title {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--text-bright);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}
.game-description {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 8px;
    font-family: var(--font-mono);
}
.game-dev {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--brand);
    font-weight: 400;
    opacity: 0.8;
    letter-spacing: 1px;
}

/* ── ABOUT SECTION ── */
.about-section {
    padding: 80px 5%;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 1;
    color: var(--text-dark);
}

.about-section p {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 640px;
    line-height: 1.9;
    margin-bottom: 24px;
}

.about-tip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-main);
    border: 1px solid var(--border-vis);
    border-radius: 4px;
    padding: 10px 16px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 36px !important;
    letter-spacing: 0.5px;
}
.about-tip-highlight {
    font-family: var(--font-title);
    color: var(--brand);
    letter-spacing: 2px;
    font-size: 0.55rem;
}

.about-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-bug, .btn-saran {
    padding: 10px 20px;
    border: 1px solid;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.btn-bug {
    background: transparent;
    border-color: rgba(180,40,40,0.3);
    color: var(--c-red);
}
.btn-bug:hover {
    background: var(--c-red);
    color: #fff;
    box-shadow: 0 2px 10px rgba(180,40,40,0.2);
}
.btn-saran {
    background: transparent;
    border-color: rgba(212,130,10,0.35);
    color: var(--brand);
}
.btn-saran:hover {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 2px 10px rgba(212,130,10,0.2);
}

/* ── SECTION SUBTITLE (opsional) ── */
.section-subtitle {
    margin: -6px auto 26px;
    max-width: 720px;
    text-align: center;
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.7;
    letter-spacing: 0.4px;
}

/* ────────────────────────────────────────────────
   REVIEWS SECTION (ULASAN + RATING)
──────────────────────────────────────────────── */
.reviews-section {
    padding: 80px 5%;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.review-slider {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 12px;
    max-width: 820px;
    margin: 0 auto;
}

.review-nav {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.03);
    color: var(--text-bright);
    cursor: pointer;
    transition: transform 0.12s ease, background 0.12s ease;
}
.review-nav:hover { transform: translateY(-1px); background: rgba(255,255,255,0.06); }
.review-nav:active { transform: translateY(0); }

.review-viewport {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
}

.review-track {
    display: flex;
    width: 100%;
    transform: translateX(0%);
    transition: transform 0.45s ease;
}

.review-slide {
    min-width: 100%;
    padding: 18px;
}

.review-card {
    padding: 22px 20px;
    border-radius: 16px;
    background: rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 18px 50px rgba(0,0,0,0.18);
}

.review-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.review-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
    flex-shrink: 0;
    background: radial-gradient(circle at 30% 30%, rgba(245,158,11,0.35), rgba(255,255,255,0.06));
    display: grid;
    place-items: center;
}

.review-avatar svg,
.review-avatar img {
    width: 100%;
    height: 100%;
    display: block;
}

.review-avatar img {
    object-fit: cover;
}

.review-avatar-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-family: var(--font-title);
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
}

.review-name {
    font-family: var(--font-base);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: var(--text-bright);
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 240px;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fde68a;
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.review-stars i { margin-left: 2px; }
.review-score {
    color: var(--text-muted);
    font-size: 0.76rem;
}

.review-text {
    margin: 0;
    color: var(--text-soft);
    font-family: var(--font-base);
    font-size: 0.92rem;
    line-height: 1.8;
}

.review-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.review-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.08);
    cursor: pointer;
    padding: 0;
}

.review-dot.active {
    background: var(--brand);
    border-color: rgba(212,130,10,0.6);
    box-shadow: 0 0 0 4px rgba(212,130,10,0.18);
}

/* ────────────────────────────────────────────────
   CEK TIKET SECTION
──────────────────────────────────────────────── */
.cek-tiket-section {
    padding: 80px 5%;
    position: relative;
    z-index: 1;
    background: var(--bg-main);
    border-top: 1px solid var(--border);
}
.cek-tiket-inner {
    max-width: 580px;
    margin: 0 auto;
    text-align: center;
}
.cek-tiket-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
    display: block;
    animation: floatIcon 3s ease-in-out infinite;
}
@keyframes floatIcon { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-8px);} }

.cek-tiket-title {
    font-family: var(--font-title);
    font-size: clamp(0.7rem, 2vw, 1rem);
    color: var(--brand);
    margin: 0 0 10px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.cek-tiket-sub {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0 0 28px;
    line-height: 1.7;
    letter-spacing: 0.5px;
}
.cek-tiket-form {
    display: flex;
    gap: 8px;
    max-width: 520px;
    margin: 0 auto 14px;
}
.tiket-input {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-vis);
    border-radius: 4px;
    padding: 12px 14px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    min-width: 0;
    letter-spacing: 1px;
}
.tiket-input::placeholder { color: var(--text-dim); }
.tiket-input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(212,130,10,0.1);
}
.tiket-input.shake { animation: shakeAnim 0.4s ease; border-color: var(--c-red); }
@keyframes shakeAnim {
    0%,100%{transform:translateX(0);}
    20%{transform:translateX(-8px);}
    40%{transform:translateX(8px);}
    60%{transform:translateX(-5px);}
    80%{transform:translateX(5px);}
}
.tiket-cek-btn {
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px 18px;
    font-family: var(--font-title);
    font-size: 0.5rem;
    font-weight: 400;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 3px 12px rgba(212,130,10,0.25);
}
.tiket-cek-btn:hover:not(:disabled) {
    background: var(--c-amber-dim);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(212,130,10,0.35);
}
.tiket-cek-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.tiket-hint {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-dim);
    margin: 8px 0 0;
    letter-spacing: 0.5px;
}
.tiket-result-wrap { margin-top: 28px; text-align: left; }

.tiket-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 1px;
}
.tiket-spinner {
    width: 18px; height: 18px;
    border: 2px solid rgba(212,130,10,0.2);
    border-top-color: var(--brand);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0;
}
@keyframes spin { to{transform:rotate(360deg);} }

.tiket-card {
    background: var(--bg-card);
    border: 1px solid var(--border-vis);
    border-radius: 8px;
    overflow: hidden;
    animation: fadeSlideUp 0.35s ease;
}
@keyframes fadeSlideUp {
    from{opacity:0;transform:translateY(12px);}
    to{opacity:1;transform:translateY(0);}
}
.tiket-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px 14px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-main);
}
.tc-num {
    font-family: var(--font-title);
    font-size: 0.7rem;
    color: var(--brand);
    font-weight: 400;
    letter-spacing: 1px;
}
.tc-id {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-dim);
    margin-top: 4px;
    word-break: break-all;
}
.tc-type {
    background: var(--brand-dim);
    border: 1px solid var(--border-vis);
    border-radius: 4px;
    padding: 4px 10px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--brand);
    white-space: nowrap;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.tr-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px 20px 0;
    position: relative;
    gap: 4px;
}
.tr-steps::before {
    content: '';
    position: absolute;
    top: 34px; left: calc(20px + 12px); right: calc(20px + 12px);
    height: 1px;
    background: var(--border-vis);
}
.tr-step { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; position: relative; z-index: 1; }
.tr-dot {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 1px solid var(--border-vis);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.tr-step.done .tr-dot { background: var(--brand); border-color: var(--brand); color: #fff; }
.tr-step.active .tr-dot {
    background: var(--bg-card);
    border-color: var(--brand);
    color: var(--brand);
    box-shadow: 0 0 0 3px rgba(212,130,10,0.15);
    animation: pulseDot 1.5s infinite;
}
@keyframes pulseDot {
    0%,100%{box-shadow:0 0 0 3px rgba(212,130,10,0.15);}
    50%{box-shadow:0 0 0 6px rgba(212,130,10,0.06);}
}
.tr-step-label { font-family: var(--font-mono); font-size: 0.6rem; color: var(--text-muted); text-align: center; letter-spacing: 0.5px; }
.tr-step.done .tr-step-label, .tr-step.active .tr-step-label { color: var(--brand); }
.tr-steps.is-done .tr-dot { background: var(--c-green); border-color: var(--c-green); }
.tr-steps.is-done .tr-step-label { color: var(--c-green); }
.tc-note {
    margin: 14px 18px 0;
    padding: 10px 14px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    line-height: 1.6;
    background: var(--brand-dim);
    border: 1px solid rgba(212,130,10,0.2);
    color: var(--text-dark);
    letter-spacing: 0.5px;
}
.tc-note.seen { background: rgba(0,119,170,0.06); border-color: rgba(0,119,170,0.2); }
.tc-note.confirmed { background: rgba(26,153,0,0.06); border-color: rgba(26,153,0,0.2); }
.tc-note.done { background: rgba(26,153,0,0.08); border-color: rgba(26,153,0,0.25); color: var(--c-green); }
.tc-devnote {
    margin: 8px 18px 0;
    padding: 8px 12px;
    background: rgba(212,130,10,0.05);
    border: 1px solid rgba(212,130,10,0.2);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--text-dark);
}
.tc-devnote span { font-weight: 700; color: var(--c-yellow); }
.tc-fields { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.tc-field span {
    font-family: var(--font-mono);
    font-size: 0.62rem; text-transform: uppercase; letter-spacing: 1px;
    color: var(--text-dim); display: block; margin-bottom: 4px;
}
.tc-field p {
    margin: 0; background: var(--bg-main); border: 1px solid var(--border);
    border-radius: 4px; padding: 8px 12px; font-family: var(--font-mono); font-size: 0.8rem; line-height: 1.5;
    color: var(--text-dark); word-break: break-word;
}
.tiket-done, .tiket-error { text-align: center; padding: 36px 28px; font-family: var(--font-mono); }
.tiket-done { border-color: var(--c-green); }
.tiket-error { border-color: var(--c-red); }

/* ────────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────────── */
footer {
    background: var(--bg-footer);
    color: var(--text-muted);
    padding: 60px 5% 36px;
    position: relative;
    z-index: 1;
    border-top: 2px solid var(--border-vis);
}

.footer-content {
    max-width: 480px;
    margin: 0 auto 40px;
    text-align: center;
}
.footer-content h3 {
    font-family: var(--font-title);
    font-size: 0.75rem;
    color: var(--brand);
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 16px;
}
.footer-content p {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.8;
    letter-spacing: 0.5px;
}

.footer-email {
    color: var(--brand);
    text-decoration: none;
}
.footer-email:hover { text-decoration: underline; }

.footer-contact-p { margin-bottom: 24px !important; }

.social-icons {
    display: flex;
    gap: 8px;
    justify-content: center;
}
.social-icons a {
    width: 40px; height: 40px;
    background: var(--bg-main);
    border: 1px solid var(--border-vis);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.15s;
}
.social-icons a:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    box-shadow: 0 2px 10px rgba(212,130,10,0.25);
}

.footer-support {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.footer-support-link {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 7px 16px;
    border: 1px solid var(--border-vis);
    border-radius: 4px;
    transition: all 0.15s;
    letter-spacing: 0.5px;
    background: var(--bg-main);
}
.footer-support-link:hover {
    background: var(--brand-dim);
    border-color: var(--brand);
    color: var(--brand);
}
.footer-support-sep { color: var(--border-vis); }

.footer-copy {
    margin-top: 32px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-dim);
    text-align: center;
    letter-spacing: 1px;
}

/* ────────────────────────────────────────────────
   REPORT MODALS
──────────────────────────────────────────────── */
.report-modal-bg {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(30,20,10,0.5);
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}
.report-modal-bg.open { display: flex; }

.report-modal-card {
    background: var(--bg-main);
    border: 1px solid var(--border-vis);
    border-radius: 12px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: modalIn 0.2s ease;
}
@keyframes modalIn {
    from{opacity:0;transform:scale(0.97) translateY(10px);}
    to{opacity:1;transform:scale(1) translateY(0);}
}

.rmodal-header {
    padding: 20px 22px 0;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}
.rmodal-icon {
    width: 38px; height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    border: 1px solid;
}
.rmodal-icon.bug { background: rgba(180,40,40,0.08); border-color: rgba(180,40,40,0.25); }
.rmodal-icon.saran { background: rgba(212,130,10,0.08); border-color: rgba(212,130,10,0.25); }

.rmodal-title {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-bright);
    font-weight: 400;
    letter-spacing: 0.5px;
}
.rmodal-sub { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }

.rmodal-close {
    margin-left: auto;
    background: transparent;
    border: 1px solid var(--border-vis);
    border-radius: 6px;
    width: 30px; height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1rem;
    transition: all 0.15s;
    flex-shrink: 0;
    font-family: var(--font-mono);
}
.rmodal-close:hover { background: var(--c-red); color: #fff; border-color: var(--c-red); }

.rmodal-body { padding: 0 22px 22px; }

.rmodal-field { margin-bottom: 14px; }
.rmodal-field label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.rmodal-field input,
.rmodal-field select,
.rmodal-field textarea {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-vis);
    border-radius: 4px;
    padding: 10px 12px;
    font-family: var(--font-mono);
    font-size: 0.84rem;
    color: var(--text-bright);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    letter-spacing: 0.5px;
}
.rmodal-field input:focus,
.rmodal-field select:focus,
.rmodal-field textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(212,130,10,0.1);
}

.rmodal-submit {
    width: 100%;
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 13px;
    font-family: var(--font-title);
    font-size: 0.55rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.15s;
    margin-top: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 3px 12px rgba(212,130,10,0.25);
}
.rmodal-submit:hover { background: var(--c-amber-dim); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(212,130,10,0.35); }
.rmodal-submit:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }

.rmodal-success {
    padding: 36px 22px;
    text-align: center;
}
.rmodal-success-icon {
    width: 56px; height: 56px;
    background: rgba(26,153,0,0.08);
    border: 1px solid rgba(26,153,0,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.6rem;
}
.rmodal-success h3 {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--text-bright);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
.rmodal-success p { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-muted); margin-bottom: 18px; }
.rmodal-ticket {
    background: var(--bg-card);
    border: 1px solid var(--border-vis);
    border-radius: 6px;
    padding: 14px;
    text-align: center;
}
.rmodal-ticket-label { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 4px; }
.rmodal-ticket-num { font-family: var(--font-title); font-size: 1rem; color: var(--brand); font-weight: 400; letter-spacing: 3px; }
.rmodal-ticket-hint { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-dim); margin-top: 6px; display: block; }

/* ────────────────────────────────────────────────
   GAME MODAL
──────────────────────────────────────────────── */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 8000;
    background: rgba(30,20,10,0.5);
    overflow-y: auto;
    padding: 20px;
    align-items: flex-start;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.modal.open { display: flex; }

.modal-content {
    background: var(--bg-main);
    border: 1px solid var(--border-vis);
    border-radius: 12px;
    padding: 28px;
    width: 100%;
    max-width: 660px;
    margin: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.close-modal {
    position: absolute;
    top: 14px; right: 14px;
    width: 32px; height: 32px;
    background: transparent;
    border: 1px solid var(--border-vis);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1;
    transition: all 0.15s;
}
.close-modal:hover { background: var(--c-red); color: #fff; border-color: var(--c-red); }

.modal-logo {
    width: 56px; height: 56px;
    object-fit: contain;
    border: 1px solid var(--border-vis);
    margin-bottom: 14px;
    border-radius: 8px;
}
.modal-title {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--text-bright);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
.modal-description {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
    letter-spacing: 0.3px;
}

.gallery-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--bg-card);
    margin-bottom: 10px;
    border: 1px solid var(--border);
}
.gallery-slides { display: flex; height: 100%; }
.gallery-slide {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-btn {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px;
    background: rgba(245,240,232,0.85);
    border: 1px solid var(--border-vis);
    border-radius: 6px;
    color: var(--text-dark);
    font-family: var(--font-mono);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    backdrop-filter: blur(4px);
}
.gallery-prev { left: 8px; }
.gallery-next { right: 8px; }
.gallery-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 20px;
}
.gallery-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--border-vis);
    cursor: pointer;
    transition: all 0.2s;
}
.gallery-dot.active { background: var(--brand); width: 20px; border-radius: 3px; }

.download-section { margin-bottom: 24px; }
.section-title {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}
.platform-buttons { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.platform-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    transition: all 0.15s;
    border: 1px solid;
    letter-spacing: 0.5px;
}
.btn-taptap   { background: rgba(255,102,51,0.06); border-color: rgba(255,102,51,0.25); color: #cc5522; }
.btn-itchio   { background: rgba(200,60,60,0.06);  border-color: rgba(200,60,60,0.25);  color: #cc3333; }
.btn-roblox   { background: rgba(0,119,200,0.06);  border-color: rgba(0,119,200,0.25);  color: #0077c8; }
.btn-amazon   { background: rgba(200,120,0,0.06);  border-color: rgba(200,120,0,0.25);  color: #cc7700; }
.btn-gplay    { background: rgba(30,160,90,0.06);  border-color: rgba(30,160,90,0.25);  color: #1aa05a; }
.btn-steam    { background: rgba(70,100,150,0.06); border-color: rgba(70,100,150,0.25); color: #466496; }
.platform-btn:hover { transform: translateY(-2px); filter: brightness(0.85); box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

.supported-platforms {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}
.platform-icon { color: var(--text-muted); font-size: 0.9rem; }

.other-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
}
.other-game-item {
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.2s;
    background: var(--bg-card);
}
.other-game-item:hover {
    border-color: var(--brand);
    box-shadow: 0 2px 10px rgba(212,130,10,0.15);
}
.other-game-item img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}
.other-game-item p {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-dark);
    padding: 6px 8px;
    line-height: 1.3;
    letter-spacing: 0.3px;
}

/* ────────────────────────────────────────────────
   MASCOT
──────────────────────────────────────────────── */
#mascot-wrap {
    position: fixed;
    bottom: 24px; right: 24px;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
.mascot-body {
    width: 52px; height: 52px;
    cursor: pointer;
    position: relative;
    user-select: none;
    animation: mascotBob 3s ease-in-out infinite;
    background: var(--brand);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(212,130,10,0.3);
}
@keyframes mascotBob { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-5px);} }
.mascot-body img { width: 34px; height: 34px; object-fit: contain; }
.mwave {
    position: absolute;
    top: -8px; right: -8px;
    font-size: 0.9rem;
    animation: wave 2s infinite;
}
@keyframes wave { 0%,100%{transform:rotate(0);} 25%{transform:rotate(20deg);} 75%{transform:rotate(-10deg);} }
.mshadow { display: none; }

.speech-bubble {
    background: var(--bg-main);
    border: 1px solid var(--border-vis);
    border-radius: 8px;
    padding: 10px 14px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dark);
    max-width: 180px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    line-height: 1.5;
    letter-spacing: 0.3px;
    min-height: 42px;
    display: flex;
    align-items: center;
}
.bcursor { color: var(--brand); animation: blink 1s steps(1) infinite; }

/* ────────────────────────────────────────────────
   SCROLL TOP & TOAST
──────────────────────────────────────────────── */
#scrollTopBtn {
    position: fixed;
    bottom: 96px; right: 24px;
    z-index: 490;
    background: var(--bg-main);
    border: 1px solid var(--border-vis);
    border-radius: 6px;
    width: 40px; height: 40px;
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--brand);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
#scrollTopBtn:hover { background: var(--brand); color: #fff; }
#scrollTopBtn.show { display: flex; }

#toast {
    position: fixed;
    bottom: 32px; left: 50%; transform: translateX(-50%);
    z-index: 9999;
    background: var(--brand);
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 400;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    white-space: nowrap;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(212,130,10,0.3);
}
#toast.show { opacity: 1; }

/* ────────────────────────────────────────────────
   EASTER EGG
──────────────────────────────────────────────── */
#easter-egg {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(245,240,232,0.97);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
}
#easter-egg.show { display: flex; }
.ee-title {
    font-family: var(--font-title);
    font-size: clamp(0.65rem, 2.5vw, 1rem);
    color: var(--brand);
    text-align: center;
    line-height: 2;
    animation: rainbowText 2s infinite;
    letter-spacing: 2px;
}
@keyframes rainbowText {
    0%{color:var(--brand);} 25%{color:var(--c-cyan);} 50%{color:var(--c-green);} 75%{color:var(--c-yellow);} 100%{color:var(--brand);}
}
.ee-sub {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-dim);
    margin-top: 24px;
    letter-spacing: 3px;
}

/* ────────────────────────────────────────────────
   ADMIN PANEL
──────────────────────────────────────────────── */
.report-item {
    background: var(--bg-card);
    border: 1px solid var(--border-vis);
    border-radius: 6px;
    padding: 16px 18px;
    margin-bottom: 8px;
    transition: all 0.15s;
}
.report-item:hover { border-color: var(--brand); }
.report-title {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: var(--brand);
    margin-bottom: 10px;
    display: block;
    letter-spacing: 0.3px;
}

/* ── Z-INDEX STACKING ── */
nav, #hero, #stats-section, #games, #about, #cek-tiket,
footer, .section-padding, .about-section, .cek-tiket-section { position: relative; z-index: 1; }

/* ────────────────────────────────────────────────
   PENGUMUMAN WEBSITE (HOME)
   Dikelola dari Admin Panel → muncul/hilang otomatis
──────────────────────────────────────────────── */
.site-announcement {
    background: rgba(212,130,10,0.10);
    border-bottom: 1px solid rgba(212,130,10,0.22);
    color: var(--text-dark);
    padding: 10px 5%;
    position: sticky;
    top: 64px; /* tepat di bawah navbar */
    z-index: 901;
    backdrop-filter: blur(4px);
}
.sa-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
}
.sa-badge {
    background: var(--brand);
    color: #fff;
    border-radius: 4px;
    padding: 4px 10px;
    font-family: var(--font-title);
    font-size: 0.45rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    flex-shrink: 0;
}
.sa-text {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-dark);
    letter-spacing: 0.2px;
    line-height: 1.4;
}
.sa-close {
    margin-left: auto;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid var(--border-vis);
    background: var(--bg-main);
    color: var(--text-muted);
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 1rem;
    line-height: 1;
    transition: all 0.15s;
}
.sa-close:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: var(--brand-dim);
}

@media (max-width: 768px) {
    .site-announcement { top: 64px; }
    .sa-text { font-size: 0.75rem; }
}

/* ────────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────────── */
@media (max-width: 768px) {
    #stats-section { grid-template-columns: repeat(2, 1fr); }
    .hero-corner { width: 50px; height: 50px; }
    .modal-content { padding: 20px; }
    .cek-tiket-form { flex-direction: column; }
    .tiket-cek-btn { justify-content: center; }
    .about-section { padding: 60px 5%; }
    .review-slider { grid-template-columns: 40px 1fr 40px; }
    .review-nav { width: 40px; height: 40px; }
}
@media (max-width: 480px) {
    #stats-section { grid-template-columns: repeat(2, 1fr); }
    .games-grid { grid-template-columns: 1fr; }
    .nav-right .t-label { display: none; }
    .hero-corner { display: none; }
    .review-slider { grid-template-columns: 36px 1fr 36px; gap: 10px; }
    .review-nav { width: 36px; height: 36px; border-radius: 10px; }
    .review-slide { padding: 14px; }
}

/* ────────────────────────────────────────────────
   GLOBAL ANIMATIONS
──────────────────────────────────────────────── */
@keyframes countUp { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.4;} }
@keyframes pulse-dot { 0%,100%{transform:scale(1);} 50%{transform:scale(1.3);} }

/* ────────────────────────────────────────────────
   MODAL TABS — ZAKIFAISAL05 UPDATE
──────────────────────────────────────────────── */

/* Modal header area */
.modal-header-area {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}
.modal-header-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.modal-genre-badge {
    display: inline-block;
    background: var(--accent, #9b59b6);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    width: fit-content;
}

/* Tab bar */
.modal-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border, rgba(255,255,255,0.1));
    padding-bottom: 0;
    flex-wrap: wrap;
}
.modal-tab {
    background: none;
    border: none;
    color: var(--text-muted, #aaa);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    padding: 10px 16px;
    border-radius: 8px 8px 0 0;
    transition: all 0.2s;
    position: relative;
    white-space: nowrap;
}
.modal-tab:hover {
    color: var(--text, #fff);
    background: rgba(155,89,182,0.15);
}
.modal-tab.active {
    color: var(--accent, #9b59b6);
    background: rgba(155,89,182,0.12);
    border-bottom: 3px solid var(--accent, #9b59b6);
}

/* Tab content panels */
.modal-tab-content {
    display: none;
    animation: tabFadeIn 0.25s ease;
}
.modal-tab-content.active {
    display: block;
}
@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Info boxes */
.modal-info-box {
    background: var(--card-bg, rgba(255,255,255,0.05));
    border: 1px solid var(--border, rgba(255,255,255,0.08));
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 12px;
}
.modal-info-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent, #9b59b6);
    margin: 0 0 6px 0;
}
.modal-dev-text {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text, #fff);
}

/* CTA area inside INFO tab */
.modal-cta-area {
    text-align: center;
    margin-top: 20px;
    padding: 18px;
    background: linear-gradient(135deg, rgba(155,89,182,0.15), rgba(155,89,182,0.05));
    border: 1px dashed var(--accent, #9b59b6);
    border-radius: 12px;
}
.modal-cta-hint {
    margin: 0 0 12px 0;
    font-size: 0.9rem;
    color: var(--text-muted, #aaa);
}
.modal-goto-play-btn {
    background: var(--accent, #9b59b6);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    letter-spacing: 0.5px;
}
.modal-goto-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(155,89,182,0.5);
}

/* Play tab */
.modal-play-header {
    text-align: center;
    margin-bottom: 24px;
}
.modal-play-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 6px 0;
    color: var(--text, #fff);
}
.modal-play-sub {
    font-size: 0.85rem;
    color: var(--text-muted, #aaa);
    margin: 0;
}

/* Big platform buttons in PLAY tab */
.platform-buttons-big {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}
.platform-buttons-big .btn-platform {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 16px 24px !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    border-radius: 14px !important;
    letter-spacing: 1px;
    transition: transform 0.15s, box-shadow 0.15s !important;
}
.platform-buttons-big .btn-platform:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4) !important;
}

/* Itch.io button override */
.btn-itchio {
    background: linear-gradient(135deg, #fa5c5c, #d14343) !important;
    color: #fff !important;
}
/* Roblox button override */
.btn-roblox {
    background: linear-gradient(135deg, #00b2ff, #0076e4) !important;
    color: #fff !important;
}
/* TapTap button override */
.btn-taptap {
    background: linear-gradient(135deg, #ff6b35, #e04e1a) !important;
    color: #fff !important;
}
/* Amazon button override */
.btn-amazon {
    background: linear-gradient(135deg, #ff9900, #e68900) !important;
    color: #fff !important;
}

@media (max-width: 480px) {
    .modal-tabs { gap: 4px; }
    .modal-tab  { font-size: 0.72rem; padding: 8px 10px; }
    .modal-header-area { flex-direction: column; text-align: center; align-items: center; }
}

/* ── GAME CARD AS ANCHOR (halaman dedicated) ── */
a.game-card {
    display: block;
    text-decoration: none;
    color: inherit;
}
a.game-card:visited { color: inherit; }
