:root {
    --bg: #0c0f1a;
    --bg-card: #141829;
    --bg-card-hover: #1a2038;
    --border: rgba(99, 132, 255, 0.12);
    --border-hover: rgba(99, 132, 255, 0.3);
    --accent: #6384ff;
    --accent-glow: rgba(99, 132, 255, 0.3);
    --green: #22c55e;
    --green-glow: rgba(34, 197, 94, 0.3);
    --orange: #f59e0b;
    --orange-glow: rgba(245, 158, 11, 0.3);
    --text: #c8d0e8;
    --text-bright: #ffffff;
    --text-dim: #6b7394;
    --font: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: 'Fira Code', monospace;
    --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.7;
    overflow-x: hidden;
}

/* ── Background ── */
.bg-gradient {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 50% at 20% 20%, rgba(99,132,255,0.08), transparent),
        radial-gradient(ellipse 50% 40% at 80% 80%, rgba(34,197,94,0.06), transparent);
}

/* ── Nav ── */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(12,15,26,0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-bright);
}

.nav-logo span {
    background: linear-gradient(135deg, var(--accent), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.82rem;
    padding: 0.3rem 0.7rem;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
    background: rgba(99,132,255,0.08);
}

/* ── Hero ── */
.hero {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 5rem 1.5rem 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.25);
    color: var(--green);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: var(--text-bright);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--accent), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.05rem;
    color: var(--text-dim);
    max-width: 550px;
    margin: 0 auto 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat strong {
    display: block;
    font-size: 1.8rem;
    color: var(--text-bright);
    font-weight: 700;
}

.hero-stat small {
    color: var(--text-dim);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Container ── */
.container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
}

/* ── Section ── */
.section-head {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.section-head h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-bright);
}

.section-head .count {
    background: rgba(99,132,255,0.1);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
}

/* ── Article Cards ── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.2rem;
    margin-bottom: 3rem;
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--green));
    opacity: 0;
    transition: opacity 0.3s;
}

.article-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.article-card:hover::before {
    opacity: 1;
}

.card-tag {
    display: inline-block;
    background: rgba(99,132,255,0.1);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-tag.vip {
    background: rgba(245,158,11,0.1);
    color: var(--orange);
}

.article-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-bright);
    line-height: 1.4;
}

.article-card p {
    font-size: 0.88rem;
    color: var(--text-dim);
    line-height: 1.5;
    flex: 1;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-dim);
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
}

.card-meta .arrow {
    color: var(--accent);
    font-weight: 600;
    transition: transform 0.2s;
}

.article-card:hover .card-meta .arrow {
    transform: translateX(4px);
}

/* ── Article Page ── */
.article-page {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--accent);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.article-header {
    margin-bottom: 2rem;
}

.article-header .tag {
    display: inline-block;
    background: rgba(99,132,255,0.1);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.7rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-header h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    color: var(--text-bright);
    line-height: 1.25;
    margin-bottom: 0.8rem;
}

.article-header .meta {
    font-size: 0.85rem;
    color: var(--text-dim);
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.article-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
}

.article-body h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-bright);
    margin: 2rem 0 0.8rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.article-body h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-bright);
    margin: 1.5rem 0 0.6rem;
}

.article-body p {
    margin-bottom: 1rem;
}

.article-body ul, .article-body ol {
    margin: 0.8rem 0 1rem 1.5rem;
}

.article-body li {
    margin-bottom: 0.4rem;
}

.article-body strong {
    color: var(--text-bright);
    font-weight: 600;
}

.article-body a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(99,132,255,0.3);
    transition: border-color 0.2s;
}

.article-body a:hover {
    border-bottom-color: var(--accent);
}

.info-box {
    background: rgba(99,132,255,0.06);
    border: 1px solid rgba(99,132,255,0.15);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    margin: 1.5rem 0;
    font-size: 0.92rem;
}

.info-box.warning {
    background: rgba(245,158,11,0.06);
    border-color: rgba(245,158,11,0.2);
}

.info-box.success {
    background: rgba(34,197,94,0.06);
    border-color: rgba(34,197,94,0.2);
}

.info-box .box-title {
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* ── VIP CTA Box ── */
.vip-cta {
    background: linear-gradient(135deg, rgba(245,158,11,0.08), rgba(99,132,255,0.08));
    border: 1px solid rgba(245,158,11,0.2);
    border-radius: 14px;
    padding: 2rem;
    margin: 2.5rem 0;
    text-align: center;
}

.vip-cta h3 {
    font-size: 1.2rem;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.vip-cta p {
    color: var(--text-dim);
    font-size: 0.92rem;
    margin-bottom: 1.2rem;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.vip-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--orange), #e056a0);
    color: #fff;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.85rem 2rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.vip-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--orange-glow);
}

/* ── No Result Box ── */
.no-result {
    background: rgba(245,158,11,0.06);
    border: 1px solid rgba(245,158,11,0.2);
    border-radius: 14px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.no-result h3 {
    color: var(--orange);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.no-result p {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* ── Footer ── */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 2rem 1.5rem;
    text-align: center;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.footer-copy a {
    color: var(--accent);
    text-decoration: none;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero { padding: 3rem 1rem 2rem; }
    .hero h1 { font-size: 1.8rem; }
    .hero-stats { gap: 1.5rem; }
    .card-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .article-body h2 { font-size: 1.2rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.5rem; }
    .article-card { padding: 1.2rem; }
    .vip-cta { padding: 1.5rem; }
}