        :root {
            --bg-deep: #070a12;
            --bg-surface: #0d1117;
            --bg-card: #131922;
            --bg-card-hover: #1a2232;
            --accent: #3b82f6;
            --accent-glow: #60a5fa;
            --accent-subtle: rgba(59, 130, 246, 0.08);
            --accent-mid: rgba(59, 130, 246, 0.15);
            --text-primary: #e8edf5;
            --text-secondary: #8b97ad;
            --text-muted: #4a5568;
            --border: rgba(255, 255, 255, 0.06);
            --border-accent: rgba(59, 130, 246, 0.25);
            --radius: 12px;
            --radius-lg: 20px;
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'DM Mono', monospace;
            background: var(--bg-deep);
            color: var(--text-primary);
            line-height: 1.7;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        body::before {
            content: '';
            position: fixed;
            inset: 0;
            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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
            pointer-events: none;
            z-index: 9999;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Syne', sans-serif;
            line-height: 1.2;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
        }

        header {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(7, 10, 18, 0.92);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border);
        }

        header .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 64px;
        }

        .logo {
            font-family: 'Syne', sans-serif;
            font-weight: 800;
            font-size: 1.2rem;
            letter-spacing: -0.02em;
            color: var(--text-primary);
            display: flex;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
        }

        .logo-icon {
            width: 30px;
            height: 30px;
            background: var(--accent);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
        }

        .logo-icon svg {
            width: 16px;
            height: 16px;
            fill: white;
        }

        nav {
            flex-shrink: 0;
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 4px;
        }

        nav a {
            display: block;
            padding: 8px 18px;
            font-size: 0.78rem;
            font-weight: 400;
            color: var(--text-secondary);
            border-radius: 8px;
            transition: color 0.2s ease, background 0.2s ease;
            letter-spacing: 0.02em;
            white-space: nowrap;
        }

        nav a:hover,
        nav a[aria-current="page"] {
            color: var(--text-primary);
            background: var(--accent-subtle);
        }

        nav a[aria-current="page"] {
            color: var(--accent-glow);
        }

        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--text-primary);
            cursor: pointer;
            padding: 8px;
        }

        .hero-rules {
            position: relative;
            padding: 70px 0 50px;
            overflow: hidden;
        }

        .hero-rules::before {
            content: '';
            position: absolute;
            top: -200px;
            right: -100px;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
            pointer-events: none;
        }

        .hero-rules .container {
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            gap: 40px;
        }

        .hero-rules-content {
            flex: 1;
            max-width: 600px;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 16px;
            background: var(--accent-subtle);
            border: 1px solid var(--border-accent);
            border-radius: 100px;
            font-size: 0.7rem;
            color: var(--accent-glow);
            font-weight: 500;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            margin-bottom: 28px;
        }

        .hero-rules h1 {
            font-size: clamp(2rem, 4.5vw, 3rem);
            font-weight: 800;
            letter-spacing: -0.03em;
            line-height: 1.1;
            margin-bottom: 14px;
        }

        .hero-rules h1 span {
            background: linear-gradient(135deg, var(--accent-glow), #a78bfa);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-rules-desc {
            font-size: 0.9rem;
            color: var(--text-secondary);
            line-height: 1.8;
            margin-bottom: 28px;
        }

        .hero-rules-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 13px 30px;
            font-family: 'DM Mono', monospace;
            font-size: 0.8rem;
            font-weight: 500;
            border-radius: 10px;
            border: none;
            cursor: pointer;
            transition: all 0.25s ease;
            letter-spacing: 0.03em;
        }

        .btn-primary {
            background: var(--accent);
            color: white;
            box-shadow: 0 4px 24px rgba(59, 130, 246, 0.3), 0 0 0 1px rgba(59, 130, 246, 0.5);
        }

        .btn-primary:hover {
            background: var(--accent-glow);
            box-shadow: 0 4px 32px rgba(59, 130, 246, 0.45), 0 0 0 1px rgba(96, 165, 250, 0.7);
            transform: translateY(-2px);
        }

        .btn-secondary {
            background: transparent;
            color: var(--text-secondary);
            border: 1px solid var(--border);
        }

        .btn-secondary:hover {
            color: var(--text-primary);
            border-color: var(--text-muted);
            background: rgba(255, 255, 255, 0.03);
            transform: translateY(-2px);
        }

        .hero-rules-visual {
            flex: 0 0 340px;
        }

        .rules-illustration {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 28px 20px;
            text-align: center;
        }

        .rule-graphic {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-bottom: 18px;
        }

        .rule-node {
            width: 14px;
            height: 14px;
            background: var(--accent);
            border-radius: 4px;
            box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
        }

        .rule-line {
            width: 30px;
            height: 2px;
            background: var(--border-accent);
            align-self: center;
        }

        .rules-illustration p {
            font-size: 0.72rem;
            color: var(--text-muted);
        }

        .rules-grid-section {
            padding: 60px 0 40px;
        }

        .section-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-tag {
            display: inline-block;
            font-size: 0.68rem;
            font-weight: 500;
            color: var(--accent-glow);
            text-transform: uppercase;
            letter-spacing: 0.15em;
            margin-bottom: 16px;
            padding: 4px 14px;
            background: var(--accent-subtle);
            border-radius: 100px;
            border: 1px solid var(--border-accent);
        }

        .section-header h2 {
            font-size: clamp(1.8rem, 3.5vw, 2.4rem);
            font-weight: 800;
            letter-spacing: -0.03em;
            margin-bottom: 14px;
        }

        .section-header p {
            font-size: 0.88rem;
            color: var(--text-secondary);
            max-width: 520px;
            margin: 0 auto;
            line-height: 1.8;
        }

        .rules-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 18px;
        }

        .rule-item {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 26px 22px;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            opacity: 0;
            transform: translateY(20px);
        }

        .rule-item.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .rule-item:hover {
            background: var(--bg-card-hover);
            border-color: var(--border-accent);
            transform: translateY(-4px);
            box-shadow: 0 10px 32px rgba(0, 0, 0, 0.3);
        }

        .rule-item-tag {
            display: inline-block;
            font-size: 0.6rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            padding: 3px 10px;
            border-radius: 20px;
            margin-bottom: 16px;
            background: var(--accent-subtle);
            color: var(--accent-glow);
            border: 1px solid var(--border-accent);
            width: fit-content;
        }

        .rule-item h4 {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .rule-item p {
            font-size: 0.74rem;
            color: var(--text-secondary);
            line-height: 1.7;
            flex: 1;
        }

        .rule-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 16px;
            font-size: 0.65rem;
            color: var(--text-muted);
        }

        .rule-download {
            color: var(--accent-glow);
            border-bottom: 1px dashed var(--accent-glow);
            cursor: pointer;
            transition: color 0.2s;
        }

        .rule-download:hover {
            color: white;
            border-color: white;
        }

        .update-log {
            padding: 60px 0;
        }

        .timeline {
            max-width: 700px;
            margin: 0 auto;
            position: relative;
            padding-left: 24px;
            border-left: 1px solid var(--border);
        }

        .timeline-item {
            margin-bottom: 28px;
            padding-left: 20px;
            position: relative;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: -30px;
            top: 8px;
            width: 8px;
            height: 8px;
            background: var(--accent);
            border-radius: 50%;
            box-shadow: 0 0 10px var(--accent);
        }

        .timeline-date {
            font-size: 0.65rem;
            color: var(--text-muted);
            letter-spacing: 0.05em;
            margin-bottom: 4px;
        }

        .timeline-item h5 {
            font-size: 0.9rem;
            font-weight: 700;
            margin-bottom: 4px;
        }

        .timeline-item p {
            font-size: 0.72rem;
            color: var(--text-secondary);
            line-height: 1.7;
        }

        .cta-mini {
            padding: 40px 0 80px;
            text-align: center;
        }

        .cta-mini-box {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 40px 28px;
            max-width: 600px;
            margin: 0 auto;
            position: relative;
            overflow: hidden;
        }

        .cta-mini-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--accent), transparent);
            opacity: 0.6;
        }

        .cta-mini-box h3 {
            font-size: 1.2rem;
            margin-bottom: 10px;
        }

        .cta-mini-box p {
            font-size: 0.8rem;
            color: var(--text-secondary);
            line-height: 1.7;
            margin-bottom: 20px;
        }

        footer {
            border-top: 1px solid var(--border);
            padding: 40px 0;
        }

        footer .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 20px;
        }

        footer .logo {
            font-size: 1rem;
        }

        footer nav a {
            font-size: 0.76rem;
            padding: 6px 14px;
        }

        footer p.copyright {
            font-size: 0.7rem;
            color: var(--text-muted);
            width: 100%;
            text-align: center;
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid var(--border);
        }

        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @media (max-width: 1024px) {
            .hero-rules .container {
                flex-direction: column;
                text-align: center;
            }

            .hero-rules-content {
                max-width: 100%;
            }

            .hero-rules-actions {
                justify-content: center;
            }

            .hero-rules-visual {
                flex: none;
                width: 100%;
                max-width: 400px;
            }

            .rules-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .mobile-toggle {
                display: block;
            }

            nav {
                display: none;
                position: absolute;
                top: 64px;
                left: 0;
                right: 0;
                background: rgba(7, 10, 18, 0.96);
                backdrop-filter: blur(20px);
                border-bottom: 1px solid var(--border);
                padding: 12px 24px;
            }

            nav.open {
                display: block;
            }

            nav ul {
                flex-direction: column;
                gap: 2px;
            }

            nav a {
                padding: 12px 16px;
            }

            .rules-grid {
                grid-template-columns: 1fr;
            }
        }