/* ===================================
   NewsForge AI - Main Stylesheet
   Modern News Website Design System
   =================================== */

/* CSS Variables */
:root {
    --primary: #1a1a2e;
    --primary-light: #16213e;
    --accent: #e63946;
    --accent-hover: #c62828;
    --blue: #2196f3;
    --blue-dark: #1565c0;
    --green: #10b981;
    --orange: #f59e0b;
    --purple: #7c3aed;
    --teal: #00bcd4;
    --gold: #ffd700;
    --text: #1a1a2e;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --bg: #f8fafc;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-xs: 4px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --container: 1280px;
}

/* Dark Mode */
[data-theme="dark"] {
    --text: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-light: #64748b;
    --bg: #0f172a;
    --bg-white: #1e293b;
    --bg-card: #1e293b;
    --bg-dark: #020617;
    --border: #334155;
    --border-light: #1e293b;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
    --shadow: 0 4px 6px rgba(0,0,0,0.3);
    --shadow-md: 0 10px 15px rgba(0,0,0,0.3);
    --shadow-lg: 0 20px 25px rgba(0,0,0,0.4);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
}

ul { list-style: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================
   ADVERTISEMENTS
   ================== */
.ad-banner {
    text-align: center;
    padding: 8px 0;
    background: var(--bg);
}

.ad-top { background: var(--border-light); }
.ad-mid { margin: 40px 0; }
.ad-bottom { margin-top: 40px; }
.ad-infeed { margin: 24px 0; }

.ad-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-size: 13px;
    position: relative;
    margin: 0 auto;
}

[data-theme="dark"] .ad-placeholder {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.ad-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.ad-content {
    font-weight: 500;
    color: var(--text-secondary);
}

.ad-leaderboard {
    max-width: 728px;
    height: 90px;
    width: 100%;
}

.ad-rectangle {
    max-width: 728px;
    height: 90px;
    width: 100%;
}

.ad-medium-rect {
    width: 300px;
    height: 250px;
}

.ad-sidebar .ad-medium-rect,
.ad-sidebar-sticky .ad-medium-rect {
    width: 100%;
    max-width: 300px;
}

/* ==================
   HEADER
   ================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-top {
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    padding: 6px 0;
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-date {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
}

.header-links {
    display: flex;
    gap: 20px;
}

.header-link {
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition);
}

.header-link:hover {
    color: #fff;
}

.header-main {
    padding: 12px 0;
}

.header-main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}

.logo-accent { color: var(--accent); }

.logo-ai {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    background: var(--accent);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    vertical-align: super;
    letter-spacing: 1px;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-xs);
    transition: all var(--transition);
    white-space: nowrap;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
    background: rgba(230, 57, 70, 0.06);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.nav-more {
    cursor: pointer;
    position: relative;
}

.nav-more i {
    font-size: 10px;
    margin-left: 4px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    min-width: 180px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition);
    z-index: 100;
}

.nav-more:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 8px 14px;
    font-size: 14px;
    color: var(--text-secondary);
    border-radius: var(--radius-xs);
    transition: all var(--transition);
}

.dropdown-menu a:hover {
    background: rgba(230, 57, 70, 0.06);
    color: var(--accent);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-toggle,
.dark-mode-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all var(--transition);
    font-size: 16px;
}

.search-toggle:hover,
.dark-mode-toggle:hover {
    background: var(--border-light);
    color: var(--text);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Search Overlay */
.search-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 2px solid var(--accent);
    padding: 16px 0;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition);
    z-index: 99;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-form {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    font-size: 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--text);
    outline: none;
    transition: border-color var(--transition);
    font-family: var(--font-body);
}

.search-input:focus {
    border-color: var(--accent);
}

.search-btn {
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background var(--transition);
}

.search-btn:hover {
    background: var(--accent-hover);
}

.search-close {
    width: 48px;
    height: 48px;
    color: var(--text-secondary);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition);
}

.search-close:hover {
    background: var(--border-light);
    color: var(--text);
}

/* ==================
   BREAKING NEWS
   ================== */
.breaking-news {
    background: var(--accent);
    color: #fff;
    padding: 10px 0;
    overflow: hidden;
}

.breaking-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.breaking-badge {
    flex-shrink: 0;
    background: rgba(0,0,0,0.2);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.ticker-wrapper {
    overflow: hidden;
    flex: 1;
}

.ticker-content {
    display: flex;
    align-items: center;
    gap: 16px;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    font-size: 14px;
    font-weight: 500;
}

.ticker-separator {
    opacity: 0.5;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==================
   HERO SECTION
   ================== */
.hero-section {
    padding: 24px 0 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 20px;
}

.hero-main {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.hero-main-link {
    display: block;
}

.hero-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 16/10;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-main:hover .hero-image {
    transform: scale(1.03);
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 100px 32px 32px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
    color: #fff;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 700;
    line-height: 1.3;
    margin: 12px 0;
}

.hero-excerpt {
    font-size: 15px;
    opacity: 0.85;
    line-height: 1.5;
    max-width: 600px;
}

.hero-meta {
    display: flex;
    gap: 20px;
    margin-top: 12px;
    font-size: 13px;
    opacity: 0.75;
}

.hero-meta i {
    margin-right: 4px;
}

/* Hero Side Cards */
.hero-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-card {
    border-radius: var(--radius);
    overflow: hidden;
    flex: 1;
    background: var(--bg-card);
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.hero-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.hero-card-link {
    display: block;
    height: 100%;
}

.hero-card-image {
    width: 100%;
    height: 55%;
    object-fit: cover;
}

.hero-card-content {
    padding: 16px;
}

.hero-card-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin: 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-card-time {
    font-size: 12px;
    color: var(--text-light);
}

/* Category Badges */
.category-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    color: #fff;
}

.badge-red { background: var(--accent); }
.badge-blue { background: var(--blue); }
.badge-green { background: var(--green); }
.badge-orange { background: var(--orange); }
.badge-purple { background: var(--purple); }
.badge-teal { background: var(--teal); }
.badge-dark { background: var(--primary); }

/* ==================
   CATEGORY PILLS
   ================== */
.category-nav-section {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.category-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0;
    scrollbar-width: none;
}

.category-pills::-webkit-scrollbar { display: none; }

.category-pill {
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 100px;
    white-space: nowrap;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.category-pill:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.category-pill.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.category-pill i {
    font-size: 12px;
}

/* ==================
   CONTENT GRID
   ================== */
.content-section {
    padding: 32px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 12px;
}

.title-accent {
    width: 4px;
    height: 28px;
    background: var(--accent);
    border-radius: 2px;
    display: inline-block;
}

.view-all {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition);
}

.view-all:hover {
    gap: 10px;
}

/* Article Cards */
.articles-grid {
    display: grid;
    gap: 20px;
}

.article-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all var(--transition);
}

.article-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--border);
}

.article-card-image {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
}

.article-card-body {
    padding: 20px 20px 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-card-category {
    margin-bottom: 8px;
}

.article-card-title {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--transition);
}

.article-card:hover .article-card-title {
    color: var(--accent);
}

.article-card-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}

.article-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: var(--text-light);
}

.article-card-meta i {
    margin-right: 4px;
}

.article-card-author {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-card-author img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

/* Load More Button */
.load-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    margin-top: 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
    background: var(--bg-card);
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.load-more-btn:hover {
    background: var(--accent);
    color: #fff;
}

/* ==================
   SIDEBAR
   ================== */
.sidebar-widget {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    margin-bottom: 24px;
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
}

.widget-title i {
    color: var(--accent);
}

/* Trending Widget */
.trending-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trending-item {
    display: flex;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.trending-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.trending-number {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    min-width: 32px;
    opacity: 0.3;
}

.trending-content h4 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--transition);
}

.trending-item:hover .trending-content h4 {
    color: var(--accent);
}

.trending-content span {
    font-size: 12px;
    color: var(--text-light);
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    text-align: center;
}

.newsletter-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
}

.newsletter-widget .widget-title {
    color: #fff;
    justify-content: center;
}

.widget-desc {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 16px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-input {
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color var(--transition);
    font-family: var(--font-body);
}

.newsletter-input::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-input:focus {
    border-color: rgba(255,255,255,0.5);
}

.newsletter-btn {
    padding: 12px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: background var(--transition);
}

.newsletter-btn:hover {
    background: var(--accent-hover);
}

/* Sticky Sidebar */
.sidebar-sticky {
    position: sticky;
    top: 100px;
}

/* ==================
   CATEGORY SECTIONS
   ================== */
.category-section {
    padding: 40px 0;
}

.category-section:nth-child(even) {
    background: var(--bg-white);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all var(--transition);
}

.category-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.category-card-image {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.category-card-body {
    padding: 16px;
}

.category-card-body .category-badge {
    margin-bottom: 8px;
}

.category-card-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-card:hover .category-card-title {
    color: var(--accent);
}

.category-card-time {
    font-size: 12px;
    color: var(--text-light);
}

/* ==================
   VIDEO SECTION
   ================== */
.video-section {
    padding: 40px 0;
    background: var(--bg-dark);
    color: #fff;
}

.video-section .section-title {
    color: #fff;
}

.video-section .title-accent {
    background: var(--accent);
}

.video-section .view-all {
    color: var(--accent);
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
}

.video-card {
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition);
}

.video-card:hover {
    transform: translateY(-3px);
}

.video-card.video-featured {
    grid-column: span 2;
    grid-row: span 2;
}

.video-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.video-featured .video-thumb {
    aspect-ratio: auto;
    height: 100%;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.video-card:hover .video-thumb img {
    transform: scale(1.05);
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(230, 57, 70, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    transition: all var(--transition);
}

.video-card:hover .video-play {
    background: var(--accent);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.8);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.video-info {
    padding: 14px 0;
}

.video-info h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin: 8px 0;
    line-height: 1.3;
}

.video-info h4 {
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
    line-height: 1.3;
    opacity: 0.9;
}

.video-views {
    font-size: 12px;
    opacity: 0.6;
}

/* ==================
   OPINION SECTION
   ================== */
.opinion-section {
    padding: 40px 0;
    background: var(--bg-white);
}

.opinion-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.opinion-cards {
    display: grid;
    gap: 20px;
}

.opinion-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border-light);
    transition: all var(--transition);
    cursor: pointer;
}

.opinion-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border);
}

.opinion-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    font-size: 14px;
    display: block;
}

.author-role {
    font-size: 12px;
    color: var(--text-light);
}

.opinion-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
    transition: color var(--transition);
}

.opinion-card:hover .opinion-title {
    color: var(--accent);
}

.opinion-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.opinion-time {
    font-size: 12px;
    color: var(--text-light);
}

/* ==================
   DUAL SECTION (Sports/Entertainment)
   ================== */
.dual-section {
    padding: 40px 0;
}

.dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.compact-list {
    display: flex;
    flex-direction: column;
}

.compact-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition);
    cursor: pointer;
}

.compact-item:last-child {
    border-bottom: none;
}

.compact-item:hover {
    padding-left: 8px;
}

.compact-item-image {
    width: 100px;
    height: 72px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.compact-item-body h4 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--transition);
}

.compact-item:hover .compact-item-body h4 {
    color: var(--accent);
}

.compact-item-body span {
    font-size: 12px;
    color: var(--text-light);
}

/* ==================
   FOOTER
   ================== */
.site-footer {
    background: var(--primary);
    color: rgba(255,255,255,0.85);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo .logo-text {
    color: #fff;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px;
    opacity: 0.75;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.footer-links-col h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-col a {
    font-size: 14px;
    opacity: 0.7;
    transition: all var(--transition);
}

.footer-links-col a:hover {
    opacity: 1;
    color: var(--accent);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 13px;
    opacity: 0.6;
}

.footer-ai-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    background: rgba(255,255,255,0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

/* ==================
   SCROLL TO TOP
   ================== */
.scroll-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 90;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
}

/* ==================
   ARTICLE PAGE
   ================== */
.article-hero {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.article-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 80px 0 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: #fff;
}

.article-page-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    line-height: 1.2;
    max-width: 800px;
}

.article-meta-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 16px;
    font-size: 14px;
    opacity: 0.85;
}

.article-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    padding: 40px 0;
    align-items: start;
}

.article-content {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text);
}

.article-content h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    margin: 32px 0 16px;
    color: var(--text);
}

.article-content h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin: 28px 0 14px;
    color: var(--text);
}

.article-content p {
    margin-bottom: 18px;
}

.article-content ul, .article-content ol {
    margin: 16px 0;
    padding-left: 24px;
    list-style: disc;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content img {
    border-radius: var(--radius);
    margin: 24px 0;
}

.article-content blockquote {
    border-left: 4px solid var(--accent);
    padding: 16px 24px;
    background: var(--border-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 24px 0;
    font-style: italic;
}

/* Article In-Content Ad */
.article-ad {
    margin: 32px 0;
    text-align: center;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 32px 0;
}

.share-label {
    font-weight: 600;
    font-size: 14px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: transform var(--transition);
}

.share-btn:hover { transform: scale(1.1); }
.share-btn.twitter { background: #1da1f2; }
.share-btn.facebook { background: #1877f2; }
.share-btn.linkedin { background: #0a66c2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.copy { background: var(--text-secondary); }

/* ==================
   RESPONSIVE
   ================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-side {
        flex-direction: row;
    }

    .content-grid,
    .opinion-grid,
    .article-content-wrapper {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .video-grid {
        grid-template-columns: 1fr 1fr;
    }

    .video-card.video-featured {
        grid-column: span 1;
        grid-row: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .sidebar-sticky {
        position: static;
    }
}

@media (max-width: 768px) {
    .header-top { display: none; }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
    }

    .main-nav.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1000;
    }

    .hero-side {
        flex-direction: column;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dual-grid {
        grid-template-columns: 1fr;
    }

    .article-card {
        grid-template-columns: 1fr;
    }

    .article-card-image {
        aspect-ratio: 16/9;
        min-height: auto;
    }

    .article-card-body {
        padding: 16px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .sidebar {
        grid-template-columns: 1fr;
    }

    .ad-leaderboard {
        height: 60px;
    }

    .breaking-badge {
        font-size: 10px;
        padding: 3px 10px;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }

    .hero-title {
        font-size: 20px;
    }

    .hero-overlay {
        padding: 60px 20px 20px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .opinion-card {
        padding: 16px;
    }
}

/* ==================
   ANIMATIONS
   ================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, var(--border-light) 25%, var(--border) 50%, var(--border-light) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton-text {
    height: 16px;
    margin-bottom: 8px;
    width: 100%;
}

.skeleton-text.short { width: 60%; }
.skeleton-title { height: 24px; margin-bottom: 12px; }
.skeleton-image { aspect-ratio: 16/10; }

/* Print */
@media print {
    .site-header, .breaking-news, .sidebar, .site-footer,
    .scroll-top, .ad-banner, .search-overlay { display: none; }

    .content-grid { grid-template-columns: 1fr; }
}
