/* Clean Responsive Mobile-First CSS Grid Architecture */
:root {
    --bg-main: #080d18;
    --bg-card: #0f172a;
    --bg-card-hover: #16223d;
    --bg-header: rgba(8, 13, 24, 0.95);
    --border: #1e293b;
    --border-accent: #334155;
    
    --accent: #0088cc;
    --accent-hover: #22d3ee;
    --accent-glow: rgba(0, 136, 204, 0.28);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-heading: #ffffff;
    
    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.12);
    --gold: #f59e0b;
    --gold-glow: rgba(245, 158, 11, 0.25);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    
    --container: 1200px;
    --transition: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-main);
    color: var(--text-secondary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.015em;
}

h1 { font-size: clamp(1.75rem, 3.2vw, 2.45rem); margin-bottom: 1.1rem; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); margin-top: 1.8rem; margin-bottom: 0.9rem; border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); margin-top: 1.4rem; margin-bottom: 0.7rem; color: var(--accent); }
h4 { font-size: 1.1rem; margin-top: 1.1rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }
strong { color: var(--text-primary); font-weight: 600; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

/* Standard Container - Unified Grid Reference */
.container {
    width: 100%;
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* Header Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-header);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 20px;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 38px;
    max-height: 42px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.93rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
    color: var(--accent);
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 9px 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: all var(--transition);
    line-height: 1.2;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #ffffff !important;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px var(--accent-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary) !important;
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--border-accent);
}

.btn-block { width: 100%; }
.btn-lg { padding: 13px 26px; font-size: 1.02rem; }

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 var(--accent-glow); }
    70% { box-shadow: 0 0 0 10px rgba(0, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}

.pulse {
    animation: pulseGlow 2.2s infinite;
}

/* Mobile Burger */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 8px;
}

.burger-line {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

/* Mobile Drawer */
.mobile-drawer {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-main);
    z-index: 999;
    padding: 20px;
    overflow-y: auto;
    border-top: 1px solid var(--border);
}

.mobile-drawer.open {
    display: block;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 24px;
}

.mobile-nav-link {
    display: block;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent);
    border-color: var(--accent);
}

/* Hero Section */
.hero-section {
    padding: 30px 0 20px;
}

.hero-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(15, 26, 48, 0.75) 100%);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-xl);
    padding: 32px 30px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 860px) {
    .hero-card {
        grid-template-columns: 1fr 340px;
        align-items: center;
        padding: 40px 45px;
    }
}

.hero-tag {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 30px;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: clamp(1.6rem, 3.2vw, 2.35rem);
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.25;
}

.hero-sub {
    font-size: 1.02rem;
    color: var(--text-secondary);
    margin-bottom: 22px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-badge-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.hero-visual img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

/* MASTER PAGE LAYOUT - Zero Gaps, Exact Alignment */
.page-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
    margin-top: 25px;
    margin-bottom: 50px;
    width: 100%;
}

/* Main Content Area */
.main-content {
    width: 100%;
    min-width: 0;
}

.article-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px 36px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 22px;
    font-size: 0.88rem;
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    color: var(--text-muted);
}

.breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--accent);
}

.breadcrumbs .sep {
    margin: 0 4px;
    color: var(--border-accent);
}

.breadcrumbs [aria-current="page"] {
    color: var(--text-primary);
    font-weight: 500;
}

/* Rich Content Elements */
.article-box img, .content-img {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 480px;
    border-radius: var(--radius-md);
    margin: 24px auto;
    display: block;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
    border: 1px solid var(--border);
    object-fit: contain;
}

.article-box table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.92rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.article-box th, .article-box td {
    padding: 12px 16px;
    border: 1px solid var(--border);
    text-align: left;
}

.article-box th {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-weight: 600;
}

.article-box tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.article-box blockquote {
    border-left: 4px solid var(--accent);
    background: rgba(255, 255, 255, 0.03);
    padding: 14px 20px;
    margin: 20px 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--text-primary);
}

.article-box ul, .article-box ol {
    margin: 16px 0 20px 24px;
}

.article-box li {
    margin-bottom: 8px;
}

/* Articles Announcement Grid */
.articles-section {
    margin-top: 36px;
}

.section-header {
    margin-bottom: 20px;
}

.section-title {
    font-size: 1.55rem;
    color: #ffffff;
    margin-bottom: 6px;
}

.section-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .cards-grid.three-col {
        grid-template-columns: repeat(3, 1fr);
    }
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
}

.article-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.card-thumb-wrap {
    position: relative;
    height: 160px;
    overflow: hidden;
    background: #000;
}

.card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .card-thumb {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(10, 15, 28, 0.85);
    backdrop-filter: blur(4px);
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid var(--border-accent);
}

.card-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.35;
}

.card-title a {
    color: #ffffff;
    text-decoration: none;
}

.card-title a:hover {
    color: var(--accent);
}

.card-teaser {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    flex-grow: 1;
    line-height: 1.5;
}

.card-btn {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-btn:hover {
    color: var(--accent-hover);
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 280px;
}

.sidebar-sticky {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 90px;
}

.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.widget-title {
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.status-widget {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, var(--bg-card) 100%);
    border-color: rgba(16, 185, 129, 0.3);
}

.status-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    margin-right: 6px;
    box-shadow: 0 0 8px var(--success);
}

.status-indicator {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--success);
}

.status-badge {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--text-muted);
}

.widget-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.45;
}

.sidebar-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-nav-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.sidebar-nav-item a:hover, .sidebar-nav-item a.active {
    background: rgba(255, 255, 255, 0.06);
    color: var(--accent);
}

.bonus-widget {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, var(--bg-card) 100%);
    border-color: rgba(245, 158, 11, 0.25);
    text-align: center;
}

.bonus-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gold);
    margin: 8px 0 4px;
}

.bonus-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.promo-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed var(--border-accent);
    border-radius: var(--radius-sm);
    padding: 10px;
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.promo-code {
    font-weight: 700;
    color: #ffffff;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.promo-copy-btn {
    background: var(--accent);
    color: #ffffff;
    border: none;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
}

/* Footer */
.site-footer {
    background: var(--bg-header);
    border-top: 1px solid var(--border);
    padding: 45px 0 30px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 35px;
}

@media (min-width: 600px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .footer-grid {
        grid-template-columns: 1.4fr repeat(3, 1fr);
    }
}

.footer-col h5 {
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-disclaimer {
    border-top: 1px solid var(--border);
    padding-top: 25px;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
    text-align: center;
}

.badge-18 {
    display: inline-block;
    background: #ef4444;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 2px 7px;
    border-radius: 4px;
    margin-right: 6px;
}

/* Mobile Sticky Bottom CTA */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 24, 0.97);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    padding: 10px 16px;
    z-index: 998;
}

/* Mobile Responsive Breakpoints */
@media (max-width: 991px) {
    .main-nav, .header-actions .btn {
        display: none;
    }
    .burger-btn {
        display: flex;
    }
    .page-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .main-content {
        order: 1;
    }
    .sidebar {
        order: 2;
        width: 100%;
    }
    .sidebar-sticky {
        position: static;
    }
    .article-box {
        padding: 22px 18px;
    }
    .mobile-bottom-bar {
        display: block;
    }
    body {
        padding-bottom: 65px;
    }
}

/* ==================== RELATED ARTICLES BLOCK ==================== */
.related-articles-section {
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid var(--border);
}

.related-header {
    margin-bottom: 24px;
}

.related-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-accent);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.related-header-icon {
    color: var(--accent);
}

.related-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.related-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

@media (min-width: 640px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.related-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.005) 100%), var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    position: relative;
}

.related-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 12px 28px -6px var(--accent-glow), 0 8px 18px rgba(0, 0, 0, 0.35);
}

.related-thumb-link {
    display: block;
    text-decoration: none;
}

.related-thumb-wrap {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #060913;
}

.related-thumb-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 15, 28, 0.8) 100%);
    pointer-events: none;
}

.related-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
    display: block;
}

.related-card:hover .related-thumb {
    transform: scale(1.05);
}

.related-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(10, 15, 28, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid var(--border-accent);
    z-index: 2;
    letter-spacing: 0.3px;
}

.related-read-time {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background: rgba(10, 15, 28, 0.75);
    backdrop-filter: blur(6px);
    color: #e2e8f0;
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.related-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.related-card-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.related-card:hover .related-card-title a,
.related-card-title a:hover {
    color: var(--accent);
}

.related-card-teaser {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    flex-grow: 1;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 14px;
    margin-top: auto;
}

.related-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.related-btn-arrow {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.related-card:hover .related-btn-arrow {
    transform: translateX(5px);
}

.related-card:hover .related-btn {
    color: var(--accent-hover);
}

