/*
Theme Name: AincradX Pro
Theme URI: https://wptheme.site/
Author: Jach
Author URI: https://wptheme.site/
Description: Tema profesional de WordPress para descargas de juegos. Diseño oscuro gaming con sistema de puntuación, categorías por plataforma y tags personalizados.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gamereviews
Tags: gaming, reviews, dark-mode, custom-post-types, responsive

GameReviews WordPress Theme - Tu fuente de reviews de videojuegos
*/

/* ========================================
   CSS Variables
   ======================================== */
:root {
    --gr-background: #0a0a0a;
    --gr-card-bg: #161616;
    --gr-card-hover: #1f1f1f;
    --gr-border: #1a1a1a;
    --gr-border-hover: #2a2a2a;
    --gr-text: #e5e5e5;
    --gr-text-muted: #737373;
    --gr-text-dark: #525252;
    --gr-accent: #4ade80;
    --gr-accent-hover: #22c55e;
    --gr-red: #ef4444;
    --gr-yellow: #facc15;
    --gr-radius: 8px;
    --gr-radius-sm: 4px;
}

/* ========================================
   Base Styles
   ======================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Chakra Petch', sans-serif;
    background-color: var(--gr-background);
    color: var(--gr-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-top: 64px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

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

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* ========================================
   Layout
   ======================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

@media (max-width: 1024px) {
    .grid-4 { 
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .grid-3 { 
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* ========================================
   Header
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Ajuste para admin bar de WordPress */
.admin-bar .site-header {
    top: 0;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 0;
    }
}

/* Compensar altura del header en el body */
body {
    padding-top: 64px;
}

.admin-bar body {
    padding-top: 96px;
}

@media screen and (max-width: 782px) {
    body {
        padding-top: 48px;
    }
    
    .admin-bar body {
        padding-top: 94px;
    }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 0.5rem;
    padding: 0 1rem;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-logo svg {
    width: 32px;
    height: 32px;
    color: var(--gr-accent);
}

.site-logo .custom-logo-img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.site-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.site-logo-text span {
    color: var(--gr-accent);
}

.site-logo-tagline {
    font-size: 9px;
    color: var(--gr-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: -4px;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav > ul {
    overflow: visible;
}

.main-nav li {
    list-style: none;
    position: relative;
}

.main-nav a {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--gr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: #fff;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Submenu indicator */
.main-nav .menu-item-has-children > a::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.main-nav .menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* Submenu styles - All levels */
.main-nav .sub-menu {
    position: absolute;
    min-width: 200px;
    background: var(--gr-card-bg);
    border: 1px solid var(--gr-border-hover);
    border-top: 2px solid var(--gr-accent);
    padding: 0.5rem 0;
    display: block;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    /* IMPORTANT: do not use clip-path here; it clips nested submenus */
    border-radius: 8px;
}

/* First level submenu positioning */
.main-nav > ul > li > .sub-menu {
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    transform: translateY(-10px);
}

/* Show submenu on hover - universal selector */
.main-nav li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
}

/* First level transform */
.main-nav > ul > li:hover > .sub-menu {
    transform: translateY(0);
}

/* All submenu items */
.main-nav .sub-menu li {
    width: 100%;
    position: relative;
    display: block;
}

.main-nav .sub-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    width: 100%;
    color: var(--gr-text-muted);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.main-nav .sub-menu a:hover {
    color: var(--gr-accent);
}

/* Nested submenus (2nd level and beyond) */
.main-nav .sub-menu .sub-menu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-top: 0;
    margin-left: 0.5rem;
    min-width: 200px;
    background: var(--gr-card-bg);
    border: 1px solid var(--gr-border-hover);
    border-top: 2px solid var(--gr-accent);
    padding: 0.5rem 0;
    display: block;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    /* IMPORTANT: do not use clip-path here; it clips deeper levels */
    border-radius: 8px;
}

/* Show nested submenu on hover */
.main-nav .sub-menu li:hover > .sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
}

/* Submenu indicator for nested items */
.main-nav .sub-menu .menu-item-has-children > a::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 4px solid currentColor;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.main-nav .sub-menu .menu-item-has-children:hover > a::after {
    border-left-color: var(--gr-accent);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--gr-accent);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Header Icons */
.mobile-header-icons {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

.mobile-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--gr-border-hover);
    border-radius: 6px;
    color: var(--gr-text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.mobile-icon-btn:hover {
    background: var(--gr-card-hover);
    border-color: var(--gr-accent);
    color: var(--gr-accent);
}

.mobile-icon-btn svg {
    width: 20px;
    height: 20px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Header Buttons */
.header-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem 0.5rem 1.25rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: transparent;
    border: none;
    color: var(--gr-text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    position: relative;
}

.header-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    border: 1px solid var(--gr-border-hover);
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    z-index: -1;
    transition: border-color 0.2s ease;
}

.header-btn svg {
    flex-shrink: 0;
}

.header-btn:hover {
    color: #fff;
}

.header-btn:hover::before {
    border-color: var(--gr-accent);
    background: var(--gr-card-bg);
}

.header-btn-search {
    background: #fff;
    color: #000;
}

.header-btn-search::before {
    background: #fff;
    border: none;
}

.header-btn-search:hover {
    background: var(--gr-accent);
    color: #000;
}

.header-btn-search:hover::before {
    background: var(--gr-accent);
}

.header-btn-search svg {
    stroke: currentColor;
}

.header-btn-account svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid var(--gr-border-hover);
    border-radius: var(--gr-radius-sm);
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn:hover {
    border-color: var(--gr-accent);
    color: var(--gr-accent);
}

.btn-primary {
    background: var(--gr-accent);
    border-color: var(--gr-accent);
    color: #000;
}

.btn-primary:hover {
    background: var(--gr-accent-hover);
    border-color: var(--gr-accent-hover);
    color: #000;
}

/* ========================================
   Search Modal
   ======================================== */
.search-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 5rem 1rem 2rem;
    overflow-y: auto;
}

/* Ajustar modal en móvil cuando hay admin bar */
@media screen and (max-width: 782px) {
    .admin-bar .search-modal {
        padding-top: 7.5rem;
    }
}

.search-modal.active {
    display: flex;
}

.search-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
}

.search-modal-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 800px;
    background: var(--gr-card-bg);
    border: 1px solid var(--gr-border-hover);
    border-radius: var(--gr-radius);
    animation: modalSlideDown 0.3s ease;
}

@keyframes modalSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gr-border);
}

.search-modal-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.search-modal-title svg {
    color: var(--gr-accent);
}

.search-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid var(--gr-border-hover);
    border-radius: var(--gr-radius-sm);
    color: var(--gr-text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-modal-close:hover {
    border-color: var(--gr-accent);
    color: var(--gr-accent);
}

.search-modal-form {
    padding: 1.5rem;
}

.search-modal-input-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.search-modal-input {
    width: 100%;
    padding: 1rem 3.5rem 1rem 1.25rem;
    font-size: 1rem;
    font-family: inherit;
    background: var(--gr-background);
    border: 1px solid var(--gr-border-hover);
    border-radius: var(--gr-radius);
    color: #fff;
    outline: none;
    transition: border-color 0.2s ease;
}

.search-modal-input:focus {
    border-color: var(--gr-accent);
}

.search-modal-input::placeholder {
    color: var(--gr-text-muted);
}

.search-modal-submit {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gr-accent);
    border: none;
    border-radius: var(--gr-radius-sm);
    color: #000;
    cursor: pointer;
    transition: background 0.2s ease;
}

.search-modal-submit:hover {
    background: var(--gr-accent-hover);
}

.search-modal-filters {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.search-filter-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gr-text-muted);
}

.search-filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.search-filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid var(--gr-border-hover);
    border-radius: var(--gr-radius-sm);
    color: var(--gr-text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.search-filter-btn:hover {
    border-color: var(--gr-accent);
    color: var(--gr-accent);
}

.search-filter-btn.active {
    background: rgba(74, 222, 128, 0.15);
    border-color: var(--gr-accent);
    color: var(--gr-accent);
}

@media (max-width: 640px) {
    .search-modal {
        padding: 1rem;
    }
    
    .search-modal-header {
        padding: 1rem;
    }
    
    .search-modal-form {
        padding: 1rem;
    }
    
    .search-filter-btn {
        font-size: 0.6875rem;
        padding: 0.4rem 0.75rem;
    }
}

/* ========================================
   Search Form (Legacy)
   ======================================== */
.search-form {
    display: flex;
    align-items: center;
}

.search-input {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-family: inherit;
    background: var(--gr-card-bg);
    border: 1px solid var(--gr-border);
    border-radius: var(--gr-radius-sm);
    color: #fff;
    outline: none;
    transition: border-color 0.2s ease;
}

.search-input:focus {
    border-color: var(--gr-accent);
}

.search-input::placeholder {
    color: var(--gr-text-muted);
}

/* ========================================
   Featured Slider
   ======================================== */
.featured-slider {
    position: relative;
    height: 550px;
    overflow: hidden;
    margin-top: -64px;
    padding-top: 64px;
}

.featured-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
}

.featured-slide.active {
    opacity: 1;
}

.featured-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.featured-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--gr-background) 0%, rgba(10, 10, 10, 0.8) 50%, transparent 100%);
}

.featured-slide-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--gr-background) 0%, transparent 50%);
}

.featured-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    max-width: 1280px;
    margin: 0 auto;
}

.featured-content-inner {
    max-width: 900px;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: var(--gr-card-bg);
    border: 1px solid var(--gr-border-hover);
    border-radius: var(--gr-radius-sm);
    margin-bottom: 1rem;
}

.featured-badge-rank {
    color: var(--gr-accent);
    font-weight: 700;
}

.featured-badge-text {
    font-size: 0.875rem;
    color: var(--gr-text-muted);
}

.featured-title {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    line-height: 1.1;
}

.featured-excerpt {
    font-size: 1rem;
    color: var(--gr-text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 0.5rem;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #333;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.slider-dot.active {
    width: 24px;
    border-radius: 4px;
    background: #fff;
}

.slider-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
}

.slider-arrow {
    padding: 0.75rem;
    background: rgba(22, 22, 22, 0.8);
    border: 1px solid var(--gr-border-hover);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
}

.slider-arrow:hover {
    background: var(--gr-card-bg);
}

.slider-prev { left: 1rem; }
.slider-next { right: 1rem; }

/* ========================================
   Section Title
   ======================================== */
.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 2rem;
}

.section-title::before {
    content: '>>>';
    color: var(--gr-accent);
}

/* ========================================
   Game Cards
   ======================================== */
.game-card {
    background: var(--gr-card-bg);
    border: 1px solid var(--gr-border);
    border-radius: var(--gr-radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--gr-border-hover);
}

.game-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.game-card:hover .game-card-image img {
    transform: scale(1.05);
}

.game-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--gr-card-bg) 0%, transparent 50%);
    opacity: 0.6;
}

.game-card-content {
    padding: 1rem;
}

.game-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.game-card-excerpt {
    font-size: 0.875rem;
    color: var(--gr-text-muted);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.game-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--gr-text-muted);
}

.game-card-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ========================================
   Badges
   ======================================== */
.platform-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    background: rgba(74, 222, 128, 0.15);
    color: var(--gr-accent);
    border-radius: var(--gr-radius-sm);
}

.adult-badge {
    position: absolute;
    top: 2.5rem;
    left: 0.75rem;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    border-radius: var(--gr-radius-sm);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    letter-spacing: 0.5px;
}

.score-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 6px;
}

.score-high {
    background: rgba(74, 222, 128, 0.2);
    color: var(--gr-accent);
}

.score-medium {
    background: rgba(250, 204, 21, 0.2);
    color: var(--gr-yellow);
}

.score-low {
    background: rgba(239, 68, 68, 0.2);
    color: var(--gr-red);
}

/* Stars */
.stars {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    margin-bottom: 0.75rem;
}

.stars svg {
    width: 14px;
    height: 14px;
}

.stars .filled {
    color: var(--gr-accent);
    fill: var(--gr-accent);
}

.stars .empty {
    color: #333;
}

.stars-text {
    font-size: 0.75rem;
    color: var(--gr-text-muted);
    margin-left: 0.5rem;
}

/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.tags .tag {
    position: relative;
    display: inline-block;
    padding: 0.1875rem 0.5rem;
    font-size: 0.5625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    background: transparent;
    color: var(--gr-text-muted);
    transition: all 0.2s ease;
    clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
}

.tags .tag::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gr-border-hover);
    clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
    z-index: -1;
}

.tags .tag::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--gr-card-bg);
    clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
    z-index: -1;
}

.tags .tag:hover {
    color: var(--gr-accent);
}

.tags .tag:hover::before {
    background: var(--gr-accent);
}

/* ========================================
   View Toggle
   ======================================== */
.view-toggle {
    display: flex;
    gap: 0.5rem;
    background: var(--gr-card-bg);
    border: 1px solid var(--gr-border);
    border-radius: var(--gr-radius-sm);
    padding: 0.25rem;
}

.view-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: var(--gr-radius-sm);
    color: var(--gr-text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-toggle-btn:hover {
    background: var(--gr-card-hover);
    color: #fff;
}

.view-toggle-btn.active {
    background: var(--gr-accent);
    color: #000;
}

/* ========================================
   Blog Posts Grid
   ======================================== */
.blog-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.blog-posts-grid.view-grid {
    grid-template-columns: repeat(2, 1fr);
}

.blog-post-card {
    background: var(--gr-card-bg);
    border: 1px solid var(--gr-border);
    border-radius: var(--gr-radius);
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-post-card:hover {
    border-color: var(--gr-border-hover);
    transform: translateY(-2px);
}

/* Grid View */
.blog-posts-grid.view-grid .blog-post-card {
    display: flex;
    flex-direction: column;
}

.blog-posts-grid.view-grid .blog-post-thumbnail {
    display: block;
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.blog-posts-grid.view-grid .blog-post-content {
    padding: 1.5rem;
}

/* List View */
.blog-posts-grid.view-list .blog-post-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 1.5rem;
}

.blog-posts-grid.view-list .blog-post-thumbnail {
    display: block;
    position: relative;
    width: 300px;
    height: 200px;
    overflow: hidden;
    border-radius: var(--gr-radius-sm);
}

.blog-posts-grid.view-list .blog-post-content {
    padding: 1rem 1.5rem 1rem 0;
    display: flex;
    flex-direction: column;
}

.blog-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-card:hover .blog-post-thumbnail img {
    transform: scale(1.05);
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.8125rem;
    color: var(--gr-text-muted);
}

.blog-post-meta span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.blog-post-meta svg {
    color: var(--gr-accent);
}

.blog-post-title {
    margin: 0 0 1rem 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.blog-post-title a {
    color: #fff;
    transition: color 0.2s ease;
}

.blog-post-title a:hover {
    color: var(--gr-accent);
}

.blog-post-excerpt {
    color: var(--gr-text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gr-accent);
    border: 1px solid var(--gr-accent);
    border-radius: var(--gr-radius-sm);
    transition: all 0.2s ease;
}

.blog-read-more:hover {
    background: var(--gr-accent);
    color: #000;
}

.blog-read-more svg {
    transition: transform 0.2s ease;
}

.blog-read-more:hover svg {
    transform: translateX(3px);
}

/* ========================================
   Sidebar
   ======================================== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-widget {
    background: var(--gr-card-bg);
    border: 1px solid var(--gr-border);
    border-radius: var(--gr-radius);
    padding: 1.5rem;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.widget-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.widget-title svg {
    width: 16px;
    height: 16px;
    color: var(--gr-accent);
}

.widget-title .i {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.widget-title .i-fire {
    fill: var(--gr-accent);
    stroke: none;
}

.widget-title .i-plus {
    stroke: var(--gr-accent);
}

/* Widget Posts (Popular & Latest) */
.widget-posts {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.widget-post-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--gr-radius-sm);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.widget-post-item:hover {
    transform: translateY(-2px);
}

.widget-post-image {
    position: relative;
    width: 100%;
    height: 80px;
    overflow: hidden;
    border-radius: var(--gr-radius-sm);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.widget-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.widget-post-item:hover .widget-post-image img {
    transform: scale(1.05);
}

.widget-post-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.widget-post-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 90%;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

/* Platform Filters */
.platform-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.platform-filter {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    background: transparent;
    border: 1px solid var(--gr-border-hover);
    border-radius: var(--gr-radius-sm);
    color: var(--gr-text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.platform-filter:hover,
.platform-filter.active {
    border-color: var(--gr-accent);
    color: var(--gr-accent);
    background: rgba(74, 222, 128, 0.1);
}

/* Categories List */
.categories-list {
    list-style: none;
}

.categories-list li {
    border-bottom: 1px solid var(--gr-border);
}

.categories-list li:last-child {
    border-bottom: none;
}

.categories-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 0.75rem;
    margin: 0 -0.75rem;
    border-radius: var(--gr-radius-sm);
    color: var(--gr-text-muted);
    transition: all 0.2s ease;
}

.categories-list a:hover {
    background: var(--gr-card-hover);
    color: #fff;
}

.categories-list .count {
    font-size: 0.75rem;
    background: var(--gr-background);
    padding: 0.125rem 0.5rem;
    border-radius: var(--gr-radius-sm);
    color: var(--gr-text-dark);
}

/* Newsletter */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-text {
    font-size: 0.875rem;
    color: var(--gr-text-muted);
    margin-bottom: 0.5rem;
}

/* ========================================
   View More Link
   ======================================== */
.view-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gr-text-muted);
    text-decoration: none;
    background: var(--gr-card-bg);
    border: 1px solid var(--gr-border-hover);
    border-radius: var(--gr-radius-sm);
    transition: all 0.2s ease;
}

.view-more-link:hover {
    color: var(--gr-accent);
    border-color: var(--gr-accent);
    background: var(--gr-card-hover);
}

.view-more-link svg {
    transition: transform 0.2s ease;
}

.view-more-link:hover svg {
    transform: translateX(4px);
}

/* ========================================
   Pagination
   ======================================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 3rem 0;
    margin-top: 2rem;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--gr-card-bg);
    border: 1px solid var(--gr-border);
    border-radius: var(--gr-radius-sm);
    color: var(--gr-text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background: var(--gr-card-hover);
    border-color: var(--gr-accent);
    color: #fff;
}

.page-numbers.dots {
    border: none;
    background: transparent;
    cursor: default;
}

.page-numbers.dots:hover {
    background: transparent;
    border: none;
}

/* ========================================
   Scroll to Top Button
   ======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gr-accent);
    border: none;
    color: #000;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    transform: translateY(-4px);
}

.scroll-to-top svg {
    stroke: currentColor;
    transition: transform 0.2s ease;
}

.scroll-to-top:hover svg {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background: var(--gr-background);
    border-top: 1px solid var(--gr-border);
}

.footer-main {
    padding: 3rem 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-description {
    max-width: 400px;
    font-size: 0.875rem;
    color: var(--gr-text-muted);
    text-align: center;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

/* Footer responsive */
@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-inner .site-logo {
        order: 1;
    }
    
    .footer-description {
        order: 2;
        max-width: 100%;
    }
    
    .social-links {
        order: 3;
        justify-content: center;
    }
    
    .footer-copyright {
        font-size: 0.7rem;
    }
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gr-text-muted);
    transition: all 0.2s ease;
}

.social-link:hover {
    color: var(--gr-accent);
}

.footer-bottom {
    padding: 1rem 0;
    border-top: 1px solid var(--gr-border);
    text-align: center;
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--gr-text-dark);
}

/* ========================================
   Single Review Page
   ======================================== */
.review-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.review-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.review-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--gr-background) 0%, rgba(10, 10, 10, 0.6) 50%, transparent 100%);
}

.review-content {
    position: relative;
    z-index: 10;
    margin-top: -128px;
    overflow: hidden;
}

.review-content > .container > div {
    min-width: 0;
}

.review-content > .container > div > div:first-child {
    min-width: 0;
    overflow: hidden;
}

.review-header {
    background: var(--gr-card-bg);
    border: 1px solid var(--gr-border);
    border-radius: var(--gr-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--gr-text-muted);
}

.review-meta svg {
    width: 16px;
    height: 16px;
}

.review-meta-divider {
    color: var(--gr-text-dark);
}

.review-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.review-excerpt {
    font-size: 1.125rem;
    color: var(--gr-text-muted);
    margin-bottom: 1.5rem;
}

/* Score Card */
.score-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--gr-card-bg);
    border: 1px solid var(--gr-border);
    border-radius: var(--gr-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.score-card-number {
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    border-radius: 12px;
}

.score-card-info {
    flex: 1;
}

.score-card-verdict {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    margin-top: 0.25rem;
}

.score-card-hours {
    font-size: 0.875rem;
    color: var(--gr-text-muted);
}

/* Pros & Cons */
.pros-cons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (max-width: 640px) {
    .pros-cons { grid-template-columns: 1fr; }
}

.pros-box,
.cons-box {
    background: var(--gr-card-bg);
    border: 1px solid var(--gr-border);
    border-radius: var(--gr-radius);
    padding: 1.25rem;
}

.pros-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--gr-accent);
    margin-bottom: 1rem;
}

.cons-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--gr-red);
    margin-bottom: 1rem;
}

.pros-list,
.cons-list {
    list-style: none;
}

.pros-list li,
.cons-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--gr-text-muted);
    margin-bottom: 0.75rem;
}

.pros-list li::before {
    content: '+';
    color: var(--gr-accent);
    font-weight: 600;
}

.cons-list li::before {
    content: '-';
    color: var(--gr-red);
    font-weight: 600;
}

/* Review Article */
.review-article {
    background: var(--gr-card-bg);
    border: 1px solid var(--gr-border);
    border-radius: var(--gr-radius);
    padding: 1.5rem;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.review-article * {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.review-article img,
.review-article iframe,
.review-article video,
.review-article embed,
.review-article object {
    max-width: 100% !important;
    height: auto !important;
}

.review-article table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

.review-article pre,
.review-article code {
    max-width: 100%;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.review-article h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.review-article h2:first-child {
    margin-top: 0;
}

.review-article h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.review-article p {
    color: var(--gr-text-muted);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.review-article h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    margin-top: 1.25rem;
    color: #fff;
}

.review-article h5,
.review-article h6 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    color: var(--gr-text);
}

/* Links */
.review-article a {
    color: var(--gr-accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.review-article a:hover {
    color: var(--gr-accent-hover);
    border-bottom-color: var(--gr-accent-hover);
}

/* Lists */
.review-article ul,
.review-article ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
    color: var(--gr-text-muted);
}

.review-article ul {
    list-style: none;
}

.review-article ul li {
    position: relative;
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.review-article ul li::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.7rem;
    width: 6px;
    height: 6px;
    background: var(--gr-accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--gr-accent);
}

.review-article ol {
    counter-reset: custom-counter;
    list-style: none;
}

.review-article ol li {
    position: relative;
    margin-bottom: 0.75rem;
    line-height: 1.8;
    counter-increment: custom-counter;
}

.review-article ol li::before {
    content: counter(custom-counter);
    position: absolute;
    left: -2rem;
    top: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--gr-accent) 0%, var(--gr-accent-hover) 100%);
    color: var(--gr-background);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-article ul ul,
.review-article ol ol,
.review-article ul ol,
.review-article ol ul {
    margin: 0.5rem 0;
}

/* Blockquotes */
.review-article blockquote {
    position: relative;
    margin: 2rem 0;
    padding: 1.5rem 1.5rem 1.5rem 3rem;
    background: var(--gr-card-hover);
    border-left: 4px solid var(--gr-accent);
    border-radius: var(--gr-radius);
    font-style: italic;
    color: var(--gr-text);
}

.review-article blockquote::before {
    content: '"';
    position: absolute;
    left: 1rem;
    top: 0.5rem;
    font-size: 3rem;
    font-family: 'Orbitron', sans-serif;
    color: var(--gr-accent);
    opacity: 0.3;
    line-height: 1;
}

.review-article blockquote p {
    margin-bottom: 0.5rem;
    color: var(--gr-text);
}

.review-article blockquote p:last-child {
    margin-bottom: 0;
}

.review-article blockquote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--gr-text-muted);
    font-style: normal;
}

.review-article blockquote cite::before {
    content: '— ';
}

/* Code */
.review-article code {
    padding: 0.2rem 0.5rem;
    background: var(--gr-card-hover);
    border: 1px solid var(--gr-border-hover);
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: var(--gr-accent);
}

.review-article pre {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--gr-card-hover);
    border: 1px solid var(--gr-border-hover);
    border-radius: var(--gr-radius);
    overflow-x: auto;
}

.review-article pre code {
    padding: 0;
    background: transparent;
    border: none;
    color: var(--gr-text);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Tables */
.review-article table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    background: var(--gr-card-bg);
    border: 1px solid var(--gr-border);
    border-radius: var(--gr-radius);
    overflow: hidden;
}

.review-article table thead {
    background: var(--gr-card-hover);
}

.review-article table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #fff;
    border-bottom: 2px solid var(--gr-accent);
}

.review-article table td {
    padding: 1rem;
    color: var(--gr-text-muted);
    border-bottom: 1px solid var(--gr-border);
}

.review-article table tbody tr:last-child td {
    border-bottom: none;
}

.review-article table tbody tr:hover {
    background: var(--gr-card-hover);
}

/* Horizontal Rule */
.review-article hr {
    margin: 2rem 0;
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--gr-accent) 50%, transparent 100%);
}

/* Strong and Emphasis */
.review-article strong,
.review-article b {
    color: #fff;
    font-weight: 700;
}

.review-article em,
.review-article i {
    color: var(--gr-text);
    font-style: italic;
}

/* Mark/Highlight */
.review-article mark {
    background: rgba(74, 222, 128, 0.2);
    color: var(--gr-accent);
    padding: 0.1rem 0.3rem;
    border-radius: 2px;
}

/* Abbreviations */
.review-article abbr {
    text-decoration: none;
    border-bottom: 1px dotted var(--gr-accent);
    cursor: help;
}

/* Keyboard */
.review-article kbd {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: var(--gr-card-bg);
    border: 1px solid var(--gr-border-hover);
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: var(--gr-text);
    box-shadow: 0 2px 0 var(--gr-border-hover);
}

/* Definition Lists */
.review-article dl {
    margin: 1.5rem 0;
}

.review-article dt {
    font-weight: 700;
    color: #fff;
    margin-top: 1rem;
}

.review-article dd {
    margin-left: 2rem;
    margin-bottom: 0.5rem;
    color: var(--gr-text-muted);
}

/* ========================================
   Comments
   ======================================== */
.comments-area {
    background: var(--gr-card-bg);
    border: 1px solid var(--gr-border);
    border-radius: var(--gr-radius);
    padding: 2rem;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
    margin-top: 2rem;
}

.comments-title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gr-border);
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-list .comment {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gr-border);
}

.comment-list .comment:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.comment-body {
    display: flex;
    gap: 1rem;
}

.comment-author-avatar {
    flex-shrink: 0;
}

.comment-author-avatar img {
    border-radius: var(--gr-radius-sm);
    border: 1px solid var(--gr-border-hover);
}

.comment-content-wrap {
    flex: 1;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.comment-author-name {
    font-weight: 600;
    color: #fff;
}

.comment-author-name a {
    color: var(--gr-accent);
    text-decoration: none;
}

.comment-author-name a:hover {
    color: var(--gr-accent-hover);
}

.comment-metadata {
    font-size: 0.75rem;
    color: var(--gr-text-dark);
}

.comment-text {
    color: var(--gr-text-muted);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.comment-text p {
    margin-bottom: 0.5rem;
}

.comment-actions {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
}

.comment-actions a {
    color: var(--gr-accent);
    text-decoration: none;
    font-weight: 500;
}

.comment-actions a:hover {
    color: var(--gr-accent-hover);
}

.comment-awaiting-moderation {
    padding: 0.5rem 1rem;
    background: rgba(250, 204, 21, 0.1);
    border: 1px solid var(--gr-yellow);
    border-radius: var(--gr-radius-sm);
    color: var(--gr-yellow);
    font-size: 0.875rem;
    margin-top: 0.75rem;
}

/* Comment Form */
.comment-respond {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gr-border);
}

.comment-reply-title {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comment-form p {
    margin: 0;
}

.comment-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gr-text);
    margin-bottom: 0.5rem;
}

.comment-form .required {
    color: var(--gr-accent);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 0.875rem;
    background: var(--gr-background);
    border: 1px solid var(--gr-border-hover);
    border-radius: var(--gr-radius-sm);
    color: #fff;
    outline: none;
    transition: border-color 0.2s ease;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    border-color: var(--gr-accent);
}

.comment-form textarea {
    resize: vertical;
}

/* ========================================
   Age Verification Modal
   ======================================== */
.age-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.age-modal {
    max-width: 600px;
    width: 90%;
    animation: slideUp 0.4s ease;
}

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

.age-modal-content {
    background: #fff;
    padding: 3rem 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.age-modal-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem 0;
    letter-spacing: 0.5px;
}

.age-modal-content h3 {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 1.5rem 0;
}

.age-modal-content p {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.age-modal-content .age-question {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 2rem 0 1.5rem 0;
}

.age-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.age-btn {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.875rem 2.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.age-btn-no {
    background: #e5e5e5;
    color: #666;
}

.age-btn-no:hover {
    background: #d0d0d0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.age-btn-yes {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.age-btn-yes:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.comment-form textarea {
    min-height: 120px;
}

.comment-form .form-submit {
    margin-top: 0.5rem;
}

.no-comments {
    color: var(--gr-text-muted);
    text-align: center;
    padding: 2rem;
}

/* Nested Comments */
.comment-list .children {
    list-style: none;
    margin-left: 3rem;
    margin-top: 2rem;
    padding-left: 2rem;
    border-left: 2px solid var(--gr-border);
}

@media (max-width: 768px) {
    .comments-area {
        padding: 1.5rem;
    }
    
    .comment-body {
        flex-direction: column;
    }
    
    .comment-list .children {
        margin-left: 1rem;
        padding-left: 1rem;
    }
}

/* ========================================
   All Tags Page
   ======================================== */
.all-tags-section {
    min-height: 60vh;
}

.all-tags-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.all-tags-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.all-tags-icon svg {
    width: 32px;
    height: 32px;
    color: var(--gr-accent);
}

.all-tags-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.all-tags-subtitle {
    font-size: 0.875rem;
    color: var(--gr-text-muted);
    margin: 0.5rem 0 0;
}

.tags-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.tag-card {
    position: relative;
    display: block;
    background: var(--gr-card-bg);
    border: 2px solid transparent;
    border-top-color: var(--tag-color);
    border-radius: var(--gr-radius-sm);
    padding: 1.25rem 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.tag-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--tag-color);
    opacity: 1;
}

.tag-card:hover {
    transform: translateY(-4px);
    border-color: var(--tag-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.tag-card:hover::before {
    height: 100%;
    opacity: 0.1;
}

.tag-card-inner {
    position: relative;
    z-index: 1;
}

.tag-card-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-card-count {
    font-size: 0.75rem;
    color: var(--gr-text-dark);
    margin: 0;
}

.no-tags-message {
    text-align: center;
    color: var(--gr-text-muted);
    padding: 3rem 0;
    font-size: 1.125rem;
}

@media (max-width: 1280px) {
    .tags-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .tags-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .all-tags-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .tags-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .all-tags-header {
        margin-bottom: 2rem;
    }
    
    .all-tags-icon {
        width: 48px;
        height: 48px;
    }
    
    .all-tags-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .all-tags-title {
        font-size: 1.5rem;
    }
    
    .tag-card {
        padding: 1rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .tags-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Custom Scrollbar
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gr-background);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #444;
}

/* ========================================
   Ad Containers
   ======================================== */
.ad-container {
    display: block !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}

.ad-container > *,
.ad-container iframe,
.ad-container ins,
.ad-container div {
    margin-left: auto !important;
    margin-right: auto !important;
    display: inline-block !important;
}

.ad-container ins {
    text-align: center !important;
}

/* Centrar específicamente para AdSense */
.ad-container .adsbygoogle {
    display: inline-block !important;
    margin: 0 auto !important;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .header-inner {
        height: 56px;
        padding: 0 0.75rem;
        gap: 0.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .site-header .container {
        max-width: 100%;
        padding: 0;
    }
    
    /* Layout con sidebar - cambiar a columna única */
    [style*="grid-template-columns: 1fr 320px"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }
    
    .sidebar {
        width: 100% !important;
        max-width: 100% !important;
        order: 2;
    }
    
    .main-nav { 
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 0;
        background: var(--gr-card-bg);
        border-bottom: 1px solid var(--gr-border);
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.3s ease;
        z-index: 999;
        opacity: 0;
    }
    
    .main-nav.active {
        max-height: calc(100vh - 56px);
        overflow-y: auto;
        opacity: 1;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 0;
    }
    
    .main-nav > ul {
        overflow: visible;
    }
    
    .main-nav a {
        padding: 0.875rem 1.25rem;
        border-bottom: 1px solid var(--gr-border);
        font-size: 0.75rem;
    }
    
    .main-nav li:last-child > a {
        border-bottom: none;
    }
    
    .main-nav .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin: 0;
        padding: 0;
        background: rgba(0, 0, 0, 0.3);
        border: none;
        box-shadow: none;
        clip-path: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .main-nav .menu-item-has-children.active > .sub-menu {
        max-height: 2000px;
        overflow: visible;
    }
    
    .main-nav .sub-menu a {
        padding-left: 2.5rem;
        font-size: 0.7rem;
    }
    
    .main-nav .sub-menu .sub-menu {
        /* Make nested submenu behave like first submenu (accordion) */
        position: static;
        left: auto;
        top: auto;
        margin: 0;
        transform: none;
        opacity: 1;
        visibility: visible;
        border: none;
        border-top: none;
        box-shadow: none;
        clip-path: none;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: rgba(0, 0, 0, 0.4);
        display: none;
    }
    
    .main-nav .sub-menu .sub-menu a {
        padding-left: 3.5rem;
        font-size: 0.68rem;
    }

    .main-nav .sub-menu .menu-item-has-children.active > .sub-menu {
        display: block;
        max-height: 1500px;
        overflow: visible;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-header-icons {
        display: flex;
    }
    
    .header-actions {
        display: none;
    }
    
    .site-logo {
        margin: 0 auto 0 0.5rem;
    }
    
    .featured-title { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .header-inner {
        height: 48px;
        padding: 0 0.5rem;
        gap: 0.25rem;
    }
    
    .site-header {
        height: 48px;
    }

    .featured-slider {
        /* On mobile, keep hero slightly lower so it's not hidden by fixed header */
        margin-top: -48px;
        padding-top: 78px;
    }
    
    .mobile-menu-toggle {
        width: 18px;
        height: 14px;
        flex-shrink: 0;
        margin-right: 0.5rem;
    }
    
    .mobile-header-icons {
        gap: 0.25rem;
        flex-shrink: 0;
    }
    
    .mobile-icon-btn {
        width: 32px;
        height: 32px;
    }
    
    .mobile-icon-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .site-logo {
        margin: 0;
        flex: 1;
        min-width: 0;
        justify-content: flex-start;
    }
    
    .site-logo-text {
        font-size: 0.85rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .site-logo svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }
    
    .site-logo .custom-logo-img {
        max-height: 32px;
    }
    
    .main-nav.active {
        max-height: calc(100vh - 48px);
    }
    
    .featured-slider { height: 350px; }
    .featured-title {
        font-size: 1.5rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .featured-excerpt { font-size: 0.85rem; }
    .featured-content .btn { margin-top: -0.5rem; }
    .review-title { font-size: 1.35rem; }
}
