:root {
            --bg: #0e0b16;
            --surface: #17131f;
            --surface-2: #201a2c;
            --text: #f4f1f8;
            --muted: #a79fb5;
            --accent: #ff2e7e;
            --accent-2: #7b5cff;
            --ring: rgba(255, 46, 126, 0.35);
            --radius: 18px;
            --shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
            --maxw: 1200px;
        }

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

        body {
            font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            background: radial-gradient(1200px 600px at 80% -10%, rgba(123, 92, 255, 0.18), transparent 60%),
                        radial-gradient(900px 500px at -10% 10%, rgba(255, 46, 126, 0.15), transparent 55%),
                        var(--bg);
            color: var(--text);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }

        h1, h2, h3, .brand { font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; letter-spacing: -0.02em; font-weight: 800; }
        a { color: inherit; text-decoration: none; }
        img { display: block; max-width: 100%; }

        .container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

        /* Header */
        .site-header {
            position: sticky; top: 0; z-index: 50;
            backdrop-filter: blur(12px);
            background: rgba(14, 11, 22, 0.72);
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }
        .header-inner {
            display: flex; align-items: center; justify-content: space-between;
            height: 72px; gap: 24px;
        }
        .brand { font-size: 1.5rem; font-weight: 800; display: flex; align-items: center; gap: 10px; }
        .brand .dot {
            width: 12px; height: 12px; border-radius: 50%;
            background: linear-gradient(135deg, var(--accent), var(--accent-2));
            box-shadow: 0 0 18px var(--ring);
        }
        .nav { display: flex; align-items: center; gap: 28px; }
        .nav a { color: var(--muted); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
        .nav a:hover { color: var(--text); }
        .btn {
            display: inline-block; padding: 10px 20px; border-radius: 999px;
            font-weight: 600; font-size: 0.9rem; cursor: pointer; border: none;
            background: linear-gradient(135deg, var(--accent), var(--accent-2));
            color: #fff; box-shadow: 0 8px 20px var(--ring); transition: transform 0.2s, box-shadow 0.2s;
        }
        .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px var(--ring); }
        .menu-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.6rem; cursor: pointer; }

        /* Hero */
        .hero { padding: 56px 0 24px; }
        .hero-card {
            position: relative; border-radius: var(--radius); overflow: hidden;
            box-shadow: var(--shadow); min-height: 460px;
            display: flex; align-items: flex-end;
        }
        .hero-card img {
            position: absolute; inset: 0; width: 100%; height: 100%;
            object-fit: cover; z-index: 0;
        }
        .hero-card::after {
            content: ""; position: absolute; inset: 0; z-index: 1;
            background: linear-gradient(180deg, rgba(14,11,22,0.05) 0%, rgba(14,11,22,0.55) 55%, rgba(14,11,22,0.95) 100%);
        }
        .hero-content { position: relative; z-index: 2; padding: 40px; max-width: 720px; }
        .hero-content h1 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.1; margin: 14px 0 12px; }
        .hero-content p { color: #e7e2f0; font-size: 1.05rem; max-width: 620px; }
        .meta { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 0.85rem; margin-top: 16px; }
        .meta strong { color: var(--text); font-weight: 600; }

        .chip {
            display: inline-block; padding: 6px 14px; border-radius: 999px;
            font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
            background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
        }

        /* Category filter */
        .filters { display: flex; flex-wrap: wrap; gap: 10px; padding: 28px 0 8px; }
        .filters a {
            padding: 8px 16px; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
            color: var(--muted); background: var(--surface); border: 1px solid rgba(255,255,255,0.06);
            transition: all 0.2s;
        }
        .filters a:hover, .filters a.active { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }

        /* Section heading */
        .section-head { display: flex; align-items: end; justify-content: space-between; margin: 40px 0 20px; }
        .section-head h2 { font-size: 1.6rem; }
        .section-head a { color: var(--accent); font-weight: 600; font-size: 0.9rem; }

        /* Article grid */
        .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
        .card {
            background: var(--surface); border-radius: var(--radius); overflow: hidden;
            border: 1px solid rgba(255,255,255,0.06); box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
            display: flex; flex-direction: column;
        }
        .card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--ring); }
        .card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
        .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
        .card:hover .card-media img { transform: scale(1.06); }
        .card-media .chip { position: absolute; top: 14px; left: 14px; }
        .card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
        .card-body h3 { font-size: 1.15rem; line-height: 1.3; }
        .card-body p { color: var(--muted); font-size: 0.92rem; }
        .card-foot { margin-top: auto; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.82rem; }
        .avatar {
            width: 30px; height: 30px; border-radius: 50%; flex: none;
            display: grid; place-items: center; font-weight: 700; font-size: 0.8rem; color: #fff;
            background: linear-gradient(135deg, var(--accent-2), var(--accent));
        }

        /* Newsletter */
        .newsletter {
            margin: 64px 0; padding: 48px; border-radius: var(--radius);
            background: linear-gradient(135deg, rgba(255,46,126,0.14), rgba(123,92,255,0.14)), var(--surface-2);
            border: 1px solid rgba(255,255,255,0.08); text-align: center;
        }
        .newsletter h2 { font-size: 1.8rem; margin-bottom: 10px; }
        .newsletter p { color: var(--muted); max-width: 520px; margin: 0 auto 24px; }
        .subscribe { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
        .subscribe input {
            flex: 1; padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.12);
            background: var(--bg); color: var(--text); font-size: 0.95rem; outline: none;
        }
        .subscribe input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }

        /* Footer */
        .site-footer { border-top: 1px solid rgba(255,255,255,0.06); padding: 40px 0; color: var(--muted); }
        .footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
        .footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
        .footer-links a:hover { color: var(--text); }

        /* Responsive */
        @media (max-width: 900px) {
            .grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 640px) {
            .nav { display: none; }
            .menu-toggle { display: block; }
            .grid { grid-template-columns: 1fr; }
            .hero-content { padding: 24px; }
            .newsletter { padding: 32px 20px; }
            .subscribe { flex-direction: column; }
            .subscribe .btn { width: 100%; }
        }
