/* ===== DeltaForce Hub - Military Tactical Style ===== */

:root {
    --bg-primary: #0a0e14;
    --bg-secondary: #111820;
    --bg-card: #161e28;
    --bg-elevated: #1d2736;
    --bg-input: #0d1219;

    /* Military tactical palette */
    --accent-gold: #d4a72c;
    --accent-gold-dim: rgba(212, 167, 44, 0.12);
    --accent-red: #e63946;
    --accent-red-dim: rgba(230, 57, 70, 0.12);
    --accent-green: #2d8c4e;
    --accent-blue: #3a9bdc;
    --accent-cyan: #00b4d8;

    /* Text */
    --text-primary: #f0f4f8;
    --text-secondary: #8a9bab;
    --text-muted: #4a5a6a;

    /* Borders */
    --border: rgba(255,255,255,0.06);
    --border-gold: rgba(212,167,44,0.25);

    /* Misc */
    --shadow: 0 2px 16px rgba(0,0,0,0.5);
    --shadow-hover: 0 8px 40px rgba(0,0,0,0.7);
    --glow-gold: 0 0 20px rgba(212,167,44,0.15);
    --radius: 8px;
    --radius-lg: 14px;

    --font-main: 'Noto Sans SC', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --font-display: 'Black Ops One', 'Noto Sans SC', sans-serif;
}

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

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

body::before {
    content: '';
    position: fixed; inset: 0;
    background:
        radial-gradient(ellipse 100% 60% at 50% -10%, rgba(212,167,44,0.05) 0%, transparent 60%),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none; z-index: -1;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ===== HEADER ===== */
.site-header {
    background: rgba(10, 14, 20, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100;
    transition: border-color 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--border-gold); }

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

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-icon { transition: transform 0.2s; filter: drop-shadow(0 0 8px rgba(212,167,44,0.4)); }
.brand:hover .brand-icon { transform: scale(1.1) rotate(-5deg); }
.brand-name { font-family: var(--font-display); font-size: 18px; color: var(--accent-gold); letter-spacing: 1px; }
.brand-sub { font-size: 9px; color: var(--text-muted); letter-spacing: 3px; display: block; margin-top: 1px; }

.main-nav { display: flex; gap: 4px; flex: 1; justify-content: center; }
.nav-item {
    display: flex; align-items: center; gap: 6px;
    color: var(--text-secondary); font-size: 14px; font-weight: 500;
    padding: 8px 14px; border-radius: var(--radius);
    transition: all 0.2s; border-bottom: 2px solid transparent;
}
.nav-item:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.nav-item.active { color: var(--accent-gold); background: var(--accent-gold-dim); border-bottom-color: var(--accent-gold); }
.nav-icon { font-size: 14px; }

.menu-toggle {
    display: none; background: none; border: none;
    width: 36px; height: 36px; flex-direction: column;
    align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text-secondary); border-radius: 2px; transition: 0.2s; }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

.mobile-nav {
    display: none; flex-direction: column;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav-item {
    padding: 12px 16px; border-radius: var(--radius);
    color: var(--text-secondary); font-size: 15px; font-weight: 500;
    transition: background 0.2s;
}
.mobile-nav-item:hover { background: rgba(255,255,255,0.05); color: var(--text-primary); }

/* ===== HERO ===== */
.hero-banner {
    position: relative; overflow: hidden;
    padding: 80px 0 60px;
    text-align: center;
}
.hero-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #0a0e14 0%, #1a1e28 40%, #0d1117 100%);
}
.hero-bg::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 20% 50%, rgba(212,167,44,0.04) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 80% 30%, rgba(58,155,220,0.04) 0%, transparent 60%);
}
.hero-overlay {
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4a72c' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-tag {
    background: rgba(212,167,44,0.08);
    border: 1px solid var(--border-gold);
    color: var(--accent-gold); font-size: 12px; font-weight: 600;
    padding: 4px 12px; border-radius: 20px; letter-spacing: 0.5px;
}
.hero-title { margin-bottom: 16px; }
.hero-title-main {
    display: block; font-family: var(--font-display);
    font-size: clamp(32px, 6vw, 64px);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-gold) 50%, #f0c040 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; letter-spacing: 2px;
}
.hero-title-sub {
    display: block; font-size: clamp(12px, 2vw, 16px);
    color: var(--text-muted); letter-spacing: 8px; margin-top: 8px;
}
.hero-desc {
    color: var(--text-secondary); font-size: 16px; line-height: 1.8;
    max-width: 520px; margin: 0 auto 28px;
}
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 24px; border-radius: var(--radius);
    font-size: 14px; font-weight: 700; transition: all 0.2s;
}
.btn-primary { background: var(--accent-gold); color: #000; }
.btn-primary:hover { background: #f0c040; transform: translateY(-2px); box-shadow: 0 4px 20px rgba(212,167,44,0.4); }
.btn-outline { border: 1px solid var(--border-gold); color: var(--accent-gold); }
.btn-outline:hover { background: var(--accent-gold-dim); transform: translateY(-2px); }

.hero-stats { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.stat-num { display: block; font-family: var(--font-mono); font-size: 28px; color: var(--accent-gold); font-weight: 600; }
.stat-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.hero-scroll-hint {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    color: var(--text-muted); font-size: 12px; letter-spacing: 2px;
    animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ===== MAIN CONTENT ===== */
.main-content { padding: 40px 0 80px; }
.content-section { margin-bottom: 80px; }
.content-section.hidden { display: none; }

/* ===== SECTION HEADER ===== */
.section-header {
    display: flex; align-items: flex-start; justify-content: space-between;
    margin-bottom: 28px; gap: 16px; flex-wrap: wrap;
}
.section-title { display: flex; align-items: center; gap: 14px; }
.section-icon { font-size: 32px; }
.section-name { font-size: 20px; font-weight: 800; color: var(--text-primary); }
.section-desc { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

.section-filter { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.filter-btn {
    background: var(--bg-card); border: 1px solid var(--border);
    color: var(--text-secondary); font-size: 13px; font-weight: 500;
    padding: 6px 14px; border-radius: var(--radius);
    transition: all 0.2s;
}
.filter-btn:hover { border-color: rgba(255,255,255,0.15); color: var(--text-primary); }
.filter-btn.active { background: var(--accent-gold-dim); border-color: var(--border-gold); color: var(--accent-gold); }

/* ===== BREAKING NEWS ===== */
.breaking-news {
    display: flex; align-items: center; gap: 12px;
    background: rgba(230,57,70,0.08); border: 1px solid rgba(230,57,70,0.25);
    border-radius: var(--radius); padding: 12px 16px; margin-bottom: 20px;
    animation: pulse-red 2s infinite;
}
@keyframes pulse-red { 0%,100%{border-color:rgba(230,57,70,0.25)} 50%{border-color:rgba(230,57,70,0.5)} }
.breaking-label { color: var(--accent-red); font-weight: 800; font-size: 13px; white-space: nowrap; }
.breaking-link { color: var(--text-primary); font-size: 14px; font-weight: 500; }
.breaking-link:hover { color: var(--accent-gold); }

/* ===== LOADING ===== */
.loading {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 14px; padding: 60px; color: var(--text-muted); font-size: 14px; grid-column: 1/-1;
}
.loading-spinner {
    width: 32px; height: 32px;
    border: 2px solid var(--border);
    border-top-color: var(--accent-gold);
    border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to{transform:rotate(360deg)} }

/* ===== NEWS CARDS ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.news-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    cursor: pointer; transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    opacity: 0; transform: translateY(16px);
    animation: fadeUp 0.4s ease forwards;
}
.news-card:hover { border-color: var(--border-gold); transform: translateY(-4px); box-shadow: var(--shadow-hover), var(--glow-gold); }
.news-card-image { width: 100%; height: 170px; object-fit: cover; background: var(--bg-elevated); }
.news-card-placeholder {
    width: 100%; height: 170px; display: flex; align-items: center; justify-content: center;
    font-size: 48px; background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
    opacity: 0.4;
}
.news-card-body { padding: 18px; }
.news-card-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.news-card-cat {
    font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.cat-official { background: rgba(58,155,220,0.12); color: var(--accent-blue); }
.cat-update { background: rgba(212,167,44,0.12); color: var(--accent-gold); }
.cat-esports { background: rgba(230,57,70,0.12); color: var(--accent-red); }
.cat-community { background: rgba(45,140,78,0.12); color: var(--accent-green); }
.cat-celeb { background: rgba(200,100,220,0.12); color: #c864dc; }
.cat-cosplay { background: rgba(220,80,160,0.12); color: #dc5096; }
.cat-pro { background: rgba(0,180,216,0.12); color: var(--accent-cyan); }
.cat-female { background: rgba(255,120,180,0.12); color: #ff78b4; }
.news-card-date { font-size: 12px; color: var(--text-muted); }
.news-card-title {
    font-size: 15px; font-weight: 700; color: var(--text-primary);
    line-height: 1.4; margin-bottom: 8px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    transition: color 0.2s;
}
.news-card:hover .news-card-title { color: var(--accent-gold); }
.news-card-desc {
    font-size: 13px; color: var(--text-secondary); line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.news-card-source { font-size: 12px; color: var(--accent-gold); font-weight: 600; }
.news-card-views { font-size: 12px; color: var(--text-muted); }
.read-more { font-size: 12px; color: var(--accent-gold); font-weight: 600; transition: color 0.2s; }
.news-card:hover .read-more { color: #f0c040; }
.news-card-hot { position: absolute; top: 12px; right: 12px; background: var(--accent-red); color: #fff; font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 4px; }

/* Featured news card */
.news-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
.news-card.featured .news-card-image { height: 100%; min-height: 260px; }
.news-card.featured .news-card-body { display: flex; flex-direction: column; justify-content: center; }
.news-card.featured .news-card-title { font-size: 20px; -webkit-line-clamp: 3; }
.news-card.featured .news-card-desc { -webkit-line-clamp: 3; }

/* ===== VIDEO CARDS ===== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}
.video-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    cursor: pointer; transition: all 0.25s;
    opacity: 0; transform: translateY(16px); animation: fadeUp 0.4s ease forwards;
    position: relative;
}
.video-card:hover { border-color: var(--border-gold); transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.video-thumb-wrap { position: relative; }
.video-thumb { width: 100%; height: 180px; object-fit: cover; background: var(--bg-elevated); }
.video-thumb-placeholder {
    width: 100%; height: 180px; display: flex; align-items: center; justify-content: center;
    font-size: 48px; background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated)); opacity: 0.4;
}
.video-duration {
    position: absolute; bottom: 8px; right: 8px;
    background: rgba(0,0,0,0.8); color: #fff; font-size: 12px; font-family: var(--font-mono);
    padding: 2px 8px; border-radius: 4px;
}
.video-play-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 50px; height: 50px; background: rgba(212,167,44,0.9);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 20px; transition: all 0.2s; opacity: 0;
}
.video-card:hover .video-play-btn { opacity: 1; }
.video-play-btn:hover { background: var(--accent-gold); transform: translate(-50%, -50%) scale(1.1); }
.video-body { padding: 16px; }
.video-title { font-size: 15px; font-weight: 700; color: var(--text-primary); line-height: 1.4; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-muted); }
.video-channel { color: var(--accent-blue); font-weight: 600; }
.video-views { }
.video-tag {
    position: absolute; top: 10px; left: 10px;
    background: rgba(0,0,0,0.75); color: var(--accent-gold);
    font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px;
}

/* ===== GALLERY / MASONRY ===== */
.gallery-masonry {
    columns: 5 200px;
    column-gap: 12px;
}
.gallery-item {
    break-inside: avoid; margin-bottom: 12px;
    border-radius: var(--radius);
    overflow: hidden; cursor: pointer;
    position: relative; transition: transform 0.2s;
    opacity: 0; animation: fadeUp 0.4s ease forwards;
}
.gallery-item:hover { transform: scale(1.02); z-index: 2; }
.gallery-item img { width: 100%; display: block; }
.gallery-item-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
    opacity: 0; transition: opacity 0.2s;
    display: flex; align-items: flex-end; padding: 12px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-caption { color: #fff; font-size: 12px; font-weight: 600; }
.gallery-item-cat {
    position: absolute; top: 8px; left: 8px;
    background: rgba(0,0,0,0.7); color: var(--accent-gold);
    font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 4px;
}

/* ===== GUIDES ===== */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.guide-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 24px;
    transition: all 0.25s; cursor: pointer;
    opacity: 0; animation: fadeUp 0.4s ease forwards;
    border-left: 3px solid transparent;
}
.guide-card:hover { border-color: var(--border-gold); border-left-color: var(--accent-gold); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.guide-card-icon { font-size: 36px; margin-bottom: 12px; }
.guide-card-title { font-size: 16px; font-weight: 800; color: var(--text-primary); margin-bottom: 8px; }
.guide-card-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.guide-card-footer { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 12px; }
.guide-card-author { color: var(--accent-gold); font-weight: 600; }

/* ===== DISCUSS ===== */
.discuss-layout { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.discuss-filters { display: flex; gap: 8px; margin-bottom: 16px; }
.discuss-list { display: flex; flex-direction: column; gap: 10px; }
.discuss-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 16px;
    transition: all 0.2s; cursor: pointer;
}
.discuss-card:hover { border-color: var(--border-gold); background: var(--bg-elevated); }
.discuss-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.discuss-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-gold), #f0c040); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; color: #000; flex-shrink: 0; }
.discuss-user { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.discuss-time { font-size: 12px; color: var(--text-muted); margin-left: auto; }
.discuss-title { font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; line-height: 1.4; }
.discuss-title:hover { color: var(--accent-gold); }
.discuss-excerpt { font-size: 13px; color: var(--text-secondary); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
.discuss-footer { display: flex; gap: 16px; font-size: 12px; color: var(--text-muted); }
.discuss-stat { display: flex; align-items: center; gap: 4px; }
.discuss-stat.hot { color: var(--accent-red); }

.discuss-sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 80px; }
.sidebar-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.sidebar-title { font-size: 14px; font-weight: 800; color: var(--text-primary); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.hot-topics { display: flex; flex-direction: column; gap: 10px; }
.hot-topic { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; padding: 6px; border-radius: var(--radius); transition: background 0.2s; }
.hot-topic:hover { background: rgba(255,255,255,0.04); }
.hot-topic-num { font-family: var(--font-mono); font-size: 16px; font-weight: 800; color: var(--accent-gold); min-width: 20px; }
.hot-topic-title { font-size: 13px; color: var(--text-secondary); line-height: 1.4; }
.hot-topic:hover .hot-topic-title { color: var(--text-primary); }
.hot-topic-stat { font-size: 11px; color: var(--accent-red); margin-top: 2px; }
.community-stats { display: flex; flex-direction: column; gap: 12px; }
.community-stat { display: flex; justify-content: space-between; align-items: center; }
.community-stat-label { font-size: 13px; color: var(--text-secondary); }
.community-stat-value { font-family: var(--font-mono); font-size: 14px; font-weight: 700; color: var(--accent-gold); }

/* ===== ABOUT ===== */
.about-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; }
.about-hero { text-align: center; padding: 40px 0; }
.about-logo { font-family: var(--font-display); font-size: 80px; color: var(--accent-gold); text-shadow: 0 0 40px rgba(212,167,44,0.3); margin-bottom: 16px; }
.about-hero h1 { font-family: var(--font-display); font-size: 32px; color: var(--text-primary); letter-spacing: 2px; }
.about-tagline { font-size: 12px; color: var(--text-muted); letter-spacing: 6px; margin-top: 8px; }
.about-desc { max-width: 600px; margin: 0 auto 40px; }
.about-desc p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 12px; }
.about-desc strong { color: var(--accent-gold); }
.about-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.about-feature { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; text-align: center; transition: all 0.2s; }
.about-feature:hover { border-color: var(--border-gold); transform: translateY(-3px); }
.feature-icon { font-size: 32px; display: block; margin-bottom: 10px; }
.about-feature h4 { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.about-feature p { font-size: 12px; color: var(--text-muted); }
.about-links h3 { font-size: 16px; font-weight: 800; color: var(--text-primary); margin-bottom: 14px; }
.link-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.about-link { display: flex; align-items: center; gap: 8px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; color: var(--text-secondary); font-size: 14px; font-weight: 500; transition: all 0.2s; }
.about-link:hover { border-color: var(--border-gold); color: var(--accent-gold); background: var(--accent-gold-dim); }
.about-side { display: flex; flex-direction: column; gap: 16px; }
.about-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.about-card h3 { font-size: 14px; font-weight: 800; color: var(--accent-gold); margin-bottom: 14px; }
.about-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.about-card li { font-size: 13px; color: var(--text-secondary); }
.about-card a { color: var(--accent-blue); }
.about-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* ===== CONTENT MODAL ===== */
.content-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9998;
    align-items: center;
    justify-content: center;
}
.content-modal.open { display: flex; }
.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-container {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    max-width: 680px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 80px rgba(0,0,0,0.8), var(--glow-gold);
    scrollbar-width: thin;
    scrollbar-color: var(--bg-elevated) transparent;
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    border: none;
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.15); color: var(--text-primary); }
.modal-body { padding: 32px; }
.modal-article { }
.modal-hero-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 20px;
    background: var(--bg-elevated);
}
.modal-article-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.modal-date { font-size: 13px; color: var(--text-muted); }
.modal-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 14px;
}
.modal-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.modal-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 20px;
}
.modal-actions { display: flex; gap: 12px; }
.modal-guide-icon { font-size: 48px; }
.modal-video { }
.modal-video-thumb { position: relative; }

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none; position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.95); align-items: center; justify-content: center;
    flex-direction: column;
}
.lightbox.open { display: flex; }
.lightbox-close {
    position: absolute; top: 20px; right: 20px;
    width: 40px; height: 40px; background: rgba(255,255,255,0.1);
    border: none; border-radius: 50%; color: #fff; font-size: 18px;
    cursor: pointer; transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-img { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-caption { color: var(--text-secondary); font-size: 14px; margin-top: 16px; text-align: center; max-width: 600px; }
.lightbox-nav { display: flex; gap: 20px; margin-top: 16px; }
.lightbox-prev, .lightbox-next {
    width: 44px; height: 44px; background: rgba(255,255,255,0.1);
    border: none; border-radius: 50%; color: #fff; font-size: 20px;
    cursor: pointer; transition: background 0.2s;
}
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.2); }

/* ===== FOOTER ===== */
.site-footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 40px 0 24px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo { font-family: var(--font-display); font-size: 36px; color: var(--accent-gold); filter: drop-shadow(0 0 12px rgba(212,167,44,0.4)); }
.footer-name { font-family: var(--font-display); font-size: 18px; color: var(--accent-gold); letter-spacing: 1px; }
.footer-sub { font-size: 10px; color: var(--text-muted); letter-spacing: 3px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--text-secondary); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent-gold); }
.footer-bottom p { color: var(--text-muted); font-size: 12px; }
.footer-update { color: var(--accent-gold) !important; font-family: var(--font-mono); font-size: 12px !important; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.news-card:nth-child(1){animation-delay:0.03s} .news-card:nth-child(2){animation-delay:0.06s}
.news-card:nth-child(3){animation-delay:0.09s} .news-card:nth-child(4){animation-delay:0.12s}
.news-card:nth-child(5){animation-delay:0.15s} .news-card:nth-child(6){animation-delay:0.18s}
.video-card:nth-child(1){animation-delay:0.03s} .video-card:nth-child(2){animation-delay:0.06s}
.video-card:nth-child(3){animation-delay:0.09s} .video-card:nth-child(4){animation-delay:0.12s}
.gallery-item:nth-child(1){animation-delay:0.02s} .gallery-item:nth-child(2){animation-delay:0.04s}
.gallery-item:nth-child(3){animation-delay:0.06s} .gallery-item:nth-child(4){animation-delay:0.08s}
.gallery-item:nth-child(5){animation-delay:0.10s}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .discuss-layout { grid-template-columns: 1fr; }
    .discuss-sidebar { position: static; }
    .about-layout { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .container { padding: 0 14px; }
    .main-nav { display: none; }
    .menu-toggle { display: flex; }
    .header-inner { height: 56px; }
    .hero-banner { padding: 60px 0 40px; }
    .hero-stats { gap: 24px; }
    .stat-num { font-size: 22px; }
    .news-grid, .video-grid, .guides-grid { grid-template-columns: 1fr; }
    .gallery-masonry { columns: 2 160px; }
    .news-card.featured { grid-template-columns: 1fr; }
    .news-card.featured .news-card-image { min-height: 200px; }
    .section-header { flex-direction: column; }
    .about-features { grid-template-columns: 1fr 1fr; }
    .link-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .gallery-masonry { columns: 1; }
    .hero-eyebrow { gap: 6px; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
