/* GameWarden — Premium Modern Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg: #060608;
    --bg-card: rgba(255,255,255,0.025);
    --bg-card-solid: #0e0e11;
    --bg-elevated: #111114;
    --bg-input: #0c0c0f;
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.1);
    --border-accent: rgba(200, 30, 30, 0.45);
    --text: #e0e0e4;
    --text-secondary: #7a7a84;
    --text-muted: #44444d;
    --accent: #c41a1a;
    --accent-hover: #dc2626;
    --accent-soft: #e85353;
    --accent-muted: rgba(196, 26, 26, 0.14);
    --accent-gradient: linear-gradient(135deg, #b91c1c, #c41a1a, #dc2626);
    --green: #16a34a;
    --green-muted: rgba(22, 163, 74, 0.12);
    --yellow: #ca8a04;
    --yellow-muted: rgba(202, 138, 4, 0.12);
    --blue: #2563eb;
    --blue-muted: rgba(37, 99, 235, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --shadow: 0 1px 3px rgba(0,0,0,0.5), 0 2px 6px rgba(0,0,0,0.3);
    --shadow-lg: 0 10px 50px rgba(0,0,0,0.7);
    --shadow-glow: 0 0 80px rgba(196, 26, 26, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ── Ambient Background ── */
.bg-ambient {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(180, 20, 20, 0.12), transparent),
        radial-gradient(ellipse 50% 35% at 80% 70%, rgba(140, 15, 15, 0.06), transparent),
        var(--bg);
}

/* ── Navigation ── */
nav {
    position: fixed;
    top: 0; width: 100%;
    z-index: 1000;
    background: rgba(6, 6, 8, 0.88);
    backdrop-filter: blur(24px) saturate(1.2);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.03em;
}

.logo img { height: 32px; width: auto; }

.nav-links {
    display: flex;
    gap: 0.15rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.nav-links a:hover { color: var(--text); background: rgba(196, 26, 26, 0.08); }
.nav-links a.active { color: var(--accent-soft); background: rgba(196, 26, 26, 0.1); }
.nav-links a.nav-accent { color: var(--accent-soft); font-weight: 600; }
.nav-links a.nav-accent:hover { background: var(--accent-muted); color: var(--accent-hover); }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    line-height: 1.4;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 2px 12px rgba(220, 38, 38, 0.3);
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(220, 38, 38, 0.4);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255,255,255,0.03);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    border-color: var(--border-accent);
    background: rgba(196, 26, 26, 0.08);
    color: var(--text);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 0.45rem 0.7rem;
}
.btn-ghost:hover { color: var(--text); background: rgba(196, 26, 26, 0.08); }

.btn-success { background: var(--green); color: #fff; box-shadow: 0 2px 10px rgba(34,197,94,0.3); }
.btn-success:hover { filter: brightness(1.1); transform: translateY(-1px); }

.btn-danger { background: var(--accent); color: #fff; }
.btn-danger:hover { background: var(--accent-hover); }

.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.82rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 0.95rem 2.4rem; font-size: 1rem; border-radius: 14px; }
.btn-xl { padding: 1.1rem 3rem; font-size: 1.05rem; border-radius: 16px; font-weight: 700; }

/* ── Cards ── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: border-color 0.25s, box-shadow 0.25s;
}

.card:hover {
    border-color: var(--border-accent);
    box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.card-glow {
    position: relative;
}
.card-glow::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(220,38,38,0.2), transparent 50%, rgba(249,115,22,0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}
.card-glow:hover::before { opacity: 1; }

/* ── Inputs ── */
.input, .select, textarea.input {
    width: 100%;
    padding: 0.75rem 1.1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}
.select option {
    background: var(--bg-elevated);
    color: var(--text);
    padding: 0.5rem;
}
.input:focus, .select:focus, textarea.input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-muted), var(--shadow-glow);
}
.input::placeholder { color: var(--text-muted); }

label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── Badges ── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 999px;
    letter-spacing: 0.03em;
}

.badge-green { background: var(--green-muted); color: var(--green); }
.badge-red { background: var(--accent-muted); color: var(--accent-soft); }
.badge-yellow { background: var(--yellow-muted); color: var(--yellow); }
.badge-blue { background: var(--blue-muted); color: var(--blue); }
.badge-neutral { background: rgba(255,255,255,0.04); color: var(--text-secondary); border: 1px solid var(--border); }
.badge-accent {
    background: var(--accent-gradient);
    color: #fff;
    font-weight: 700;
}

/* ── Layout ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.page-content { position: relative; z-index: 2; padding-top: 80px; min-height: 100vh; }
.section { padding: 5rem 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
.flex-wrap { flex-wrap: wrap; }

.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.15rem; }
.text-muted { color: var(--text-secondary); }
.text-accent { color: var(--accent-soft); }
.font-mono { font-family: 'SF Mono', 'Fira Code', 'JetBrains Mono', monospace; font-size: 0.85em; }
.font-bold { font-weight: 700; }

.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; } .mb-6 { margin-bottom: 3rem; }

/* ── Hero ── */
.hero {
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.hero h1 {
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, #d4d4d8 0%, var(--accent-soft) 50%, #c41a1a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

/* ── Stat Cards ── */
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    backdrop-filter: blur(10px);
    transition: border-color 0.2s;
}
.stat-card:hover { border-color: var(--border-hover); }

.stat-card .stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 0.6rem;
}

.stat-card .stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.03em;
}

.stat-card .stat-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

/* ── Data Table ── */
.data-table {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.table-header {
    display: grid;
    padding: 0.7rem 1.25rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
}

.table-row {
    display: grid;
    padding: 0.8rem 1.25rem;
    font-size: 0.85rem;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    transition: background 0.15s;
}
.table-row:hover { background: rgba(196, 26, 26, 0.04); }
.table-row:last-child { border-bottom: none; }

/* ── Tabs ── */
.tabs {
    display: flex;
    gap: 0.2rem;
    padding: 0.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    width: fit-content;
    backdrop-filter: blur(10px);
}

.tab {
    padding: 0.5rem 1.1rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all 0.15s;
    font-family: inherit;
}
.tab:hover { color: var(--text); background: rgba(196, 26, 26, 0.08); }
.tab.active { color: var(--accent-soft); background: rgba(196, 26, 26, 0.12); font-weight: 600; }

/* ── Modal ── */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}
.modal.active { display: flex; }

.modal-content {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    max-width: 520px;
    width: 92%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.modal-header h2 { font-size: 1.15rem; font-weight: 700; }

.close-modal {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.15s;
    line-height: 1;
}
.close-modal:hover { color: var(--accent-soft); background: rgba(196, 26, 26, 0.1); }

/* ── Content Panels ── */
.content-panel { display: none; }
.content-panel.active { display: block; animation: fadeUp 0.25s ease; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Toast ── */
.toast {
    position: fixed;
    top: 5rem; right: 1.5rem;
    padding: 0.85rem 1.4rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 10001;
    animation: slideIn 0.3s ease;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}
.toast-success { background: rgba(34,197,94,0.9); color: #fff; }
.toast-error { background: rgba(220,38,38,0.9); color: #fff; }

@keyframes slideIn {
    from { opacity: 0; transform: translateX(24px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ── Empty ── */
.empty-state { text-align: center; padding: 3rem 2rem; color: var(--text-muted); }
.empty-state .empty-icon { font-size: 2.5rem; margin-bottom: 0.75rem; opacity: 0.4; }

/* ── Spinner ── */
.spinner {
    width: 22px; height: 22px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.65s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Feature Cards ── */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.feature-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s;
}
.feature-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 30px rgba(220,38,38,0.08);
}
.feature-card:hover::after { opacity: 1; }

.feature-card .feature-icon {
    width: 44px; height: 44px;
    background: var(--accent-muted);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
}

.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; }
.feature-card p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.75; }

/* ── Pricing ── */
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.75rem 2.25rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    position: relative;
}
.pricing-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), 0 16px 48px rgba(220,38,38,0.15);
    background: linear-gradient(180deg, rgba(220,38,38,0.06) 0%, var(--bg-card) 100%);
}
.pricing-card.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: 1.25rem; right: 1.25rem;
    background: var(--accent-gradient);
    color: #fff;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.tier-name {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-soft);
    margin-bottom: 0.75rem;
}
.tier-price {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 0.25rem;
}
.tier-price span { font-size: 1rem; font-weight: 400; color: var(--text-secondary); }

.tier-features { list-style: none; margin: 1.75rem 0; }
.tier-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.tier-features li::before {
    content: '✓';
    color: var(--green);
    font-weight: 800;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* ── Verification Step Card ── */
.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    position: relative;
    backdrop-filter: blur(10px);
}
.step-card .step-num {
    width: 40px; height: 40px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 16px rgba(220,38,38,0.3);
}

/* ── Divider ── */
.divider {
    height: 1px;
    background: var(--border);
    margin: 1.5rem 0;
}

/* ── Verified indicator ── */
.verified-check {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--green);
    font-size: 0.8rem;
    font-weight: 600;
}
.unverified-warn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--yellow);
    font-size: 0.8rem;
    font-weight: 600;
}

/* ── Footer ── */
footer {
    border-top: 1px solid var(--border);
    padding: 2.5rem 0;
    position: relative;
    z-index: 2;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .nav-container { padding: 0.7rem 1rem; }
    .nav-links { gap: 0; }
    .nav-links a { padding: 0.35rem 0.5rem; font-size: 0.78rem; }
    .container { padding: 0 1rem; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
    .tabs { flex-wrap: wrap; width: 100%; }
    .modal-content { padding: 1.5rem; }
}
