/* ============================================
   MEJORES.CLUB - GLOBAL STYLES 2026
   Dark Neo-Editorial Design System
   100% Responsive
   ============================================ */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes slide-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* CSS Variables */
:root {
    --bg-primary: #0a0a0b;
    --bg-secondary: #111113;
    --bg-card: #18181b;
    --bg-card-hover: #1f1f23;
    --bg-elevated: #242428;
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-tertiary: #ec4899;
    --accent-warm: #f97316;
    --accent-teal: #14b8a6;
    --accent-green: #22c55e;
    --accent-gold: #fbbf24;
    --accent-red: #ef4444;
    --border-subtle: rgba(255,255,255,0.06);
    --border-medium: rgba(255,255,255,0.1);
    --border-strong: rgba(255,255,255,0.15);
    --glass: rgba(255,255,255,0.03);
    --glass-hover: rgba(255,255,255,0.06);
    --radius-xs: 6px;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.4);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.5);
}

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

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

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    font-size: 16px;
}

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

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-secondary);
}

/* Ambient Background */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-primary);
    top: -150px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-tertiary);
    bottom: -100px;
    left: -100px;
    animation: float 25s ease-in-out infinite reverse;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-teal);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-glow 15s ease-in-out infinite;
}

/* Grain Texture */
.grain {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1000;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ============================================
   HEADER - RESPONSIVE
   ============================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0.875rem 1.5rem;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(10, 10, 11, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-mark {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--accent-warm) 0%, var(--accent-tertiary) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: white;
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.3);
}

.logo-text {
    font-family: 'Syne', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.logo-text span {
    background: linear-gradient(135deg, var(--accent-warm), var(--accent-tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 0.25rem;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.45rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

nav a:hover {
    color: var(--text-primary);
    background: var(--glass-hover);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* ============================================
   BREADCRUMBS - RESPONSIVE
   ============================================ */
.breadcrumb {
    max-width: 900px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--accent-primary);
}

.breadcrumb .separator {
    color: var(--text-muted);
    opacity: 0.5;
}

.breadcrumb .current {
    color: var(--text-primary);
    font-weight: 500;
}

/* ============================================
   ARTICLE HERO - RESPONSIVE
   ============================================ */
.article-hero {
    max-width: 900px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 2.5rem;
    text-align: center;
}

.article-hero .category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    background: var(--glass);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.article-hero h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.article-hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
    background-size: 200% 200%;
    animation: gradient-shift 5s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-hero .subtitle {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 1.25rem;
    line-height: 1.7;
}

.article-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* ============================================
   MAIN CONTENT - RESPONSIVE
   ============================================ */
main {
    position: relative;
    z-index: 1;
    padding-top: 70px;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
}

/* ============================================
   QUICK RANKING - RESPONSIVE
   ============================================ */
.quick-ranking {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.quick-ranking h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ranking-grid {
    display: grid;
    gap: 0.6rem;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.25s ease;
}

.ranking-item:hover {
    background: var(--glass-hover);
    border-color: var(--border-medium);
    transform: translateX(4px);
}

.ranking-item .rank {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.ranking-item .rank.gold { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #000; }
.ranking-item .rank.silver { background: linear-gradient(135deg, #94a3b8, #64748b); color: #fff; }
.ranking-item .rank.bronze { background: linear-gradient(135deg, #d97706, #b45309); color: #fff; }
.ranking-item .rank.default { background: var(--bg-elevated); color: var(--text-secondary); }

.ranking-item .name {
    flex: 1;
    font-weight: 500;
    font-size: 0.9rem;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-item .price {
    font-weight: 600;
    color: var(--accent-green);
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* ============================================
   PRODUCT CARDS - RESPONSIVE
   ============================================ */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: var(--border-medium);
}

.product-card.featured {
    border-color: var(--accent-gold);
    border-width: 2px;
}

.product-card.featured::before {
    content: '🏆 MEJOR OPCIÓN';
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, var(--accent-gold), #f59e0b);
    color: #000;
    padding: 0.4rem 1rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 0 0 0 var(--radius-md);
}

.product-card.best-value::before {
    content: '💰 MEJOR CALIDAD-PRECIO';
    background: linear-gradient(135deg, var(--accent-green), #16a34a);
    color: white;
}

.product-card.budget::before {
    content: '🎯 MEJOR ECONÓMICA';
    background: linear-gradient(135deg, var(--accent-warm), #ea580c);
    color: white;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.product-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    flex: 1;
}

.product-rank {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    flex-shrink: 0;
}

.product-rank.rank-1 { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #000; }
.product-rank.rank-2 { background: linear-gradient(135deg, #94a3b8, #64748b); color: #fff; }
.product-rank.rank-3 { background: linear-gradient(135deg, #d97706, #b45309); color: #fff; }
.product-rank.rank-default { background: var(--bg-elevated); color: var(--text-secondary); }

.product-name {
    min-width: 0;
}

.product-name h3 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    font-weight: 700;
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.product-name .brand {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.product-price {
    text-align: right;
    flex-shrink: 0;
}

.product-price .price {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: var(--accent-green);
}

.product-price .price-note {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Specs Grid - Responsive */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: var(--glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}

.spec-item {
    text-align: center;
    padding: 0.5rem;
}

.spec-value {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.1rem;
}

.spec-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Pros & Cons - Responsive */
.pros-cons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.pros, .cons {
    padding: 1rem;
    border-radius: var(--radius-md);
}

.pros {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.cons {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.pros h4, .cons h4 {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.pros h4 { color: var(--accent-green); }
.cons h4 { color: var(--accent-red); }

.pros ul, .cons ul {
    list-style: none;
    font-size: 0.85rem;
}

.pros li, .cons li {
    padding: 0.3rem 0;
    padding-left: 1.1rem;
    position: relative;
    line-height: 1.5;
}

.pros li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: 700;
}

.cons li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: var(--accent-red);
    font-weight: 700;
}

/* Verdict */
.product-verdict {
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    line-height: 1.7;
}

.product-verdict strong {
    color: var(--accent-gold);
}

/* Amazon CTA - Responsive */
.amazon-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff9900 0%, #e68a00 100%);
    color: white;
    padding: 0.9rem 1.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.25);
    width: 100%;
    max-width: 300px;
}

.amazon-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(255, 153, 0, 0.35);
    color: white;
}

/* ============================================
   COMPARISON TABLE - RESPONSIVE
   ============================================ */
.comparison-section {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-section h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
    font-size: 0.85rem;
}

.comparison-table th,
.comparison-table td {
    padding: 0.75rem 0.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
    background: var(--glass);
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
}

.comparison-table tr:hover {
    background: var(--glass-hover);
}

.comparison-table .winner {
    color: var(--accent-green);
    font-weight: 700;
}

/* ============================================
   CONTENT CARDS - RESPONSIVE
   ============================================ */
.content-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-card h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.content-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 1.25rem 0 0.75rem;
    color: var(--accent-gold);
}

.content-card p {
    color: var(--text-secondary);
    margin-bottom: 0.9rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

.content-card ul, .content-card ol {
    color: var(--text-secondary);
    margin-left: 1.25rem;
    margin-bottom: 1rem;
}

.content-card li {
    margin-bottom: 0.4rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ============================================
   FAQ SECTION - RESPONSIVE
   ============================================ */
.faq-section {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.faq-section h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-item {
    border-bottom: 1px solid var(--border-subtle);
    padding: 1rem 0;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-item h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.faq-item p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.7;
    font-size: 0.9rem;
}

/* ============================================
   CLUSTER LINKS - RESPONSIVE
   ============================================ */
.cluster-section {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.cluster-section h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cluster-section h3 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin: 1.25rem 0 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cluster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.6rem;
}

.cluster-link {
    display: block;
    padding: 0.9rem;
    background: var(--glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.25s ease;
}

.cluster-link:hover {
    background: var(--glass-hover);
    border-color: var(--border-medium);
    transform: translateY(-2px);
}

.cluster-link strong {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.15rem;
}

.cluster-link span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================
   AUTHOR BOX - RESPONSIVE
   ============================================ */
.author-box {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.25rem;
    background: var(--glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.author-info h4 {
    font-weight: 600;
    margin-bottom: 0.15rem;
    font-size: 0.95rem;
}

.author-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ============================================
   METHODOLOGY & SOURCES - RESPONSIVE
   ============================================ */
.methodology-box, .sources-box {
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.methodology-box {
    background: rgba(34, 197, 94, 0.06);
    border: 1px solid rgba(34, 197, 94, 0.15);
}

.methodology-box h3 {
    color: var(--accent-green);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.methodology-box ul {
    list-style: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.methodology-box li {
    padding: 0.3rem 0;
}

.sources-box {
    background: rgba(251, 191, 36, 0.06);
    border-left: 3px solid var(--accent-gold);
}

.sources-box h3 {
    color: var(--accent-gold);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.sources-box ul {
    list-style: none;
    font-size: 0.85rem;
}

.sources-box li {
    padding: 0.3rem 0;
}

.sources-box a {
    color: var(--accent-primary);
    text-decoration: none;
}

.sources-box a:hover {
    text-decoration: underline;
}

/* ============================================
   CATEGORY PAGE GRID - RESPONSIVE
   ============================================ */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    border-color: var(--border-medium);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.category-card .icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.category-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.category-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

/* ============================================
   VS / COMPARISON CARDS - RESPONSIVE
   ============================================ */
.vs-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.vs-card:hover {
    border-color: var(--border-medium);
    transform: translateX(5px);
}

.vs-badge {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
    color: white;
}

.vs-info h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.vs-info p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0;
}

/* ============================================
   FOOTER - RESPONSIVE
   ============================================ */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    margin-top: 3rem;
    padding: 2.5rem 1.5rem 1.25rem;
}

.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.footer-brand {
    grid-column: 1 / -1;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.75rem;
    max-width: 280px;
    line-height: 1.6;
}

.footer-col h4 {
    font-family: 'Syne', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.affiliate-notice {
    font-size: 0.7rem;
    color: var(--text-muted);
    max-width: 450px;
    text-align: right;
    line-height: 1.5;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .footer-brand {
        grid-column: span 2;
    }
}

/* Tablets */
@media (max-width: 768px) {
    header {
        padding: 0.75rem 1rem;
    }
    
    nav ul {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    main {
        padding-top: 60px;
    }
    
    .content-wrapper {
        padding: 0 1rem 2.5rem;
    }
    
    .article-hero {
        padding: 1rem 1rem 2rem;
    }
    
    .product-card {
        padding: 1.25rem;
    }
    
    .product-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .product-price {
        text-align: left;
    }
    
    .product-card.featured::before,
    .product-card.best-value::before,
    .product-card.budget::before {
        font-size: 0.6rem;
        padding: 0.35rem 0.75rem;
    }
    
    .amazon-cta {
        max-width: 100%;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .affiliate-notice {
        text-align: center;
        max-width: 100%;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    :root {
        --radius-lg: 16px;
        --radius-xl: 20px;
    }
    
    body {
        font-size: 15px;
    }
    
    header {
        padding: 0.6rem 0.75rem;
    }
    
    .logo-mark {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }
    
    .logo-text {
        font-size: 1.15rem;
    }
    
    .breadcrumb {
        padding: 0.5rem 1rem;
    }
    
    .breadcrumb ol {
        font-size: 0.75rem;
    }
    
    .article-hero {
        padding: 0.75rem 1rem 1.5rem;
    }
    
    .article-hero .category-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
    }
    
    .article-meta {
        gap: 0.75rem;
        font-size: 0.75rem;
    }
    
    .content-wrapper {
        padding: 0 0.75rem 2rem;
    }
    
    .quick-ranking,
    .product-card,
    .content-card,
    .faq-section,
    .cluster-section,
    .comparison-section {
        padding: 1rem;
        border-radius: var(--radius-md);
    }
    
    .product-rank {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0.75rem;
    }
    
    .pros-cons {
        grid-template-columns: 1fr;
    }
    
    .cluster-grid {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    footer {
        padding: 2rem 1rem 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .ambient-orb {
        opacity: 0.2;
    }
    
    .orb-1 {
        width: 300px;
        height: 300px;
    }
    
    .orb-2 {
        width: 250px;
        height: 250px;
    }
    
    .orb-3 {
        width: 200px;
        height: 200px;
    }
}

/* Extra small phones */
@media (max-width: 360px) {
    .logo-text {
        font-size: 1rem;
    }
    
    .article-hero h1 {
        font-size: 1.5rem;
    }
    
    .product-name h3 {
        font-size: 1rem;
    }
    
    .product-price .price {
        font-size: 1.35rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
    header {
        padding: 0.5rem 1rem;
    }
    
    main {
        padding-top: 50px;
    }
    
    .article-hero {
        padding: 0.5rem 1rem 1rem;
    }
}

/* Print styles */
@media print {
    .ambient-bg,
    .grain,
    header,
    footer,
    .amazon-cta {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .product-card,
    .content-card,
    .faq-section {
        border: 1px solid #ccc;
        break-inside: avoid;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --border-subtle: rgba(255,255,255,0.2);
        --border-medium: rgba(255,255,255,0.3);
        --text-muted: #9ca3af;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .ambient-orb {
        animation: none;
    }
}
