       :root {
            --primary-color: #2563eb; /* Azul original */
            --secondary-color: #1e293b;
            --bg-body: #f3f4f6;
            --bg-card: #ffffff;
            --text-main: #1f2937;
            --text-light: #6b7280;
            --border-radius: 12px;
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
            --logo-view-color: #000000;
        }

        [data-theme="dark"] {
            --bg-body: #0f172a;
            --bg-card: #1e293b;
            --text-main: #f1f5f9;
            --text-light: #94a3b8;
            --secondary-color: #334155;
            --logo-view-color: #ffffff;
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-body);
            color: var(--text-main);
            line-height: 1.4;
            transition: var(--transition);
        }

        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

        header {
            background-color: var(--bg-card);
            box-shadow: 0 1px 2px rgba(0,0,0,0.05);
            position: sticky;
            top: 0; z-index: 100;
            padding: 15px 0;
            transition: var(--transition);
        }

        .header-content { display: flex; justify-content: space-between; align-items: center; }
        
        .logo { 
            font-size: 1.2rem; 
            font-weight: 800; 
            color: var(--primary-color); 
            text-decoration: none; 
            text-transform: uppercase; 
            transition: var(--transition);
            flex-shrink: 0;
        }
        .logo span { 
            color: var(--logo-view-color);
            transition: var(--transition);
        }

        /* --- AJUSTES NA BARRA DE NAVEGAÇÃO --- */
        .nav-controls { display: flex; align-items: center; gap: 20px; }

        .nav-links { display: flex; gap: 20px; align-items: center; }
        .nav-links a {
            text-decoration: none;
            color: var(--text-main);
            font-weight: 600;
            font-size: 0.95rem;
            transition: color 0.2s;
        }
        .nav-links a:hover { color: var(--primary-color); }

        .menu-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--text-main);
            cursor: pointer;
            padding: 0;
        }

        .search-box {
            display: flex; align-items: center;
            background: var(--bg-body);
            border-radius: 50px; padding: 6px 15px;
        }
        
        .search-box input {
            border: none; background: transparent; outline: none;
            color: var(--text-main); width: 120px;
        }

        .theme-toggle-btn {
            background: none; border: none; cursor: pointer;
            width: 40px; height: 40px;
            display: flex; align-items: center; justify-content: center;
        }

        .icon-center {
            width: 16px; height: 16px;
            border-radius: 50%;
            background: #f1c40f;
            position: relative;
            transition: var(--transition);
            box-shadow: 0 0 10px #f1c40f;
        }

        .icon-center::after {
            content: '';
            position: absolute;
            top: 50%; left: 50%;
            transform: translate(-50%, -50%);
            width: 2px; height: 2px;
            border-radius: 50%;
            box-shadow: 0 -12px 0 #f1c40f, 0 12px 0 #f1c40f, 12px 0 0 #f1c40f, -12px 0 0 #f1c40f,
                        8px -8px 0 #f1c40f, -8px 8px 0 #f1c40f, 8px 8px 0 #f1c40f, -8px -8px 0 #f1c40f;
            transition: var(--transition);
        }

        .icon-center::before {
            content: '';
            position: absolute;
            width: 14px; height: 14px;
            border-radius: 50%;
            background: var(--bg-card);
            top: -4px; right: -4px;
            transition: var(--transition);
            opacity: 0;
        }

        [data-theme="dark"] .icon-center { background: #f1f5f9; box-shadow: 0 0 15px #f1f5f9; transform: rotate(-20deg); }
        [data-theme="dark"] .icon-center::after { opacity: 0; }
        [data-theme="dark"] .icon-center::before { opacity: 1; transform: translate(-2px, 0); }

        main { padding: 30px 0; }
        .page-title { font-size: 2rem; font-weight: 800; margin-bottom: 25px; }

        .featured-post {
            display: flex; 
            background-color: var(--bg-card);
            border-radius: var(--border-radius); 
            overflow: hidden;
            box-shadow: var(--shadow-md); 
            margin-bottom: 30px;
            text-decoration: none; 
            color: inherit; 
            min-height: 350px;
            transition: var(--transition);
        }

        .featured-image { 
            flex: 1.2; 
            /* Imagem de JOGOS (Setup Gamer) */
            background-size: cover; 
            background-position: center; 
        }

        .featured-content { 
            flex: 1; 
            padding: 40px; 
            display: flex; 
            flex-direction: column; 
            justify-content: center; 
        }

        .featured-content h2 { font-size: 1.8rem; margin-bottom: 15px; line-height: 1.2; }
        .featured-content p { font-size: 1rem; color: var(--text-light); line-height: 1.6; }

        .tag {
            background-color: #e0e7ff; color: var(--primary-color);
            padding: 4px 12px; border-radius: 20px; font-size: 0.75rem;
            font-weight: 600; align-self: flex-start; margin-bottom: 12px;
            text-transform: uppercase;
        }

        .posts-grid { 
            display: grid; 
            grid-template-columns: repeat(4, 1fr); 
            gap: 25px; 
        }
        
        .card {
            background-color: var(--bg-card); border-radius: var(--border-radius);
            overflow: hidden; box-shadow: var(--shadow-md);
            display: flex; flex-direction: column; text-decoration: none; color: inherit;
            transition: var(--transition);
        }

        .card:hover { transform: translateY(-5px); }
        .card-image { height: 180px; background-size: cover; background-position: center; }
        .card-content { padding: 15px; flex-grow: 1; }
        .card-content h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--text-main); }
        .card-content p { font-size: 0.85rem; color: var(--text-light); }

        .hidden { display: none !important; }

        .pagination-container {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 40px;
            padding-bottom: 50px;
            align-items: center; 
        }

        .page-btn {
            padding: 8px 16px;
            border: 1px solid var(--primary-color);
            background: transparent;
            color: var(--primary-color);
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            transition: var(--transition);
            min-width: 40px; 
        }

        .page-btn.active {
            background: var(--primary-color);
            color: white;
        }

        .page-btn:hover:not(.active):not(:disabled) {
            background: rgba(37, 99, 235, 0.1);
        }

        .page-btn:disabled {
            border-color: #ccc;
            color: #ccc;
            cursor: not-allowed;
        }

        /* --- RESPONSIVIDADE CORRIGIDA --- */
        @media (max-width: 900px) {
            .posts-grid { grid-template-columns: repeat(2, 1fr); }
            
            .menu-toggle { display: block; }

            .nav-links {
                display: none;
                position: absolute;
                top: 70px; right: 20px;
                background: var(--bg-card);
                flex-direction: column;
                padding: 15px;
                border-radius: 12px;
                box-shadow: 0 10px 20px rgba(0,0,0,0.15);
                z-index: 1000;
                min-width: 150px;
                gap: 15px;
            }

            .nav-links.active { display: flex; }
            .search-box input { width: 80px; }
        }

        @media (max-width: 600px) {
            .logo { font-size: 1.2rem; font-weight: 800; color: var(--primary-color); text-decoration: none; text-transform: uppercase;}
            .logo span { color: var(--logo-view-color); transition: var(--transition); }
            .search-box { display: flex; align-items: center; background: var(--bg-body); border-radius: 50px; padding: 6px 7px;}
            .posts-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
            .featured-post { flex-direction: row; min-height: 180px; }
            .featured-image { flex: 1; }
            .featured-content { flex: 1.2; padding: 15px; }
            .featured-content h2 { font-size: 0.95rem; }
            .featured-content p { font-size: 0.75rem; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
            .card-image { height: 110px; }
            .card-content h3 { font-size: 0.9rem; }
        }