/* View Transitions API */
@view-transition {
    navigation: auto;
}

header {
    view-transition-name: main-header;
}

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

        :root {
            --primary-color: #2d2d2d;
            --accent-color: #ff4757;
            --bg-color: #ffffff;
            --bg-light: #f8f9fa;
            --border-color: #e8e8e8;
            --text-primary: #2d2d2d;
            --text-secondary: #8b8b8b;
            --card-bg: #ffffff;
            --overlay-dark: rgba(0, 0, 0, 0.85);
            --overlay-light: rgba(0, 0, 0, 0.3);
        }

        [data-theme="dark"] {
            --primary-color: #1a1a1a;
            --accent-color: #ff6b81;
            --bg-color: #000000;
            --bg-light: #0a0a0a;
            --border-color: #2d2d2d;
            --text-primary: #e8e8e8;
            --text-secondary: #a0a0a0;
            --card-bg: #1a1a1a;
            --overlay-dark: rgba(0, 0, 0, 0.95);
            --overlay-light: rgba(0, 0, 0, 0.5);
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
            line-height: 1.6;
            color: var(--text-primary);
            background-color: var(--bg-light);
            transition: background-color 0.3s ease, color 0.3s ease;
            position: relative;
            overflow-x: hidden;
        }

        /* Fondo Animado - Gradiente Muy Sutil */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                135deg,
                rgba(255, 71, 87, 0.01) 0%,
                rgba(255, 107, 129, 0.015) 50%,
                rgba(255, 71, 87, 0.01) 100%
            );
            background-size: 200% 200%;
            animation: subtleGradient 25s ease infinite;
            z-index: -2;
            pointer-events: none;
            opacity: 0.5;
        }

        [data-theme="dark"] body::before {
            background: linear-gradient(
                135deg,
                rgba(255, 71, 87, 0.02) 0%,
                rgba(255, 107, 129, 0.03) 50%,
                rgba(255, 71, 87, 0.02) 100%
            );
            opacity: 0.4;
        }

        @keyframes subtleGradient {
            0%, 100% {
                background-position: 0% 50%;
            }
            50% {
                background-position: 100% 50%;
            }
        }

        /* Partículas Muy Sutiles */
        body::after {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                radial-gradient(circle at 25% 35%, rgba(255, 71, 87, 0.03) 0%, transparent 40%),
                radial-gradient(circle at 75% 65%, rgba(255, 107, 129, 0.025) 0%, transparent 40%);
            background-size: 100% 100%;
            animation: subtleFloat 30s ease-in-out infinite;
            z-index: -1;
            pointer-events: none;
            opacity: 0.3;
        }

        [data-theme="dark"] body::after {
            background-image: 
                radial-gradient(circle at 25% 35%, rgba(255, 71, 87, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 75% 65%, rgba(255, 107, 129, 0.04) 0%, transparent 40%);
            opacity: 0.25;
        }

        @keyframes subtleFloat {
            0%, 100% {
                transform: translate(0, 0);
                opacity: 0.3;
            }
            50% {
                transform: translate(15px, -15px);
                opacity: 0.4;
            }
        }

        /* Ondas Muy Discretas */
        .bg-waves {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -3;
            pointer-events: none;
            overflow: hidden;
            opacity: 0.15;
        }

        .bg-waves::before {
            content: '';
            position: absolute;
            width: 150%;
            height: 150%;
            top: -25%;
            left: -25%;
            background: radial-gradient(
                ellipse at center,
                transparent 0%,
                transparent 45%,
                rgba(255, 71, 87, 0.02) 45%,
                rgba(255, 71, 87, 0.02) 46%,
                transparent 46%,
                transparent 100%
            );
            animation: gentleRotate 50s linear infinite;
        }

        [data-theme="dark"] .bg-waves::before {
            background: radial-gradient(
                ellipse at center,
                transparent 0%,
                transparent 45%,
                rgba(255, 71, 87, 0.04) 45%,
                rgba(255, 71, 87, 0.04) 46%,
                transparent 46%,
                transparent 100%
            );
        }

        @keyframes gentleRotate {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }

        /* Top Bar */
        .top-bar {
            background: var(--primary-color);
            color: white;
            padding: 8px 0;
            font-size: 12px;
        }

        .top-bar-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .top-bar nav {
            display: flex;
            gap: 20px;
        }

        .top-bar a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: color 0.3s;
        }

        .top-bar a:hover {
            color: white;
        }

        .social-icons {
            display: flex;
            gap: 12px;
            align-items: center;
        }

        .social-icons a {
            color: rgba(255, 255, 255, 0.8);
            font-size: 14px;
            transition: color 0.3s;
        }

        .social-icons a:hover {
            color: var(--accent-color);
        }

        .sign-in {
            color: rgba(255, 255, 255, 0.8);
            font-size: 12px;
            cursor: pointer;
            transition: color 0.3s;
        }

        .sign-in:hover {
            color: white;
        }

        /* Header */
        header {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(232, 232, 232, 0.3);
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 30px rgba(0, 0, 0, 0.03);
            transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
        }

        [data-theme="dark"] header {
            background: rgba(26, 26, 26, 0.85);
            border-bottom: 1px solid rgba(45, 45, 45, 0.3);
        }

        header.scrolled {
            background: rgba(255, 255, 255, 0.95);
            box-shadow: 0 4px 40px rgba(0, 0, 0, 0.08);
            padding: 5px 0;
        }

        [data-theme="dark"] header.scrolled {
            background: rgba(26, 26, 26, 0.95);
        }

        .header-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: padding 0.4s ease;
        }

        header.scrolled .header-content {
            padding: 15px 20px;
        }

        /* Logo Moderno */
        .logo {
            font-size: 32px;
            font-weight: 800;
            color: var(--primary-color);
            text-decoration: none;
            transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
            display: inline-flex;
            align-items: center;
            gap: 2px;
            position: relative;
            padding: 5px 0;
        }

        .logo-text {
            background: linear-gradient(135deg, var(--primary-color), var(--text-primary));
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            transition: all 0.4s ease;
        }

        .logo-accent {
            color: var(--accent-color);
            font-size: 12px;
            vertical-align: super;
            font-weight: 900;
            letter-spacing: 1px;
            transition: all 0.4s ease;
        }

        .logo-underline {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--accent-color), #ff6b81);
            transition: width 0.5s cubic-bezier(0.19, 1, 0.22, 1);
            border-radius: 2px;
        }

        .logo:hover {
            transform: translateY(-2px);
        }

        .logo:hover .logo-underline {
            width: 100%;
        }

        .logo:hover .logo-accent {
            transform: scale(1.2) rotate(-5deg);
            color: #ff6b81;
        }

        /* Navegación Principal */
        .main-nav {
            display: flex;
            list-style: none;
            gap: 45px;
            align-items: center;
        }

        .main-nav > li {
            position: relative;
        }

        .nav-item {
            text-decoration: none;
            color: var(--text-primary);
            font-weight: 600;
            font-size: 14px;
            transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
            position: relative;
            padding: 10px 0;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            text-transform: uppercase;
            letter-spacing: 0.8px;
        }

        .nav-text {
            position: relative;
            z-index: 2;
        }

        .nav-hover-effect {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--accent-color), #ff6b81);
            transition: width 0.5s cubic-bezier(0.19, 1, 0.22, 1);
            border-radius: 2px;
        }

        .nav-item:hover .nav-hover-effect {
            width: 100%;
        }

        .nav-item:hover {
            color: var(--accent-color);
            transform: translateY(-2px);
        }

        .nav-item:hover .nav-text {
            text-shadow: 0 0 20px rgba(255, 71, 87, 0.3);
        }

        /* Dropdown Arrow */
        .dropdown-arrow {
            transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
            opacity: 0.7;
        }

        .nav-item.has-dropdown:hover .dropdown-arrow {
            transform: rotate(180deg);
            opacity: 1;
        }

        /* Mega Menu Dropdown Moderno */
        .mega-menu {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%) translateY(30px) scale(0.95);
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(30px);
            -webkit-backdrop-filter: blur(30px);
            border-radius: 20px;
            box-shadow: 0 25px 70px rgba(0, 0, 0, 0.12);
            padding: 0;
            min-width: 650px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
            border: 1px solid rgba(232, 232, 232, 0.3);
            overflow: hidden;
        }

        [data-theme="dark"] .mega-menu {
            background: rgba(26, 26, 26, 0.95);
            border: 1px solid rgba(45, 45, 45, 0.3);
            box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
        }

        .nav-item.has-dropdown:hover .mega-menu {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(15px) scale(1);
        }

        .mega-menu-inner {
            padding: 35px;
            position: relative;
        }

        .mega-menu-inner::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at top left, rgba(255, 71, 87, 0.05), transparent 60%);
            pointer-events: none;
        }

        .mega-menu-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 35px;
            position: relative;
            z-index: 1;
        }

        .mega-menu-column {
            animation: fadeInUp 0.5s ease forwards;
            opacity: 0;
        }

        .mega-menu-column:nth-child(1) { animation-delay: 0.1s; }
        .mega-menu-column:nth-child(2) { animation-delay: 0.2s; }
        .mega-menu-column:nth-child(3) { animation-delay: 0.3s; }

        .mega-menu-title {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: var(--accent-color);
            margin-bottom: 18px;
            font-weight: 800;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .title-icon {
            font-size: 8px;
            animation: pulse 2s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.6; transform: scale(0.8); }
        }

        .mega-menu-column ul {
            list-style: none;
        }

        .mega-menu-column li {
            margin-bottom: 8px;
            transform: translateX(0);
            transition: transform 0.3s ease;
        }

        .mega-menu-link {
            color: var(--text-primary);
            text-decoration: none;
            font-size: 14px;
            transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 14px;
            border-radius: 10px;
            font-weight: 500;
            position: relative;
            overflow: hidden;
        }

        .mega-menu-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 71, 87, 0.1), transparent);
            transition: left 0.6s ease;
        }

        .mega-menu-link:hover::before {
            left: 100%;
        }

        .link-icon {
            opacity: 0;
            transform: translateX(-10px);
            transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
            color: var(--accent-color);
            font-weight: 700;
        }

        .link-text {
            transition: all 0.3s ease;
        }

        .mega-menu-link:hover {
            background: linear-gradient(135deg, rgba(255, 71, 87, 0.12), rgba(255, 107, 129, 0.12));
            color: var(--accent-color);
            transform: translateX(5px);
            box-shadow: 0 4px 15px rgba(255, 71, 87, 0.15);
        }

        .mega-menu-link:hover .link-icon {
            opacity: 1;
            transform: translateX(0);
        }

        .mega-menu-link:hover .link-text {
            font-weight: 600;
        }

        /* Header Icons Modernos */
        .header-icons {
            display: flex;
            gap: 12px;
            align-items: center;
        }

        .icon-btn {
            background: var(--card-bg);
            border: 2px solid var(--border-color);
            width: 48px;
            height: 48px;
            border-radius: 12px;
            cursor: pointer;
            color: var(--text-primary);
            transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }

        [data-theme="dark"] .icon-btn {
            background: var(--card-bg);
            border-color: var(--border-color);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }

        .btn-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(255, 71, 87, 0.1), rgba(255, 107, 129, 0.1));
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 0;
        }

        .icon-btn:hover .btn-bg {
            opacity: 1;
        }

        .icon-btn svg {
            position: relative;
            z-index: 1;
            transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
            stroke-width: 2.5;
        }

        .icon-btn:hover {
            border-color: var(--accent-color);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(255, 71, 87, 0.2);
        }

        .icon-btn:hover svg {
            color: var(--accent-color);
            transform: scale(1.1);
        }

        .icon-btn:active {
            transform: translateY(0);
            box-shadow: 0 4px 12px rgba(255, 71, 87, 0.15);
        }

        /* Animación especial para el botón de búsqueda */
        .search-btn:hover svg {
            animation: searchPulse 0.6s ease;
        }

        @keyframes searchPulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.15);
            }
        }

        /* Animación especial para el toggle de tema */
        .theme-toggle:hover svg {
            animation: themeRotate 0.6s ease;
        }

        @keyframes themeRotate {
            0% {
                transform: rotate(0deg) scale(1);
            }
            50% {
                transform: rotate(180deg) scale(1.15);
            }
            100% {
                transform: rotate(360deg) scale(1);
            }
        }

        /* Hamburger Menu Animado */
        .hamburger {
            width: 20px;
            height: 16px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: relative;
            z-index: 1;
        }

        .hamburger span {
            display: block;
            width: 100%;
            height: 2px;
            background: currentColor;
            border-radius: 2px;
            transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
        }

        .icon-btn:hover .hamburger span:nth-child(1) {
            transform: translateY(-2px);
        }

        .icon-btn:hover .hamburger span:nth-child(3) {
            transform: translateY(2px);
        }

        .cart-icon {
            position: relative;
        }

        .cart-count {
            position: absolute;
            top: -8px;
            right: -8px;
            background: var(--accent-color);
            color: white;
            font-size: 10px;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
        }

        /* Container */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 30px 20px;
        }

        /* Hero Extended Container (Full Width with Ads) */
        .hero-extended-container {
            display: flex;
            justify-content: center;
            gap: 20px;
            width: 100%;
            max-width: 1600px;
            margin: 0 auto;
            padding: 30px 20px 0 20px;
            position: relative;
            z-index: 10;
        }

        .hero-content-wrapper {
            flex: 0 1 1200px;
            width: 100%;
            max-width: 1200px;
        }

        .hero-side-ad {
            flex: 0 0 auto;
            min-width: 160px;
            display: none;
            padding-top: 40px;
        }

        .hero-side-ad-content {
            position: sticky;
            top: 120px;
            width: auto;
            height: auto;
            max-width: 300px;
            border-radius: 12px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            /* color: white; Quitamos color forzado */
            text-align: center;
            /* box-shadow: 0 4px 15px rgba(0,0,0,0.1); Solo si tiene contenido */
        }
        
        .hero-side-ad-content img {
            max-width: 100%;
            height: auto;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }

        /* Hero Top Banner (Nuevo) */
        .hero-top-banner-container {
            width: 100%;
            max-width: 1600px;
            margin: 30px auto 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: center;
            position: relative;
            z-index: 10;
        }

        .hero-top-banner-content {
            width: 100%;
            height: auto;
            border-radius: 12px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
        }
        
        .hero-top-banner-content img {
            max-width: 100%;
            height: auto;
            max-height: 250px;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }

        /* Ajustar padding superior del hero-extended si hay banner arriba */
        .hero-extended-container {
            padding-top: 20px;
        }

        /* Mostrar banners solo cuando hay espacio suficiente (~1600px) */
        @media (min-width: 1500px) {
            .hero-side-ad {
                display: block;
            }
        }

        /* Hero Section New - Diseño Mejorado */
        .hero-section-new {
            background: linear-gradient(135deg, var(--card-bg) 0%, var(--bg-light) 100%);
            border-radius: 28px;
            padding: 50px;
            margin-bottom: 60px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
            animation: fadeInUp 0.8s ease;
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(255, 71, 87, 0.1);
        }

        .hero-section-new::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(255, 71, 87, 0.08) 0%, transparent 70%);
            border-radius: 50%;
            animation: pulse 10s ease-in-out infinite;
            pointer-events: none;
        }

        .hero-section-new::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -10%;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(255, 107, 129, 0.06) 0%, transparent 70%);
            border-radius: 50%;
            animation: pulse 12s ease-in-out infinite reverse;
            pointer-events: none;
        }

        .hero-section-new .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: linear-gradient(135deg, var(--accent-color), #ff6b81);
            color: white;
            padding: 10px 24px;
            border-radius: 50px;
            font-size: 13px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 35px;
            box-shadow: 0 8px 25px rgba(255, 71, 87, 0.4);
            position: relative;
            z-index: 2;
            animation: slideInDown 0.8s ease;
        }

        .hero-section-new .hero-badge::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: left 0.6s ease;
        }

        .hero-section-new .hero-badge:hover::before {
            left: 100%;
        }

        .badge-icon {
            font-size: 18px;
            animation: rotate 4s linear infinite;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
        }

        .hero-main-post {
            display: block;
            text-decoration: none;
            color: inherit;
            position: relative;
            z-index: 2;
            transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
        }

        .hero-main-post:hover {
            transform: translateY(-8px);
        }

        .hero-main-image {
            position: relative;
            width: 100%;
            height: 550px;
            border-radius: 20px;
            overflow: hidden;
            margin-bottom: 30px;
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
            border: 3px solid transparent;
            background: linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
                        linear-gradient(135deg, rgba(255, 71, 87, 0.3), rgba(255, 107, 129, 0.3)) border-box;
            transition: all 0.5s ease;
        }

        .hero-main-post:hover .hero-main-image {
            box-shadow: 0 25px 70px rgba(255, 71, 87, 0.25);
            border-color: rgba(255, 71, 87, 0.5);
        }

        .hero-main-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(255, 71, 87, 0.15) 0%, transparent 60%);
            opacity: 0;
            transition: opacity 0.5s ease;
            z-index: 1;
        }

        .hero-main-post:hover .hero-main-image::before {
            opacity: 1;
        }

        .hero-main-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            filter: brightness(0.95);
        }

        .hero-main-post:hover .hero-main-image img {
            transform: scale(1.08);
            filter: brightness(1);
        }

        .hero-category {
            position: absolute;
            top: 25px;
            left: 25px;
            padding: 10px 20px;
            border-radius: 12px;
            font-size: 13px;
            font-weight: 700;
            text-transform: uppercase;
            color: white;
            z-index: 2;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            letter-spacing: 1px;
            transition: all 0.4s ease;
        }

        .hero-main-post:hover .hero-category {
            transform: translateY(-5px) scale(1.1);
            box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
        }

        .hero-main-content {
            padding: 0 15px;
            position: relative;
        }

        .hero-main-title {
            font-size: 48px;
            font-weight: 900;
            line-height: 1.15;
            margin-bottom: 20px;
            color: var(--text-primary);
            background: linear-gradient(135deg, var(--accent-color) 0%, #ff6b81 50%, var(--accent-color) 100%);
            background-size: 200% auto;
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            transition: all 0.5s ease;
            text-shadow: 0 4px 20px rgba(255, 71, 87, 0.2);
            letter-spacing: -0.5px;
        }

        .hero-main-post:hover .hero-main-title {
            background-position: right center;
            transform: translateX(8px);
            letter-spacing: 0px;
        }

        .hero-main-excerpt {
            font-size: 19px;
            line-height: 1.7;
            color: var(--text-secondary);
            margin-bottom: 25px;
            font-weight: 400;
            max-width: 90%;
            transition: all 0.3s ease;
        }

        .hero-main-post:hover .hero-main-excerpt {
            color: var(--text-primary);
            transform: translateX(5px);
        }

        .hero-main-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-top: 20px;
            border-top: 2px solid var(--border-color);
        }

        .hero-read-more {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: white;
            background: linear-gradient(135deg, var(--accent-color), #ff6b81);
            padding: 12px 28px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 8px 25px rgba(255, 71, 87, 0.35);
            transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
            position: relative;
            overflow: hidden;
        }

        .hero-read-more::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: left 0.6s ease;
        }

        .hero-read-more::after {
            content: '→';
            margin-left: 5px;
            transition: transform 0.3s ease;
        }

        .hero-main-post:hover .hero-read-more {
            transform: translateX(10px) scale(1.05);
            box-shadow: 0 12px 35px rgba(255, 71, 87, 0.5);
        }

        .hero-main-post:hover .hero-read-more::before {
            left: 100%;
        }

        .hero-main-post:hover .hero-read-more::after {
            transform: translateX(5px);
        }

        /* Hero Posts List */
        .hero-posts-list {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }

        .hero-list-item {
            display: flex;
            gap: 20px;
            background: var(--bg-light);
            padding: 15px;
            border-radius: 12px;
            text-decoration: none;
            color: inherit;
            transition: all 0.3s ease;
        }

        .hero-list-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            background: var(--card-bg);
        }

        .hero-list-image {
            width: 150px;
            height: 100px;
            border-radius: 8px;
            overflow: hidden;
            flex-shrink: 0;
        }

        .hero-list-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .hero-list-item:hover .hero-list-image img {
            transform: scale(1.02);
        }

        .hero-list-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .hero-list-category {
            display: inline-block;
            padding: 4px 10px;
            border-radius: 6px;
            font-size: 10px;
            font-weight: 600;
            text-transform: uppercase;
            color: white;
            margin-bottom: 8px;
            width: fit-content;
        }

        .hero-list-title {
            font-size: 16px;
            font-weight: 700;
            line-height: 1.4;
            color: var(--text-primary);
            margin-bottom: 8px;
            transition: color 0.3s ease;
        }

        .hero-list-item:hover .hero-list-title {
            color: var(--accent-color);
        }

        .hero-list-meta {
            font-size: 12px;
            color: var(--text-secondary);
            display: flex;
            gap: 8px;
            align-items: center;
        }

        /* Hero Section (mantener para compatibilidad) */
        .hero-section {
            background: linear-gradient(135deg, var(--card-bg) 0%, var(--bg-light) 100%);
            border-radius: 24px;
            padding: 60px;
            margin-bottom: 50px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
            position: relative;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
        }

        .hero-section::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(255, 71, 87, 0.1) 0%, transparent 70%);
            border-radius: 50%;
            animation: pulse 8s ease-in-out infinite;
        }

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

        .hero-content {
            position: relative;
            z-index: 2;
            animation: fadeInLeft 0.8s ease;
        }

        @keyframes fadeInLeft {
            from {
                opacity: 0;
                transform: translateX(-30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: linear-gradient(135deg, var(--accent-color), #ff6b81);
            color: white;
            padding: 8px 20px;
            border-radius: 50px;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 20px;
            animation: slideInDown 0.6s ease;
            box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
        }

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

        .badge-icon {
            font-size: 16px;
            animation: rotate 3s linear infinite;
        }

        @keyframes rotate {
            from {
                transform: rotate(0deg);
            }
            to {
                transform: rotate(360deg);
            }
        }

        .hero-title {
            font-size: 48px;
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 20px;
            color: var(--text-primary);
            animation: fadeInUp 0.8s ease 0.2s both;
        }

        .hero-title a {
            color: var(--text-primary);
            text-decoration: none;
            background: linear-gradient(135deg, var(--accent-color), #ff6b81);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            transition: all 0.3s ease;
            display: inline-block;
        }

        .hero-title a:hover {
            transform: translateX(5px);
            filter: brightness(1.2);
        }

        .hero-description {
            font-size: 18px;
            line-height: 1.6;
            color: var(--text-secondary);
            margin-bottom: 30px;
            animation: fadeInUp 0.8s ease 0.4s both;
        }

        .hero-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            animation: fadeInUp 0.8s ease 0.6s both;
        }

        .hero-author {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .author-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--accent-color), #ff6b81);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            font-size: 20px;
            box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
            transition: transform 0.3s ease;
        }

        .hero-author:hover .author-avatar {
            transform: scale(1.1) rotate(5deg);
        }

        .author-info {
            display: flex;
            flex-direction: column;
        }

        .author-name {
            font-weight: 600;
            color: var(--text-primary);
            font-size: 14px;
        }

        .author-date {
            font-size: 12px;
            color: var(--text-secondary);
        }

        .hero-cta {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: linear-gradient(135deg, var(--accent-color), #ff6b81);
            color: white;
            padding: 14px 30px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 14px;
            transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
            box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
            position: relative;
            overflow: hidden;
        }

        .hero-cta::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: left 0.5s ease;
        }

        .hero-cta:hover::before {
            left: 100%;
        }

        .hero-cta:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 8px 25px rgba(255, 71, 87, 0.4);
        }

        .cta-arrow {
            font-size: 18px;
            transition: transform 0.3s ease;
        }

        .hero-cta:hover .cta-arrow {
            transform: translateX(5px);
        }

        .hero-visual {
            position: relative;
            z-index: 2;
            height: 400px;
            animation: fadeInRight 0.8s ease;
        }

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

        .floating-cards {
            position: relative;
            width: 100%;
            height: 100%;
        }

        .floating-card {
            position: absolute;
            width: 280px;
            height: 180px;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
            cursor: pointer;
            opacity: 0;
            animation: floatIn 0.8s ease forwards;
            text-decoration: none;
        }

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

        .floating-card:nth-child(1) {
            top: 0;
            left: 0;
            z-index: 3;
            animation: float 6s ease-in-out infinite;
        }

        .floating-card:nth-child(2) {
            top: 50px;
            right: 0;
            z-index: 2;
            animation: float 6s ease-in-out infinite 2s;
        }

        .floating-card:nth-child(3) {
            bottom: 0;
            left: 50px;
            z-index: 1;
            animation: float 6s ease-in-out infinite 4s;
        }

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

        .floating-card:hover {
            transform: translateY(-10px) scale(1.05) !important;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
            z-index: 10 !important;
        }

        .floating-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

        .floating-card:hover img {
            transform: scale(1.1);
        }

        .floating-card-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
            padding: 20px;
            transform: translateY(100%);
            transition: transform 0.4s ease;
        }

        .floating-card:hover .floating-card-overlay {
            transform: translateY(0);
        }

        .floating-card-title {
            color: white;
            font-size: 14px;
            font-weight: 600;
            line-height: 1.4;
        }

        /* Trending Bar (mantener para skeleton) */
        .trending-bar {
            background: var(--card-bg);
            padding: 15px 20px;
            border-radius: 8px;
            margin-bottom: 30px;
            display: flex;
            align-items: center;
            gap: 15px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            transition: background-color 0.3s ease;
        }

        .trending-label {
            background: var(--accent-color);
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            white-space: nowrap;
        }

        .trending-content {
            display: flex;
            align-items: center;
            gap: 10px;
            overflow: hidden;
        }

        .trending-text {
            font-size: 14px;
            color: var(--text-primary);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* Grid Layout - Mosaic Style */
        .grid-layout {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            grid-template-rows: repeat(4, 200px);
            gap: 15px;
            margin-bottom: 40px;
            grid-auto-flow: dense;
        }

        /* Featured Post - Main Large */
        .featured-post {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            cursor: pointer;
            opacity: 0;
            animation: fadeInUp 0.6s ease forwards;
            display: block;
        }

        /* Layout específico para cada tarjeta */
        .featured-post:nth-child(1) {
            grid-column: 1 / 3;
            grid-row: 1 / 5;
        }

        .featured-post:nth-child(2) {
            grid-column: 3 / 4;
            grid-row: 1 / 3;
        }

        .featured-post:nth-child(3) {
            grid-column: 4 / 5;
            grid-row: 1 / 3;
        }

        .featured-post:nth-child(4) {
            grid-column: 3 / 5;
            grid-row: 3 / 5;
        }

        .featured-post:nth-child(5) {
            grid-column: 3 / 4;
            grid-row: 3 / 4;
            display: none; /* Oculta por defecto, se mostrará con la nueva estructura */
        }

        .featured-post:nth-child(6) {
            grid-column: 4 / 5;
            grid-row: 3 / 4;
            display: none; /* Oculta por defecto, se mostrará con la nueva estructura */
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .featured-post:nth-child(2) {
            animation-delay: 0.1s;
        }

        .featured-post:nth-child(3) {
            animation-delay: 0.2s;
        }

        .featured-post:nth-child(4) {
            animation-delay: 0.3s;
        }

        .post-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 2.5s cubic-bezier(0.19, 1, 0.22, 1), opacity 1s ease;
        }

        .featured-post:hover .post-image {
            transform: scale(1.02);
            opacity: 0.98;
        }

        .featured-post:hover .post-overlay {
            background: linear-gradient(to top, var(--overlay-dark), var(--overlay-light));
        }

        .featured-post:hover .post-title {
            transform: translateY(-5px);
        }

        .featured-post:hover .post-category {
            transform: scale(1.1);
        }

        .featured-post .post-meta {
            transition: all 0.5s ease;
        }

        .featured-post:hover .post-meta {
            opacity: 1;
            transform: translateX(5px);
        }

        .post-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, var(--overlay-dark), transparent);
            padding: 30px;
            color: white;
            transition: background 0.6s ease;
        }

        .post-category {
            display: inline-block;
            background: var(--accent-color);
            padding: 4px 12px;
            border-radius: 3px;
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            margin-bottom: 10px;
            letter-spacing: 0.5px;
            transition: transform 0.5s ease;
        }

        .post-title {
            font-size: 24px;
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: 10px;
            transition: transform 0.5s ease;
        }

        .small-post .post-title {
            font-size: 16px;
        }

        .post-meta {
            display: flex;
            gap: 15px;
            font-size: 12px;
            opacity: 0.9;
            align-items: center;
        }

        .post-meta span {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        /* Small Posts */
        .small-post {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            transition: box-shadow 0.6s ease, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .small-post:hover {
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
            transform: translateY(-8px);
        }

        /* Sections Mejoradas */
        .section {
            margin-bottom: 60px;
            animation: fadeInUp 0.6s ease;
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 35px;
            padding-bottom: 20px;
            border-bottom: 3px solid transparent;
            background: linear-gradient(90deg, var(--accent-color) 0%, var(--accent-color) 60px, var(--border-color) 60px, var(--border-color) 100%);
            background-position: bottom;
            background-size: 100% 3px;
            background-repeat: no-repeat;
            position: relative;
        }

        .section-header::before {
            content: '';
            position: absolute;
            bottom: -3px;
            left: 0;
            width: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--accent-color), #ff6b81);
            transition: width 0.6s cubic-bezier(0.19, 1, 0.22, 1);
        }

        .section:hover .section-header::before {
            width: 120px;
        }

        .section-title {
            font-size: 28px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            background: linear-gradient(135deg, var(--text-primary), var(--accent-color));
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            position: relative;
            display: inline-flex;
            align-items: center;
            gap: 12px;
            transition: all 0.4s ease;
        }

        .section-title::before {
            content: '●';
            font-size: 12px;
            color: var(--accent-color);
            animation: pulse 2s ease-in-out infinite;
        }

        .section:hover .section-title {
            transform: translateX(5px);
            letter-spacing: 2px;
        }

        .view-all {
            color: var(--text-secondary);
            font-size: 13px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
            padding: 8px 20px;
            border-radius: 50px;
            border: 2px solid var(--border-color);
            text-transform: uppercase;
            letter-spacing: 1px;
            position: relative;
            overflow: hidden;
        }

        .view-all::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 71, 87, 0.1), transparent);
            transition: left 0.6s ease;
        }

        .view-all:hover::before {
            left: 100%;
        }

        .view-all:hover {
            color: white;
            background: linear-gradient(135deg, var(--accent-color), #ff6b81);
            border-color: var(--accent-color);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(255, 71, 87, 0.3);
        }

        /* Two Column Layout */
        .two-col-layout {
            display: grid;
            grid-template-columns: 1fr 350px;
            gap: 40px;
        }

        /* Categories Grid Mejorado */
        .categories-grid {
            display: grid;
            grid-template-columns: 300px 1fr;
            gap: 30px;
            animation: fadeInUp 0.6s ease 0.2s both;
        }

        .category-featured {
            position: relative;
            border-radius: 16px;
            overflow: hidden;
            height: 400px;
            cursor: pointer;
            transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        }

        .category-featured::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(255, 71, 87, 0.2), transparent);
            opacity: 0;
            transition: opacity 0.5s ease;
            z-index: 1;
        }

        .category-featured:hover::before {
            opacity: 1;
        }

        .category-featured:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
        }

        .category-featured:hover .post-image {
            transform: scale(1.08);
            opacity: 0.95;
        }

        .category-featured:hover .post-overlay {
            background: linear-gradient(to top, var(--overlay-dark), var(--overlay-light));
        }

        .category-featured:hover .post-title {
            transform: translateY(-8px);
            color: #fff;
            text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
        }

        .category-featured:hover .post-category {
            transform: scale(1.15) translateY(-3px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        }

        .category-list {
            display: flex;
            flex-direction: column;
            gap: 18px;
        }

        .category-item {
            display: grid;
            grid-template-columns: 120px 1fr;
            gap: 18px;
            background: var(--card-bg);
            padding: 18px;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
            position: relative;
            overflow: hidden;
            border: 1px solid var(--border-color);
        }

        .category-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 71, 87, 0.15), transparent);
            transition: left 0.6s ease;
        }

        .category-item::after {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 4px;
            height: 0;
            background: linear-gradient(180deg, var(--accent-color), #ff6b81);
            transition: height 0.5s cubic-bezier(0.19, 1, 0.22, 1);
            border-radius: 0 4px 4px 0;
        }

        .category-item:hover::before {
            left: 100%;
        }

        .category-item:hover::after {
            height: 100%;
        }

        .category-item:hover {
            transform: translateX(12px) translateY(-5px);
            box-shadow: -8px 12px 30px rgba(255, 71, 87, 0.2);
            background: var(--bg-light);
            border-color: rgba(255, 71, 87, 0.3);
        }

        .category-item:hover .category-item-image {
            transform: scale(1.08) rotate(-2deg);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
            opacity: 0.95;
        }

        .category-item-image {
            width: 120px;
            height: 90px;
            object-fit: cover;
            border-radius: 6px;
            transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.8s ease, opacity 0.6s ease;
        }

        .category-item-content {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .category-item-title {
            font-size: 16px;
            font-weight: 600;
            line-height: 1.4;
            color: var(--text-primary);
            margin-bottom: 8px;
            transition: all 0.3s ease;
        }

        .category-item:hover .category-item-title {
            color: var(--accent-color);
            transform: translateX(5px);
        }

        .category-item-meta {
            font-size: 12px;
            color: var(--text-secondary);
            display: flex;
            gap: 10px;
        }

        /* Sidebar */
        .sidebar-widget {
            background: var(--card-bg);
            padding: 25px;
            border-radius: 12px;
            margin-bottom: 25px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            transition: background-color 0.3s ease;
        }

        .widget-title {
            font-size: 16px;
            font-weight: 700;
            text-transform: uppercase;
            margin-bottom: 20px;
            padding-bottom: 12px;
            border-bottom: 2px solid var(--accent-color);
        }

        /* Stay Connected Widget Mejorado */
        .stay-connected-widget {
            position: relative;
            overflow: hidden;
        }

        .stay-connected-widget::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at top right, rgba(255, 71, 87, 0.05), transparent 60%);
            pointer-events: none;
        }

        .widget-title-wrapper {
            position: relative;
            margin-bottom: 25px;
        }

        .stay-connected-widget .widget-title {
            border-bottom: none;
            margin-bottom: 12px;
            padding-bottom: 0;
            font-size: 18px;
            letter-spacing: 0.5px;
            background: linear-gradient(135deg, var(--text-primary), var(--accent-color));
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .title-decoration {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 8px;
        }

        .decoration-dot {
            width: 8px;
            height: 8px;
            background: var(--accent-color);
            border-radius: 50%;
            animation: pulse 2s ease-in-out infinite;
        }

        .decoration-line {
            flex: 1;
            height: 3px;
            background: linear-gradient(90deg, var(--accent-color), transparent);
            border-radius: 2px;
            position: relative;
            overflow: hidden;
        }

        .decoration-line::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 50%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
            animation: shimmer 3s ease-in-out infinite;
        }

        @keyframes shimmer {
            0% {
                left: -100%;
            }
            100% {
                left: 200%;
            }
        }

        .social-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }

        .social-btn {
            padding: 18px 12px;
            border-radius: 12px;
            text-align: center;
            color: white;
            font-size: 10px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
            text-decoration: none;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            position: relative;
            overflow: hidden;
            border: 2px solid transparent;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .social-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.6s ease;
        }

        .social-btn:hover::before {
            left: 100%;
        }

        .social-icon {
            font-size: 24px;
            transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
        }

        .social-action {
            font-size: 9px;
            letter-spacing: 1px;
            opacity: 0.95;
            font-weight: 800;
        }

        .social-count {
            font-size: 16px;
            font-weight: 800;
            letter-spacing: 0.5px;
        }

        .social-btn:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
        }

        .social-btn:hover .social-icon {
            transform: scale(1.2) rotate(-5deg);
        }

        .social-btn:active {
            transform: translateY(-3px) scale(1.02);
        }

        .social-btn.facebook {
            background: linear-gradient(135deg, #3b5998, #2d4373);
        }

        .social-btn.facebook:hover {
            border-color: #3b5998;
            box-shadow: 0 12px 30px rgba(59, 89, 152, 0.4);
        }

        .social-btn.twitter {
            background: linear-gradient(135deg, #1da1f2, #0c85d0);
        }

        .social-btn.twitter:hover {
            border-color: #1da1f2;
            box-shadow: 0 12px 30px rgba(29, 161, 242, 0.4);
        }

        .social-btn.instagram {
            background: linear-gradient(135deg, #e4405f, #c13584);
        }

        .social-btn.instagram:hover {
            border-color: #e4405f;
            box-shadow: 0 12px 30px rgba(228, 64, 95, 0.4);
        }

        .social-btn.youtube {
            background: linear-gradient(135deg, #ff0000, #cc0000);
        }

        .social-btn.youtube:hover {
            border-color: #ff0000;
            box-shadow: 0 12px 30px rgba(255, 0, 0, 0.4);
        }

        .review-item {
            display: flex;
            gap: 15px;
            padding: 15px;
            margin: 0 -15px;
            border-bottom: 1px solid var(--border-color);
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            position: relative;
        }

        .review-item:last-child {
            border-bottom: none;
        }

        .review-item::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 4px;
            height: 0;
            background: var(--accent-color);
            transition: height 0.4s ease;
            border-radius: 0 4px 4px 0;
        }

        .review-item:hover::before {
            height: 100%;
        }

        .review-item:hover {
            background: var(--bg-light);
            transform: translateX(8px);
            box-shadow: 0 5px 20px rgba(255, 71, 87, 0.1);
        }

        .review-item:hover .review-image {
            transform: scale(1.12) rotate(-3deg);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
            opacity: 0.95;
        }

        .review-item:hover .review-title {
            color: var(--accent-color);
            transform: translateX(5px);
        }

        .review-item:hover .review-rating {
            transform: scale(1.2);
        }

        .review-image {
            width: 60px;
            height: 60px;
            border-radius: 8px;
            object-fit: cover;
            transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.6s ease, opacity 0.5s ease;
        }

        .review-content {
            flex: 1;
        }

        .review-title {
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 5px;
            color: var(--text-primary);
            line-height: 1.3;
            transition: all 0.3s ease;
        }

        .review-rating {
            color: #ffc107;
            font-size: 12px;
            margin-bottom: 3px;
            transition: transform 0.3s ease;
        }

        .review-author {
            font-size: 11px;
            color: var(--text-secondary);
        }

        /* Tech Grid Mejorado (More Stories) */
        .tech-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
            animation: fadeInUp 0.6s ease 0.3s both;
        }

        .tech-card {
            background: var(--card-bg);
            border-radius: 16px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
            position: relative;
            border: 1px solid var(--border-color);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        }

        .tech-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(255, 71, 87, 0.15) 0%, rgba(255, 107, 129, 0.15) 100%);
            opacity: 0;
            transition: opacity 0.5s ease;
            z-index: 1;
        }

        .tech-card::after {
            content: '→';
            position: absolute;
            bottom: 20px;
            right: 20px;
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--accent-color), #ff6b81);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 20px;
            font-weight: 700;
            opacity: 0;
            transform: scale(0.5) rotate(-45deg);
            transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
            z-index: 3;
            box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
        }

        .tech-card:hover::before {
            opacity: 1;
        }

        .tech-card:hover::after {
            opacity: 1;
            transform: scale(1) rotate(0deg);
        }

        .tech-card:hover {
            transform: translateY(-12px) scale(1.02);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
            border-color: rgba(255, 71, 87, 0.3);
        }

        .tech-card:hover .tech-card-image {
            transform: scale(1.15);
            opacity: 0.9;
        }

        .tech-card:hover .tech-card-title {
            color: var(--accent-color);
            transform: translateX(8px);
        }

        .tech-card:hover .tech-card-content {
            transform: translateY(-8px);
        }

        .tech-card-image {
            width: 100%;
            height: 220px;
            object-fit: cover;
            transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.6s ease;
        }

        .tech-card-content {
            padding: 25px;
            position: relative;
            z-index: 2;
            transition: transform 0.5s ease;
        }

        .tech-card-title {
            font-size: 17px;
            font-weight: 700;
            margin-bottom: 12px;
            line-height: 1.4;
            transition: all 0.4s ease;
            color: var(--text-primary);
        }

        .tech-card-meta {
            font-size: 13px;
            color: var(--text-secondary);
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 500;
        }

        .tech-card-meta span:first-child {
            color: var(--text-primary);
        }

        /* Responsive */
        @media (max-width: 968px) {
            .hero-section-new {
                padding: 30px;
            }

            .hero-main-image {
                height: 400px;
            }

            .hero-main-title {
                font-size: 32px;
            }

            .hero-posts-list {
                grid-template-columns: 1fr;
            }

            .hero-section {
                grid-template-columns: 1fr;
                padding: 40px;
                gap: 40px;
            }

            .hero-title {
                font-size: 36px;
            }

            .hero-visual {
                height: 300px;
            }

            .floating-card {
                width: 220px;
                height: 140px;
            }

            .grid-layout {
                grid-template-columns: repeat(2, 1fr);
                grid-template-rows: auto;
                gap: 15px;
            }

            .featured-post:nth-child(1) {
                grid-column: 1 / 3;
                grid-row: auto;
                min-height: 400px;
            }

            .featured-post:nth-child(2),
            .featured-post:nth-child(3),
            .featured-post:nth-child(4),
            .featured-post:nth-child(5),
            .featured-post:nth-child(6) {
                grid-column: span 1;
                grid-row: auto;
                min-height: 250px;
            }

            .two-col-layout,
            .categories-grid {
                grid-template-columns: 1fr;
            }

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

        @media (max-width: 768px) {
            .hero-section-new {
                padding: 20px;
            }

            .hero-main-image {
                height: 300px;
            }

            .hero-main-title {
                font-size: 24px;
            }

            .hero-main-excerpt {
                font-size: 16px;
            }

            .hero-main-meta {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }

            .hero-list-item {
                flex-direction: column;
            }

            .hero-list-image {
                width: 100%;
                height: 200px;
            }

            .hero-section {
                padding: 30px 20px;
                gap: 30px;
            }

            .hero-title {
                font-size: 28px;
            }

            .hero-description {
                font-size: 16px;
            }

            .hero-meta {
                flex-direction: column;
                align-items: flex-start;
            }

            .hero-visual {
                height: 250px;
            }

            .floating-card {
                width: 180px;
                height: 120px;
            }

            .floating-card:nth-child(2) {
                top: 30px;
            }

            .top-bar nav {
                display: none;
            }

            .main-nav {
                display: none;
            }

            .grid-layout {
                grid-template-columns: 1fr;
                grid-template-rows: auto;
            }

            .featured-post:nth-child(1) {
                grid-column: 1;
                grid-row: auto;
                min-height: 400px;
            }

            .featured-post:nth-child(2),
            .featured-post:nth-child(3),
            .featured-post:nth-child(4),
            .featured-post:nth-child(5),
            .featured-post:nth-child(6) {
                grid-column: 1;
                grid-row: auto;
                min-height: 300px;
            }

            .tech-grid {
                grid-template-columns: 1fr;
            }

            .trending-text {
                font-size: 12px;
            }
        }

        /* Menu Toggle */
        .menu-toggle {
            display: none;
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, #f8f9fa, #ffffff);
            border: 1px solid rgba(232, 232, 232, 0.8);
            border-radius: 50%;
            cursor: pointer;
            color: var(--text-primary);
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        [data-theme="dark"] .menu-toggle {
            background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
            border-color: #3d3d3d;
        }

        .menu-toggle:hover {
            background: var(--accent-color);
            color: white;
            transform: scale(1.05);
            box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
        }

        /* Mobile Menu */
        .mobile-menu {
            position: fixed;
            top: 0;
            right: -100%;
            width: 100%;
            max-width: 400px;
            height: 100vh;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
            transition: right 0.4s cubic-bezier(0.19, 1, 0.22, 1);
            z-index: 2000;
            overflow-y: auto;
            padding: 80px 30px 30px;
        }

        [data-theme="dark"] .mobile-menu {
            background: rgba(26, 26, 26, 0.98);
            box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
        }

        .mobile-menu.active {
            right: 0;
        }

        .mobile-menu-close {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, #f8f9fa, #ffffff);
            border: 1px solid rgba(232, 232, 232, 0.8);
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: var(--text-primary);
            transition: all 0.3s ease;
        }

        [data-theme="dark"] .mobile-menu-close {
            background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
            border-color: #3d3d3d;
        }

        .mobile-menu-close:hover {
            background: var(--accent-color);
            color: white;
            transform: rotate(90deg);
        }

        .mobile-menu-nav {
            list-style: none;
        }

        .mobile-menu-nav li {
            margin-bottom: 20px;
            opacity: 0;
            transform: translateX(30px);
            animation: slideInRight 0.5s ease forwards;
        }

        .mobile-menu-nav li:nth-child(1) { animation-delay: 0.1s; }
        .mobile-menu-nav li:nth-child(2) { animation-delay: 0.2s; }
        .mobile-menu-nav li:nth-child(3) { animation-delay: 0.3s; }
        .mobile-menu-nav li:nth-child(4) { animation-delay: 0.4s; }
        .mobile-menu-nav li:nth-child(5) { animation-delay: 0.5s; }

        @keyframes slideInRight {
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .mobile-menu-nav a {
            display: block;
            padding: 15px 20px;
            color: var(--text-primary);
            text-decoration: none;
            font-weight: 600;
            font-size: 16px;
            border-radius: 12px;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .mobile-menu-nav a:hover {
            background: linear-gradient(135deg, rgba(255, 71, 87, 0.15), rgba(255, 107, 129, 0.15));
            color: var(--accent-color);
            transform: translateX(10px);
        }

        /* Mobile Menu Section Title */
        .mobile-menu-section {
            margin-top: 25px;
            margin-bottom: 10px;
            padding: 0 20px;
        }

        .mobile-menu-section-title {
            display: block;
            font-size: 12px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: var(--accent-color);
            padding-bottom: 10px;
            border-bottom: 2px solid var(--accent-color);
        }

        /* Mobile Menu Dropdown */
        .mobile-menu-dropdown {
            margin-bottom: 10px;
        }

        .mobile-dropdown-toggle {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            padding: 15px 20px;
            background: transparent;
            border: none;
            color: var(--text-primary);
            font-weight: 600;
            font-size: 16px;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            text-align: left;
        }

        .mobile-dropdown-toggle:hover {
            background: linear-gradient(135deg, rgba(255, 71, 87, 0.15), rgba(255, 107, 129, 0.15));
            color: var(--accent-color);
        }

        .dropdown-icon {
            transition: transform 0.3s ease;
            stroke: currentColor;
        }

        .mobile-menu-dropdown.active .dropdown-icon {
            transform: rotate(180deg);
        }

        .mobile-dropdown-content {
            list-style: none;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease;
            padding-left: 0;
        }

        .mobile-menu-dropdown.active .mobile-dropdown-content {
            max-height: 1000px;
        }

        .mobile-dropdown-content li {
            margin-bottom: 0;
            opacity: 1;
            transform: translateX(0);
            animation: none;
        }

        .mobile-dropdown-content a {
            display: block;
            padding: 12px 20px 12px 40px;
            color: var(--text-primary);
            text-decoration: none;
            font-weight: 500;
            font-size: 15px;
            border-radius: 8px;
            transition: all 0.3s ease;
            text-transform: none;
            letter-spacing: 0;
        }

        .mobile-dropdown-content a:hover {
            background: linear-gradient(135deg, rgba(255, 71, 87, 0.1), rgba(255, 107, 129, 0.1));
            color: var(--accent-color);
            transform: translateX(5px);
            padding-left: 45px;
        }

        /* Dark Mode Toggle Button */
        .theme-toggle {
            background: linear-gradient(135deg, #f8f9fa, #ffffff);
            border: 1px solid rgba(232, 232, 232, 0.8);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            font-size: 18px;
            cursor: pointer;
            color: var(--text-secondary);
            transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        [data-theme="dark"] .theme-toggle {
            background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
            border-color: #3d3d3d;
        }

        .theme-toggle::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--accent-color), #ff6b81);
            transform: translate(-50%, -50%);
            transition: all 0.5s ease;
        }

        .theme-toggle:hover::before {
            width: 100%;
            height: 100%;
        }

        .theme-toggle:hover {
            color: white;
            border-color: var(--accent-color);
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 10px 25px rgba(255, 71, 87, 0.3);
        }

        .theme-toggle span {
            position: relative;
            z-index: 1;
        }

        .mobile-menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 1999;
        }

        .mobile-menu-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        @media (max-width: 768px) {
            .menu-toggle {
                display: flex;
            }

            .main-nav {
                display: none;
            }
        }

        /* Contenedor para Grid + Banners */
        .grid-with-banners {
            position: relative;
            display: grid;
            grid-template-columns: 160px 1fr 160px;
            gap: 20px;
            margin-bottom: 40px;
            align-items: start;
        }

        /* Banners Laterales */
        .side-banner {
            position: sticky;
            top: 120px;
            width: 160px;
            height: fit-content;
            z-index: 10;
            animation: fadeIn 1s ease;
        }

        .side-banner-left {
            grid-column: 1;
        }

        .side-banner-right {
            grid-column: 3;
        }

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

        /* Grid Layout dentro del contenedor */
        .grid-with-banners .grid-layout {
            grid-column: 2;
            margin-bottom: 0;
        }

        /* Ocultar banners en pantallas medianas */
        @media (max-width: 1400px) {
            .grid-with-banners {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .side-banner {
                display: none;
            }

            .grid-with-banners .grid-layout {
                grid-column: 1;
            }
        }

        /* Scroll to Top Button */
        .scroll-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: rgba(26, 26, 26, 0.9);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 2px solid rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px) scale(0.8);
            transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
            z-index: 999;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        }

        [data-theme="dark"] .scroll-to-top {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.2);
        }

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

        .scroll-to-top svg {
            color: white;
            transition: transform 0.3s ease;
        }

        [data-theme="dark"] .scroll-to-top svg {
            color: var(--text-primary);
        }

        .scroll-to-top:hover {
            background: var(--accent-color);
            border-color: var(--accent-color);
            transform: translateY(-5px) scale(1.1);
            box-shadow: 0 12px 35px rgba(255, 71, 87, 0.4);
        }

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

        .scroll-to-top:active {
            transform: translateY(-3px) scale(1.05);
        }

        /* Animación de pulso sutil */
        @keyframes subtlePulse {
            0%, 100% {
                box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
            }
            50% {
                box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 0 8px rgba(255, 71, 87, 0.1);
            }
        }

        .scroll-to-top.visible {
            animation: subtlePulse 3s ease-in-out infinite;
        }

        /* Responsive para el botón */
        @media (max-width: 768px) {
            .scroll-to-top {
                bottom: 20px;
                right: 20px;
                width: 45px;
                height: 45px;
            }

            .scroll-to-top svg {
                width: 20px;
                height: 20px;
            }
        }

        /* Search Modal Styles */
        .search-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            z-index: 3000;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            padding-top: 100px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
        }

        .search-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .search-modal {
            background: var(--card-bg);
            border-radius: 20px;
            width: 90%;
            max-width: 700px;
            max-height: 80vh;
            box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
            position: relative;
            transform: translateY(-30px) scale(0.95);
            transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
            overflow: hidden;
            border: 1px solid var(--border-color);
        }

        .search-overlay.active .search-modal {
            transform: translateY(0) scale(1);
        }

        .search-close {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 40px;
            height: 40px;
            background: var(--bg-light);
            border: 1px solid var(--border-color);
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: var(--text-secondary);
            transition: all 0.3s ease;
            z-index: 10;
        }

        .search-close:hover {
            background: var(--accent-color);
            color: white;
            border-color: var(--accent-color);
            transform: rotate(90deg);
        }

        .search-container {
            padding: 30px;
        }

        .search-header {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 20px 25px;
            background: var(--bg-light);
            border-radius: 15px;
            margin-bottom: 25px;
            border: 2px solid var(--border-color);
            transition: all 0.3s ease;
        }

        .search-header:focus-within {
            border-color: var(--accent-color);
            box-shadow: 0 0 0 4px rgba(255, 71, 87, 0.1);
        }

        .search-header svg {
            color: var(--text-secondary);
            flex-shrink: 0;
            transition: color 0.3s ease;
        }

        .search-header:focus-within svg {
            color: var(--accent-color);
        }

        .search-input {
            flex: 1;
            border: none;
            background: transparent;
            font-size: 18px;
            color: var(--text-primary);
            outline: none;
            font-weight: 500;
        }

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

        .search-results {
            max-height: 400px;
            overflow-y: auto;
            padding-right: 10px;
        }

        .search-results::-webkit-scrollbar {
            width: 6px;
        }

        .search-results::-webkit-scrollbar-track {
            background: var(--bg-light);
            border-radius: 10px;
        }

        .search-results::-webkit-scrollbar-thumb {
            background: var(--accent-color);
            border-radius: 10px;
        }

        .search-suggestions {
            text-align: center;
            padding: 40px 20px;
        }

        .search-hint {
            color: var(--text-secondary);
            font-size: 14px;
            margin: 0;
        }

        .search-result-item {
            display: flex;
            gap: 15px;
            padding: 15px;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-bottom: 10px;
            text-decoration: none;
            color: inherit;
            border: 1px solid transparent;
        }

        .search-result-item:hover {
            background: var(--bg-light);
            border-color: var(--border-color);
            transform: translateX(5px);
        }

        .search-result-image {
            width: 80px;
            height: 60px;
            border-radius: 8px;
            object-fit: cover;
            flex-shrink: 0;
        }

        .search-result-content {
            flex: 1;
            min-width: 0;
        }

        .search-result-title {
            font-size: 16px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 5px;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .search-result-meta {
            font-size: 12px;
            color: var(--text-secondary);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .search-result-category {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 10px;
            font-weight: 600;
            text-transform: uppercase;
            color: white;
        }

        .search-no-results {
            text-align: center;
            padding: 40px 20px;
        }

        .search-no-results-icon {
            font-size: 48px;
            margin-bottom: 15px;
            opacity: 0.5;
        }

        .search-no-results-text {
            color: var(--text-secondary);
            font-size: 16px;
            margin: 0;
        }

        /* Theme Toggle Mejorado */
        .theme-toggle {
            position: relative;
        }

        .theme-toggle .sun-icon,
        .theme-toggle .moon-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
            pointer-events: none;
        }

        .theme-toggle .sun-icon {
            opacity: 1;
            transform: translate(-50%, -50%) rotate(0deg) scale(1);
            display: block;
        }

        .theme-toggle .moon-icon {
            opacity: 0;
            transform: translate(-50%, -50%) rotate(180deg) scale(0);
            display: none;
        }

        [data-theme="dark"] .theme-toggle .sun-icon {
            opacity: 0;
            transform: translate(-50%, -50%) rotate(-180deg) scale(0);
            display: none;
        }

        [data-theme="dark"] .theme-toggle .moon-icon {
            opacity: 1;
            transform: translate(-50%, -50%) rotate(0deg) scale(1);
            display: block;
        }

        /* Animación de transición de tema */
        body.theme-transitioning,
        body.theme-transitioning * {
            transition: background-color 0.5s cubic-bezier(0.19, 1, 0.22, 1),
                        color 0.5s cubic-bezier(0.19, 1, 0.22, 1),
                        border-color 0.5s cubic-bezier(0.19, 1, 0.22, 1) !important;
        }

        @media (max-width: 768px) {
            .search-overlay {
                padding-top: 60px;
            }

            .search-modal {
                width: 95%;
                max-height: 85vh;
            }

            .search-container {
                padding: 20px;
            }

            .search-header {
                padding: 15px 20px;
            }

            .search-input {
                font-size: 16px;
            }

            .search-result-item {
                flex-direction: column;
            }

            .search-result-image {
                width: 100%;
                height: 150px;
            }
        }
