/* ===== THUMBPOWER.ORG - Mobile Gaming Performance ===== */
:root {
    --bg: #0a0a12;
    --bg-card: #12121e;
    --bg-card-hover: #1a1a2e;
    --bg-header: rgba(10,10,18,0.95);
    --text: #e2e2ef;
    --text-muted: #8888a8;
    --primary: #e040fb;
    --primary-dark: #aa00d4;
    --secondary: #00e5ff;
    --accent: #76ff03;
    --gradient: linear-gradient(135deg, #e040fb 0%, #00e5ff 100%);
    --gradient-accent: linear-gradient(135deg, #e040fb 0%, #76ff03 100%);
    --border: #1e1e36;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 30px rgba(224,64,251,0.15);
    --max-width: 1200px;
    --header-height: 72px;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--secondary); }

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

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
.header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--bg-header);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
    height: var(--header-height);
    display: flex;
    align-items: center;
}
.header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow); }
.header .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.logo {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.25rem; font-weight: 700;
    color: var(--text); text-decoration: none;
}
.logo .logo-icon { flex-shrink: 0; }
.logo span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav-link {
    padding: 8px 14px; border-radius: var(--radius-sm);
    font-size: 0.9rem; font-weight: 500;
    color: var(--text-muted); transition: all 0.3s;
}
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--bg-card); }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }

/* ===== HERO ===== */
.hero {
    padding: calc(var(--header-height) + 80px) 0 100px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; top: -50%; left: -50%; right: -50%; bottom: -50%;
    background: radial-gradient(circle at 30% 40%, rgba(224,64,251,0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(0,229,255,0.06) 0%, transparent 50%),
                radial-gradient(circle at 50% 80%, rgba(118,255,3,0.04) 0%, transparent 40%);
    animation: heroShift 15s ease-in-out infinite alternate;
}
@keyframes heroShift { 0%{transform:translate(0,0)} 100%{transform:translate(-3%,3%)} }

.hero .container { position: relative; z-index: 1; text-align: center; max-width: 850px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 18px; border-radius: 30px;
    background: rgba(224,64,251,0.1); border: 1px solid rgba(224,64,251,0.25);
    font-size: 0.85rem; font-weight: 600; color: var(--primary);
    margin-bottom: 24px;
}
.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 36px; max-width: 650px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 1rem;
    cursor: pointer; border: none;
    transition: all 0.3s;
    text-decoration: none;
}
.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 20px rgba(224,64,251,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(224,64,251,0.4); color: #fff; }
.btn-secondary {
    background: var(--bg-card); color: var(--text);
    border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }

/* ===== STATS BAR ===== */
.stats-bar {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.stat-item h3 {
    font-family: var(--font-heading);
    font-size: 2rem; font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-item p { color: var(--text-muted); font-size: 0.9rem; margin-top: 4px; }

/* ===== SECTION COMMON ===== */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-bottom: 12px;
}
.section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* ===== CARDS ===== */
.card-grid { display: grid; gap: 24px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s;
}
.card:hover { border-color: rgba(224,64,251,0.3); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.card-icon {
    width: 56px; height: 56px;
    border-radius: var(--radius-sm);
    background: rgba(224,64,251,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
}
.card h3 { font-family: var(--font-heading); font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }
.card-link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 16px; font-weight: 600; font-size: 0.9rem;
    color: var(--primary);
}
.card-link:hover { color: var(--secondary); gap: 10px; }

/* ===== GAME CATEGORY TAGS ===== */
.tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.tag-fps { background: rgba(255,82,82,0.15); color: #ff5252; }
.tag-moba { background: rgba(0,229,255,0.15); color: #00e5ff; }
.tag-br { background: rgba(224,64,251,0.15); color: #e040fb; }
.tag-strategy { background: rgba(118,255,3,0.15); color: #76ff03; }
.tag-racing { background: rgba(255,171,0,0.15); color: #ffab00; }
.tag-rpg { background: rgba(234,128,252,0.15); color: #ea80fc; }

/* ===== FEATURED ARTICLE ===== */
.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px;
}
.featured-article .featured-visual {
    background: linear-gradient(135deg, rgba(224,64,251,0.1), rgba(0,229,255,0.1));
    border-radius: var(--radius-sm);
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}
.featured-article h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 12px; }
.featured-article p { color: var(--text-muted); margin-bottom: 20px; }

/* ===== RANKING TABLE ===== */
.ranking-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--radius);
    overflow: hidden;
}
.ranking-table thead th {
    background: var(--bg-card);
    padding: 16px 20px;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border);
}
.ranking-table tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}
.ranking-table tbody tr:hover { background: var(--bg-card); }
.ranking-table .rank-num {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}
.ranking-table .game-name { font-weight: 600; }
.rating-stars { color: #ffab00; letter-spacing: 2px; }

/* ===== DEVICE COMPARISON ===== */
.device-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    transition: all 0.3s;
}
.device-card:hover { border-color: rgba(224,64,251,0.3); }
.device-card .device-icon { font-size: 3rem; margin-bottom: 16px; }
.device-card h3 { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 8px; }
.device-card .price { color: var(--accent); font-weight: 700; font-size: 1.2rem; margin-bottom: 12px; }
.device-card ul { list-style: none; text-align: left; }
.device-card ul li { padding: 6px 0; border-bottom: 1px solid var(--border); color: var(--text-muted); font-size: 0.9rem; }
.device-card ul li:last-child { border-bottom: none; }
.device-card .verdict { margin-top: 16px; padding: 10px; border-radius: var(--radius-sm); background: rgba(224,64,251,0.08); font-weight: 600; font-size: 0.9rem; color: var(--primary); }

/* ===== TIPS LIST ===== */
.tips-list { list-style: none; counter-reset: tip; }
.tips-list li {
    counter-increment: tip;
    padding: 20px 20px 20px 70px;
    position: relative;
    border-left: 2px solid var(--border);
    margin-bottom: 8px;
}
.tips-list li::before {
    content: counter(tip);
    position: absolute; left: 16px; top: 20px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700; font-size: 0.9rem; color: #fff;
}
.tips-list li strong { display: block; margin-bottom: 4px; font-size: 1.05rem; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-question {
    width: 100%; padding: 20px 24px;
    background: var(--bg-card); border: none;
    color: var(--text); font-size: 1rem; font-weight: 600;
    text-align: left; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    transition: background 0.3s;
    font-family: var(--font-body);
}
.faq-question:hover { background: var(--bg-card-hover); }
.faq-question::after { content: '+'; font-size: 1.4rem; color: var(--primary); transition: transform 0.3s; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: all 0.4s ease; }
.faq-item.active .faq-answer { padding: 0 24px 20px; max-height: 500px; }
.faq-answer p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== CTA / NEWSLETTER ===== */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(180deg, transparent, rgba(224,64,251,0.03), transparent);
}
.cta-section h2 { font-family: var(--font-heading); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.cta-section p { color: var(--text-muted); margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }
.newsletter-form {
    display: flex; gap: 12px;
    max-width: 460px; margin: 0 auto;
}
.newsletter-form input {
    flex: 1; padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-card); color: var(--text);
    font-size: 0.95rem;
}
.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-form input:focus { outline: none; border-color: var(--primary); }

/* ===== PAGE HERO ===== */
.page-hero {
    padding: calc(var(--header-height) + 48px) 0 48px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(224,64,251,0.04) 0%, transparent 100%);
}
.page-hero h1 { font-family: var(--font-heading); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 8px; }
.page-hero p { color: var(--text-muted); font-size: 1.1rem; }
.breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 8px; }
.breadcrumb .current { color: var(--text); }

/* ===== PAGE CONTENT ===== */
.page-content { padding: 60px 0; }
.content-wrapper { max-width: 820px; margin: 0 auto; }
.content-wrapper h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin: 48px 0 16px;
    padding-top: 16px;
}
.content-wrapper h2:first-child { margin-top: 0; }
.content-wrapper h3 { font-size: 1.2rem; margin: 32px 0 12px; color: var(--primary); }
.content-wrapper p { color: var(--text-muted); margin-bottom: 16px; }
.content-wrapper ul, .content-wrapper ol {
    color: var(--text-muted); margin: 16px 0; padding-left: 24px;
}
.content-wrapper li { margin-bottom: 8px; }
.content-wrapper strong { color: var(--text); }
.content-wrapper a { color: var(--primary); }
.content-wrapper a:hover { color: var(--secondary); text-decoration: underline; }

/* ===== INFO BOXES ===== */
.info-box {
    padding: 24px;
    border-radius: var(--radius-sm);
    margin: 24px 0;
    border-left: 4px solid;
}
.info-box.tip { background: rgba(118,255,3,0.05); border-color: var(--accent); }
.info-box.warning { background: rgba(255,171,0,0.05); border-color: #ffab00; }
.info-box.pro { background: rgba(224,64,251,0.05); border-color: var(--primary); }
.info-box h4 { margin-bottom: 8px; font-size: 1rem; }
.info-box p { margin-bottom: 0; }

/* ===== COMPARISON TABLE ===== */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.9rem;
}
.comparison-table thead th {
    background: var(--bg-card);
    padding: 14px 16px;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border);
    position: sticky;
    top: var(--header-height);
    z-index: 10;
}
.comparison-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}
.comparison-table tbody tr:hover { background: var(--bg-card); }

/* ===== SETTINGS GUIDE ===== */
.settings-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 24px 0;
}
.settings-label {
    background: var(--bg-card);
    padding: 14px 16px;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
}
.settings-value {
    padding: 14px 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    margin-top: 40px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 12px; }
.footer-links h4 { font-family: var(--font-heading); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; color: var(--text); }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--border); text-align: center; }
.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }

/* ===== SCROLL ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .featured-article { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav { display: none; position: fixed; top: var(--header-height); left: 0; right: 0; bottom: 0; background: var(--bg); flex-direction: column; padding: 32px 24px; gap: 4px; }
    .nav.active { display: flex; }
    .nav-link { font-size: 1.1rem; padding: 14px 16px; }
    .nav-toggle { display: flex; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid.cols-2, .card-grid.cols-3 { grid-template-columns: 1fr; }
    .hero { padding-top: calc(var(--header-height) + 48px); padding-bottom: 60px; }
    .hero h1 { font-size: 2rem; }
    .section { padding: 56px 0; }
    .newsletter-form { flex-direction: column; }
    .settings-grid { grid-template-columns: 1fr; }
    .ranking-table { font-size: 0.85rem; }
    .ranking-table thead th, .ranking-table tbody td { padding: 12px; }
    .comparison-table { font-size: 0.8rem; }
    .comparison-table thead th, .comparison-table tbody td { padding: 10px; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .card-grid.cols-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; align-items: center; }
}

/* ===== SKIP TO CONTENT ===== */
.skip-link { position: absolute; top: -100%; left: 16px; background: var(--primary); color: #fff; padding: 12px 24px; border-radius: 0 0 8px 8px; font-weight: 700; font-size: 0.9rem; z-index: 9999; transition: top 0.2s; }
.skip-link:focus { top: 0; }

/* ===== READING PROGRESS BAR ===== */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; background: var(--gradient); z-index: 1001; width: 0%; transition: width 0.1s linear; pointer-events: none; }

/* ===== BACK TO TOP ===== */
.back-to-top { position: fixed; bottom: 32px; right: 32px; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 900; opacity: 0; transform: translateY(16px); transition: all 0.3s; box-shadow: 0 4px 16px rgba(224,64,251,0.35); }
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 6px 24px rgba(224,64,251,0.45); }
.back-to-top:focus-visible { outline: 2px solid var(--secondary); outline-offset: 3px; }
.back-to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ===== TABLE OF CONTENTS ===== */
.toc { background: var(--bg-card, var(--surface, rgba(255,255,255,0.03))); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 28px; margin: 32px 0; }
.toc h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 12px; }
.toc ol { padding-left: 20px; }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--primary); font-size: 0.95rem; }
.toc a:hover { color: var(--secondary); }

/* ===== RELATED GUIDES ===== */
.related-guides { padding: 64px 0; border-top: 1px solid var(--border); }
.related-guides h2 { text-align: center; margin-bottom: 40px; }
.related-guides .guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.related-guides .guide-card { background: var(--bg-card, var(--surface, rgba(255,255,255,0.03))); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: all 0.3s; }
.related-guides .guide-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow, 0 12px 40px rgba(0,0,0,0.3)); }
.related-guides .guide-card h3 { color: var(--primary); margin-bottom: 8px; font-size: 1.15rem; }
.related-guides .guide-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.guide-card-link { text-decoration: none; color: inherit; }

/* ===== TABLE WRAPPER ===== */
.table-wrapper { overflow-x: auto; margin: 24px 0; border-radius: var(--radius); border: 1px solid var(--border); }
.table-wrapper table { min-width: 600px; }

/* ===== FOCUS VISIBLE ===== */
*:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
input:focus-visible, textarea:focus-visible, button:focus-visible { outline-offset: 0; }

/* ===== PERFORMANCE ===== */
.faq, .newsletter, .footer { content-visibility: auto; contain-intrinsic-size: auto 500px; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark, var(--primary)); }

/* ===== SELECTION ===== */
::selection { background: rgba(224,64,251,0.3); color: #fff; }

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
    .reveal, .animate-in { opacity: 1; transform: none; animation: none; }
    .back-to-top { transition: none; }
}

/* ===== HIGH CONTRAST ===== */
@media (prefers-contrast: high) {
    :root { --border: rgba(255,255,255,0.2); }
    .card, .faq-item { border: 1px solid rgba(255,255,255,0.3); }
}

/* ===== PRINT STYLES ===== */
@media print {
    .header, .nav-toggle, .back-to-top, .progress-bar, .newsletter, .footer, .related-guides { display: none !important; }
    body { background: #fff; color: #111; font-size: 12pt; line-height: 1.5; }
    .hero, .page-hero { padding: 20px 0; background: none !important; }
    a[href]::after { content: " (" attr(href) ")"; font-size: 0.85em; color: #666; }
    .card, section { break-inside: avoid; }
}

/* ===== COOKIE CONSENT ===== */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(20,20,30,0.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--border); padding: 16px 24px; z-index: 9998; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; font-size: 0.9rem; transform: translateY(100%); transition: transform 0.4s ease; }
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p { color: var(--text-secondary, #a1a1aa); max-width: 600px; line-height: 1.5; margin: 0; }
.cookie-banner a { color: var(--primary-light, var(--primary)); text-decoration: underline; }
.cookie-btn { background: var(--primary); color: #fff; border: none; padding: 10px 24px; border-radius: 6px; font-weight: 600; cursor: pointer; font-size: 0.9rem; white-space: nowrap; transition: background 0.2s; }
.cookie-btn:hover { opacity: 0.9; }
.cookie-btn.secondary { background: transparent; border: 1px solid var(--border); color: var(--text-secondary, #a1a1aa); }
.cookie-btn.secondary:hover { border-color: var(--primary); color: var(--primary-light, var(--primary)); }

/* ===== BREADCRUMBS ===== */
.breadcrumbs { padding: 12px 0; font-size: 0.85rem; color: var(--text-muted, var(--text-secondary, #71717a)); }
.breadcrumbs a { color: var(--primary-light, var(--primary)); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .separator { margin: 0 8px; opacity: 0.5; }

/* ===== ARTICLE META (reading time, last updated, share) ===== */
.article-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 0; margin-bottom: 24px; border-bottom: 1px solid var(--border); font-size: 0.85rem; color: var(--text-muted, var(--text-secondary, #71717a)); }
.article-meta svg { width: 16px; height: 16px; vertical-align: -2px; margin-right: 4px; stroke: currentColor; fill: none; }
.reading-time, .last-updated { display: flex; align-items: center; gap: 4px; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.06); border: 1px solid var(--border); color: var(--text-secondary, #a1a1aa); padding: 6px 14px; border-radius: 6px; font-size: 0.85rem; cursor: pointer; transition: all 0.2s; font-family: inherit; }
.share-btn:hover { border-color: var(--primary); color: var(--primary-light, var(--primary)); background: rgba(224,64,251, 0.08); }
.share-btn.copied { border-color: var(--success, #10b981); color: var(--success, #10b981); }
.share-btn svg { width: 14px; height: 14px; }

/* ===== PAGE LOAD ANIMATION ===== */
@keyframes fadeInPage { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.page-hero, .hero { animation: fadeInPage 0.5s ease both; }
.content-wrapper { animation: fadeInPage 0.5s ease 0.1s both; }

/* ===== SENSITIVITY FINDER ===== */
.sens-section { background: rgba(224,64,251,0.03); }
.sens-card { background: rgba(224,64,251,0.06); border: 1px solid var(--border); border-radius: 16px; padding: 32px; max-width: 600px; margin: 0 auto; }
.sens-q { margin-bottom: 20px; }
.sens-q p { font-weight: 600; margin-bottom: 10px; color: var(--text, #fff); font-size: 0.95rem; }
.sens-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sens-opt { padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; font-size: 0.85rem; text-align: center; transition: all 0.2s; user-select: none; color: var(--text-muted, #bbb); }
.sens-opt:hover { border-color: var(--primary); color: var(--primary); }
.sens-opt.selected { background: rgba(224,64,251,0.15); border-color: var(--primary); color: var(--primary); font-weight: 600; }
.sens-btn { display: block; width: 100%; padding: 14px; background: var(--primary); color: #fff; border: none; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; font-family: inherit; margin-top: 8px; transition: opacity 0.2s; }
.sens-btn:hover { opacity: 0.9; }
.sens-result { margin-top: 20px; padding: 20px; background: rgba(224,64,251,0.08); border-radius: 12px; border: 1px solid rgba(224,64,251,0.2); display: none; }
.sens-result.visible { display: block; }
.sens-result h4 { color: var(--primary); font-family: 'Orbitron', sans-serif; margin-bottom: 8px; }
.sens-result p { font-size: 0.9rem; color: var(--text-muted, #ccc); line-height: 1.6; }
.sens-values { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.sens-val { text-align: center; padding: 12px; background: rgba(224,64,251,0.06); border-radius: 8px; }
.sens-val .val { font-size: 1.5rem; font-weight: 700; color: var(--primary); display: block; font-family: 'Orbitron', sans-serif; }
.sens-val .val-label { font-size: 0.75rem; color: var(--text-muted, #888); }

/* ===== NEWSLETTER ===== */
.newsletter-section { text-align: center; }
.newsletter-section .newsletter-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.newsletter-input { flex: 1; min-width: 200px; padding: 14px 20px; border-radius: 8px; border: 1px solid var(--border); background: rgba(224,64,251,0.06); color: var(--text, #fff); font-size: 1rem; font-family: inherit; }
.newsletter-input:focus { outline: none; border-color: var(--primary); }
.newsletter-btn { padding: 14px 28px; background: var(--primary); color: #fff; border: none; border-radius: 8px; font-weight: 600; font-size: 1rem; cursor: pointer; font-family: inherit; transition: opacity 0.2s; }
.newsletter-btn:hover { opacity: 0.9; }
.newsletter-btn:disabled { opacity: 0.7; cursor: default; }
