/* ============================================
   RADAR NORTÃO - Portal de Notícias v2.0
   Design Moderno & Interativo
   ============================================ */

/* === VARIABLES === */
:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #ef4444;
    --accent-hover: #dc2626;
    --accent-glow: rgba(239,68,68,0.3);
    --blue: #3b82f6;
    --green: #22c55e;
    --orange: #f59e0b;
    --purple: #a855f7;
    --cyan: #06b6d4;

    --bg: #f8fafc;
    --bg-card: #ffffff;
    --bg-glass: rgba(255,255,255,0.7);
    --text: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 30px rgba(239,68,68,0.15);

    --font-title: 'Merriweather', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-accent: 'Oswald', sans-serif;

    --radius: 12px;
    --radius-sm: 8px;
    --radius-full: 50px;
    --gap: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --bg: #0f172a;
    --bg-card: #1e293b;
    --bg-glass: rgba(30,41,59,0.8);
    --text: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --border: #334155;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
    --shadow: 0 4px 20px rgba(0,0,0,0.3);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.4);
    --primary: #020617;
    --primary-light: #0f172a;
}

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: var(--blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: var(--font-body); }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* === LOADING SCREEN === */
.loading-screen {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--primary); z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loading-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-content { text-align: center; }
.loader-logo { display: flex; align-items: center; gap: 12px; justify-content: center; margin-bottom: 30px; }
.loader-icon {
    font-size: 48px; color: var(--accent);
    animation: loaderPulse 1.5s ease infinite;
}
@keyframes loaderPulse {
    0%,100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}
.loader-text {
    font-family: var(--font-accent); font-size: 2.2rem; font-weight: 700;
    color: white; letter-spacing: 3px;
}
.loader-text span { color: var(--accent); }
.loader-bar {
    width: 220px; height: 3px; background: rgba(255,255,255,0.1);
    border-radius: 10px; margin: 0 auto 16px; overflow: hidden;
}
.loader-bar-fill {
    width: 0%; height: 100%; border-radius: 10px;
    background: linear-gradient(90deg, var(--accent), var(--blue));
    transition: width 0.3s ease;
}
.loader-msg { color: rgba(255,255,255,0.5); font-size: 0.8rem; }

/* === READING PROGRESS BAR === */
.reading-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--blue), var(--purple));
    z-index: 10001; transition: width 0.1s linear;
}

/* === RIPPLE EFFECT === */
.ripple {
    position: absolute; border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transform: scale(0); animation: rippleAnim 0.6s linear;
    pointer-events: none;
}
@keyframes rippleAnim { to { transform: scale(4); opacity: 0; } }

/* === NOTIFICATION BELL === */
.notif-btn { position: relative; }
.notif-badge {
    position: absolute; top: -2px; right: -2px;
    background: var(--accent); color: white;
    font-size: 0.6rem; font-weight: 700;
    min-width: 16px; height: 16px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    animation: notifBounce 2s ease infinite;
}
@keyframes notifBounce {
    0%,100% { transform: scale(1); }
    10%,30% { transform: scale(1.3); }
    20% { transform: scale(0.9); }
}
.notif-dropdown {
    position: absolute; top: calc(100% + 10px); right: 0;
    width: 340px; max-height: 400px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow-lg);
    z-index: 1000; opacity: 0; visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    overflow: hidden;
}
.notif-dropdown.active { opacity: 1; visibility: visible; transform: translateY(0); }
.notif-dropdown-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 16px; border-bottom: 1px solid var(--border);
}
.notif-dropdown-header h4 { font-size: 0.9rem; font-weight: 700; }
.notif-clear {
    background: none; border: none; color: var(--accent);
    font-size: 0.75rem; font-weight: 600;
}
.notif-clear:hover { text-decoration: underline; }
.notif-list { max-height: 320px; overflow-y: auto; }
.notif-item {
    display: flex; gap: 10px; padding: 12px 16px;
    border-bottom: 1px solid var(--border); cursor: pointer;
    transition: background var(--transition);
}
.notif-item:hover { background: var(--bg); }
.notif-item.unread { background: rgba(59,130,246,0.05); }
.notif-item .notif-icon-wrap {
    width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--blue));
    color: white;
}
.notif-item .notif-icon-wrap .material-icons-round { font-size: 18px; }
.notif-item-body { flex: 1; }
.notif-item-body p { font-size: 0.8rem; line-height: 1.4; color: var(--text); }
.notif-item-body small { font-size: 0.7rem; color: var(--text-muted); }

/* === LIVE CLOCK === */
.header-clock {
    font-family: var(--font-accent); font-weight: 600;
    color: rgba(255,255,255,0.9); font-size: 0.82rem;
    background: rgba(255,255,255,0.1); padding: 2px 8px;
    border-radius: 4px; letter-spacing: 1px;
}

/* === SHARE POPUP === */
.share-popup {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
    z-index: 10000; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.share-popup.active { opacity: 1; visibility: visible; }
.share-popup-inner {
    background: var(--bg-card); border-radius: var(--radius);
    padding: 24px; width: 90%; max-width: 420px;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9); transition: transform 0.3s ease;
}
.share-popup.active .share-popup-inner { transform: scale(1); }
.share-popup-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px;
}
.share-popup-header h3 {
    display: flex; align-items: center; gap: 8px;
    font-size: 1rem; font-weight: 700;
}
.share-popup-close {
    background: none; border: none; color: var(--text-muted);
    font-size: 24px; transition: var(--transition);
}
.share-popup-close:hover { color: var(--accent); transform: rotate(90deg); }
.share-popup-title {
    font-size: 0.88rem; color: var(--text-secondary);
    margin-bottom: 20px; line-height: 1.4;
}
.share-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.share-btn {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; padding: 12px; border: 1px solid var(--border);
    border-radius: var(--radius-sm); background: var(--bg);
    color: var(--text); font-size: 0.82rem; font-weight: 600;
    transition: all 0.2s ease; position: relative; overflow: hidden;
}
.share-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.share-whatsapp:hover { background: #25d366; color: white; border-color: #25d366; }
.share-twitter:hover { background: #000; color: white; border-color: #000; }
.share-facebook:hover { background: #1877f2; color: white; border-color: #1877f2; }
.share-copy:hover { background: var(--accent); color: white; border-color: var(--accent); }
.share-btn.copied { background: var(--green) !important; color: white !important; border-color: var(--green) !important; }

/* === LOAD MORE BUTTON === */
.load-more-wrap { text-align: center; padding: 30px 0 10px; }
.btn-load-more {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--bg-card); border: 2px solid var(--border);
    padding: 12px 32px; border-radius: var(--radius-full);
    font-size: 0.88rem; font-weight: 600; color: var(--text);
    transition: all 0.3s ease; position: relative; overflow: hidden;
}
.btn-load-more:hover {
    background: var(--accent); color: white;
    border-color: var(--accent); transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
}
.btn-load-more .material-icons-round {
    transition: transform 0.3s ease;
}
.btn-load-more:hover .material-icons-round { transform: translateY(3px); }
.btn-load-more.loading {
    pointer-events: none; opacity: 0.7;
}
.btn-load-more.loading .material-icons-round {
    animation: spin 1s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* === CARD SHARE BUTTON === */
.card-share-btn {
    position: absolute; top: 12px; right: 12px;
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
    border: none; color: white; display: flex;
    align-items: center; justify-content: center;
    opacity: 0; transform: scale(0.8);
    transition: all 0.3s ease; z-index: 5;
}
.card-share-btn .material-icons-round { font-size: 16px; }
.news-card:hover .card-share-btn { opacity: 1; transform: scale(1); }
.card-share-btn:hover { background: var(--accent); transform: scale(1.1) !important; }

/* === HOVER PREVIEW TOOLTIP === */
.card-preview-tooltip {
    position: fixed; z-index: 9990;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow-lg);
    padding: 14px; width: 280px;
    opacity: 0; visibility: hidden;
    transition: opacity 0.2s ease;
    pointer-events: none;
}
.card-preview-tooltip.visible { opacity: 1; visibility: visible; }
.card-preview-tooltip img {
    width: 100%; height: 120px; object-fit: cover;
    border-radius: var(--radius-sm); margin-bottom: 10px;
}
.card-preview-tooltip h4 {
    font-size: 0.85rem; font-weight: 700; margin-bottom: 6px;
    font-family: var(--font-title); line-height: 1.3;
}
.card-preview-tooltip p {
    font-size: 0.76rem; color: var(--text-secondary); line-height: 1.4;
}

/* === WEATHER INTERACTIVE === */
.weather-big-icon { animation: weatherFloat 3s ease-in-out infinite; }
@keyframes weatherFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.weather-temp {
    font-size: 2.8rem; font-weight: 800; font-family: var(--font-accent);
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === TOAST NOTIFICATION === */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    transform: translateX(120%);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    max-width: 380px;
    backdrop-filter: blur(10px);
}
.toast.show { transform: translateX(0); }
.toast-icon { color: var(--accent); font-size: 24px; animation: ring 1s ease; }
@keyframes ring {
    0%,100% { transform: rotate(0); }
    20%,60% { transform: rotate(15deg); }
    40%,80% { transform: rotate(-15deg); }
}
.toast-body strong { font-size: 0.85rem; color: var(--text); }
.toast-body p { font-size: 0.8rem; color: var(--text-secondary); margin-top: 2px; }
.toast-close { background: none; border: none; font-size: 1.3rem; color: var(--text-muted); padding: 0 0 0 8px; }

/* === BREAKING BAR === */
.breaking-bar {
    background: linear-gradient(135deg, var(--accent), #b91c1c);
    color: white;
    position: relative;
    z-index: 1001;
    overflow: hidden;
}
.breaking-bar::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 200%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}
@keyframes shimmer { 100% { transform: translateX(100%); } }
.breaking-inner { display: flex; align-items: center; padding: 10px 0; gap: 16px; position: relative; }
.breaking-badge {
    display: flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.2); backdrop-filter: blur(4px);
    padding: 4px 12px; border-radius: var(--radius-full);
    font-family: var(--font-accent); font-size: 0.75rem; font-weight: 600;
    letter-spacing: 1.5px; white-space: nowrap;
}
.breaking-dot {
    width: 8px; height: 8px; background: white; border-radius: 50%;
    animation: blink 1s infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.breaking-ticker-wrap { flex: 1; overflow: hidden; }
.breaking-ticker p {
    white-space: nowrap; font-weight: 500; font-size: 0.88rem;
    animation: tickerSlide 18s linear infinite;
}
@keyframes tickerSlide { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }
.breaking-close {
    background: rgba(255,255,255,0.15); border: none; color: white;
    width: 28px; height: 28px; border-radius: 50%;
    font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.breaking-close:hover { background: rgba(255,255,255,0.3); }
.breaking-bar.hidden { display: none; }

/* === HEADER === */
.header {
    position: sticky; top: 0; z-index: 1000;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }

.header-top {
    background: var(--primary);
    color: rgba(255,255,255,0.85);
    font-size: 0.78rem;
    padding: 5px 0;
}
.header-top-inner { display: flex; justify-content: space-between; align-items: center; }
.header-date { display: flex; align-items: center; gap: 6px; opacity: 0.8; }
.header-top-right { display: flex; align-items: center; gap: 16px; }
.header-top-right a {
    color: rgba(255,255,255,0.75);
    display: flex; align-items: center; gap: 4px;
    font-size: 0.78rem; transition: var(--transition);
}
.header-top-right a .material-icons-round { font-size: 14px; }
.header-top-right a:hover { color: white; }
.theme-toggle {
    background: rgba(255,255,255,0.1); border: none; color: rgba(255,255,255,0.8);
    width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.theme-toggle:hover { background: rgba(255,255,255,0.2); transform: rotate(30deg); }
.theme-toggle .material-icons-round { font-size: 18px; }

/* Header Main */
.header-main { padding: 12px 0; }
.header-main-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--accent), #b91c1c);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: white; box-shadow: 0 4px 12px var(--accent-glow);
    transition: var(--transition);
}
.logo-icon .material-icons-round { font-size: 24px; }
.logo:hover .logo-icon { transform: scale(1.05); box-shadow: 0 6px 20px var(--accent-glow); }
.logo-text { display: flex; flex-direction: column; }
.logo-name {
    font-family: var(--font-accent); font-size: 1.5rem; font-weight: 700;
    letter-spacing: -0.5px; color: var(--text); line-height: 1.1;
}
.logo-accent { color: var(--accent); }
.logo-tagline { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; }

/* Search */
.search-wrapper {
    flex: 1; max-width: 420px;
    display: flex; align-items: center; position: relative;
    background: var(--bg); border: 2px solid var(--border);
    border-radius: var(--radius-full); padding: 0 16px;
    transition: var(--transition);
}
.search-wrapper:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.search-icon-left { color: var(--text-muted); font-size: 20px; }
.search-wrapper input {
    flex: 1; border: none; background: none; padding: 10px 12px;
    font-size: 0.9rem; color: var(--text); outline: none; font-family: var(--font-body);
}
.search-wrapper input::placeholder { color: var(--text-muted); }

/* Search Dropdown */
.search-dropdown {
    display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    max-height: 400px; overflow-y: auto; z-index: 1000;
}
.search-dropdown-item {
    display: flex; gap: 12px; padding: 12px 16px; text-decoration: none; color: var(--text);
    transition: background 0.2s;
}
.search-dropdown-item:hover { background: var(--bg-alt); }
.search-dropdown-item img { width: 60px; height: 42px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.search-dropdown-item div { min-width: 0; }
.search-dropdown-item strong { display: block; font-size: 0.85rem; line-height: 1.3; margin-bottom: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-dropdown-item span { font-size: 0.75rem; color: var(--text-muted); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-dropdown-empty { padding: 20px; text-align: center; color: var(--text-muted); font-size: 0.9rem; }

/* === COTAÇÕES TICKER ANIMADO (Página Economia) === */
.cat-cotacoes-ticker {
    display: flex;
    align-items: stretch;
    background: var(--primary);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.cat-cot-label {
    display: flex; align-items: center; gap: 6px;
    background: var(--accent); color: white;
    padding: 12px 18px; font-family: var(--font-accent);
    font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px;
    white-space: nowrap; text-transform: uppercase; flex-shrink: 0;
    position: relative; z-index: 2;
}
.cat-cot-label::after {
    content: ''; position: absolute; right: -12px; top: 0; bottom: 0;
    width: 24px; background: var(--accent);
    clip-path: polygon(0 0, 0% 100%, 100% 50%);
}
.cat-cot-label .material-icons-round { font-size: 16px; }
.cat-cot-track {
    flex: 1; overflow: hidden; position: relative;
    mask-image: linear-gradient(90deg, transparent, black 30px, black calc(100% - 30px), transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 30px, black calc(100% - 30px), transparent);
}
.cat-cot-content {
    display: flex; width: max-content;
    animation: catCotScroll 35s linear infinite;
}
.cat-cot-content:hover { animation-play-state: paused; }
@keyframes catCotScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.cat-cot-item {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 20px; white-space: nowrap;
    border-right: 1px solid rgba(255,255,255,0.06);
    cursor: default; transition: background 0.2s;
}
.cat-cot-item:hover { background: rgba(255,255,255,0.06); }
.cat-cot-ico { color: rgba(255,255,255,0.35); font-size: 16px; }
.cat-cot-name { color: rgba(255,255,255,0.55); font-size: 0.75rem; font-weight: 500; }
.cat-cot-val { color: white; font-weight: 700; font-size: 0.85rem; font-family: var(--font-accent); }
.cat-cot-chg { display: flex; align-items: center; font-size: 0.75rem; font-weight: 700; font-family: var(--font-accent); }
.cat-cot-chg .material-icons-round { font-size: 15px; }
.cat-cot-item.cot-up .cat-cot-chg { color: #22c55e; }
.cat-cot-item.cot-down .cat-cot-chg { color: #ef4444; }
@media (max-width: 768px) {
    .cat-cotacoes-ticker { border-radius: 8px; }
    .cat-cot-label { padding: 10px 12px; font-size: 0.65rem; }
    .cat-cot-item { padding: 10px 14px; gap: 6px; }
    .cat-cot-val { font-size: 0.78rem; }
}

/* === HERO CAROUSEL (Páginas de Categoria) === */
.cat-hero-carousel {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.cat-hero-track { position: relative; width: 100%; height: 100%; }
.cat-hero-slide {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity 0.6s ease;
    cursor: pointer;
}
.cat-hero-slide.active { opacity: 1; z-index: 1; }
.cat-hero-slide img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.cat-hero-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 32px 28px 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: #fff;
}
.cat-hero-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.cat-hero-title {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 8px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.cat-hero-excerpt {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.85;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    margin-bottom: 8px;
}
.cat-hero-time {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 0.8rem; opacity: 0.7;
}
.cat-hero-time .material-icons-round { font-size: 0.9rem; }
.cat-hero-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 5; background: rgba(255,255,255,0.2); border: none;
    color: #fff; width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; backdrop-filter: blur(4px);
    transition: background 0.2s;
}
.cat-hero-btn:hover { background: rgba(255,255,255,0.4); }
.cat-hero-prev { left: 12px; }
.cat-hero-next { right: 12px; }
.cat-hero-dots {
    position: absolute; bottom: 12px; left: 50%;
    transform: translateX(-50%); z-index: 5;
    display: flex; gap: 8px;
}
.cat-hero-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,0.4); border: none;
    cursor: pointer; transition: background 0.2s, transform 0.2s;
}
.cat-hero-dot.active { background: #fff; transform: scale(1.3); }

@media (max-width: 768px) {
    .cat-hero-carousel { height: 280px; border-radius: 12px; }
    .cat-hero-title { font-size: 1.15rem; }
    .cat-hero-excerpt { display: none; }
    .cat-hero-overlay { padding: 20px 16px 16px; }
    .cat-hero-btn { width: 36px; height: 36px; }
    .cat-cotacoes-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
    .cat-cotacoes-panel { padding: 16px; }
    .cot-card { padding: 10px; }
    .cot-card-value { font-size: 0.95rem; }
}

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--bg); border: 1px solid var(--border);
    display: none; align-items: center; justify-content: center;
    color: var(--text); transition: var(--transition);
}
.icon-btn:hover { background: var(--accent); color: white; border-color: var(--accent); }

/* Nav */
.nav { background: var(--bg-card); border-top: 1px solid var(--border); }
.nav-list {
    display: flex; list-style: none; gap: 0;
    overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.nav-list::-webkit-scrollbar { display: none; }
.nav-list a {
    display: flex; align-items: center; gap: 5px;
    padding: 12px 16px; color: var(--text-secondary);
    font-weight: 500; font-size: 0.82rem; text-transform: uppercase;
    letter-spacing: 0.5px; white-space: nowrap;
    border-bottom: 3px solid transparent; margin-bottom: -1px;
    transition: var(--transition); position: relative;
}
.nav-list a .material-icons-round { font-size: 16px; }
.nav-list a:hover { color: var(--accent); }
.nav-list a.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 700; }

/* === HERO CAROUSEL === */
.hero-carousel {
    position: relative;
    height: 520px;
    overflow: hidden;
    background: #000;
}
.hero-slides { position: relative; height: 100%; }
.hero-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.55);
}
.hero-slide-content {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 60px 40px 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white; z-index: 3;
}
.hero-slide-cat {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--accent); color: white;
    padding: 5px 14px; border-radius: var(--radius-full);
    font-family: var(--font-accent); font-size: 0.72rem;
    text-transform: uppercase; letter-spacing: 1.5px;
    margin-bottom: 14px; font-weight: 600;
}
.hero-slide-title {
    font-family: var(--font-title); font-size: 2.2rem; font-weight: 900;
    line-height: 1.2; margin-bottom: 10px; max-width: 700px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.hero-slide-excerpt {
    font-size: 1rem; opacity: 0.85; max-width: 600px; line-height: 1.6;
}
.hero-slide-time {
    display: flex; align-items: center; gap: 5px;
    font-size: 0.8rem; opacity: 0.6; margin-top: 12px;
}
.hero-slide-time .material-icons-round { font-size: 14px; }

/* Hero Controls */
.hero-controls {
    position: absolute; top: 50%; z-index: 5;
    width: 100%; display: flex; justify-content: space-between;
    padding: 0 16px; transform: translateY(-50%);
    pointer-events: none;
}
.hero-btn {
    pointer-events: auto;
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,0.15); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    color: white; display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.hero-btn:hover { background: var(--accent); border-color: var(--accent); transform: scale(1.1); }
.hero-btn .material-icons-round { font-size: 28px; }

/* Hero Dots */
.hero-dots {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 5;
}
.hero-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,0.4); border: none; cursor: pointer;
    transition: var(--transition);
}
.hero-dot.active { background: var(--accent); width: 28px; border-radius: 5px; }

/* Hero Sidebar Float */
.hero-sidebar-float {
    position: absolute; right: 20px; top: 20px; bottom: 80px;
    width: 340px; z-index: 5;
    display: flex; flex-direction: column; gap: 8px;
    overflow-y: auto;
}
.hero-side-item {
    background: rgba(0,0,0,0.55); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm); padding: 12px;
    display: flex; gap: 12px; cursor: pointer;
    transition: var(--transition); color: white;
}
.hero-side-item:hover {
    background: rgba(255,255,255,0.15); transform: translateX(-4px);
}
.hero-side-item img {
    width: 90px; height: 60px; object-fit: cover;
    border-radius: 6px; flex-shrink: 0;
}
.hero-side-item .hsi-cat {
    font-size: 0.65rem; color: var(--accent);
    font-family: var(--font-accent); text-transform: uppercase;
    letter-spacing: 1px;
}
.hero-side-item .hsi-title {
    font-size: 0.82rem; font-weight: 600; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.hero-side-item .hsi-time { font-size: 0.7rem; opacity: 0.5; margin-top: 4px; }

/* === INDICATORS TICKER CONTÍNUO === */
.indicators-strip {
    background: var(--primary); padding: 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex; align-items: stretch; overflow: hidden;
}
.ticker-label {
    display: flex; align-items: center; gap: 6px;
    background: var(--accent); color: white;
    padding: 10px 18px; font-family: var(--font-accent);
    font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px;
    white-space: nowrap; text-transform: uppercase; flex-shrink: 0;
    position: relative; z-index: 2;
}
.ticker-label::after {
    content: ''; position: absolute; right: -12px; top: 0; bottom: 0;
    width: 24px; background: var(--accent);
    clip-path: polygon(0 0, 0% 100%, 100% 50%);
}
.ticker-label .material-icons-round { font-size: 16px; }
.ticker-track {
    flex: 1; overflow: hidden; position: relative;
    mask-image: linear-gradient(90deg, transparent, black 40px, black calc(100% - 40px), transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 40px, black calc(100% - 40px), transparent);
}
.ticker-content {
    display: flex; width: max-content;
    animation: tickerScroll 40s linear infinite;
}
.ticker-content:hover { animation-play-state: paused; }
@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.indicator-item {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 22px; white-space: nowrap;
    border-right: 1px solid rgba(255,255,255,0.06);
    transition: var(--transition); cursor: default;
}
.indicator-item:hover { background: rgba(255,255,255,0.06); }
.ind-icon { color: rgba(255,255,255,0.35); font-size: 16px; }
.ind-name { color: rgba(255,255,255,0.5); font-size: 0.72rem; font-weight: 500; }
.ind-val { color: white; font-weight: 700; font-size: 0.82rem; font-family: var(--font-accent); }
.ind-change { display: flex; align-items: center; font-size: 0.72rem; font-weight: 700; font-family: var(--font-accent); }
.ind-change .material-icons-round { font-size: 16px; }
.ind-change.up { color: #22c55e; }
.ind-change.down { color: #ef4444; }

/* === TRENDING TOPICS === */
.trending-strip {
    background: var(--bg-card); border-bottom: 1px solid var(--border);
    padding: 10px 0;
}
.trending-inner { display: flex; align-items: center; gap: 14px; overflow-x: auto; scrollbar-width: none; }
.trending-inner::-webkit-scrollbar { display: none; }
.trending-label {
    display: flex; align-items: center; gap: 5px;
    font-family: var(--font-accent); font-size: 0.78rem;
    font-weight: 600; color: var(--accent); text-transform: uppercase;
    letter-spacing: 1px; white-space: nowrap;
}
.trending-label .material-icons-round { font-size: 18px; }
.trending-tags { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.trending-tags::-webkit-scrollbar { display: none; }
.trending-tag {
    padding: 5px 14px; border-radius: var(--radius-full);
    background: var(--bg); border: 1px solid var(--border);
    font-size: 0.78rem; font-weight: 600; color: var(--text-secondary);
    white-space: nowrap; transition: var(--transition);
}
.trending-tag:hover {
    background: var(--accent); color: white; border-color: var(--accent);
    transform: translateY(-1px); box-shadow: 0 3px 10px var(--accent-glow);
}

/* === HERO PROGRESS BAR === */
.hero-progress {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px; background: rgba(255,255,255,0.15); z-index: 6;
}
.hero-progress-bar {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--orange));
    transition: width 0.1s linear;
}

/* === ÚLTIMAS NOTÍCIAS TABS === */
.ultimas-section {
    padding: 40px 0 30px;
    background: var(--bg);
}
.tabs-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.tabs-title {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--font-accent); font-size: 1.4rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.tabs-title .material-icons-round { color: var(--accent); font-size: 28px; }
.tabs-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.tab-btn {
    padding: 8px 18px; border-radius: var(--radius-full);
    border: 2px solid var(--border); background: var(--bg-card);
    font-weight: 600; font-size: 0.82rem; color: var(--text-secondary);
    transition: var(--transition);
}
.tab-btn:hover { border-color: var(--accent); color: var(--accent); }
.tab-btn.active {
    background: var(--accent); border-color: var(--accent);
    color: white; box-shadow: 0 4px 12px var(--accent-glow);
}
.ultimas-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap);
}

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

/* === NEWS SECTIONS === */
.news-section { margin-bottom: 48px; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.section-title {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-accent); font-size: 1.3rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.section-badge {
    width: 36px; height: 36px; border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: white; box-shadow: var(--shadow-sm);
}
.section-badge .material-icons-round { font-size: 20px; }
.section-more {
    display: flex; align-items: center; gap: 4px;
    font-size: 0.85rem; font-weight: 600; color: var(--accent);
    padding: 6px 14px; border-radius: var(--radius-full);
    border: 1px solid var(--accent); transition: var(--transition);
}
.section-more:hover { background: var(--accent); color: white; }
.section-more .material-icons-round { font-size: 16px; transition: transform 0.2s; }
.section-more:hover .material-icons-round { transform: translateX(3px); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }

/* === NEWS CARD === */
.news-card {
    background: var(--bg-card); border-radius: var(--radius);
    overflow: hidden; cursor: pointer;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}
.news-card::before {
    content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transform: skewX(-25deg); z-index: 10;
    transition: left 0.6s ease; pointer-events: none;
}
.news-card:hover::before { left: 125%; }
.news-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px; background: linear-gradient(90deg, var(--accent), var(--blue));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s ease;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card:hover::after { transform: scaleX(1); }
.card-image { position: relative; padding-top: 56.25%; overflow: hidden; background: var(--bg); }
.card-image img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; transition: transform 0.6s ease;
}
.news-card:hover .card-image img { transform: scale(1.08); }
.card-image .card-cat-badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--accent); color: white;
    padding: 3px 10px; border-radius: var(--radius-full);
    font-family: var(--font-accent); font-size: 0.65rem;
    text-transform: uppercase; letter-spacing: 1px; font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.card-image .card-read-time {
    position: absolute; bottom: 10px; right: 10px;
    background: rgba(0,0,0,0.65); backdrop-filter: blur(4px);
    color: white; padding: 2px 8px; border-radius: 4px;
    font-size: 0.68rem; font-weight: 500;
    display: flex; align-items: center; gap: 3px;
}
.card-image .card-read-time .material-icons-round { font-size: 12px; }
.card-body { padding: 16px; }
.card-title {
    font-family: var(--font-title); font-size: 0.98rem; font-weight: 700;
    line-height: 1.4; color: var(--text); margin-bottom: 8px;
    display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3;
    -webkit-box-orient: vertical; overflow: hidden;
    transition: color var(--transition);
}
.news-card:hover .card-title { color: var(--accent); }
.card-excerpt {
    font-size: 0.84rem; color: var(--text-secondary); line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px;
}
.card-meta {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.75rem; color: var(--text-muted);
    padding-top: 10px; border-top: 1px solid var(--border);
}
.card-time { display: flex; align-items: center; gap: 4px; }
.card-time .material-icons-round { font-size: 14px; }
.card-views { display: flex; align-items: center; gap: 3px; font-size: 0.72rem; }
.card-views .material-icons-round { font-size: 13px; }
.card-read-more {
    display: flex; align-items: center; gap: 3px;
    font-weight: 600; color: var(--accent); font-size: 0.75rem;
    opacity: 0; transition: opacity var(--transition);
}
.card-read-more .material-icons-round { font-size: 14px; transition: transform 0.2s; }
.news-card:hover .card-read-more { opacity: 1; }
.news-card:hover .card-read-more .material-icons-round { transform: translateX(3px); }

/* Card entrance animation */
@keyframes cardFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.news-card.animate-in { animation: cardFadeIn 0.5s ease forwards; }

/* === SIDEBAR === */
.sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 140px; }
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0; overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.glass-card:hover { box-shadow: var(--shadow); }

/* Widget Tabs */
.widget-tabs { display: flex; border-bottom: 1px solid var(--border); }
.wtab {
    flex: 1; padding: 14px 12px;
    display: flex; align-items: center; justify-content: center; gap: 5px;
    background: none; border: none; border-bottom: 3px solid transparent;
    font-weight: 600; font-size: 0.8rem; color: var(--text-muted);
    transition: var(--transition);
}
.wtab .material-icons-round { font-size: 16px; }
.wtab:hover { color: var(--text); background: var(--bg); }
.wtab.active { color: var(--accent); border-bottom-color: var(--accent); }
.wtab-content { display: none; padding: 16px; }
.wtab-content.active { display: block; }

/* Widget Title */
.widget-title {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--font-accent); font-size: 1rem;
    text-transform: uppercase; letter-spacing: 1px;
    padding: 16px; border-bottom: 1px solid var(--border);
    margin: 0; color: var(--text);
}
.widget-title .material-icons-round { font-size: 20px; color: var(--accent); }

/* Mais Lidas */
.mais-lidas-list { list-style: none; counter-reset: ml; }
.mais-lidas-list li {
    counter-increment: ml;
    display: flex; gap: 12px; align-items: flex-start;
    padding: 12px 0; border-bottom: 1px solid var(--border);
    cursor: pointer; transition: var(--transition);
}
.mais-lidas-list li:last-child { border-bottom: none; }
.mais-lidas-list li:hover { padding-left: 6px; }
.mais-lidas-list li::before {
    content: counter(ml);
    font-family: var(--font-accent); font-size: 1.6rem; font-weight: 700;
    min-width: 28px; line-height: 1; flex-shrink: 0;
}
.mais-lidas-list li:nth-child(1)::before { color: var(--accent); }
.mais-lidas-list li:nth-child(2)::before { color: var(--orange); }
.mais-lidas-list li:nth-child(3)::before { color: var(--blue); }
.mais-lidas-list li:nth-child(n+4)::before { color: var(--text-muted); }
.ml-cat { font-size: 0.65rem; color: var(--accent); font-family: var(--font-accent); text-transform: uppercase; letter-spacing: 0.5px; }
.ml-title { font-size: 0.85rem; font-weight: 600; line-height: 1.35; color: var(--text); }
.mais-lidas-list li:hover .ml-title { color: var(--accent); }

/* Enquete */
.enquete-question { font-weight: 600; font-size: 0.95rem; padding: 16px; padding-bottom: 8px; }
#enqueteForm { padding: 0 16px 16px; }
.enquete-option {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; margin-bottom: 6px;
    border: 2px solid var(--border); border-radius: var(--radius-sm);
    cursor: pointer; font-size: 0.88rem; transition: var(--transition);
    position: relative;
}
.enquete-option:hover { border-color: var(--accent); background: rgba(239,68,68,0.04); }
.enquete-option input { display: none; }
.radio-custom {
    width: 18px; height: 18px; border-radius: 50%;
    border: 2px solid var(--border); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.radio-custom::after {
    content: ''; width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent); transform: scale(0);
    transition: transform 0.2s ease;
}
.enquete-option input:checked ~ .radio-custom { border-color: var(--accent); }
.enquete-option input:checked ~ .radio-custom::after { transform: scale(1); }
.btn-votar {
    width: 100%; padding: 12px;
    background: linear-gradient(135deg, var(--accent), #b91c1c);
    color: white; border: none; border-radius: var(--radius-sm);
    font-weight: 700; font-size: 0.9rem;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 12px; transition: var(--transition);
    box-shadow: 0 4px 12px var(--accent-glow);
}
.btn-votar:hover { transform: translateY(-2px); box-shadow: 0 6px 20px var(--accent-glow); }
.enquete-results { padding: 16px; }
.result-bar { margin-bottom: 10px; }
.result-label { display: flex; justify-content: space-between; font-size: 0.82rem; margin-bottom: 4px; font-weight: 500; }
.result-track { height: 10px; background: var(--bg); border-radius: var(--radius-full); overflow: hidden; }
.result-fill {
    height: 100%; border-radius: var(--radius-full);
    background: linear-gradient(90deg, var(--accent), var(--orange));
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Weather */
.weather-widget .widget-title { border-bottom: none; }
.weather-body { padding: 0 16px 16px; }
.weather-main { display: flex; align-items: center; justify-content: center; gap: 12px; }
.weather-icon-wrap {
    width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(59,130,246,0.3);
}
.weather-big-icon { font-size: 32px; color: white; }
.weather-desc { text-align: center; color: var(--text-secondary); font-size: 0.9rem; margin: 8px 0 14px; }
.weather-details {
    display: flex; justify-content: center; gap: 16px;
    padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.wd-item { display: flex; align-items: center; gap: 4px; font-size: 0.8rem; color: var(--text-secondary); }
.wd-item .material-icons-round { font-size: 16px; color: var(--blue); }
.weather-forecast { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 14px; }
.wf-day {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 10px 6px; border-radius: var(--radius-sm);
    background: var(--bg); font-size: 0.78rem; font-weight: 500;
}
.wf-day .material-icons-round { font-size: 20px; color: var(--orange); }

/* Social Grid */
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 16px; }
.social-card {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 16px 10px; border-radius: var(--radius-sm);
    color: white; transition: var(--transition);
}
.social-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: white; }
.social-count { font-weight: 700; font-size: 1rem; }
.social-label { font-size: 0.7rem; opacity: 0.8; }
.social-card.facebook { background: linear-gradient(135deg, #1877F2, #0d5bbd); }
.social-card.instagram { background: linear-gradient(135deg, #f09433, #dc2743, #bc1888); }
.social-card.youtube { background: linear-gradient(135deg, #FF0000, #cc0000); }
.social-card.whatsapp { background: linear-gradient(135deg, #25D366, #128C7E); }

/* === VIDEO SECTION === */
.video-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--gap); }
.video-grid .video-card:first-child { grid-column: 1 / 3; grid-row: 1 / 3; }
.video-card {
    position: relative; border-radius: var(--radius); overflow: hidden;
    cursor: pointer; background: #000;
}
.video-card:first-child { aspect-ratio: auto; min-height: 300px; }
.video-card:not(:first-child) { aspect-ratio: 16/9; }
.video-card img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.7); transition: var(--transition); }
.video-card:hover img { filter: brightness(0.4); transform: scale(1.05); }
.video-play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(255,255,255,0.9); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition); box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.video-card:hover .video-play { transform: translate(-50%,-50%) scale(1.15); background: var(--accent); color: white; }
.video-play .material-icons-round { font-size: 32px; }
.video-info {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 20px 14px 14px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85)); color: white;
}
.video-info h4 { font-size: 0.88rem; font-weight: 600; line-height: 1.3; }
.video-info .video-views {
    display: flex; align-items: center; gap: 4px;
    font-size: 0.72rem; opacity: 0.6; margin-top: 6px;
}
.video-info .video-views .material-icons-round { font-size: 14px; }
.video-duration {
    position: absolute; top: 10px; right: 10px;
    background: rgba(0,0,0,0.8); padding: 3px 10px;
    border-radius: 4px; font-size: 0.72rem; color: white; font-weight: 600;
    font-family: var(--font-accent); letter-spacing: 0.5px;
}

/* === NEWSLETTER === */
.newsletter-section {
    position: relative; overflow: hidden;
    padding: 60px 0; margin-top: 40px;
    background: linear-gradient(135deg, var(--primary), #1e3a5f);
    color: white;
}
.newsletter-bg {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(239,68,68,0.2), transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(59,130,246,0.15), transparent 50%);
    pointer-events: none;
}
.newsletter-inner { position: relative; text-align: center; max-width: 560px; margin: 0 auto; }
.newsletter-icon {
    width: 60px; height: 60px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--orange));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px; box-shadow: 0 4px 20px rgba(239,68,68,0.4);
}
.newsletter-icon .material-icons-round { font-size: 30px; color: white; }
.newsletter-inner h2 { font-family: var(--font-title); font-size: 1.8rem; margin-bottom: 8px; }
.newsletter-inner p { opacity: 0.8; font-size: 0.95rem; margin-bottom: 24px; }
.newsletter-form { display: flex; gap: 0; border-radius: var(--radius-full); overflow: hidden; box-shadow: var(--shadow-lg); }
.nl-input-wrap {
    flex: 1; display: flex; align-items: center; gap: 10px;
    background: white; padding: 0 18px;
}
.nl-input-wrap .material-icons-round { color: var(--text-muted); font-size: 20px; }
.nl-input-wrap input { flex: 1; border: none; padding: 16px 0; font-size: 0.95rem; outline: none; color: #333; font-family: var(--font-body); }
.btn-newsletter {
    display: flex; align-items: center; gap: 6px;
    background: linear-gradient(135deg, var(--accent), #b91c1c);
    color: white; border: none; padding: 16px 28px;
    font-weight: 700; font-size: 0.9rem; white-space: nowrap;
    transition: var(--transition);
}
.btn-newsletter:hover { filter: brightness(1.1); }
.btn-newsletter .material-icons-round { font-size: 18px; }
.newsletter-note { font-size: 0.75rem; opacity: 0.5; margin-top: 12px; }

/* === FOOTER === */
.footer {
    background: var(--primary); color: rgba(255,255,255,0.8);
    padding: 0 0 20px; position: relative;
}
.footer-wave { color: var(--primary); margin-top: -1px; }
.footer-wave svg { display: block; width: 100%; height: 50px; }
.footer-top {
    display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 30px; padding: 30px 0 30px;
}
.footer-brand .footer-logo { margin-bottom: 14px; }
.footer-brand .logo-icon { background: linear-gradient(135deg, var(--accent), #b91c1c); }
.footer-brand .logo-name { color: white; }
.footer-brand .logo-tagline { color: rgba(255,255,255,0.5); }
.footer-desc { font-size: 0.85rem; line-height: 1.7; opacity: 0.7; }
.footer-col h4 {
    font-family: var(--font-accent); font-size: 0.9rem; text-transform: uppercase;
    letter-spacing: 1.5px; color: white; margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; display: flex; align-items: center; gap: 6px; font-size: 0.85rem; }
.footer-col ul li .material-icons-round { font-size: 16px; color: var(--accent); }
.footer-col ul a { color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-col ul a:hover { color: white; padding-left: 4px; }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.78rem; opacity: 0.5; flex-wrap: wrap; gap: 10px;
}
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { color: rgba(255,255,255,0.5); }
.footer-bottom-links a:hover { color: white; }

/* === BACK TO TOP === */
.back-to-top {
    position: fixed; bottom: 24px; right: 24px;
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #b91c1c);
    color: white; border: none;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px var(--accent-glow);
    opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: var(--transition); z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 8px 24px var(--accent-glow); }

/* === NAV OVERLAY === */
.nav-overlay {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
    z-index: 1999;
}
.nav-overlay.active { display: block; }

/* === SEARCH OVERLAY === */
.search-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8); backdrop-filter: blur(8px);
    z-index: 3000; display: none; align-items: flex-start;
    justify-content: center; padding: 80px 20px;
}
.search-overlay.active { display: flex; }
.search-overlay-inner {
    background: var(--bg-card); border-radius: var(--radius);
    width: 100%; max-width: 640px; max-height: 80vh; overflow-y: auto;
    box-shadow: var(--shadow-lg);
}
.search-overlay-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 24px; border-bottom: 1px solid var(--border);
}
.search-overlay-header h2 { font-family: var(--font-accent); font-size: 1.1rem; text-transform: uppercase; }
.search-overlay-close { background: none; border: none; color: var(--text-muted); padding: 4px; }
.search-overlay-close:hover { color: var(--accent); }
.search-overlay-input {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 24px; border-bottom: 1px solid var(--border);
}
.search-overlay-input .material-icons-round { color: var(--text-muted); font-size: 24px; }
.search-overlay-input input {
    flex: 1; border: none; background: none;
    font-size: 1.1rem; color: var(--text); outline: none;
    font-family: var(--font-body);
}
.search-results { padding: 16px 24px; }
.search-hint { color: var(--text-muted); font-size: 0.88rem; text-align: center; padding: 20px 0; }
.search-result-item {
    display: flex; gap: 14px; padding: 14px 0;
    border-bottom: 1px solid var(--border); cursor: pointer;
    transition: var(--transition);
}
.search-result-item:hover { padding-left: 6px; }
.search-result-item img { width: 100px; height: 66px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.sr-title { font-weight: 600; font-size: 0.92rem; color: var(--text); line-height: 1.4; margin-bottom: 4px; }
.sr-excerpt { font-size: 0.8rem; color: var(--text-secondary); }

/* === REVEAL ANIMATIONS === */
.reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* === SECTION DIVIDER === */
.section-divider {
    height: 1px; border: none; margin: 0 0 48px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* === LOADING SKELETON === */
@keyframes shimmerLoad {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}
.skeleton {
    background: linear-gradient(90deg, var(--bg) 0%, var(--border) 50%, var(--bg) 100%);
    background-size: 200px 100%;
    animation: shimmerLoad 1.5s infinite;
    border-radius: var(--radius-sm);
}

/* === RESPONSIVE === */
@media (max-width: 1100px) {
    .hero-sidebar-float { display: none; }
    .content-grid { grid-template-columns: 1fr 300px; }
    .ultimas-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .header-top { display: none; }
    .search-wrapper { display: none; }
    .icon-btn { display: flex; }
    .hero-carousel { height: 360px; }
    .hero-slide-title { font-size: 1.4rem; }
    .hero-slide-content { padding: 30px 20px 20px; }
    .hero-sidebar-float { display: none; }
    .ultimas-grid { grid-template-columns: repeat(2, 1fr); }
    .content-grid { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .video-grid { grid-template-columns: repeat(2, 1fr); }
    .video-grid .video-card:first-child { grid-column: 1 / -1; grid-row: auto; min-height: 200px; }
    .footer-top { grid-template-columns: 1fr; }
    .ticker-label { display: none; }
    .trending-inner { gap: 8px; }
    .trending-label { font-size: 0.7rem; }
    .nav {
        position: fixed; top: 0; left: -300px; width: 280px; height: 100vh;
        background: var(--bg-card); z-index: 2000; padding-top: 20px;
        transition: left 0.3s ease; box-shadow: var(--shadow-lg);
        border-top: none; overflow-y: auto;
    }
    .nav.open { left: 0; }
    .nav-list { flex-direction: column; padding: 20px; }
    .nav-list a { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
    .nav-list a .material-icons-round { font-size: 20px; }
    .newsletter-form { flex-direction: column; border-radius: var(--radius); }
    .nl-input-wrap { border-radius: var(--radius-sm); margin-bottom: 0; }
    .btn-newsletter { border-radius: 0 0 var(--radius-sm) var(--radius-sm); justify-content: center; padding: 16px; }
    .tabs-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
    .ultimas-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .video-grid { grid-template-columns: 1fr; }
    .video-grid .video-card:first-child { grid-column: auto; }
    .hero-carousel { height: 300px; }
    .hero-slide-title { font-size: 1.2rem; }
    .social-grid { grid-template-columns: 1fr 1fr; }
    .weather-forecast { grid-template-columns: repeat(4, 1fr); }
    .trending-strip { display: none; }
}
