@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette - Light Mode (Default) */
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --secondary-color: #8b5cf6;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-color: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    
    /* Font Families */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

[data-theme="dark"] {
    --primary-color: #60a5fa;
    --primary-hover: #3b82f6;
    --secondary-color: #a78bfa;
    --bg-color: #020617;
    --card-bg: #1e293b;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(51, 65, 85, 0.5);
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
}

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

html,
body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    transition: background-color 0.3s ease, color 0.3s ease;
    background-image:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 34%),
        radial-gradient(circle at 80% 16%, rgba(99, 102, 241, 0.1), transparent 26%),
        radial-gradient(circle at bottom right, rgba(191, 219, 254, 0.52), transparent 30%),
        linear-gradient(145deg, #f8fbff 0%, #eef4ff 36%, #f6f3ff 72%, #f8fafc 100%);
    background-attachment: fixed;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(15,23,42,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15,23,42,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at center, black, transparent 78%);
    opacity: 0.22;
    z-index: -2;
}

[data-theme="dark"] body {
    background-image:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.18), transparent 35%),
        radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.16), transparent 28%),
        radial-gradient(circle at bottom right, rgba(15, 23, 42, 0.92), transparent 32%),
        linear-gradient(145deg, #020617 0%, #081225 35%, #140a24 70%, #020617 100%);
}

[data-theme="dark"] body::before {
    background:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    opacity: 0.35;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

video,
iframe,
canvas,
svg {
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Glassmorphism Common */
.glass {
    background: var(--glass-bg);
}

.site-aurora {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -3;
    overflow: hidden;
}

.aurora-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(90px);
    opacity: 0.35;
    animation: float-orb 18s ease-in-out infinite alternate;
}

.orb-one {
    width: 22rem;
    height: 22rem;
    top: 5%;
    left: -5%;
    background: rgba(59, 130, 246, 0.38);
}

.orb-two {
    width: 28rem;
    height: 28rem;
    right: -8%;
    top: 20%;
    background: rgba(99, 102, 241, 0.28);
    animation-duration: 24s;
}

.orb-three {
    width: 18rem;
    height: 18rem;
    bottom: 5%;
    left: 35%;
    background: rgba(168, 85, 247, 0.22);
    animation-duration: 20s;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-size: 0.95rem;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Navigation Redesign */
nav {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1400px;
    z-index: 1000;
    border-radius: 1.25rem;
    padding: 0.6rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--glass-border);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.72));
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    isolation: isolate;
}

[data-theme="dark"] nav {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.78));
    box-shadow: 0 22px 48px rgba(2, 6, 23, 0.34);
}

nav::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 80%);
    pointer-events: none;
    z-index: -1;
}

nav.scrolled {
    border-color: rgba(148, 163, 184, 0.22);
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.22);
}

[data-theme="dark"] nav.scrolled {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.88));
    box-shadow: 0 26px 66px rgba(2, 6, 23, 0.42);
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #c7d2fe;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-logo[src=""] {
    display: none;
}

.logo img {
    height: 28px;
    width: auto;
    border-radius: 6px;
    background: transparent;
    padding: 0;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.6rem 2rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links a {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.7;
    white-space: nowrap;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 20px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.5rem;
    z-index: 2001;
}

/* Mobile Menu Overlay */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 1500;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 360px;
    height: 100vh;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.4s ease;
    border-left: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: -24px 0 48px rgba(2, 6, 23, 0.32);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    padding: 0.8rem 1rem;
    border-radius: 0.6rem;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
}

.mobile-menu a:hover {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

/* Sign In Button Premium Style */
.btn-signin {
    padding: 0.6rem 1.2rem;
    border-radius: 0.8rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-signin::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.btn-signin:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-signin:hover::before {
    opacity: 1;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    padding: 10rem 0 6rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.22), transparent 50%),
                radial-gradient(circle at 20% 70%, rgba(139, 92, 246, 0.2), transparent 50%);
    animation: pulse-gradient 12s ease-in-out infinite alternate;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    mask-image: radial-gradient(ellipse at center, black, transparent 80%);
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 430px);
    gap: 3rem;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    margin-bottom: 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(96, 165, 250, 0.24);
    background: rgba(96, 165, 250, 0.1);
    color: #bfdbfe;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    animation: fade-up 0.8s ease both;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--text-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fade-up 0.9s ease both;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    animation: fade-up 1.1s ease both;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    animation: fade-up 1.25s ease both;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.2rem;
    animation: fade-up 1.35s ease both;
}

.hero-metric {
    padding: 1rem 1.1rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 40px rgba(2, 6, 23, 0.2);
}

.hero-metric strong {
    display: block;
    margin-bottom: 0.3rem;
    color: #eff6ff;
    font-size: 1.05rem;
    font-family: var(--font-heading);
}

.hero-metric span {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.hero-panel {
    position: relative;
    z-index: 2;
    padding: 1.35rem;
    border-radius: 1.75rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(15, 23, 42, 0.56);
    backdrop-filter: blur(18px);
    box-shadow: 0 28px 60px rgba(2, 6, 23, 0.34);
}

.hero-panel-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.16);
    color: #c7d2fe;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.hero-panel-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.35rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(15, 23, 42, 0.6);
}

.hero-panel-card.primary {
    padding: 1.35rem;
    min-height: 220px;
}

.hero-panel-card.primary::after,
.hero-panel-card.mini::after {
    content: '';
    position: absolute;
    inset: auto -20% -35% auto;
    width: 9rem;
    height: 9rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.2), transparent 70%);
}

.hero-panel-card.mini {
    padding: 1rem;
    min-height: 124px;
}

.hero-panel-label {
    display: inline-block;
    margin-bottom: 0.8rem;
    color: #93c5fd;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-panel-card h3 {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 0.9rem;
}

.hero-panel-card p,
.hero-panel-card strong {
    color: #dbeafe;
}

.hero-panel-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.hero-panel-card strong {
    display: block;
    font-size: 1rem;
    line-height: 1.45;
}

.hero-rings {
    position: absolute;
    right: 10%;
    top: 18%;
    width: 28rem;
    height: 28rem;
    border-radius: 50%;
    border: 1px solid rgba(96, 165, 250, 0.12);
    box-shadow:
        0 0 0 48px rgba(96, 165, 250, 0.05),
        0 0 0 96px rgba(168, 85, 247, 0.04);
    opacity: 0.6;
    animation: slow-spin 24s linear infinite;
}

.hero-glow {
    position: absolute;
    width: 18rem;
    height: 18rem;
    border-radius: 999px;
    filter: blur(90px);
    opacity: 0.28;
    pointer-events: none;
}

.hero-glow-left {
    left: -4rem;
    top: 20%;
    background: rgba(59, 130, 246, 0.32);
}

.hero-glow-right {
    right: -3rem;
    bottom: 12%;
    background: rgba(139, 92, 246, 0.28);
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Grid Layouts */
.trending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

/* Card Styles */
.card {
    background: var(--card-bg);
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 40px rgba(15, 23, 42, 0.3), 0 0 30px rgba(96, 165, 250, 0.18);
}

.card-img {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease, filter 0.7s ease;
}

.card:hover .card-img img {
    transform: scale(1.08);
    filter: saturate(1.05);
}

.category-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    background: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(5px);
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    transition: color 0.2s;
}

.card:hover .card-content h3 {
    color: var(--primary-color);
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.read-more {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more i {
    transition: transform 0.2s;
}

.card:hover .read-more i {
    transform: translateX(5px);
}

#trending-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.news-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(2, 6, 23, 0.28);
}

.news-card-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.news-card-image img,
.news-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-source {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: #e2e8f0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.news-card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-body h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #e2e8f0;
    line-height: 1.4;
}

.news-card-body p {
    font-size: 14px;
    opacity: 0.8;
    color: #94a3b8;
    line-height: 1.65;
    flex-grow: 1;
}

.news-card-body a {
    margin-top: auto;
    color: #7aa2ff;
    text-decoration: none;
    font-weight: 600;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 7rem;
}

.sidebar-widget {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.sidebar-widget h4 {
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    background: var(--bg-color);
    color: var(--text-color);
    outline: none;
    font-family: inherit;
    transition: all 0.2s;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Footer */
footer {
    background: var(--card-bg);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-info p {
    color: var(--text-muted);
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: var(--text-muted);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--primary-color);
    color: white;
}

/* Article Page specific */
.article-header {
    padding: 10rem 0 4rem;
    text-align: center;
    position: relative;
}

.article-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--text-muted);
    font-weight: 500;
    flex-wrap: wrap;
}

.article-featured-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 2rem;
    overflow: hidden;
    margin-bottom: 4rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.article-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s ease, filter 1.1s ease;
}

.article-featured-img:hover img {
    transform: scale(1.06);
    filter: saturate(1.08);
}

.article-body-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
}

.article-content {
    font-size: 1.15rem;
    line-height: 1.95;
    color: var(--text-color);
    max-width: 860px;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.article-content * {
    color: inherit;
}

.article-content h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin: 0 0 1.75rem;
}

.article-content h2, .article-content h3 {
    margin: 2.5rem 0 1.5rem;
}

.article-content h4 {
    margin: 2rem 0 1rem;
}

.article-content p {
    margin-bottom: 1.6rem;
    font-size: 1.02rem;
}

.article-content ul,
.article-content ol {
    margin: 0 0 1.75rem 1.5rem;
}

.article-content li + li {
    margin-top: 0.55rem;
}

.article-content img {
    border-radius: 1rem;
    margin: 2.5rem 0;
}

.article-content blockquote {
    margin: 2.75rem 0;
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.16), rgba(15, 23, 42, 0.68));
    box-shadow: 0 24px 48px rgba(2, 6, 23, 0.28);
    backdrop-filter: blur(18px);
    color: var(--text-color);
    font-size: 1.15rem;
}

.article-content pre {
    margin: 2rem 0;
    padding: 1.25rem 1.4rem;
    border-radius: 1rem;
    overflow-x: auto;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.82);
    color: #dbeafe;
}

.article-content code {
    font-family: "Consolas", "Courier New", monospace;
    font-size: 0.95em;
}

.article-content table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.42);
}

.article-content th,
.article-content td {
    padding: 0.95rem 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    text-align: left;
}

.article-content hr {
    margin: 2.5rem 0;
    border: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.article-content .cta-banner {
    margin: 2.5rem 0;
    padding: 2rem;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.94), rgba(99, 102, 241, 0.92));
    box-shadow: 0 24px 48px rgba(37, 99, 235, 0.28);
    color: #eff6ff;
    text-align: center;
}

.article-content .cta-banner h2,
.article-content .cta-banner h3,
.article-content .cta-banner p {
    color: inherit;
}

.article-content .btn-strategy-session,
.article-content .cta-banner a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 1rem;
    padding: 0.85rem 1.3rem;
    border-radius: 999px;
    background: #ffffff;
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: none;
}

.toc {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 18px 30px rgba(2, 6, 23, 0.16);
}

.toc h4 {
    margin-bottom: 1rem;
}

.toc ul li {
    margin-bottom: 0.5rem;
}

.toc ul li a:hover {
    color: var(--primary-color);
}

/* Ads */
.ad-slot {
    background: rgba(0,0,0,0.02);
    border: 1px dashed var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 2rem 0;
}

.ad-banner { height: 90px; }
.ad-sidebar { height: 600px; }
.ad-inline { height: 250px; }

.sidebar-mini-post {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
}

.sidebar-mini-post img {
    width: 60px;
    height: 60px;
    border-radius: 0.75rem;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sidebar-mini-post:hover img {
    transform: scale(1.08);
}

.sidebar-mini-post a {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

.sidebar-mini-post span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.tag-chip {
    position: static;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
}

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0;
    z-index: 3000;
    background: linear-gradient(90deg, #60a5fa, #8b5cf6, #020617);
    box-shadow: 0 0 25px rgba(96, 165, 250, 0.45);
}

.search-modal {
    position: fixed;
    inset: 0;
    z-index: 2200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    backdrop-filter: blur(26px);
    background: rgba(2, 6, 23, 0.62);
}

.search-modal.active {
    display: flex;
}

.search-panel {
    width: min(900px, 100%);
    padding: 1.25rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 30px 80px rgba(2, 6, 23, 0.38);
}

.search-panel-header {
    display: grid;
    grid-template-columns: 1fr 180px auto;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.search-panel-header input,
.search-panel-header select {
    border: 1px solid var(--border-color);
    background: rgba(2, 6, 23, 0.82);
    color: var(--text-color);
    padding: 0.9rem 1rem;
    border-radius: 0.9rem;
    font: inherit;
}

.search-results {
    max-height: 60vh;
    overflow: auto;
    display: grid;
    gap: 0.75rem;
}

.search-item,
.search-empty {
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.search-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.search-item:hover {
    transform: translateY(-2px);
    border-color: rgba(96, 165, 250, 0.4);
}

.search-item strong {
    display: block;
    margin-bottom: 0.35rem;
}

.search-item div:last-child,
.search-empty {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes float-orb {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(40px, -35px, 0) scale(1.12); }
}

@keyframes pulse-gradient {
    0% { transform: scale(1); opacity: 0.9; }
    100% { transform: scale(1.08); opacity: 1; }
}

@keyframes fade-up {
    0% { opacity: 0; transform: translateY(26px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes slow-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.particle {
    position: absolute;
    background: var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.3;
    animation: float 6s infinite ease-in-out;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero-layout { grid-template-columns: 1fr; }
    .hero-panel { max-width: 40rem; }
    .hero-rings { right: -8%; top: 10%; width: 22rem; height: 22rem; }
    .hero-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hero h1 { font-size: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .article-body-container { grid-template-columns: 1fr; }
    .sidebar { display: none; }
}

@media (max-width: 992px) {
    .nav-center { display: none; }
    .menu-toggle { display: block; }
    .nav-left, .nav-right { flex: initial; }
    .hero h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
    nav { width: calc(100% - 1rem); padding: 0.75rem 1rem; top: 0.75rem; }
    .nav-left { flex: 1; min-width: 0; }
    .nav-center { display: none; }
    .nav-right { flex: 0 0 auto; margin-left: auto; }
    .nav-actions { gap: 0.45rem; }
    .logo { font-size: 0.9rem; gap: 0.4rem; }
    .icon-btn, .menu-toggle { padding: 0.35rem; font-size: 1.1rem; }
    .container { padding: 0 1rem; }
    .btn-signin { padding: 0.5rem 0.9rem; font-size: 0.8rem; }
    .hero { padding: 8.5rem 0 4rem; min-height: auto; }
    .hero-layout { display: grid; grid-template-columns: 1fr; width: 100%; }
    .hero-content, .hero-panel { width: 100%; max-width: 100%; }
    .hero-eyebrow { font-size: 0.72rem; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    .hero-btns { flex-direction: column; align-items: stretch; }
    .hero-metrics { grid-template-columns: 1fr; }
    .hero-panel-grid { grid-template-columns: 1fr; }
    .hero-panel { padding: 1rem; border-radius: 1.35rem; }
    .hero-panel-card.primary { min-height: auto; }
    .hero-rings { display: none; }
    .section-header h2 { font-size: 2rem; }
    .trending-grid, .featured-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .article-header h1 { font-size: 2.5rem; }
    .search-panel-header { grid-template-columns: 1fr; }
}
