:root {
    --bg: #0a0a0f;
    --bg-card: #12121a;
    --border: #1e1e2e;
    --border-hov: #2e2e4e;
    --text: #e8e8f0;
    --text-dim: #8888a8;
    --text-mut: #55556a;
    --accent: #7c3aed;
    --accent-light: #a78bfa;
    --green: #10b981;
    --orange: #f59e0b;
    --grad: linear-gradient(135deg, #a78bfa, #67e8f9);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(124, 58, 237, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
}

.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
}

.bg-glow-1 {
    width: 500px; height: 500px;
    background: rgba(124, 58, 237, 0.1);
    top: -150px; left: -100px;
}

.bg-glow-2 {
    width: 400px; height: 400px;
    background: rgba(6, 182, 212, 0.06);
    bottom: -100px; right: -100px;
}

/* Nav */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 24px;
    backdrop-filter: blur(20px);
    background: rgba(10, 10, 15, 0.7);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}

.logo-icon {
    font-size: 22px;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 2px;
}

.nav-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 100px;
}

.status-dot {
    width: 7px; height: 7px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.3); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px transparent; }
}

.status-text {
    font-size: 12px;
    color: var(--green);
    font-weight: 500;
}

/* Main Layout */
.main {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 120px 24px 80px;
}

/* Hero */
.hero {
    text-align: center;
    margin-bottom: 80px;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(44px, 7vw, 72px);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.grad {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 18px;
    color: var(--text-dim);
    max-width: 500px;
    margin: 0 auto;
}

/* Games */
.games {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}

.card-primary:hover {
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.15);
}

.card-preview {
    height: 180px;
    background: #0d0d18;
    overflow: hidden;
    position: relative;
}

.card-preview canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.card-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.card-tags {
    display: flex;
    gap: 6px;
    margin-bottom: 4px;
}

.tag {
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    color: var(--accent-light);
}

.tag-live {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.25);
    color: var(--green);
}

.tag-soon {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
    color: var(--orange);
    align-self: flex-start;
}

.card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.card-desc {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
}

.card-cta {
    color: var(--accent-light);
    font-weight: 600;
    font-size: 14px;
    margin-top: 8px;
    transition: transform 0.2s;
}

.card:hover .card-cta {
    transform: translateX(4px);
}

.card-soon {
    opacity: 0.55;
}

.card-soon .card-info {
    padding: 32px 24px;
}

/* Footer */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 24px;
    margin-top: 60px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--text-mut);
}

.footer-copy {
    font-size: 13px;
    color: var(--text-mut);
}

/* Responsive */
@media (max-width: 768px) {
    .main { padding: 100px 16px 40px; }
    .hero { margin-bottom: 40px; }
    .games { grid-template-columns: 1fr; }
}
