/* ════════════════════════════════════════════════════════
   BrutoTech — Dark Neo-Editorial (orange edition)
   ════════════════════════════════════════════════════════ */

:root {
    color-scheme: dark;

    /* Surface */
    --bg: #0A0A0A;
    --bg-elevated: #121212;
    --card: #1A1A1A;
    --card-hover: #222222;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);
    --header-bg: rgba(10, 10, 10, 0.85);
    --search-bg: rgba(10, 10, 10, 0.95);
    --search-bg-mobile: rgba(10, 10, 10, 0.98);
    --cookie-bg: rgba(15, 15, 15, 0.96);
    --subtle-line: rgba(255, 255, 255, 0.04);
    --body-accent-1: rgba(255, 77, 0, 0.10);
    --body-accent-2: rgba(255, 184, 0, 0.04);

    /* Text */
    --text: #F5F5F7;
    --text-soft: #C9C9CD;
    --text-muted: #8A8A92;
    --text-faint: #555560;

    /* Accents — BrutoTech orange */
    --volt: #FF4D00;                         /* primary brand orange */
    --volt-glow: rgba(255, 77, 0, 0.35);
    --volt-bright: #FF6A2C;
    --hot: #FF2D1E;                          /* breaking news red */
    --neon: #FFB800;                         /* secondary amber */

    /* Type */
    --display: 'Bricolage Grotesque', 'Space Grotesk', system-ui, sans-serif;
    --body: 'Manrope', system-ui, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, monospace;

    /* Layout */
    --max: 1400px;
    --gutter: 1.5rem;
    --radius: 14px;
    --radius-sm: 8px;
}

html[data-theme="light"] {
    color-scheme: light;

    --bg: #F6F7F9;
    --bg-elevated: #FFFFFF;
    --card: #FFFFFF;
    --card-hover: #FFF4EE;
    --border: rgba(24, 26, 32, 0.10);
    --border-strong: rgba(24, 26, 32, 0.18);
    --header-bg: rgba(255, 255, 255, 0.88);
    --search-bg: rgba(255, 255, 255, 0.96);
    --search-bg-mobile: rgba(255, 255, 255, 0.98);
    --cookie-bg: rgba(255, 255, 255, 0.96);
    --subtle-line: rgba(24, 26, 32, 0.08);
    --body-accent-1: rgba(255, 77, 0, 0.10);
    --body-accent-2: rgba(24, 26, 32, 0.025);

    --text: #171719;
    --text-soft: #3D4148;
    --text-muted: #6F7480;
    --text-faint: #A1A7B0;

    --volt-glow: rgba(255, 77, 0, 0.22);
    --hot: #D92D20;
    --neon: #9B5B00;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    /* subtle grid + radial accents */
    background-image:
        radial-gradient(1200px 600px at 80% -10%, var(--body-accent-1), transparent 60%),
        radial-gradient(900px 500px at 0% 30%, var(--body-accent-2), transparent 50%);
    background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--volt); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ════════════════════════════════════════════════════════
   TICKER BAR — top status strip
   ════════════════════════════════════════════════════════ */
.ticker {
    background: linear-gradient(90deg, var(--volt), #CC3D00);
    color: #fff;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 101;
}
.ticker-track {
    display: inline-flex;
    gap: 3rem;
    animation: ticker 40s linear infinite;
    padding-left: 100%;
}
.ticker-track span::before {
    content: '⚡';
    margin-right: 8px;
    color: rgba(255,255,255,0.7);
}
@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

/* ════════════════════════════════════════════════════════
   HEADER / NAV
   ════════════════════════════════════════════════════════ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--header-bg);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0.85rem var(--gutter);
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    flex-shrink: 0;
    transition: transform 0.2s ease, filter 0.2s ease;
}
.logo:hover { transform: translateY(-1px); filter: drop-shadow(0 6px 18px var(--volt-glow)); }
.logo svg { display: block; height: auto; }
.logo .logo-text-tech { transition: fill 0.2s ease; }
html[data-theme="light"] .logo .logo-text-tech { fill: var(--text); }

.nav-main {
    display: flex;
    gap: 0.15rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}
.nav-item { position: relative; }

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 0.85rem;
    font-family: var(--display);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text-soft);
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
    cursor: pointer;
}
.nav-link i[data-lucide] {
    width: 15px;
    height: 15px;
    stroke-width: 2.2;
    flex-shrink: 0;
}
.nav-link i.chev {
    width: 13px; height: 13px;
    transition: transform 0.2s ease;
    opacity: 0.7;
}
.nav-link:hover { color: var(--text); background: var(--card); }
.nav-link:hover i.chev { transform: rotate(180deg); }
.nav-link.active {
    color: var(--text);
    background: var(--card);
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0.85rem;
    right: 0.85rem;
    height: 2px;
    background: var(--volt);
    border-radius: 2px;
    box-shadow: 0 0 12px var(--volt-glow);
}

/* Dropdown menu */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 24px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,77,0,0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 110;
}
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px; left: 0; right: 0; height: 8px;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-item {
    display: block;
    padding: 0.6rem 0.85rem;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-soft);
    border-radius: 8px;
    transition: all 0.15s ease;
}
.dropdown-item:hover {
    background: var(--card);
    color: var(--volt);
    padding-left: 1.1rem;
}

/* Nested flyout (3rd level — Hardware → Processadores → Intel/AMD/...) */
.dropdown-item.has-flyout {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-right: 0.6rem;
}
.dropdown-item.has-flyout:hover { padding-left: 0.85rem; }
.dropdown-item.has-flyout .dropdown-sublink {
    flex: 1;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}
.dropdown-item.has-flyout .flyout-chev {
    width: 14px; height: 14px;
    opacity: 0.55;
    flex-shrink: 0;
}
.dropdown-flyout {
    position: absolute;
    top: -0.5rem;
    left: calc(100% + 6px);
    min-width: 180px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 24px 48px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,77,0,0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 120;
}
.dropdown-flyout::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: -6px; width: 6px;
}
.dropdown-item.has-flyout:hover .dropdown-flyout,
.dropdown-item.has-flyout:focus-within .dropdown-flyout {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.dropdown-item.dropdown-item-all {
    color: var(--text-soft);
    opacity: 0.7;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--border);
    border-radius: 8px 8px 0 0;
    margin-bottom: 0.25rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.theme-toggle, .search-toggle, .menu-toggle {
    width: 40px;
    height: 40px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.theme-toggle:hover, .search-toggle:hover, .menu-toggle:hover {
    color: var(--text);
    border-color: var(--volt);
    background: var(--card-hover);
}
.theme-toggle {
    position: relative;
    flex-shrink: 0;
}
.theme-toggle .theme-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
}
.theme-toggle .theme-icon-moon { display: none; }
html[data-theme="light"] .theme-toggle .theme-icon-sun { display: none; }
html[data-theme="light"] .theme-toggle .theme-icon-moon { display: block; }
.menu-toggle { display: none; }

.search-bar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--search-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem var(--gutter);
}
.search-bar.open { display: block; }
.search-bar form {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    align-items: center;
}
.search-bar input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border-strong);
    color: var(--text);
    font-family: var(--display);
    font-size: 1.75rem;
    font-weight: 500;
    padding: 0.75rem 0;
    outline: none;
    letter-spacing: 0;
}
.search-bar input:focus { border-color: var(--volt); }
.search-bar input::placeholder { color: var(--text-muted); }
.search-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1;
    white-space: nowrap;
    text-transform: uppercase;
}
.search-close:hover { color: var(--volt); }
.search-close-shortcut { display: inline; }

/* ════════════════════════════════════════════════════════
   CONTAINER
   ════════════════════════════════════════════════════════ */
.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 2.5rem var(--gutter);
}

/* ════════════════════════════════════════════════════════
   HERO — cinematic featured story
   ════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 540px;
    margin-bottom: 1.5rem;
    background: var(--card);
    isolation: isolate;
}
.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero:hover .hero-img { transform: scale(1.04); }
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.45) 50%, rgba(10,10,10,0.96) 100%),
        linear-gradient(90deg, rgba(10,10,10,0.65) 0%, transparent 60%);
    z-index: -1;
}
.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    max-width: 800px;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--hot);
    color: #fff;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 6px;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 20px rgba(255, 45, 30, 0.4);
}
.hero-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}
.hero h1 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.75rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin-bottom: 1.25rem;
    text-wrap: balance;
}
.hero p {
    font-size: 1.1rem;
    line-height: 1.55;
    color: var(--text-soft);
    max-width: 60ch;
    margin-bottom: 1.5rem;
}
.hero-meta {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.05em;
    color: var(--text-soft);
}
.hero-meta .dot { width: 4px; height: 4px; background: var(--text-muted); border-radius: 50%; }
.hero-meta .cat {
    color: var(--volt-bright);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* ════════════════════════════════════════════════════════
   SECONDARY HERO — 2 cards under hero
   ════════════════════════════════════════════════════════ */
html[data-theme="light"] .hero,
html[data-theme="light"] .hero h1 {
    color: #fff;
}
html[data-theme="light"] .hero p,
html[data-theme="light"] .hero-meta {
    color: rgba(255, 255, 255, 0.84);
}
html[data-theme="light"] .hero-meta .dot {
    background: rgba(255, 255, 255, 0.5);
}

.hero-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 4rem;
}
.hero-secondary .post-card {
    min-height: 280px;
}

/* ════════════════════════════════════════════════════════
   LAYOUT — main + sidebar
   ════════════════════════════════════════════════════════ */
.layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
}

/* ════════════════════════════════════════════════════════
   SECTION HEAD
   ════════════════════════════════════════════════════════ */
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.section-head h2 {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.75rem;
    letter-spacing: -0.025em;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.section-head h2::before {
    content: '';
    width: 6px;
    height: 28px;
    background: var(--volt);
    border-radius: 3px;
    box-shadow: 0 0 16px var(--volt-glow);
}
.section-head .count {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ════════════════════════════════════════════════════════
   POST CARDS — main grid
   ════════════════════════════════════════════════════════ */
.post-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.post-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, background 0.3s;
    isolation: isolate;
}
.post-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    background: var(--card-hover);
}
.post-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    pointer-events: none;
    background: linear-gradient(135deg, transparent 60%, var(--volt-glow));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}
.post-card:hover::after { opacity: 1; }

.post-card .img-wrap {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    background: var(--bg);
}
.post-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.post-card:hover .img-wrap img { transform: scale(1.06); }
.post-card .img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(10,10,10,0.65));
}

.post-card .body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.post-card .cat {
    display: inline-block;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--volt-bright);
    margin-bottom: 0.75rem;
}
.post-card h3 {
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.35rem;
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin-bottom: 0.75rem;
    text-wrap: balance;
    transition: color 0.2s;
}
.post-card:hover h3 { color: var(--volt-bright); }
.post-card p {
    font-size: 0.95rem;
    color: var(--text-soft);
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.post-card .meta {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}
.post-card .meta .dot {
    width: 3px; height: 3px; background: var(--text-faint); border-radius: 50%;
}

/* Post card variants */
.post-card.large { grid-column: span 2; }
.post-card.large .img-wrap { aspect-ratio: 21 / 9; }
.post-card.large h3 { font-size: 2rem; }

/* ════════════════════════════════════════════════════════
   SIDEBAR
   ════════════════════════════════════════════════════════ */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-self: start;
    position: sticky;
    top: calc(64px + 2rem);
}

.widget {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
}
.widget h3 {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.widget h3 .icon {
    color: var(--volt);
    font-size: 1.2rem;
}

/* Trending list */
.trending-list { display: flex; flex-direction: column; gap: 1rem; }
.trending-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    transition: opacity 0.2s;
}
.trending-item:last-child { border-bottom: none; padding-bottom: 0; }
.trending-item:hover { opacity: 0.85; }
.trending-num {
    font-family: var(--display);
    font-weight: 800;
    font-size: 2rem;
    line-height: 1;
    color: var(--volt);
    letter-spacing: -0.04em;
    min-width: 32px;
    text-shadow: 0 0 24px var(--volt-glow);
}
.trending-content { flex: 1; min-width: 0; }
.trending-content .cat {
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--neon);
    margin-bottom: 6px;
    display: block;
}
.trending-content h4 {
    font-family: var(--display);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
    transition: color 0.2s;
}
.trending-item:hover h4 { color: var(--volt-bright); }
.trending-content .time {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* Newsletter widget */
.widget-newsletter {
    background: linear-gradient(135deg, var(--card) 0%, rgba(255,77,0,0.07) 100%);
    border-color: var(--volt-glow);
    position: relative;
    overflow: hidden;
}
.widget-newsletter::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 120px; height: 120px;
    background: radial-gradient(circle, var(--volt-glow), transparent 70%);
    pointer-events: none;
}
.widget-newsletter p {
    font-size: 0.9rem;
    color: var(--text-soft);
    margin-bottom: 1rem;
    line-height: 1.5;
}
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.newsletter-form input {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text);
    font-family: var(--body);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}
.newsletter-form input:focus { border-color: var(--volt); }
.newsletter-form input::placeholder { color: var(--text-muted); }
.btn-volt {
    background: linear-gradient(135deg, var(--volt), #CC3D00);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-family: var(--display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px var(--volt-glow);
}
.btn-volt:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px var(--volt-glow);
}

/* Tags widget */
.tags-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-chip {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 6px 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-soft);
    transition: all 0.2s;
}
.tag-chip:hover {
    color: var(--volt-bright);
    border-color: var(--volt);
    background: var(--card-hover);
}
.tag-chip::before { content: '#'; color: var(--text-muted); margin-right: 2px; }

/* ════════════════════════════════════════════════════════
   ARTICLE PAGE
   ════════════════════════════════════════════════════════ */
/* Hero da matéria — layout empilhado: imagem limpa em cima, título legível embaixo */
.article-hero {
    margin-bottom: 2.5rem;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}
.article-hero img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius);
    display: block;
    background: var(--card);
}
.article-hero-content {
    padding: 2rem 0 0;
    max-width: 800px;
}
.article-cat {
    display: inline-block;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--volt-bright);
    background: rgba(255, 77, 0, 0.12);
    border: 1px solid var(--volt);
    padding: 6px 14px;
    border-radius: 6px;
    margin-bottom: 1.25rem;
}
.article-hero h1 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.85rem, 4.5vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
    text-wrap: balance;
    color: var(--text);
}
.article-hero-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text-muted);
}

.article-body {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-soft);
}
.article-body .lede {
    font-family: var(--display);
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1.4;
    color: var(--text);
    border-left: 4px solid var(--volt);
    padding-left: 1.5rem;
    margin-bottom: 2.5rem;
}
.article-body p { margin-bottom: 1.5rem; }
.article-body :where(p, li) a[href] {
    color: var(--neon);
    font-weight: 700;
    text-decoration-line: underline;
    text-decoration-thickness: 1.5px;
    text-decoration-color: rgba(255, 184, 0, 0.72);
    text-underline-offset: 0.18em;
    border-radius: 4px;
    transition: color 0.18s ease, text-decoration-color 0.18s ease, background 0.18s ease;
}
.article-body :where(p, li) a[href^="http"]::after {
    content: "↗";
    display: inline-block;
    margin-left: 0.28em;
    font-size: 0.78em;
    line-height: 1;
    transform: translateY(-0.08em);
    color: var(--volt-bright);
}
.article-body :where(p, li) a[href]:hover {
    color: var(--volt-bright);
    text-decoration-color: var(--volt-bright);
    background: rgba(255, 77, 0, 0.12);
}
.article-body :where(p, li) a[href]:focus-visible {
    outline: 2px solid var(--neon);
    outline-offset: 3px;
    background: rgba(255, 184, 0, 0.12);
}
.article-body p:first-of-type::first-letter {
    font-family: var(--display);
    font-weight: 800;
    font-size: 4.5rem;
    line-height: 0.9;
    float: left;
    padding: 0.25rem 0.75rem 0 0;
    color: var(--volt);
    background: linear-gradient(135deg, var(--volt), #CC3D00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.article-body strong { color: var(--text); font-weight: 700; }
.article-body h2 {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.75rem;
    line-height: 1.25;
    letter-spacing: -0.025em;
    color: var(--text);
    margin: 3rem 0 1.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: stretch;
    gap: 0.75rem;
}
.article-body h2::before {
    content: '';
    width: 4px;
    min-height: 1.25em;
    background: var(--volt);
    border-radius: 2px;
    flex: 0 0 4px;
}
.article-body ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}
.article-body li { margin-bottom: 0.5rem; }

/* ════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════ */
.footer {
    border-top: 1px solid var(--border);
    background:
        linear-gradient(180deg, rgba(255, 77, 0, 0.025), transparent 42%),
        var(--bg-elevated);
    padding: 3.5rem var(--gutter) 1.75rem;
    margin-top: 5rem;
}
.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(150px, 0.8fr));
    gap: clamp(2rem, 4vw, 4rem);
    padding-bottom: 2.75rem;
    border-bottom: 1px solid var(--border);
    align-items: start;
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.55;
    max-width: 32ch;
}
.footer-contact {
    display: inline-flex;
    width: fit-content;
    margin-top: 1rem;
    color: var(--text-soft);
    font-family: var(--mono);
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.04em;
    border-bottom: 1px solid rgba(255, 77, 0, 0.35);
    transition: color 0.2s, border-color 0.2s;
}
.footer-contact:hover {
    color: var(--text);
    border-color: var(--volt);
}
.footer-col { min-width: 0; }
.footer-col h4 {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--volt-bright);
    margin-bottom: 1rem;
}
.footer-col a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-soft);
    padding: 6px 0;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
    max-width: var(--max);
    margin: 0 auto;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}
.footer-bottom span:last-child { color: var(--text-faint); }

/* ════════════════════════════════════════════════════════
   404
   ════════════════════════════════════════════════════════ */
.error-page {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--gutter);
}
.error-page .code {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(7rem, 22vw, 16rem);
    line-height: 0.85;
    letter-spacing: -0.06em;
    background: linear-gradient(135deg, var(--volt), #CC3D00, var(--neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 0 80px var(--volt-glow);
}
.error-page h1 {
    font-family: var(--display);
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--text);
}
.error-page a {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--volt-bright);
    border: 1px solid var(--volt);
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.2s;
}
.error-page a:hover {
    background: var(--volt);
    color: #fff;
}

.empty {
    grid-column: 1 / -1;
    padding: 4rem;
    text-align: center;
    color: var(--text-muted);
    font-family: var(--mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
}

/* ════════════════════════════════════════════════════════
   READING PROGRESS
   ════════════════════════════════════════════════════════ */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--volt), var(--neon));
    z-index: 300;
    transition: width 0.1s linear;
    box-shadow: 0 0 12px var(--volt-glow);
}

/* ════════════════════════════════════════════════════════
   ENTRANCE ANIMATIONS
   ════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
    .hero, .post-card, .widget, .article-hero {
        animation: rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
    }
    .post-grid > .post-card:nth-child(1) { animation-delay: 0.05s; }
    .post-grid > .post-card:nth-child(2) { animation-delay: 0.1s; }
    .post-grid > .post-card:nth-child(3) { animation-delay: 0.15s; }
    .post-grid > .post-card:nth-child(4) { animation-delay: 0.2s; }
    .post-grid > .post-card:nth-child(5) { animation-delay: 0.25s; }
    .post-grid > .post-card:nth-child(6) { animation-delay: 0.3s; }
    .sidebar .widget:nth-child(2) { animation-delay: 0.1s; }
    .sidebar .widget:nth-child(3) { animation-delay: 0.2s; }
}
@keyframes rise {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════ */
@media (max-width: 1280px) {
    .nav-link span { display: none; }
    .nav-link { padding: 0.55rem 0.7rem; }
    .nav-link i.chev { display: none; }
}
@media (max-width: 1100px) {
    .layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .nav-main { display: none; }
    .menu-toggle { display: flex; }
}
@media (max-width: 768px) {
    .header-inner { padding: 0.75rem var(--gutter); }
    .search-bar {
        padding: calc(0.85rem + env(safe-area-inset-top)) var(--gutter) 1rem;
        background: var(--search-bg-mobile);
        border-bottom-color: rgba(255, 77, 0, 0.18);
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
    }
    .search-bar form {
        width: 100%;
        max-width: none;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.75rem;
        align-items: center;
    }
    .search-bar input {
        width: 100%;
        font-size: clamp(1.05rem, 4.6vw, 1.35rem);
        line-height: 1.2;
        padding: 0.65rem 0;
        border-bottom-width: 1px;
        text-overflow: ellipsis;
    }
    .search-bar input::placeholder {
        color: var(--text-soft);
        opacity: 0.62;
    }
    .search-bar .search-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        padding: 0.55rem 0.7rem;
        background: var(--card);
        border: 1px solid var(--border-strong);
        border-radius: var(--radius-sm);
        font-size: 11px;
        letter-spacing: 0.06em;
    }
    .search-bar .search-close-shortcut { display: none; }
    .container { padding: 1.5rem var(--gutter); }
    .hero { min-height: 420px; }
    .hero-content { padding: 1.5rem; }
    .hero-secondary { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2.5rem; }
    .post-grid { grid-template-columns: 1fr; }
    .post-card.large { grid-column: span 1; }
    .post-card.large h3 { font-size: 1.4rem; }
    .post-card.large .img-wrap { aspect-ratio: 16 / 9; }
    .article-hero img { aspect-ratio: 4 / 3; }
    .article-hero-content { padding: 1.25rem 0 0; }
    .footer { padding-top: 2.75rem; margin-top: 3.5rem; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; padding-bottom: 2rem; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.45rem;
        text-align: left;
    }
}
@media (max-width: 480px) {
    .header-inner { gap: 0.65rem; }
    .header .logo svg { width: 132px; }
    .header-actions { gap: 0.45rem; }
    .theme-toggle, .search-toggle, .menu-toggle {
        width: 36px;
        height: 36px;
    }
    .theme-toggle .theme-icon {
        width: 17px;
        height: 17px;
    }
    .search-bar { padding-inline: 1rem; }
    .search-bar form { gap: 0.6rem; }
    .search-bar input { font-size: 1rem; }
    .search-bar .search-close {
        padding-inline: 0.55rem;
        font-size: 10px;
        letter-spacing: 0.04em;
    }
    .footer { padding-bottom: 1.5rem; }
    .footer-inner { grid-template-columns: 1fr; gap: 1.75rem; }
    .article-body { font-size: 1rem; }
    .article-body p:first-of-type::first-letter { font-size: 3.5rem; }
}

/* Mobile menu drawer */
.mobile-drawer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--bg);
    padding: 1.5rem;
    flex-direction: column;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}
.mobile-drawer-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}
.mobile-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.mobile-drawer-nav {
    overflow-y: auto;
    max-height: calc(100vh - 100px);
    -webkit-overflow-scrolling: touch;
}

/* Top-level link / summary row */
.mobile-drawer-nav .m-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    padding: 0.95rem 0.25rem;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.mobile-drawer-nav .m-link::-webkit-details-marker { display: none; }
.mobile-drawer-nav .m-link-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}
.mobile-drawer-nav .m-link i[data-lucide] {
    width: 20px;
    height: 20px;
    color: var(--volt);
    stroke-width: 2.2;
}
.mobile-drawer-nav .m-chev {
    width: 18px; height: 18px;
    color: var(--text-muted);
    transition: transform 0.25s ease;
}
.mobile-drawer-nav .m-link:hover { color: var(--volt-bright); }

/* Accordion group */
.mobile-drawer-nav .m-group { border: 0; }
.mobile-drawer-nav .m-group[open] > .m-link {
    color: var(--volt);
    border-bottom-color: rgba(255, 77, 0, 0.25);
}
.mobile-drawer-nav .m-group[open] > .m-link .m-chev {
    transform: rotate(180deg);
    color: var(--volt);
}

/* Sublist (collapsed by default via <details>) */
.mobile-drawer-nav .m-sublist {
    display: flex;
    flex-direction: column;
    padding: 0.25rem 0 0.5rem;
    background: rgba(255, 77, 0, 0.03);
    border-bottom: 1px solid var(--border);
    animation: slidedown 0.25s ease;
}
@keyframes slidedown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.mobile-drawer-nav .m-sublink {
    display: block;
    font-family: var(--body);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.65rem 0 0.65rem 2.6rem;
    color: var(--text-soft);
    border-bottom: 1px solid var(--subtle-line);
}
.mobile-drawer-nav .m-sublink:last-child { border-bottom: 0; }
.mobile-drawer-nav .m-sublink:hover { color: var(--volt); }
.mobile-drawer-nav .m-sublink-all {
    font-weight: 700;
    color: var(--volt-bright);
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    font-family: var(--mono);
}

/* Mobile drawer — nested 3rd level (brands inside Processadores/Placas de Vídeo) */
.mobile-drawer-nav .m-subgroup {
    border-bottom: 1px solid var(--subtle-line);
}
.mobile-drawer-nav .m-subgroup > .m-sublink-toggle {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 1rem;
    border-bottom: 0;
}
.mobile-drawer-nav .m-subgroup > .m-sublink-toggle::-webkit-details-marker { display: none; }
.mobile-drawer-nav .m-chev-sm { width: 14px; height: 14px; opacity: 0.55; transition: transform 0.2s ease; }
.mobile-drawer-nav .m-subgroup[open] > .m-sublink-toggle .m-chev-sm {
    transform: rotate(180deg);
    color: var(--volt);
}
.mobile-drawer-nav .m-sublist-l3 {
    background: rgba(255, 77, 0, 0.05);
    border-bottom: 0;
}
.mobile-drawer-nav .m-sublist-l3 .m-sublink {
    padding-left: 4rem;
    font-size: 0.9rem;
}

.badge-evergreen {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--volt), #CC3D00);
    color: #fff;
    font-family: var(--display);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 6px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(255, 77, 0, 0.4);
    pointer-events: none;
}

/* ════════════════════════════════════════════════════════
   FEED INFINITE SCROLL — sentinel + loader + end-message
   ════════════════════════════════════════════════════════ */
.feed-sentinel {
    grid-column: 1 / -1;
    margin-top: 2rem;
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
}
.feed-loader {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}
.feed-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid var(--border-strong);
    border-top-color: var(--volt);
    border-radius: 50%;
    animation: feed-spin 0.7s linear infinite;
}
@keyframes feed-spin { to { transform: rotate(360deg); } }
.feed-end {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem 1rem;
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-faint);
    border-top: 1px dashed var(--border);
    margin-top: 2rem;
}

/* ════════════════════════════════════════════════════════
   SHARE BAR — final do artigo
   ════════════════════════════════════════════════════════ */
.share-bar {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 0;
    margin-top: 3rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.share-label {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    text-transform: uppercase;
}
.share-icons {
    display: flex;
    gap: 0.65rem;
    align-items: center;
}
.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    color: var(--text);
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease,
                border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    text-decoration: none;
    padding: 0;
}
.share-btn svg {
    width: 16px;
    height: 16px;
    display: block;
}
.share-btn:hover,
.share-btn:focus-visible {
    transform: translateY(-2px);
    background: var(--volt);
    border-color: var(--volt);
    color: #fff;
    box-shadow: 0 8px 22px var(--volt-glow);
    outline: none;
}
/* Cores oficiais por plataforma no hover (sobrescreve o laranja) */
.share-btn.share-fb:hover  { background: #1877F2; border-color: #1877F2; box-shadow: 0 8px 22px rgba(24,119,242,0.35); }
.share-btn.share-x:hover   { background: #000;    border-color: #444; }
.share-btn.share-wa:hover  { background: #25D366; border-color: #25D366; box-shadow: 0 8px 22px rgba(37,211,102,0.35); }

.share-btn.copied {
    background: var(--ok, #00C853);
    border-color: var(--ok, #00C853);
    color: #fff;
}

@media (max-width: 480px) {
    .share-bar { gap: 1rem; }
    .share-label { font-size: 11px; letter-spacing: 0.14em; }
    .share-btn { width: 38px; height: 38px; }
}

/* ════════════════════════════════════════════════════════
   NEWSLETTER CTA — final do artigo (full width)
   ════════════════════════════════════════════════════════ */
.newsletter-cta {
    margin: 4rem 0 2rem;
    padding: 2.5rem 2.25rem;
    background: linear-gradient(135deg, rgba(255, 77, 0, 0.10), rgba(255, 77, 0, 0.02));
    border: 1px solid rgba(255, 77, 0, 0.25);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}
.newsletter-cta::before {
    content: '';
    position: absolute;
    inset: -1px -1px -1px auto;
    width: 320px;
    background: radial-gradient(circle at right, rgba(255, 77, 0, 0.18), transparent 65%);
    pointer-events: none;
}
.newsletter-cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.newsletter-cta-text { max-width: 560px; }
.newsletter-cta h2 {
    font-family: var(--display);
    font-size: clamp(1.4rem, 3vw, 1.95rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 0.6rem 0;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.nl-spark {
    color: var(--volt);
    text-shadow: 0 0 24px var(--volt-glow);
}
.newsletter-cta p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.55;
    margin: 0;
}
.newsletter-form-cta {
    display: flex;
    gap: 0.5rem;
    min-width: 360px;
}
.newsletter-form-cta input {
    flex: 1;
    background: var(--bg);
    border: 1px solid var(--border-strong);
    color: var(--text);
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-family: var(--body);
    font-size: 14px;
    outline: none;
    transition: border-color 0.15s, background 0.15s;
}
.newsletter-form-cta input:focus {
    border-color: var(--volt);
    background: var(--card);
}
.newsletter-form-cta input::placeholder { color: var(--text-faint); }
.newsletter-form-cta button {
    background: var(--volt);
    border: none;
    color: #fff;
    padding: 0.85rem 1.5rem;
    border-radius: 8px;
    font-family: var(--display);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}
.newsletter-form-cta button:hover {
    background: var(--volt-bright);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px var(--volt-glow);
}
.newsletter-form-cta button:disabled {
    background: var(--ok, #00C853);
    cursor: default;
    transform: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .newsletter-cta { padding: 1.75rem 1.5rem; margin-top: 3rem; }
    .newsletter-cta-inner { grid-template-columns: 1fr; gap: 1.25rem; }
    .newsletter-form-cta { min-width: 0; flex-direction: column; }
    .newsletter-form-cta button { width: 100%; padding: 0.95rem; }
}

.cookie-consent {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 9999;
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--cookie-bg);
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
    padding: 1rem;
}
.cookie-consent[hidden] { display: none; }
.cookie-consent__text {
    display: grid;
    gap: 0.25rem;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.45;
}
.cookie-consent__text strong {
    color: var(--text);
    font-family: var(--display);
    font-size: 14px;
}
.cookie-consent__text a {
    color: var(--volt);
    text-decoration: none;
    width: fit-content;
}
.cookie-consent__text a:hover { text-decoration: underline; }
.cookie-consent__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
.cookie-btn {
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    padding: 0.7rem 0.9rem;
    font-family: var(--display);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.cookie-btn--ghost {
    background: transparent;
    color: var(--text-muted);
}
.cookie-btn--ghost:hover {
    color: var(--text);
    border-color: var(--text-faint);
}
.cookie-btn--primary {
    background: var(--volt);
    border-color: var(--volt);
    color: #fff;
}
.cookie-btn--primary:hover { background: var(--volt-bright); }

@media (max-width: 640px) {
    .cookie-consent {
        align-items: stretch;
        flex-direction: column;
    }
    .cookie-consent__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .cookie-btn { width: 100%; }
}
