/* ==========================================================================
   RESET & VARIABLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

:root {
    --bg-color: #060709;
    --card-bg: rgba(255, 255, 255, 0.02);
    --card-hover: rgba(74, 222, 128, 0.04);
    --border-color: rgba(255, 255, 255, 0.06);
    --kiwi-green: #4ade80;
    --kiwi-green-dim: #22c55e;
    --liquid-blue: #1e3a8a;
    --kiwi-glow: rgba(74, 222, 128, 0.25);
    --discord-blue: #5865F2;
    --text-main: #f3f4f6;
    --text-muted: #8a8f98;
    --amber: #f5a524;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

html, body, a, button, .card, .btn, .tab-btn, .status-toggle, .survey-btn, .copy-btn {
    cursor: none !important;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
.custom-cursor {
    width: 32px; height: 32px; border: 2px solid var(--kiwi-green);
    border-radius: 50%; position: fixed; transform: translate(-50%, -50%);
    pointer-events: none; z-index: 99999; mix-blend-mode: screen;
    transition: width 0.2s cubic-bezier(0.16, 1, 0.3, 1), height 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 15px var(--kiwi-glow);
}
.custom-cursor-dot {
    width: 6px; height: 6px; background-color: #ffffff; border-radius: 50%;
    position: fixed; transform: translate(-50%, -50%); pointer-events: none; z-index: 100000;
}
.custom-cursor.cursor-hover {
    width: 55px; height: 55px; background-color: rgba(74, 222, 128, 0.12);
    border-color: #ffffff; box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
}
.custom-cursor.cursor-click { transform: translate(-50%, -50%) scale(0.8); border-color: var(--kiwi-green); }

/* ==========================================================================
   LIQUID BACKGROUND
   ========================================================================== */
.liquid-bg-wrapper {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2; overflow: hidden; background: #050608; pointer-events: none;
}
.liquid-blur-layer { position: absolute; width: 100%; height: 100%; filter: blur(140px); opacity: 0.45; }
.blob { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.blob-1 {
    top: -10%; left: 10%; width: 550px; height: 550px;
    background: radial-gradient(circle, var(--kiwi-green) 0%, transparent 80%);
    animation: flow-one 25s infinite alternate ease-in-out;
}
.blob-2 {
    bottom: -5%; right: 5%; width: 650px; height: 650px;
    background: radial-gradient(circle, var(--liquid-blue) 0%, transparent 80%);
    animation: flow-two 30s infinite alternate ease-in-out;
}
.blob-3 {
    top: 40%; left: 50%; width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.4) 0%, transparent 75%);
    animation: flow-three 22s infinite alternate ease-in-out;
}
@keyframes flow-one {
    0% { transform: translate(0px, 0px) rotate(0deg) scale(1); }
    33% { transform: translate(100px, 80px) rotate(120deg) scale(1.2); }
    66% { transform: translate(-50px, 150px) rotate(240deg) scale(0.9); }
    100% { transform: translate(0px, 0px) rotate(360deg) scale(1); }
}
@keyframes flow-two {
    0% { transform: translate(0px, 0px) scale(1); }
    50% { transform: translate(-120px, -100px) scale(0.85); }
    100% { transform: translate(40px, 40px) scale(1.1); }
}
@keyframes flow-three {
    0% { transform: translate(-100px, 100px) rotate(360deg); }
    50% { transform: translate(150px, -50px) rotate(180deg); }
    100% { transform: translate(-100px, 100px) rotate(0deg); }
}
.bg-grid {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.006) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.006) 1px, transparent 1px);
    background-size: 50px 50px; z-index: -1; pointer-events: none;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 22px 8%; position: sticky; top: 0; left: 0; width: 100%; z-index: 500;
    background: rgba(6, 7, 9, 0.6); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
}
.logo {
    font-weight: 800; font-size: 1.25rem; letter-spacing: 1px;
    display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.logo i { color: var(--kiwi-green); text-shadow: 0 0 10px var(--kiwi-green); }
.logo span { color: var(--kiwi-green); }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
    text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: 0.9rem;
    letter-spacing: 0.2px; position: relative; padding: 4px 0; transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--text-main); }
.main-nav a.active { color: var(--kiwi-green); }
.main-nav a.active::after {
    content: ''; position: absolute; bottom: -6px; left: 0; width: 100%; height: 2px;
    background: var(--kiwi-green); box-shadow: 0 0 8px var(--kiwi-green);
}

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

.status-toggle {
    background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-color);
    padding: 8px 16px; border-radius: 20px; font-size: 0.8rem; font-weight: 600;
    color: var(--text-main); display: flex; align-items: center; gap: 8px;
    transition: all 0.2s ease; backdrop-filter: blur(5px);
}
.status-dot {
    width: 8px; height: 8px; background-color: var(--kiwi-green);
    border-radius: 50%; display: inline-block; box-shadow: 0 0 8px var(--kiwi-green);
}
.status-dot.maintenance { background-color: #ff4a4a; box-shadow: 0 0 8px #ff4a4a; }

.nav-toggle {
    display: none; width: 40px; height: 40px; border-radius: 8px;
    background: rgba(255,255,255,0.03); border: 1px solid var(--border-color); color: var(--text-main);
    align-items: center; justify-content: center; font-size: 1.1rem;
}

/* ==========================================================================
   PAGE HERO (sub-pages)
   ========================================================================== */
.page-hero { padding: 90px 8% 50px 8%; text-align: center; }
.page-hero .badge {
    background: rgba(74, 222, 128, 0.05); border: 1px solid rgba(74, 222, 128, 0.12);
    color: var(--kiwi-green); padding: 8px 18px; border-radius: 30px;
    display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem;
    font-weight: 600; margin-bottom: 22px; letter-spacing: 0.5px; backdrop-filter: blur(5px);
}
.page-hero h1 { font-size: 2.8rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; }
.page-hero p { color: var(--text-muted); font-size: 1.05rem; max-width: 640px; margin: 0 auto; line-height: 1.6; }

/* ==========================================================================
   HOME HERO
   ========================================================================== */
.hero {
    min-height: 78vh; display: flex; align-items: center;
    justify-content: center; text-align: center; padding: 0 20px; padding-top: 90px;
}
.hero-content { max-width: 850px; }
.badge {
    background: rgba(74, 222, 128, 0.05); border: 1px solid rgba(74, 222, 128, 0.12);
    color: var(--kiwi-green); padding: 8px 18px; border-radius: 30px;
    display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem;
    font-weight: 600; margin-bottom: 25px; letter-spacing: 0.5px; backdrop-filter: blur(5px);
}
.hero h1 { font-size: 3.8rem; font-weight: 800; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1.5px; }
.text-gradient {
    background: linear-gradient(135deg, #ffffff 40%, var(--kiwi-green));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { color: var(--text-muted); font-size: 1.15rem; line-height: 1.6; margin-bottom: 35px; max-width: 680px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; justify-content: center; align-items: center; gap: 15px; flex-wrap: wrap; }

.btn {
    padding: 12px 26px; border-radius: 8px; font-weight: 600; text-decoration: none; font-size: 0.95rem;
    display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent; backdrop-filter: blur(5px);
}
.btn-discord { background-color: var(--discord-blue); color: #ffffff; box-shadow: 0 8px 24px rgba(88, 101, 242, 0.15); }
.btn-discord:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(88, 101, 242, 0.3); }
.btn-secondary { background-color: rgba(255, 255, 255, 0.01); border-color: var(--border-color); color: var(--text-main); }
.btn-secondary:hover { background-color: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.18); }
.btn-primary { background-color: var(--kiwi-green); color: #06110a; box-shadow: 0 8px 24px rgba(74,222,128,0.15); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(74,222,128,0.3); }
.btn-icon-only {
    width: 45px; height: 45px; padding: 0; justify-content: center;
    background: rgba(255, 255, 255, 0.01); border: 1px solid var(--border-color); color: var(--text-muted);
}
.btn-icon-only:hover { color: var(--kiwi-green); border-color: var(--kiwi-green); background: rgba(74, 222, 128, 0.04); transform: translateY(-2px); }
.btn-sm { padding: 8px 16px; font-size: 0.82rem; }
.btn-block { width: 100%; justify-content: center; }

/* ==========================================================================
   STATS TICKER
   ========================================================================== */
.stats-ticker {
    max-width: 1100px; margin: 40px auto 20px auto; padding: 0 8%;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px;
}
.stat-node {
    background: rgba(255, 255, 255, 0.01); border: 1px solid var(--border-color);
    padding: 20px; border-radius: 12px; text-align: center; backdrop-filter: blur(5px); position: relative;
}
.stat-node::after {
    content: ''; position: absolute; bottom: 0; left: 10%; width: 80%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--kiwi-green), transparent); opacity: 0.3;
}
.stat-node h4 { font-family: 'JetBrains Mono', monospace; font-size: 1.8rem; color: #fff; margin-bottom: 5px; }
.stat-node p { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section-head { max-width: 1200px; margin: 0 auto; padding: 60px 8% 20px 8%; text-align: center; }
.section-head .eyebrow {
    color: var(--kiwi-green); font-family: 'JetBrains Mono', monospace; font-size: 0.78rem;
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; display: block;
}
.section-head h2 { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 10px; }
.section-head p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ==========================================================================
   CODE BOX
   ========================================================================== */
.code-vault-section { padding: 40px 8%; max-width: 1200px; margin: 0 auto; }
.code-box-wrapper {
    background: #0b0d13; border: 1px solid var(--border-color);
    border-radius: 14px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}
.code-box-header {
    background: rgba(255, 255, 255, 0.02); padding: 14px 24px;
    display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border-color);
}
.code-title { font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.code-title span { width: 8px; height: 8px; background-color: #ef4444; border-radius: 50%; display: inline-block; }
.copy-btn {
    background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-color);
    color: var(--text-main); padding: 6px 14px; border-radius: 6px; font-size: 0.8rem; font-weight: 600;
    display: flex; align-items: center; gap: 6px; transition: all 0.2s ease;
}
.copy-btn:hover { border-color: var(--kiwi-green); color: var(--kiwi-green); background: rgba(74, 222, 128, 0.05); }
.copy-btn.copied { border-color: var(--kiwi-green); background: var(--kiwi-green); color: var(--bg-color); }
.code-body pre { padding: 25px; overflow-x: auto; margin: 0; }
.code-body code { font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; color: #cbd5e1; line-height: 1.6; }

/* ==========================================================================
   HUB / TABS / CARDS
   ========================================================================== */
.hub-section { padding: 60px 8% 40px 8%; max-width: 1200px; margin: 0 auto; }
.tab-navigation {
    display: flex; justify-content: center; gap: 10px; margin-bottom: 45px;
    background: rgba(255, 255, 255, 0.01); padding: 6px; border-radius: 12px;
    border: 1px solid var(--border-color); max-width: 560px; margin-left: auto; margin-right: auto;
    backdrop-filter: blur(10px); flex-wrap: wrap;
}
.tab-btn {
    flex: 1; padding: 10px 16px; background: transparent; border: none; color: var(--text-muted);
    font-weight: 600; font-size: 0.9rem; border-radius: 8px; transition: all 0.2s ease;
    display: flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
}
.tab-btn.active { background: rgba(255, 255, 255, 0.04); color: var(--kiwi-green); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08); }
.tab-pane { display: none; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.tab-pane.active { display: grid; }

.card {
    background: var(--card-bg); border: 1px solid var(--border-color);
    border-radius: 14px; padding: 35px 30px; backdrop-filter: blur(16px);
    transition: all 0.25s ease; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: rgba(74, 222, 128, 0.25); background: var(--card-hover); box-shadow: 0 10px 30px rgba(74, 222, 128, 0.03); }
.card::before {
    content: '// SYSTEM'; position: absolute; top: 15px; right: 20px;
    font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; color: rgba(255,255,255,0.03); letter-spacing: 1px;
}
.card-icon { font-size: 1.8rem; color: var(--kiwi-green); margin-bottom: 20px; display: inline-block; }
.card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.3px; }
.card p { color: var(--text-muted); line-height: 1.6; font-size: 0.95rem; margin-bottom: 20px; }
.card-link { font-size: 0.85rem; color: var(--kiwi-green); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; transition: gap 0.2s ease; background: none; border: none; }
.card-link:hover { gap: 9px; }

/* ==========================================================================
   GAME CARDS (games.html)
   ========================================================================== */
.games-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; max-width: 1200px; margin: 0 auto; padding: 0 8% 80px 8%; }
.game-card {
    background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 16px;
    overflow: hidden; transition: all 0.25s ease; display: flex; flex-direction: column;
}
.game-card:hover { transform: translateY(-5px); border-color: rgba(74, 222, 128, 0.3); box-shadow: 0 14px 34px rgba(74, 222, 128, 0.06); }
.game-thumb {
    height: 160px; position: relative; display: flex; align-items: center; justify-content: center;
    font-size: 2.4rem; color: rgba(255,255,255,0.15); overflow: hidden;
}
.game-thumb::before { content: ''; position: absolute; inset: 0; opacity: 0.7; }
.g1 .game-thumb::before { background: linear-gradient(135deg, #14532d, #052e16); }
.g2 .game-thumb::before { background: linear-gradient(135deg, #1e3a8a, #0f172a); }
.g3 .game-thumb::before { background: linear-gradient(135deg, #713f12, #292524); }
.g4 .game-thumb::before { background: linear-gradient(135deg, #581c87, #1e1b2e); }
.g5 .game-thumb::before { background: linear-gradient(135deg, #7f1d1d, #1c1917); }
.g6 .game-thumb::before { background: linear-gradient(135deg, #164e63, #0c1b23); }
.game-thumb i { position: relative; z-index: 2; }
.game-status {
    position: absolute; top: 12px; right: 12px; z-index: 3; font-size: 0.68rem; font-weight: 700;
    padding: 4px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
}
.game-status.live { color: var(--kiwi-green); border: 1px solid rgba(74,222,128,0.4); }
.game-status.beta { color: var(--amber); border: 1px solid rgba(245,165,36,0.4); }
.game-status.dev { color: #94a3b8; border: 1px solid rgba(148,163,184,0.4); }
.game-body { padding: 22px 24px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.game-body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.game-body p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.55; margin-bottom: 18px; flex: 1; }
.game-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 16px; font-family: 'JetBrains Mono', monospace; }
.game-meta span i { color: var(--kiwi-green); margin-right: 5px; }

/* ==========================================================================
   SCRIPT CARDS (scripts.html)
   ========================================================================== */
.script-toolbar {
    max-width: 1200px; margin: 0 auto; padding: 0 8% 30px 8%; display: flex; gap: 14px;
    flex-wrap: wrap; align-items: center; justify-content: space-between;
}
.search-box {
    flex: 1; min-width: 220px; display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.02); border: 1px solid var(--border-color); border-radius: 10px; padding: 10px 16px;
}
.search-box i { color: var(--text-muted); }
.search-box input {
    background: transparent; border: none; outline: none; color: var(--text-main); font-size: 0.9rem; width: 100%;
}
.script-list { max-width: 1200px; margin: 0 auto; padding: 0 8% 80px 8%; display: flex; flex-direction: column; gap: 18px; }
.script-item {
    background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 14px;
    padding: 22px 26px; transition: all 0.2s ease;
}
.script-item:hover { border-color: rgba(74,222,128,0.2); background: var(--card-hover); }
.script-item-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; cursor: pointer; }
.script-item-info { display: flex; align-items: center; gap: 16px; }
.script-item-info i.script-icon {
    font-size: 1.3rem; color: var(--kiwi-green); background: rgba(74,222,128,0.06);
    width: 46px; height: 46px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.script-item h4 { font-size: 1.02rem; font-weight: 700; margin-bottom: 4px; }
.script-item .script-tag {
    font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--text-muted);
    background: rgba(255,255,255,0.03); padding: 2px 8px; border-radius: 6px; margin-right: 6px; display: inline-block;
}
.script-item-actions { display: flex; align-items: center; gap: 10px; }
.chevron { transition: transform 0.2s ease; color: var(--text-muted); }
.script-item.open .chevron { transform: rotate(180deg); }
.script-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.script-item.open .script-body { max-height: 600px; margin-top: 18px; }
.script-body pre { background: #0b0d13; border: 1px solid var(--border-color); border-radius: 10px; padding: 20px; overflow-x: auto; }
.script-body code { font-family: 'JetBrains Mono', monospace; font-size: 0.83rem; color: #cbd5e1; line-height: 1.6; }
.script-body p.desc { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 14px; line-height: 1.6; }

/* ==========================================================================
   TIMELINE / CHANGELOG (about page + modal)
   ========================================================================== */
.timeline { max-width: 700px; margin: 0 auto; padding: 0 8% 80px 8%; }
.timeline-item { display: flex; gap: 20px; padding-bottom: 30px; position: relative; }
.timeline-item:not(:last-child)::before {
    content: ''; position: absolute; left: 9px; top: 26px; bottom: 0; width: 1px; background: var(--border-color);
}
.timeline-dot { width: 20px; height: 20px; border-radius: 50%; background: rgba(74,222,128,0.08); border: 1px solid var(--kiwi-green); flex-shrink: 0; margin-top: 3px; }
.timeline-content .version { font-family: 'JetBrains Mono', monospace; color: var(--kiwi-green); font-size: 0.8rem; margin-bottom: 4px; display: block; }
.timeline-content h4 { font-size: 1rem; margin-bottom: 4px; }
.timeline-content p { color: var(--text-muted); font-size: 0.88rem; }

/* ==========================================================================
   TEAM GRID (about page)
   ========================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; max-width: 1000px; margin: 0 auto; padding: 0 8% 80px 8%; }
.team-card { text-align: center; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 14px; padding: 30px 20px; }
.team-avatar {
    width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px auto;
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 800;
    background: linear-gradient(135deg, rgba(74,222,128,0.25), rgba(30,58,138,0.25)); color: var(--kiwi-green);
}
.team-card h4 { font-size: 1rem; margin-bottom: 4px; }
.team-card .role { color: var(--kiwi-green); font-size: 0.78rem; font-family: 'JetBrains Mono', monospace; margin-bottom: 10px; display: block; }
.team-card p.bio { color: var(--text-muted); font-size: 0.82rem; line-height: 1.5; }

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-section { max-width: 800px; margin: 0 auto; padding: 0 8% 80px 8%; }
.faq-item { border-bottom: 1px solid var(--border-color); padding: 20px 0; }
.faq-q { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 0.98rem; }
.faq-q i { color: var(--kiwi-green); transition: transform 0.2s ease; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.faq-item.open .faq-a { max-height: 300px; padding-top: 14px; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; max-width: 1200px; margin: 0 auto; padding: 0 8% 80px 8%; }
.testimonial-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 14px; padding: 28px; }
.testimonial-stars { color: var(--amber); margin-bottom: 14px; font-size: 0.85rem; }
.testimonial-card p.quote { color: var(--text-main); font-size: 0.92rem; line-height: 1.6; margin-bottom: 18px; }
.testimonial-user { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 36px; height: 36px; border-radius: 50%; background: rgba(74,222,128,0.15); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; color: var(--kiwi-green); }
.testimonial-user span { font-size: 0.82rem; color: var(--text-muted); }
.testimonial-user strong { display: block; font-size: 0.88rem; }

/* ==========================================================================
   SURVEY
   ========================================================================== */
.survey-section { padding: 40px 8% 80px 8%; max-width: 1200px; margin: 0 auto; }
.survey-card { background: rgba(255, 255, 255, 0.01); border: 1px solid var(--border-color); border-radius: 14px; padding: 30px; text-align: center; backdrop-filter: blur(10px); }
.survey-card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.survey-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.survey-buttons-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.survey-btn { background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border-color); padding: 10px 20px; border-radius: 8px; color: var(--text-main); font-weight: 600; font-size: 0.85rem; transition: all 0.2s ease; }
.survey-btn:hover { border-color: var(--kiwi-green); background: rgba(74, 222, 128, 0.03); }
.survey-btn.selected { background: var(--kiwi-green); color: var(--bg-color); border-color: var(--kiwi-green); font-weight: 800; }

/* ==========================================================================
   NEWSLETTER / DISCORD CTA
   ========================================================================== */
.cta-band {
    max-width: 1200px; margin: 0 auto 80px auto; padding: 50px 8%;
    background: linear-gradient(135deg, rgba(74,222,128,0.06), rgba(30,58,138,0.06));
    border: 1px solid var(--border-color); border-radius: 20px; text-align: center;
}
.cta-band h2 { font-size: 1.8rem; margin-bottom: 12px; letter-spacing: -0.5px; }
.cta-band p { color: var(--text-muted); margin-bottom: 26px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ==========================================================================
   MODAL
   ========================================================================== */
.modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(4, 5, 7, 0.85); backdrop-filter: blur(12px);
    z-index: 1000000; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal-content {
    background: #0b0c10; border: 1px solid var(--border-color); border-radius: 16px;
    width: 90%; max-width: 500px; padding: 30px; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    max-height: 80vh; overflow-y: auto;
}
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.modal-header h2 { font-size: 1.3rem; font-weight: 800; }
.close-modal { background: transparent; border: none; color: var(--text-muted); font-size: 1.2rem; }
.close-modal:hover { color: #ffffff; }
.changelog-list { list-style: none; font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; color: var(--text-muted); }
.changelog-list li { margin-bottom: 12px; display: flex; gap: 10px; }
.changelog-list span { color: var(--kiwi-green); }

/* ==========================================================================
   SCROLL TOP
   ========================================================================== */
.scroll-top-btn {
    position: fixed; bottom: 30px; right: 30px; width: 45px; height: 45px; border-radius: 50%;
    background: rgba(74, 222, 128, 0.08); border: 1px solid rgba(74, 222, 128, 0.2); color: var(--kiwi-green);
    display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none;
    transition: all 0.2s ease; z-index: 999; backdrop-filter: blur(5px);
}
.scroll-top-btn.visible { opacity: 1; pointer-events: auto; }
.scroll-top-btn:hover { background: var(--kiwi-green); color: var(--bg-color); box-shadow: 0 0 15px var(--kiwi-green); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer { position: relative; z-index: 2; border-top: 1px solid var(--border-color); padding: 60px 8% 30px 8%; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-col h5 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-main); margin-bottom: 16px; }
.footer-col p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; max-width: 280px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: var(--text-muted); text-decoration: none; font-size: 0.86rem; transition: color 0.2s ease; }
.footer-col ul a:hover { color: var(--kiwi-green); }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.03); border: 1px solid var(--border-color);
    display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--text-muted); transition: all 0.2s ease;
}
.footer-social a:hover { color: var(--kiwi-green); border-color: var(--kiwi-green); }
.footer-bottom {
    max-width: 1200px; margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--border-color);
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
    color: var(--text-muted); font-size: 0.82rem;
}
.footer-bottom .legal-links { display: flex; gap: 20px; }
.footer-bottom .legal-links a { color: var(--text-muted); text-decoration: none; }
.footer-bottom .legal-links a:hover { color: var(--kiwi-green); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
    .main-nav { display: none; }
    .main-nav.mobile-open {
        display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%;
        background: rgba(6,7,9,0.97); backdrop-filter: blur(14px); padding: 20px 8%; gap: 18px;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-toggle { display: flex; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    html, body, a, button, .card, .btn, .tab-btn, .survey-btn, .copy-btn { cursor: auto !important; }
    .custom-cursor, .custom-cursor-dot { display: none !important; }
    .hero h1 { font-size: 2.4rem; }
    .page-hero h1 { font-size: 2.1rem; }
    header { padding: 18px 6%; }
    .status-toggle { display: none; }
    .liquid-blur-layer { opacity: 0.3; filter: blur(90px); }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (prefers-reduced-motion: reduce) {
    .blob, .custom-cursor, .custom-cursor-dot { animation: none !important; transition: none !important; }
}
