/* ============================================
   荒火传奇 - 主样式表
   ============================================ */

/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #c9a84c;
    --primary-dark: #8b6f2c;
    --primary-light: #f0d68a;
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a28;
    --text-main: #e8e8e8;
    --text-muted: #999;
    --text-light: #ccc;
    --border: #2a2a3a;
    --danger: #e74c3c;
    --success: #27ae60;
    --info: #3498db;
    --glow: 0 0 20px rgba(201,168,76,0.3);
    --glow-strong: 0 0 40px rgba(201,168,76,0.5);
    --radius: 8px;
    --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
    font-family: "Microsoft YaHei","PingFang SC","Helvetica Neue",Arial,sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-light); text-shadow: 0 0 8px rgba(201,168,76,0.5); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

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

/* ===== Header ===== */
.header {
    background: linear-gradient(180deg,#0d0d15 0%,#0a0a12 100%);
    border-bottom: 2px solid var(--primary-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-top {
    padding: 8px 0;
    border-bottom: 1px solid rgba(201,168,76,0.15);
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top .notice { display: flex; align-items: center; gap: 8px; }
.header-top .notice .tag {
    background: var(--danger);
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.logo { display: flex; align-items: center; gap: 15px; }

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg,var(--primary),var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--glow);
}

.logo-text h1 {
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg,var(--primary-light),var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 3px;
}

.logo-text p { font-size: 12px; color: var(--text-muted); letter-spacing: 1px; }

.header-actions { display: flex; gap: 12px; align-items: center; }

.btn-login, .btn-register {
    padding: 8px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.btn-login { background: transparent; color: var(--text-light); }
.btn-login:hover { border-color: var(--primary); color: var(--primary); }

.btn-register {
    background: linear-gradient(135deg,var(--primary),var(--primary-dark));
    color: #000;
    border-color: var(--primary);
}
.btn-register:hover { box-shadow: var(--glow); transform: translateY(-1px); }

/* ===== Navigation ===== */
.nav {
    background: linear-gradient(90deg,#111 0%,#1a1a28 50%,#111 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.nav a {
    display: inline-block;
    padding: 14px 28px;
    color: var(--text-light);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    position: relative;
}

.nav a:hover, .nav a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: rgba(201,168,76,0.05);
}

.nav a.active::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

/* ===== Hero Banner ===== */
.hero {
    position: relative;
    padding: 60px 0;
    background: radial-gradient(ellipse at center,rgba(201,168,76,0.08) 0%,transparent 70%),#0a0a0f;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg,transparent,rgba(201,168,76,0.03),transparent,rgba(201,168,76,0.03),transparent);
    animation: rotate 30s linear infinite;
}

@keyframes rotate { to { transform: rotate(360deg); } }

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h2 {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
    background: linear-gradient(135deg,#fff,var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text .subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.stat-item:hover { border-color: var(--primary); box-shadow: var(--glow); transform: translateY(-3px); }

.stat-num {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
    display: block;
}

.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 5px; }

.hero-btns { display: flex; gap: 15px; flex-wrap: wrap; }

.btn-primary, .btn-secondary {
    padding: 14px 36px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg,var(--primary),var(--primary-dark));
    color: #000;
    box-shadow: var(--glow);
}

.btn-primary:hover { box-shadow: var(--glow-strong); transform: translateY(-2px); }

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

.btn-secondary:hover { background: rgba(201,168,76,0.1); }

/* Hero visual */
.hero-visual {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}

.floating-card:nth-child(1) { top: 20px; left: 0; animation-delay: 0s; }
.floating-card:nth-child(2) { top: 50%; right: 0; animation-delay: 1s; }
.floating-card:nth-child(3) { bottom: 20px; left: 20px; animation-delay: 0.5s; }
.floating-card:nth-child(4) { bottom: 60px; right: 40px; animation-delay: 1.5s; }

@keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-card .icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.floating-card .info h4 { font-size: 14px; color: var(--text-main); }
.floating-card .info span { font-size: 12px; color: var(--success); }

/* ===== Section Common ===== */
.section { padding: 60px 0; }

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

.section-header h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2::before,
.section-header h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg,var(--primary),transparent);
}

.section-header h2::before { right: 100%; margin-right: 15px; }
.section-header h2::after { left: 100%; margin-left: 15px; background: linear-gradient(90deg,transparent,var(--primary)); }

.section-header p { color: var(--text-muted); font-size: 15px; }

/* ===== Server Table ===== */
.server-section { background: #0c0c14; }

.server-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.server-table thead {
    background: linear-gradient(90deg,var(--primary-dark),#5a4518);
}

.server-table th {
    padding: 15px 12px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-align: left;
    letter-spacing: 1px;
}

.server-table td {
    padding: 14px 12px;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
    color: var(--text-light);
}

.server-table tbody tr { transition: var(--transition); }
.server-table tbody tr:hover { background: rgba(201,168,76,0.05); }

.server-table .status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.status-hot { background: rgba(231,76,60,0.2); color: var(--danger); }
.status-new { background: rgba(39,174,96,0.2); color: var(--success); }
.status-rec { background: rgba(201,168,76,0.2); color: var(--primary); }

.server-table .btn-enter {
    padding: 6px 16px;
    background: linear-gradient(135deg,var(--primary),var(--primary-dark));
    color: #000;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.server-table .btn-enter:hover { box-shadow: var(--glow); }

/* ===== Version Cards ===== */
.version-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 25px;
}

.version-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 25px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.version-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,var(--primary),var(--primary-dark));
    transform: scaleX(0);
    transition: var(--transition);
}

.version-card:hover::before { transform: scaleX(1); }
.version-card:hover { transform: translateY(-5px); box-shadow: var(--glow); border-color: var(--primary-dark); }

.version-card .vc-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    background: rgba(201,168,76,0.1);
    border: 1px solid rgba(201,168,76,0.3);
}

.version-card h3 { font-size: 20px; margin-bottom: 12px; color: var(--primary-light); }
.version-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 15px; line-height: 1.8; }

.version-card .vc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.version-card .vc-tags span {
    padding: 3px 10px;
    background: rgba(201,168,76,0.1);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 3px;
    font-size: 12px;
    color: var(--primary);
}

/* ===== News & Articles ===== */
.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.news-main { display: flex; flex-direction: column; gap: 20px; }

.news-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: var(--transition);
}

.news-card:hover { border-color: var(--primary-dark); box-shadow: var(--glow); }

.news-card .news-img {
    width: 200px;
    height: 130px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    background: linear-gradient(135deg,#1a1a28,#2a2a3a);
    border: 1px solid var(--border);
}

.news-card .news-body h3 { font-size: 18px; margin-bottom: 8px; line-height: 1.4; }
.news-card .news-body h3 a { color: var(--text-main); }
.news-card .news-body h3 a:hover { color: var(--primary); }

.news-meta { display: flex; gap: 15px; font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.news-meta span { display: flex; align-items: center; gap: 4px; }

.news-card .news-body p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

.news-side { display: flex; flex-direction: column; gap: 15px; }

.news-side h3 {
    font-size: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-dark);
    margin-bottom: 5px;
}

.rank-list { display: flex; flex-direction: column; gap: 12px; }

.rank-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.rank-item:hover { border-color: var(--primary-dark); }

.rank-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.rank-num.top { background: var(--danger); color: #fff; }
.rank-num.normal { background: var(--bg-dark); color: var(--text-muted); border: 1px solid var(--border); }

.rank-item .rank-info h4 { font-size: 14px; color: var(--text-light); margin-bottom: 2px; }
.rank-item .rank-info span { font-size: 12px; color: var(--text-muted); }

/* ===== Features ===== */
.features-section { background: #0c0c14; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 25px;
}

.feature-item {
    text-align: center;
    padding: 35px 25px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.feature-item:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: var(--glow); }

.feature-item .fi-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
    background: rgba(201,168,76,0.1);
    border: 2px solid rgba(201,168,76,0.3);
}

.feature-item h3 { font-size: 18px; margin-bottom: 12px; color: var(--primary-light); }
.feature-item p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }

/* ===== CTA Section ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg,#0d0d18 0%,#1a1525 50%,#0d0d18 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle,rgba(201,168,76,0.05) 0%,transparent 70%);
}

.cta-inner { position: relative; z-index: 1; }

.cta-section h2 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 15px;
    background: linear-gradient(135deg,#fff,var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-section p { font-size: 17px; color: var(--text-muted); margin-bottom: 30px; }

.cta-btns { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
.footer {
    background: #08080f;
    border-top: 2px solid var(--primary-dark);
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 15px;
}

.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }

.footer-col h4 {
    font-size: 16px;
    color: var(--text-main);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: 14px; color: var(--text-muted); }
.footer-col ul a:hover { color: var(--primary); padding-left: 5px; }

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--primary); }

/* ===== Breadcrumb ===== */
.breadcrumb {
    padding: 15px 0;
    font-size: 14px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 8px; }

/* ===== Page Header ===== */
.page-header {
    padding: 50px 0;
    background: linear-gradient(135deg,#0d0d18,#1a1a28);
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 10px;
    background: linear-gradient(135deg,var(--primary-light),var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-header p { font-size: 16px; color: var(--text-muted); }

/* ===== Guide Cards ===== */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(350px,1fr));
    gap: 25px;
}

.guide-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.guide-card:hover { transform: translateY(-3px); box-shadow: var(--glow); border-color: var(--primary-dark); }

.guide-card .gc-header {
    padding: 25px;
    background: linear-gradient(135deg,rgba(201,168,76,0.08),transparent);
    border-bottom: 1px solid var(--border);
}

.guide-card .gc-header .gc-tag {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(201,168,76,0.15);
    color: var(--primary);
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.guide-card .gc-header h3 { font-size: 20px; color: var(--text-main); margin-bottom: 8px; }
.guide-card .gc-header .gc-meta { font-size: 13px; color: var(--text-muted); }

.guide-card .gc-body { padding: 25px; }

.guide-card .gc-body p { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 15px; }

.guide-card .gc-body .gc-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.guide-card .gc-footer {
    padding: 0 25px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-readmore {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: var(--radius);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-readmore:hover { background: var(--primary); color: #000; }

/* ===== Full Article Modal ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 2000;
    overflow-y: auto;
    padding: 40px 0;
}

.modal-overlay.active { display: block; }

.modal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--primary-dark);
    border-radius: var(--radius);
    padding: 40px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-dark);
    color: var(--text-light);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover { border-color: var(--danger); color: var(--danger); }

.modal-content h2 { font-size: 26px; color: var(--primary); margin-bottom: 15px; line-height: 1.4; }
.modal-content .modal-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid var(--border); }
.modal-content .modal-body { font-size: 15px; color: var(--text-light); line-height: 2; }
.modal-content .modal-body h3 { font-size: 20px; color: var(--primary-light); margin: 25px 0 12px; }
.modal-content .modal-body h4 { font-size: 17px; color: var(--text-main); margin: 18px 0 10px; }
.modal-content .modal-body p { margin-bottom: 15px; }
.modal-content .modal-body ul { padding-left: 20px; margin-bottom: 15px; }
.modal-content .modal-body ul li { list-style: disc; margin-bottom: 8px; color: var(--text-light); }
.modal-content .modal-body strong { color: var(--primary); }

/* ===== Download Section ===== */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 25px;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.download-card:hover { border-color: var(--primary); box-shadow: var(--glow); }

.download-card .dl-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 20px;
    background: rgba(201,168,76,0.1);
    border: 2px solid rgba(201,168,76,0.3);
}

.download-card h3 { font-size: 20px; margin-bottom: 10px; color: var(--primary-light); }
.download-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.7; }

.btn-download {
    padding: 12px 30px;
    background: linear-gradient(135deg,var(--primary),var(--primary-dark));
    color: #000;
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-download:hover { box-shadow: var(--glow); transform: translateY(-2px); }

/* ===== About Section ===== */
.about-content { max-width: 900px; margin: 0 auto; }
.about-content h2 { font-size: 24px; color: var(--primary); margin: 30px 0 15px; }
.about-content p { font-size: 15px; color: var(--text-light); line-height: 2; margin-bottom: 15px; }
.about-content ul { padding-left: 20px; margin-bottom: 20px; }
.about-content ul li { list-style: disc; margin-bottom: 10px; color: var(--text-light); font-size: 15px; line-height: 1.8; }

/* ===== Sitemap ===== */
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 30px;
}

.sitemap-col h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.sitemap-col ul { display: flex; flex-direction: column; gap: 10px; }
.sitemap-col ul a { font-size: 14px; color: var(--text-light); }
.sitemap-col ul a:hover { color: var(--primary); padding-left: 5px; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-text h2 { font-size: 28px; }
    .hero-stats { grid-template-columns: repeat(3,1fr); gap: 10px; }
    .stat-num { font-size: 22px; }
    .news-grid { grid-template-columns: 1fr; }
    .news-card { grid-template-columns: 1fr; }
    .news-card .news-img { width: 100%; height: 160px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-inner { flex-wrap: wrap; }
    .nav a { padding: 10px 15px; font-size: 14px; }
    .header-main { flex-direction: column; gap: 15px; }
    .modal-content { padding: 25px 20px; margin: 0 15px; }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ===== Selection ===== */
::selection { background: var(--primary); color: #000; }
