/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== LIGHT THEME (DEFAULT) ===== */
:root {
    --primary: #E63946;
    --primary-dark: #C1121F;
    --primary-light: #FF6B6B;
    --secondary: #0D1B2A;
    --secondary-light: #1B263B;
    --accent: #F4A261;
    --bg: #F0F2F5;
    --bg-gradient: linear-gradient(135deg, #E8ECF1 0%, #F5F7FA 50%, #EDEEF2 100%);
    --white: #FFFFFF;
    --text: #1A1A2E;
    --text-secondary: #5A6270;
    --text-muted: #8E95A0;
    --border: rgba(0, 0, 0, 0.06);
    --shadow-color: 0, 0, 0;

    /* Glass surfaces */
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-bg-strong: rgba(255, 255, 255, 0.82);
    --glass-bg-card: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-border-subtle: rgba(255, 255, 255, 0.3);
    --glass-blur: 20px;
    --glass-blur-strong: 40px;

    /* Luminous glow */
    --glow-primary: rgba(230, 57, 70, 0.15);
    --glow-accent: rgba(244, 162, 97, 0.12);

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(var(--shadow-color), 0.04);
    --shadow-sm: 0 2px 8px rgba(var(--shadow-color), 0.05);
    --shadow: 0 4px 16px rgba(var(--shadow-color), 0.06), 0 1px 4px rgba(var(--shadow-color), 0.04);
    --shadow-md: 0 8px 32px rgba(var(--shadow-color), 0.08), 0 2px 8px rgba(var(--shadow-color), 0.04);
    --shadow-lg: 0 16px 48px rgba(var(--shadow-color), 0.10), 0 4px 16px rgba(var(--shadow-color), 0.05);
    --shadow-glow: 0 8px 32px rgba(230, 57, 70, 0.12), 0 0 0 1px rgba(230, 57, 70, 0.05);
    --shadow-card-hover: 0 20px 60px rgba(var(--shadow-color), 0.12), 0 0 0 1px rgba(230, 57, 70, 0.08);

    /* Radii */
    --radius: 16px;
    --radius-sm: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-pill: 50px;

    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== DARK THEME ===== */
html.dark {
    --bg: #0A0E1A;
    --bg-gradient: linear-gradient(135deg, #080C18 0%, #0F1425 50%, #0A0E1A 100%);
    --white: #141825;
    --text: #E8ECF2;
    --text-secondary: #9BA3B0;
    --text-muted: #5C6370;
    --border: rgba(255, 255, 255, 0.06);

    --glass-bg: rgba(20, 24, 37, 0.7);
    --glass-bg-strong: rgba(20, 24, 37, 0.88);
    --glass-bg-card: rgba(20, 24, 37, 0.75);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-subtle: rgba(255, 255, 255, 0.04);

    --shadow-color: 0, 0, 0;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.3), 0 1px 4px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 8px 32px rgba(230, 57, 70, 0.2), 0 0 0 1px rgba(230, 57, 70, 0.1);
    --shadow-card-hover: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(230, 57, 70, 0.15);

    --glow-primary: rgba(230, 57, 70, 0.25);
    --glow-accent: rgba(244, 162, 97, 0.2);
}

/* ===== BASE ===== */
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

ul { list-style: none; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--glass-blur-strong));
    -webkit-backdrop-filter: blur(var(--glass-blur-strong));
    color: var(--text-muted);
    font-size: 12px;
    padding: 8px 0;
    letter-spacing: 0.3px;
    border-bottom: 1px solid var(--glass-border-subtle);
    position: relative;
    z-index: 1001;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-links a {
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    transition: all var(--transition-fast);
    font-weight: 500;
    font-size: 12px;
}

.top-bar-links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.1);
}

/* Theme Toggle */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
    margin-left: 8px;
}

.theme-toggle:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: rotate(30deg) scale(1.1);
    box-shadow: var(--shadow-glow);
}

.theme-toggle svg {
    width: 16px;
    height: 16px;
}

.moon-icon { display: none; }
html.dark .sun-icon { display: none; }
html.dark .moon-icon { display: block; }

/* ===== HEADER ===== */
.main-header {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--glass-blur-strong));
    -webkit-backdrop-filter: blur(var(--glass-blur-strong));
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border-subtle);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

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

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.logo h1 {
    font-family: 'Merriweather', serif;
    font-size: 34px;
    font-weight: 900;
    color: var(--text);
    letter-spacing: -1px;
    transition: color var(--transition);
}

.logo h1 span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-social {
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--text-muted);
    transition: all var(--transition);
}

.header-social-icon:hover {
    color: var(--primary);
    background: rgba(230, 57, 70, 0.08);
    transform: translateY(-2px);
}

.header-search {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--glass-border);
    border-radius: var(--radius-pill);
    overflow: hidden;
    transition: all var(--transition);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-search:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--glow-primary), var(--shadow-sm);
    background: var(--glass-bg-strong);
}

.header-search input {
    border: none;
    outline: none;
    padding: 11px 20px;
    font-size: 14px;
    width: 280px;
    font-family: inherit;
    background: transparent;
    color: var(--text);
}

.header-search input::placeholder { color: var(--text-muted); }

.header-search button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    color: var(--white);
    padding: 11px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: all var(--transition);
    border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
    display: flex;
    align-items: center;
}

.header-search button:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
}

/* ===== NAVIGATION ===== */
.main-nav {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border-subtle);
}

.nav-list {
    display: flex;
    gap: 4px;
}

.nav-list li a {
    display: block;
    color: var(--text-secondary);
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition);
    position: relative;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 3px 3px 0 0;
    transition: width var(--transition);
}

.nav-list li a:hover::after,
.nav-list li a.active::after {
    width: 80%;
}

.nav-list li a:hover,
.nav-list li a.active {
    color: var(--text);
    background: rgba(230, 57, 70, 0.06);
}

/* ===== BREAKING NEWS ===== */
.breaking-news {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 50%, #922b21 100%);
    color: var(--white);
    padding: 4px 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}    .breaking-news .container {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
    z-index: 1;
}

@media (max-width: 480px) {
    .breaking-label { font-size: 11px; padding: 10px 16px; letter-spacing: 1px; }
    .ticker li { font-size: 12px; padding: 0 30px; }
}

.breaking-label {
    background: var(--white);
    color: var(--primary);
    font-weight: 800;
    font-size: 13px;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 2px;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.1);
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.04); opacity: 0.9; }
}

.ticker-wrap {
    overflow: hidden;
    flex: 1;
}

.ticker {
    display: flex;
    animation: tickerScroll 45s linear infinite;
    white-space: nowrap;
}

.ticker li {
    flex-shrink: 0;
    padding: 0 50px;
    font-size: 13px;
    font-weight: 500;
}

.ticker li a {
    color: var(--white);
    transition: opacity var(--transition-fast);
}

.ticker li a:hover { opacity: 0.8; }

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== ADS ===== */
.ad-container { padding: 0; }
.ad-container:empty { display: none; }

/* ===== SECTIONS ===== */
.section { margin-bottom: 44px; }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0;
    margin-bottom: 28px;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 4px;
}

.section-header h2 {
    font-family: 'Merriweather', serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
    transition: color var(--transition);
}

/* ===== CONTENT GRID ===== */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 370px;
    gap: 36px;
    padding: 32px 0;
}

/* ===== GLASS CARD MIXIN ===== */
.glass-card {
    background: var(--glass-bg-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.glass-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
    border-color: rgba(230, 57, 70, 0.12);
}

/* ===== FEATURED GRID ===== */
.featured-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 22px;
}

.featured-card a {
    display: block;
    background: var(--glass-bg-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.featured-card a:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-6px);
    border-color: rgba(230, 57, 70, 0.12);
}

.featured-card.large .card-image {
    height: 330px;
    position: relative;
    overflow: hidden;
}

.featured-card.large .card-image img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-card.large a:hover .card-image img {
    transform: scale(1.06);
}

.featured-card.large .card-body { padding: 22px; }

.featured-card.large h3 {
    font-family: 'Merriweather', serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 10px;
    color: var(--text);
    letter-spacing: -0.3px;
    transition: color var(--transition);
}

.featured-card.large p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 14px;
    transition: color var(--transition);
}

.featured-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.featured-card.small a {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 12px;
    background: var(--glass-bg-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.featured-card.small a:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(6px);
    border-color: rgba(230, 57, 70, 0.12);
}

.featured-card.small .card-image {
    width: 110px;
    height: 80px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.featured-card.small h4 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text);
    transition: color var(--transition);
}

.featured-card.small time {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
    display: block;
}

.category-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(230, 57, 70, 0.3);
}

.card-meta {
    display: flex;
    gap: 14px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== NEWS CARDS ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.news-card a {
    display: block;
    background: var(--glass-bg-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.news-card a:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-6px);
    border-color: rgba(230, 57, 70, 0.12);
}

.news-card .card-image {
    height: 195px;
    overflow: hidden;
    position: relative;
}

.news-card .card-image img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card a:hover .card-image img {
    transform: scale(1.08);
}

.news-card .card-body { padding: 18px; }

.category-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.category-tag.entertainment {
    background: linear-gradient(135deg, #8E44AD, #A569BD);
}

.news-card h3 {
    font-family: 'Merriweather', serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    color: var(--text);
    margin-bottom: 8px;
    transition: color var(--transition);
}

.news-card time {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== REVIEWS ===== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.review-card a {
    display: block;
    background: var(--glass-bg-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.review-card a:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-6px);
    border-color: rgba(230, 57, 70, 0.12);
}

.review-card .card-image {
    height: 255px;
    position: relative;
    overflow: hidden;
}

.review-card .card-image img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card a:hover .card-image img {
    transform: scale(1.06);
}

.rating-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, var(--accent), #E76F51);
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.review-card .card-body { padding: 18px; }

.review-card h3 {
    font-family: 'Merriweather', serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text);
    margin-bottom: 6px;
    transition: color var(--transition);
}

.review-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.55;
    transition: color var(--transition);
}

/* ===== TRENDING ===== */
.trending-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--glass-bg-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.trending-item {
    border-bottom: 1px solid var(--border);
    position: relative;
}

.trending-item:last-child { border-bottom: none; }

.trending-item a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    transition: all var(--transition-fast);
}

.trending-item a:hover {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.05) 0%, rgba(230, 57, 70, 0.02) 100%);
}

.trend-number {
    font-family: 'Merriweather', serif;
    font-size: 34px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 44px;
    text-align: center;
}

.small-thumb {
    width: 100px;
    height: 72px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.trending-item h4 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text);
    transition: color var(--transition);
}

.trending-item time {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    display: block;
    font-weight: 500;
}

/* ===== PHOTOS ===== */
.photos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.photo-card a {
    display: block;
    background: var(--glass-bg-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.photo-card a:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-6px);
    border-color: rgba(230, 57, 70, 0.12);
}

.photo-card .card-image {
    height: 195px;
    position: relative;
    overflow: hidden;
}

.photo-card .card-image img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.photo-card a:hover .card-image img {
    transform: scale(1.08);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 40px 14px 12px;
}

.photo-count {
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
}

.photo-card .card-body { padding: 16px; }

.photo-card h4 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text);
    transition: color var(--transition);
}

/* ===== SIDEBAR ===== */
.sidebar-widget {
    background: var(--glass-bg-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 22px;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.widget-title {
    font-family: 'Merriweather', serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
    padding-bottom: 14px;
    margin-bottom: 18px;
    position: relative;
    transition: color var(--transition);
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 3px;
}

/* Most Viewed */
.most-viewed-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.most-viewed-list li:last-child { border-bottom: none; }

.most-viewed-list a {
    display: flex;
    gap: 12px;
    align-items: center;
    transition: all var(--transition-fast);
}

.most-viewed-list a:hover { transform: translateX(4px); }

.most-viewed-list img {
    width: 72px;
    height: 54px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.most-viewed-list h4 {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text);
    transition: color var(--transition);
}

.most-viewed-list time {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
    display: block;
    font-weight: 500;
}

/* Updates List */
.updates-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.updates-list li:last-child { border-bottom: none; }

.updates-list a {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    transition: all var(--transition-fast);
}

.updates-list a:hover { transform: translateX(4px); }

.update-time {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    flex-shrink: 0;
}

.updates-list h4 {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text);
    transition: color var(--transition);
}

/* Newsletter */
.newsletter-widget {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--white);
    position: relative;
    overflow: hidden;
    border: none;
}

.newsletter-widget::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -60%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.25) 0%, transparent 70%);
    border-radius: 50%;
}

.newsletter-widget::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(244, 162, 97, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.newsletter-widget .widget-title { color: var(--white); }
.newsletter-widget .widget-title::after { background: var(--primary); }

.newsletter-widget p {
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.6;
    opacity: 0.85;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.newsletter-form input {
    padding: 13px 18px;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
    transition: all var(--transition);
}

.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.45); }

.newsletter-form input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.2);
}

.newsletter-form button {
    padding: 13px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all var(--transition);
    box-shadow: 0 4px 16px rgba(230, 57, 70, 0.3);
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(230, 57, 70, 0.4);
    filter: brightness(1.1);
}

/* ===== FOOTER ===== */
.main-footer {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--glass-blur-strong));
    -webkit-backdrop-filter: blur(var(--glass-blur-strong));
    color: var(--text-secondary);
    padding: 64px 0 0;
    margin-top: 64px;
    position: relative;
    border-top: 1px solid var(--glass-border);
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary-light), var(--primary));
}

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

.footer-logo {
    font-family: 'Merriweather', serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 16px;
    transition: color var(--transition);
}

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

.footer-col p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: 0.8;
}

/* Footer Social Links */
.social-links {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.social-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    color: var(--text-secondary);
    transition: all var(--transition);
}

html.dark .social-link-icon {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
}

.social-link-icon:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(230, 57, 70, 0.3);
}

.footer-col h4 {
    color: var(--text);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 22px;
    padding-bottom: 12px;
    position: relative;
    transition: color var(--transition);
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
    font-size: 14px;
    color: var(--text-muted);
    transition: all var(--transition-fast);
    font-weight: 500;
}

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

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    margin-top: 24px;
}

.footer-bottom p {
    font-size: 13px;
    opacity: 0.5;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 36px;
    right: 36px;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 32px rgba(230, 57, 70, 0.4);
}

/* ===== DARK THEME OVERRIDES ===== */
html.dark .newsletter-widget {
    background: linear-gradient(135deg, #1a1e30, #141825);
}

html.dark .social-tiktok {
    background: linear-gradient(135deg, #25F4EE, #FE2C55);
    color: #000;
}

html.dark .ticker li a,
html.dark .newsletter-form input,
html.dark .newsletter-form button,
html.dark .newsletter-widget p,
html.dark .newsletter-widget .widget-title {
    color: var(--white);
}

html.dark .newsletter-widget .widget-title {
    -webkit-text-fill-color: unset;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .content-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }

    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--glass-bg-strong);
        backdrop-filter: blur(var(--glass-blur-strong));
        -webkit-backdrop-filter: blur(var(--glass-blur-strong));
        z-index: 999;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-list.open { display: flex; }

    .header-social { display: none; }
    .header-search { display: none; }

    .featured-grid { grid-template-columns: 1fr; }

    .featured-card.large .card-image { height: 230px; }

    .featured-sidebar {
        flex-direction: row;
        overflow-x: auto;
        gap: 14px;
        padding-bottom: 8px;
    }

    .featured-card.small { min-width: 270px; }

    .news-grid,
    .news-grid.four-col { grid-template-columns: repeat(2, 1fr); }

    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .photos-grid { grid-template-columns: repeat(2, 1fr); }
    .content-sidebar { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }

    .container { padding: 0 16px; }
}

@media (max-width: 480px) {
    .top-bar .container { flex-direction: column; gap: 6px; }
    .logo h1 { font-size: 26px; }
    .section-header h2 { font-size: 20px; }

    .news-grid,
    .news-grid.four-col,
    .reviews-grid,
    .photos-grid { grid-template-columns: 1fr; }

    .featured-sidebar { flex-direction: column; }
    .featured-card.small { min-width: auto; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* ===== HERO CAROUSEL ===== */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 460px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin: 24px 0 40px;
    box-shadow: var(--shadow-lg);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: all;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 40%, transparent 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px 44px;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    width: fit-content;
}

.hero-overlay h2 {
    font-family: 'Merriweather', serif;
    font-size: 32px;
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.3;
    margin-bottom: 10px;
    max-width: 600px;
}

.hero-overlay p {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    max-width: 550px;
    margin-bottom: 16px;
}

.hero-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    right: 40px;
    display: flex;
    gap: 8px;
    z-index: 5;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: all var(--transition);
    border: none;
}

.hero-dot.active {
    background: var(--white);
    transform: scale(1.3);
}

.hero-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 5;
    pointer-events: none;
}

.hero-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    pointer-events: all;
}

.hero-arrow:hover {
    background: rgba(0,0,0,0.7);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .hero-carousel { height: 320px; border-radius: var(--radius-lg); }
    .hero-overlay { padding: 24px 20px; }
    .hero-overlay h2 { font-size: 22px; }
    .hero-overlay p { font-size: 13px; display: none; }
    .hero-dots { right: 20px; }
}

/* ===== PAGE TRANSITION OVERLAY ===== */
.page-transition {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.page-transition.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.page-transition.fade-in {
    opacity: 1;
    visibility: visible;
}

.page-transition.fade-out {
    opacity: 0;
    visibility: visible;
    pointer-events: none;
}

.transition-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

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

/* Content fade-in on load */
.main-content {
    animation: contentFadeIn 0.5s ease-out;
}

@keyframes contentFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Section stagger animation */
.section {
    animation: sectionSlideUp 0.6s ease-out both;
}

.section:nth-child(1) { animation-delay: 0.05s; }
.section:nth-child(2) { animation-delay: 0.1s; }
.section:nth-child(3) { animation-delay: 0.15s; }
.section:nth-child(4) { animation-delay: 0.2s; }
.section:nth-child(5) { animation-delay: 0.25s; }
.section:nth-child(6) { animation-delay: 0.3s; }
.section:nth-child(7) { animation-delay: 0.35s; }

@keyframes sectionSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Sidebar widget stagger */
.sidebar-widget {
    animation: widgetFadeIn 0.5s ease-out both;
}

.sidebar-widget:nth-child(1) { animation-delay: 0.1s; }
.sidebar-widget:nth-child(2) { animation-delay: 0.2s; }
.sidebar-widget:nth-child(3) { animation-delay: 0.3s; }
.sidebar-widget:nth-child(4) { animation-delay: 0.4s; }

@keyframes widgetFadeIn {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}
