/*
Theme Name: wx4k
Description: Tema premium
Version: 1.1
*/

        :root {
            --bg-base: #0a0b10;
            --bg-surface: #141722;
            --bg-surface-light: #1e2235;
            --text-main: #ffffff;
            --text-muted: #9ca3af;
            --primary: #6366f1;
            --primary-hover: #4f46e5;
            --yellow: #eab308;
            --green: #22c55e;
            --red: #ef4444;
            --font-family: 'Inter', sans-serif;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; font-family: var(--font-family); }
        body { background-color: var(--bg-base); color: var(--text-main); overflow-x: hidden; line-height: 1.6; }
        a { text-decoration: none; color: inherit; }

        /* Floating Header (Same as index.html) */
        .header-container { position: fixed; top: 20px; left: 0; right: 0; z-index: 1000; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
        .header-left, .header-right { pointer-events: auto; }
        .pill-menu { background: rgba(20, 23, 34, 0.85); backdrop-filter: blur(16px); padding: 8px 24px 8px 8px; border-radius: 40px; display: flex; align-items: center; gap: 24px; border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
        .logo { display: flex; align-items: center; font-weight: 900; font-style: italic; color: white; background: var(--primary); width: 40px; height: 40px; border-radius: 50%; justify-content: center; box-shadow: 0 0 15px rgba(99, 102, 241, 0.4); }
        .nav-links { display: flex; gap: 24px; font-size: 15px; font-weight: 600; color: #d1d5db; position: relative; }
        .nav-item > a { padding: 10px 0; display: inline-block; transition: 0.2s; }
        .nav-item:hover > a { color: white; }
        .header-right .pill-menu { padding: 8px 16px; gap: 12px; cursor: pointer; }
        .header-right input { background: transparent; border: none; outline: none; color: white; font-size: 14px; width: 120px; font-weight: 500; }

        /* Article Hero */
        @keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.05); } }
        @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
        
        .article-hero { position: relative; width: 100%; height: 50vh; margin-top: -100px; padding-top: 100px; margin-top: -100px; padding-top: 100px; min-height: 400px; display: flex; align-items: flex-end; padding-bottom: 60px; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,0.05); }
        .article-hero-bg { position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1541562232579-512a21360020?q=80&w=1920&auto=format&fit=crop') center/cover; animation: heroZoom 20s infinite alternate ease-in-out; z-index: 0; filter: brightness(0.6) saturate(1.2); }
        .article-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg-base) 0%, rgba(10,11,16,0.8) 40%, transparent 100%); z-index: 1; }
        
        .hero-container { max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 20px; position: relative; z-index: 10; animation: fadeInUp 0.8s ease forwards; display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: end; }
        
        .hero-content { padding-bottom: 20px; }
        .article-category { display: inline-flex; align-items: center; gap: 6px; background: rgba(99, 102, 241, 0.2); color: #a5b4fc; padding: 6px 14px; border-radius: 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; border: 1px solid rgba(99, 102, 241, 0.4); backdrop-filter: blur(10px); }
        .article-title { font-size: 56px; font-weight: 900; line-height: 1.1; margin-bottom: 24px; text-shadow: 0 4px 20px rgba(0,0,0,0.8); letter-spacing: -1px; }
        
        /* Layout Grid */
        .layout-grid { max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1fr 300px; gap: 60px; position: relative; }
        
        /* Main Article */
        .article-main { padding-top: 40px; }
        
        .author-box { display: flex; justify-content: space-between; align-items: center; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 40px; }
        .author-info { display: flex; align-items: center; gap: 16px; }
        .author-info img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary); }
        .author-text h4 { font-size: 16px; font-weight: 700; color: white; margin-bottom: 4px; }
        .author-text p { font-size: 13px; color: var(--text-muted); font-weight: 500; }
        .share-btns { display: flex; gap: 12px; }
        .btn-share { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-surface); display: flex; justify-content: center; align-items: center; color: white; border: 1px solid rgba(255,255,255,0.1); cursor: pointer; transition: 0.2s; }
        .btn-share:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-2px); }

        .article-body { font-size: 18px; color: #d1d5db; }
        .article-body p { margin-bottom: 24px; letter-spacing: 0.2px; }
        .article-body h2 { font-size: 28px; font-weight: 800; color: white; margin: 48px 0 24px 0; line-height: 1.3; border-bottom: 2px solid rgba(255,255,255,0.05); padding-bottom: 12px; }
        .article-body h3 { font-size: 22px; font-weight: 700; color: white; margin: 32px 0 16px 0; }
        
        .article-body img { width: 100%; border-radius: 12px; margin: 32px 0; box-shadow: 0 10px 30px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.05); }
        
        .trailer-box { position: relative; padding-bottom: 56.25%; height: 0; margin: 40px 0; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); background: #000; }
        .trailer-box iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
        
        /* Pros & Cons */
        .pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 40px 0; }
        .pc-box { background: var(--bg-surface); padding: 24px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); }
        .pc-title { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; margin-bottom: 16px; }
        .pc-title.pros { color: var(--green); }
        .pc-title.cons { color: var(--red); }
        .pc-list { list-style: none; }
        .pc-list li { position: relative; padding-left: 24px; margin-bottom: 12px; font-size: 15px; color: #d1d5db; }
        .pc-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: bold; }
        .pc-list.cons-list li::before { content: '✕'; color: var(--red); }

        /* Verdict Box */
        .verdict-box { background: linear-gradient(145deg, var(--bg-surface) 0%, rgba(20,23,34,0.5) 100%); border: 1px solid rgba(99, 102, 241, 0.3); border-radius: 20px; padding: 40px; margin: 60px 0; text-align: center; position: relative; overflow: hidden; }
        .verdict-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--yellow)); }
        .verdict-title { font-size: 14px; font-weight: 800; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 2px; }
        .verdict-score-circle { width: 120px; height: 120px; border-radius: 50%; border: 6px solid var(--yellow); display: flex; justify-content: center; align-items: center; margin: 0 auto 24px auto; box-shadow: 0 0 30px rgba(234, 179, 8, 0.2); }
        .verdict-score { font-size: 48px; font-weight: 900; color: white; line-height: 1; }
        .verdict-text { font-size: 18px; color: white; font-weight: 600; line-height: 1.6; }

        /* Ad Banner */
        .ad-banner { background: rgba(255,255,255,0.02); border: 1px dashed rgba(255,255,255,0.2); border-radius: 12px; display: flex; flex-direction: column; justify-content: center; align-items: center; color: var(--text-muted); font-size: 13px; margin: 40px 0; width: 100%; height: 90px; font-weight: 600; letter-spacing: 1px; }

        /* Sidebar */
        .sidebar { margin-top: -150px; position: relative; z-index: 20; }
        .sticky-wrapper { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 24px; }
        
        .anime-poster { width: 100%; aspect-ratio: 2/3; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.6); border: 2px solid rgba(255,255,255,0.1); margin-bottom: 24px; }
        .anime-poster img { width: 100%; height: 100%; object-fit: cover; }
        
        .info-card { background: var(--bg-surface); border-radius: 16px; padding: 24px; border: 1px solid rgba(255,255,255,0.05); }
        .info-title { font-size: 16px; font-weight: 800; color: white; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
        .info-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 14px; }
        .info-row:last-child { border-bottom: none; padding-bottom: 0; }
        .info-label { color: var(--text-muted); font-weight: 600; }
        .info-value { color: white; font-weight: 700; text-align: right; }
        
        .score-card { background: var(--bg-surface); border-radius: 16px; padding: 24px; border: 1px solid rgba(255,255,255,0.05); }
        .score-bar-wrap { margin-bottom: 16px; }
        .score-bar-header { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
        .score-bar-header span:last-child { color: var(--yellow); }
        .score-bar-bg { width: 100%; height: 6px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; }
        .score-bar-fill { height: 100%; background: var(--primary); border-radius: 4px; }

        /* Footer */
        .footer { padding: 60px 40px 40px; margin-top: 60px; max-width: 1200px; margin-left: auto; margin-right: auto; }
        .footer-logo { font-size: 24px; font-weight: 900; font-style: italic; color: var(--primary); letter-spacing: -1px; margin-bottom: 24px; display: block; }
        .footer-desc { color: var(--text-muted); font-size: 14px; max-width: 400px; margin-bottom: 32px; line-height: 1.6; }
        .footer-links { display: flex; gap: 24px; margin-bottom: 40px; font-size: 14px; font-weight: 600; color: #d1d5db; }
        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 24px; font-size: 13px; color: #6b7280; }
    

        :root {
            --bg-base: #0a0b10;
            --bg-surface: #141722;
            --bg-hover: #1f2332;
            --text-main: #ffffff;
            --text-muted: #9ca3af;
            --primary: #6366f1; /* Purple/Indigo */
            --primary-hover: #4f46e5;
            --yellow: #eab308;
            --font-family: 'Inter', sans-serif;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; font-family: var(--font-family); }
        body { background-color: var(--bg-base); color: var(--text-main); overflow-x: hidden; }
        a { text-decoration: none; color: inherit; }

        /* Floating Header */
        .header-container { position: fixed; top: 20px; left: 0; right: 0; z-index: 1000; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
        .header-left, .header-right { pointer-events: auto; }
        
        .pill-menu { background: rgba(30, 30, 30, 0.7); backdrop-filter: blur(16px); padding: 8px 24px 8px 8px; border-radius: 40px; display: flex; align-items: center; gap: 24px; border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
        .logo { display: flex; align-items: center; }
        .nav-links { display: flex; gap: 24px; font-size: 15px; font-weight: 600; color: #d1d5db; position: relative; }
        .nav-item { position: relative; display: flex; align-items: center; }
        .nav-item > a { display: flex; align-items: center; gap: 4px; padding: 10px 0; }
        .nav-item.active > a { color: white; font-weight: 700; }
        .nav-item:hover > a { color: white; }

        /* Dropdown Mega Menu */
        .dropdown-menu { position: absolute; top: 100%; left: 0; transform: translateX(-30%); margin-top: 10px; background: rgba(20, 23, 34, 0.95); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 20px; width: max-content; max-width: 650px; display: none; flex-wrap: wrap; gap: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); z-index: 2000; pointer-events: auto; }
        .nav-item:hover .dropdown-menu { display: flex; }
        
        .genre-pill { background: rgba(255,255,255,0.06); border: 1px solid transparent; padding: 8px 16px; border-radius: 20px; font-size: 14px; font-weight: 700; color: white; display: flex; align-items: center; gap: 8px; transition: 0.2s; cursor: pointer; }
        .genre-pill:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); }
        .genre-count { color: #9ca3af; font-size: 13px; font-weight: 500; }
        
        .header-right { display: flex; align-items: center; gap: 12px; }
        .search-container { position: relative; }
        .icon-btn { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; justify-content: center; align-items: center; cursor: pointer; border: none; color: white; backdrop-filter: blur(8px); position: relative; }
        .icon-btn:hover { background: rgba(255,255,255,0.2); }
        .badge-count { position: absolute; top: -2px; right: -2px; background: var(--primary); color: white; font-size: 10px; width: 16px; height: 16px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-weight: bold; border: 2px solid var(--bg-base); }
        .btn-login { background: var(--primary); color: white; padding: 8px 20px; border-radius: 20px; font-size: 14px; font-weight: 600; border: none; cursor: pointer; display: flex; align-items: center; gap: 8px; }

        /* Hero Section */
        .hero { position: relative; width: 100%; height: 85vh; min-height: 600px; display: flex; align-items: center; }
        .hero-gradient { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg-base) 0%, rgba(10,11,16,0.8) 20%, transparent 60%), linear-gradient(to right, rgba(10,11,16,0.7) 0%, transparent 40%); }
        .hero-content { position: relative; z-index: 10; padding-left: 80px; max-width: 800px; margin-top: 100px; }
        .hero-title { font-size: 80px; font-weight: 900; line-height: 1; margin-bottom: 24px; text-shadow: 0 4px 20px rgba(0,0,0,0.5); letter-spacing: -2px; }
        
        .hero-tags { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
        .hero-tag { background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; border: 1px solid rgba(255,255,255,0.1); }
        
        .hero-actions { display: flex; gap: 16px; align-items: center; }
        .btn-play { background: var(--primary); color: white; padding: 14px 32px; border-radius: 30px; font-size: 16px; font-weight: 700; border: none; cursor: pointer; display: flex; align-items: center; gap: 10px; transition: 0.2s; }
        .btn-play:hover { background: var(--primary-hover); transform: scale(1.05); }
        .btn-circle { width: 48px; height: 48px; border-radius: 50%; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.2); color: white; display: flex; justify-content: center; align-items: center; cursor: pointer; backdrop-filter: blur(10px); transition: 0.2s; }
        .btn-circle:hover { background: rgba(255,255,255,0.2); transform: scale(1.1); }

        /* Carousel Arrows */
        .carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); border: none; color: white; display: flex; justify-content: center; align-items: center; cursor: pointer; z-index: 20; transition: 0.2s; }
        .carousel-arrow:hover { background: rgba(255,255,255,0.3); }
        .arrow-left { left: 24px; }
        .arrow-right { right: 24px; }

        /* Animations */
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes heroZoom {
            from { transform: scale(1); }
            to { transform: scale(1.05); }
        }
        .hero { overflow: hidden; }
        .hero::before { content: ''; position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1578632767115-351597cf2477?q=80&w=1920&auto=format&fit=crop') center/cover; animation: heroZoom 20s infinite alternate ease-in-out; z-index: -1; }
        .poster-card { animation: fadeInUp 0.6s ease forwards; opacity: 0; }
        .poster-card:nth-child(1) { animation-delay: 0.1s; }
        .poster-card:nth-child(2) { animation-delay: 0.2s; }
        .poster-card:nth-child(3) { animation-delay: 0.3s; }
        .poster-card:nth-child(4) { animation-delay: 0.4s; }
        .poster-card:nth-child(5) { animation-delay: 0.5s; }
        .poster-card:nth-child(6) { animation-delay: 0.6s; }

        /* Ad Banners */
        .ad-banner { background: rgba(255,255,255,0.02); border: 1px dashed rgba(255,255,255,0.2); border-radius: 12px; display: flex; flex-direction: column; justify-content: center; align-items: center; color: var(--text-muted); font-size: 13px; margin: 40px auto; width: 100%; max-width: 970px; height: 90px; font-weight: 600; letter-spacing: 1px; }
        .ad-banner span { background: rgba(255,255,255,0.1); padding: 4px 12px; border-radius: 4px; margin-top: 8px; font-size: 11px; }

        /* Main Content Container */
        .main-content { padding: 40px; max-width: 1600px; margin: 0 auto; }

        /* Section Headers */
        .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; margin-top: 40px; }
        .section-title { font-size: 24px; font-weight: 700; }
        .section-link { font-size: 14px; color: var(--text-muted); font-weight: 600; }
        .section-link:hover { color: white; }

        /* Poster Grid (Top Animes / Películas) */
        .poster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
        .poster-card { position: relative; aspect-ratio: 2/3; border-radius: 12px; overflow: hidden; cursor: pointer; transition: 0.3s; background: var(--bg-surface); }
        .poster-card img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }
        .poster-card:hover img { transform: scale(1.05); }
        .poster-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 40%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; }
        .poster-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; line-height: 1.3; }
        .poster-meta { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; font-weight: 600; }
        .poster-meta span.score { color: var(--yellow); }

        /* Episodes Grid (16:9 Thumbnail) */
        .episodes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
        .episode-card { position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; cursor: pointer; }
        .episode-card img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }
        .episode-card:hover img { transform: scale(1.05); }
        .episode-badge { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,0.9); color: black; padding: 4px 8px; border-radius: 6px; font-size: 12px; font-weight: 800; z-index: 2; }
        
        /* Comments Grid */
        .comments-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 16px; }
        .comment-card { background: var(--bg-surface); border-radius: 12px; padding: 16px; display: flex; gap: 16px; transition: 0.2s; cursor: pointer; border: 1px solid transparent; }
        .comment-card:hover { background: var(--bg-hover); border-color: rgba(255,255,255,0.05); }
        .comment-img { width: 60px; height: 80px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
        .comment-body { display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
        .comment-user { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
        .comment-user img { width: 20px; height: 20px; border-radius: 50%; }
        .comment-time { color: var(--text-muted); font-weight: 500; }
        .comment-text { font-size: 14px; margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .comment-anime { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

        /* Footer */
        .footer { padding: 60px 40px 40px; margin-top: 60px; }
        .footer-logo { font-size: 24px; font-weight: 900; font-style: italic; color: var(--primary); letter-spacing: -1px; margin-bottom: 24px; display: block; }
        .footer-desc { color: var(--text-muted); font-size: 14px; max-width: 400px; margin-bottom: 32px; line-height: 1.6; }
        .footer-links { display: flex; gap: 24px; margin-bottom: 40px; font-size: 14px; font-weight: 600; color: #d1d5db; }
        .footer-links a:hover { color: white; }
        
        .footer-section-title { font-size: 12px; font-weight: 800; color: #6b7280; letter-spacing: 1px; margin-bottom: 16px; text-transform: uppercase; }
        .footer-genres { display: flex; flex-wrap: wrap; gap: 16px 24px; font-size: 13px; font-weight: 500; color: var(--text-muted); margin-bottom: 40px; }
        .footer-genres a:hover { color: white; }
        
        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 24px; font-size: 13px; color: #6b7280; }

    

body.light-mode {
    --bg-main: #ffffff;
    --bg-surface: #f6f8fa;
    --bg-surface-hover: #eaeef2;
    --text-primary: #24292e;
    --text-muted: #586069;
    --accent: #0366d6;
    --accent-hover: #005cc5;
    --yellow: #f9c513;
}


/* ==========================================
   MOBILE RESPONSIVE (SMARTPHONES Y TABLETS)
========================================== */
@media (max-width: 768px) {
    /* Header Responsive */
    .site-header {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .header-actions {
        width: 100%;
        justify-content: space-between;
    }
    .search-bar {
        width: 100%;
    }
    .search-bar input {
        width: 100%;
    }

    /* Carrusel Responsive */
    .hero-carousel-wrapper {
        min-height: 500px;
        height: 60vh;
    }
    .hero-content {
        margin-top: 50px !important;
    }
    .hero-title {
        font-size: 32px !important; /* Letra más pequeña en móvil */
        line-height: 1.2 !important;
    }
    .hero-description {
        font-size: 15px !important;
        margin-bottom: 20px !important;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .hero-tags {
        gap: 8px !important;
        margin-bottom: 15px !important;
    }
    .hero-tags .badge {
        font-size: 11px !important;
        padding: 4px 8px !important;
    }
    .btn-primary {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
    .btn-secondary {
        padding: 10px 15px !important;
    }

    /* Grillas y Títulos Responsive */
    .epic-title {
        font-size: 20px !important;
    }
    .poster-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* 2 columnas exactas en móvil */
        gap: 10px !important;
    }
    .poster-overlay {
        padding: 10px !important;
    }
    .poster-title {
        font-size: 13px !important;
    }
    .poster-meta {
        font-size: 10px !important;
    }
    .section-header-custom {
        margin-top: 25px !important;
        margin-bottom: 15px !important;
    }
    
    /* Espaciado general */
    div[style*="padding: 40px"] {
        padding: 15px !important;
    }
    .ad-banner {
        margin: 20px auto !important;
        height: 60px !important;
        font-size: 10px !important;
    }
}



    .pill-menu {
        padding: 8px 15px !important;
        gap: 10px !important;
        width: 100%;
        justify-content: center;
    }
    .nav-links {
        gap: 12px !important;
        font-size: 13px !important;
    }
    
    /* Single.php hero fixes */
    .article-hero {
        padding-top: 130px !important;
        height: auto !important;
        min-height: 450px !important;
    }
    .hero-container {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
    .article-title {
        font-size: 32px !important;
        line-height: 1.2 !important;
        margin-top: 20px !important;
    }
    .article-category {
        margin: 0 auto 10px auto !important;
    }
}
