/*
Theme Name: Display Planet
Theme URI: https://displayplanet.com
Author: Display Planet Team
Author URI: https://displayplanet.com
Description: Tema personalizado para Display Planet - Tienda y sorteos de dispositivos electrónicos premium
Version: 1.0.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: displayplanet
Tags: ecommerce, technology, modern, futuristic, raffles
*/

:root {
    --red-primary: #E31E24;
    --red-dark: #B71C1C;
    --red-light: #FF5252;
    --silver: #C0C0C0;
    --silver-light: #E8E8E8;
    --silver-dark: #8A8A8A;
    --white: #FFFFFF;
    --off-white: #F5F5F7;
    --neutral-100: #FAFAFA;
    --neutral-200: #EFEFEF;
    --neutral-300: #D4D4D4;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;
    --black: #000000;
    --text-dark: #1a1a1a;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Archivo', -apple-system, sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f7 50%, #e8e8e8 100%);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: #3f3f3f;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* animation: slideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1); */
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); */
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

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

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
}

.logo-icon {
    color: var(--red-primary);
    font-size: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(227, 30, 36, 0.5));
}

.logo-text {
    background: linear-gradient(135deg, var(--white) 0%, var(--silver) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--silver-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--white);
}

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

.cta-button {
    background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-dark) 100%);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.8rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(227, 30, 36, 0.4);
}

/* Cart Icon */
.cart-wrapper {
    position: relative;
}

.cart-icon {
    position: relative;
    background: transparent;
    border: 2px solid var(--silver);
    color: var(--white);
    padding: 0.6rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-icon:hover {
    background: var(--red-primary);
    border-color: var(--red-primary);
    transform: translateY(-2px);
}

.cart-icon svg {
    width: 22px;
    height: 22px;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--red-primary);
    color: var(--white);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid #3f3f3f;
    z-index: 10;
    pointer-events: none;
}

/* Cart Modal */
.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-modal.active {
    display: flex;
    opacity: 1;
}

.cart-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.cart-modal-content {
    position: relative;
    margin-left: auto;
    width: 100%;
    max-width: 500px;
    height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

.cart-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 2px solid var(--neutral-200);
}

.cart-modal-header h2 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

.cart-close-btn {
    background: transparent;
    border: none;
    color: var(--neutral-700);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-close-btn:hover {
    background: var(--neutral-200);
    color: var(--red-primary);
}

.cart-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

.cart-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.cart-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--neutral-100), var(--neutral-200));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cart-item-image .phone-mockup {
    width: 60px;
    height: 60px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.cart-item-specs {
    font-size: 0.85rem;
    color: var(--neutral-700);
    margin-bottom: 0.8rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.qty-btn {
    background: var(--neutral-200);
    border: none;
    color: var(--text-dark);
    width: 30px;
    height: 30px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--red-primary);
    color: var(--white);
}

.qty-value {
    font-weight: 600;
    color: var(--text-dark);
    min-width: 30px;
    text-align: center;
}

.cart-item-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.cart-item-price .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--red-primary);
}

.remove-btn {
    background: transparent;
    border: none;
    color: var(--neutral-700);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    background: var(--neutral-200);
    color: var(--red-primary);
}

.cart-modal-footer {
    padding: 2rem;
    border-top: 2px solid var(--neutral-200);
    background: var(--white);
}

.cart-summary {
    margin-bottom: 1.5rem;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    color: var(--neutral-700);
}

.cart-summary-row.total {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    padding-top: 1rem;
    border-top: 2px solid var(--neutral-200);
    margin-top: 0.5rem;
}

.cart-summary-row.total span:last-child {
    color: var(--red-primary);
}

.cart-proceed-footer {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cart-checkout-btn {
    width: 220px;
    background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-dark) 100%);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.3);
}

.cart-checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(227, 30, 36, 0.4);
}

.cart-view-btn {
    margin-left: auto;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(227, 30, 36, 0.5);
}

.cta-button-white {
    background: var(--silver-light);
    color: var(--neutral-700);
    border: none;
    padding: 0.75rem 1.8rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--silver);
    /* box-shadow: 0 4px 20px rgba(227, 30, 36, 0.3); */
}

.cta-button-white:hover {
    transform: translateY(-2px);
    /* box-shadow: 0 6px 30px rgba(227, 30, 36, 0.5); */
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}

.dot-wave-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Liquid Glass Orbs */
.glass-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
            rgba(47, 47, 47, 0.2) 0%,
            rgba(192, 192, 192, 0.25) 50%,
            rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(80px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    animation: float 20s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(192, 192, 192, 0.3);
}

.orb-1 {
    width: 500px;
    height: 500px;
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    top: 50%;
    right: -5%;
    animation-delay: -7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    bottom: -25%;
    left: 30%;
    animation: none !important;
    animation-delay: -14s;
}

.orb-4 {
    width: 350px;
    height: 350px;
    top: 4%;
    left: 40%;
    animation-delay: -14s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    width: 100%;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-text {
    padding-left: 10px;
    text-align: left;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-phone-mockup {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.2));
    animation: float 6s ease-in-out infinite;
    border-radius: 20px;
}

/* Si usas una imagen de fondo en lugar de <img> */
.hero-phone-mockup.bg-image {
    aspect-ratio: 1 / 1;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

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

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    color: var(--text-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
}

.gradient-text {
    /* Fallback para navegadores que no ejecuten JavaScript */
    background: linear-gradient(135deg, var(--red-primary) 0%, var(--silver) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Cuando JavaScript activa wave-pulse, resetear las propiedades */
.gradient-text.wave-pulse {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    display: inline-block;
}

/* Estilo específico para "Gran Sorteo Activo" - Efecto de crecimiento de letras */
.raffle-title-effect {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    display: inline-block;
}

.raffle-title-effect .letter {
    display: inline-block;
    color: var(--red-primary);
    animation: letter-grow-pulse 2s ease-in-out infinite;
    position: relative;
    transform-origin: center bottom;
}

/* Animación de crecimiento y pulsación para cada letra */
@keyframes letter-grow-pulse {

    0%,
    100% {
        color: var(--red-primary);
        transform: scale(1);
    }

    50% {
        color: #cc1f27;
        transform: scale(1.15);
    }
}

/* Sistema de delays para crear efecto de onda en el crecimiento */
.raffle-title-effect .letter:nth-child(1) {
    animation-delay: 0s;
}

.raffle-title-effect .letter:nth-child(2) {
    animation-delay: 0.1s;
}

.raffle-title-effect .letter:nth-child(3) {
    animation-delay: 0.2s;
}

.raffle-title-effect .letter:nth-child(4) {
    animation-delay: 0.3s;
}

.raffle-title-effect .letter:nth-child(5) {
    animation-delay: 0.4s;
}

.raffle-title-effect .letter:nth-child(6) {
    animation-delay: 0.5s;
}

.raffle-title-effect .letter:nth-child(7) {
    animation-delay: 0.6s;
}

.raffle-title-effect .letter:nth-child(8) {
    animation-delay: 0.7s;
}

.raffle-title-effect .letter:nth-child(9) {
    animation-delay: 0.8s;
}

.raffle-title-effect .letter:nth-child(10) {
    animation-delay: 0.9s;
}

.raffle-title-effect .letter:nth-child(11) {
    animation-delay: 1.0s;
}

.raffle-title-effect .letter:nth-child(12) {
    animation-delay: 1.1s;
}

.raffle-title-effect .letter:nth-child(13) {
    animation-delay: 1.2s;
}

.raffle-title-effect .letter:nth-child(14) {
    animation-delay: 1.3s;
}

.raffle-title-effect .letter:nth-child(15) {
    animation-delay: 1.4s;
}

.raffle-title-effect .letter:nth-child(16) {
    animation-delay: 1.5s;
}

.raffle-title-effect .letter:nth-child(17) {
    animation-delay: 1.6s;
}

.raffle-title-effect .letter:nth-child(18) {
    animation-delay: 1.7s;
}

/* Espacios para el efecto raffle-title */
.raffle-title-effect .space {
    display: inline-block;
    width: 0.3em;
}

/* Variante más rápida */
.raffle-title-effect.fast .letter {
    animation: letter-grow-pulse 1.5s ease-in-out infinite;
}

/* Variante más lenta y elegante */
.raffle-title-effect.slow .letter {
    animation: letter-grow-pulse 3s ease-in-out infinite;
}

/* Optimización para dispositivos con movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    .raffle-title-effect .letter {
        animation: none;
        color: var(--red-primary);
        text-shadow: 0 0 5px var(--red-primary);
        transform: none;
    }
}

/* Estilo individual para cada letra */
.gradient-text.wave-pulse .letter {
    display: inline-block;
    color: var(--red-primary);
    animation: letter-wave-pulse 2s ease-in-out infinite;
    position: relative;
}

/* Animación de pulsación de onda para cada letra */
@keyframes letter-wave-pulse {

    0%,
    100% {
        color: var(--red-primary);
    }

    50% {
        color: var(--silver);
    }
}

/* Variante rápida */
.gradient-text.wave-pulse.pulse-fast .letter {
    animation: letter-wave-pulse 1.5s ease-in-out infinite;
}

/* Variante lenta */
.gradient-text.wave-pulse.pulse-slow .letter {
    animation: letter-wave-pulse 3s ease-in-out infinite;
}

/* Variante suave */
.gradient-text.wave-pulse.pulse-subtle .letter {
    animation: letter-wave-pulse-subtle 2.5s ease-in-out infinite;
}

@keyframes letter-wave-pulse-subtle {

    0%,
    100% {
        color: #cc1f27;
        text-shadow:
            0 0 2px #cc1f27,
            0 0 4px rgba(204, 31, 39, 0.2);
    }

    50% {
        color: #999999;
        text-shadow:
            0 0 2px #999999,
            0 0 4px rgba(153, 153, 153, 0.2);
    }
}

/* Sistema de delays para crear efecto de onda */
.gradient-text.wave-pulse .letter:nth-child(1) {
    animation-delay: 0s;
}

.gradient-text.wave-pulse .letter:nth-child(2) {
    animation-delay: 0.1s;
}

.gradient-text.wave-pulse .letter:nth-child(3) {
    animation-delay: 0.2s;
}

.gradient-text.wave-pulse .letter:nth-child(4) {
    animation-delay: 0.3s;
}

.gradient-text.wave-pulse .letter:nth-child(5) {
    animation-delay: 0.4s;
}

.gradient-text.wave-pulse .letter:nth-child(6) {
    animation-delay: 0.5s;
}

.gradient-text.wave-pulse .letter:nth-child(7) {
    animation-delay: 0.6s;
}

.gradient-text.wave-pulse .letter:nth-child(8) {
    animation-delay: 0.7s;
}

.gradient-text.wave-pulse .letter:nth-child(9) {
    animation-delay: 0.8s;
}

.gradient-text.wave-pulse .letter:nth-child(10) {
    animation-delay: 0.9s;
}

.gradient-text.wave-pulse .letter:nth-child(11) {
    animation-delay: 1.0s;
}

.gradient-text.wave-pulse .letter:nth-child(12) {
    animation-delay: 1.1s;
}

.gradient-text.wave-pulse .letter:nth-child(13) {
    animation-delay: 1.2s;
}

.gradient-text.wave-pulse .letter:nth-child(14) {
    animation-delay: 1.3s;
}

.gradient-text.wave-pulse .letter:nth-child(15) {
    animation-delay: 1.4s;
}

.gradient-text.wave-pulse .letter:nth-child(16) {
    animation-delay: 1.5s;
}

.gradient-text.wave-pulse .letter:nth-child(17) {
    animation-delay: 1.6s;
}

.gradient-text.wave-pulse .letter:nth-child(18) {
    animation-delay: 1.7s;
}

.gradient-text.wave-pulse .letter:nth-child(19) {
    animation-delay: 1.8s;
}

.gradient-text.wave-pulse .letter:nth-child(20) {
    animation-delay: 1.9s;
}

.gradient-text.wave-pulse .letter:nth-child(21) {
    animation-delay: 2.0s;
}

.gradient-text.wave-pulse .letter:nth-child(22) {
    animation-delay: 2.1s;
}

.gradient-text.wave-pulse .letter:nth-child(23) {
    animation-delay: 2.2s;
}

.gradient-text.wave-pulse .letter:nth-child(24) {
    animation-delay: 2.3s;
}

.gradient-text.wave-pulse .letter:nth-child(25) {
    animation-delay: 2.4s;
}

/* Para textos más largos, continúa el patrón */
.gradient-text.wave-pulse .letter:nth-child(n+26) {
    animation-delay: calc((var(--i) - 26) * 0.1s + 2.5s);
}

/* Espacios mantienen su espacio pero sin animación */
.gradient-text.wave-pulse .space {
    display: inline-block;
    width: 0.3em;
}

/* Optimización para dispositivos con movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    .gradient-text.wave-pulse .letter {
        animation: none;
        color: var(--red-primary);
        text-shadow: 0 0 2px var(--red-primary);
    }
}

/* Fallback para navegadores que no soporten las animaciones */
@supports not (animation: letter-wave-pulse 2s ease-in-out infinite) {
    .gradient-text {
        background: linear-gradient(135deg, var(--red-primary) 0%, var(--silver) 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--neutral-700);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-dark) 100%);
    color: var(--white);
    border: none;
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(227, 30, 36, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::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;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(227, 30, 36, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid rgba(0, 0, 0, 0.2);
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
    border-color: var(--text-dark);
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.play-icon {
    font-size: 0.8rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.stat-card {
    text-align: left;
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--silver-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--neutral-700);
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-cta {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

/* Values Section */
.values {
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.values-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    perspective: 1000px;
}

.value-card-modern {
    position: relative;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}

.value-card-inner {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(30px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 32px;
    padding: 3rem 2rem;
    overflow: hidden;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.value-card-modern:hover .value-card-inner {
    border: 2px solid var(--red-primary);
    box-shadow:
        0 0 30px rgba(227, 30, 36, 0.4),
        0 10px 40px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Animated Glow Effect */
.value-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

/* Value Number */
.value-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.1), rgba(192, 192, 192, 0.1));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    transition: all 0.6s ease;
}

/* Icon Container with Animated Rings */
.value-icon-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle {
    position: relative;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.15), rgba(192, 192, 192, 0.15));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow:
        0 8px 32px rgba(227, 30, 36, 0.2),
        inset 0 2px 8px rgba(255, 255, 255, 0.8);
    z-index: 2;
    transition: all 0.6s ease;
}

.value-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.6s ease;
}

/* Animated Rings */
.icon-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90px;
    height: 90px;
    border: 2px solid rgba(227, 30, 36, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ringPulse 3s ease-in-out infinite;
}

.icon-ring.ring-delay-1 {
    width: 100px;
    height: 100px;
    border-color: rgba(192, 192, 192, 0.2);
    animation-delay: 0.5s;
}

.icon-ring.ring-delay-2 {
    width: 110px;
    height: 110px;
    border-color: rgba(227, 30, 36, 0.15);
    animation-delay: 1s;
}

@keyframes ringPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
}

/* Title and Description */
.value-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
    transition: all 0.4s ease;
}

.value-description {
    color: var(--neutral-700);
    line-height: 1.8;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

/* Value Badge */
.value-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.1), rgba(192, 192, 192, 0.1));
    border: 1px solid rgba(227, 30, 36, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--red-primary);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.4s ease;
}

/* Responsive Values */
@media (max-width: 768px) {
    .values-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .value-card-inner {
        padding: 2.5rem 1.5rem;
    }

    .value-number {
        font-size: 3rem;
        top: 1rem;
        right: 1rem;
    }

    .value-icon-container {
        width: 100px;
        height: 100px;
    }

    .icon-circle {
        width: 70px;
        height: 70px;
    }

    .value-icon {
        font-size: 2rem;
    }
}

/* Products Section */
.products {
    padding: 3rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.1), rgba(192, 192, 192, 0.1));
    border: 1px solid rgba(227, 30, 36, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red-light);
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--silver-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--neutral-700);
    font-weight: 400;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.product-card.featured {
    border: 2px solid rgba(227, 30, 36, 0.4);
    background: rgba(255, 255, 255, 0.9);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 20px rgba(227, 30, 36, 0.5);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.product-image {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: linear-gradient(135deg, rgba(245, 245, 247, 0.8), rgba(232, 232, 232, 0.6)); */
    overflow: hidden;
}

.product-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--text-dark);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.product-badge.hot {
    background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
    border: none;
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.4);
}

.product-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-mockup {
    width: 180px;
    height: 320px;
    border-radius: 30px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
}

.product-card:hover .phone-mockup {
    transform: scale(1.05) rotateY(5deg);
}

.phone-1 {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 3px solid #2d2d44;
}

.phone-2 {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    border: 3px solid var(--silver-dark);
}

.phone-3 {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border: 3px solid var(--silver);
}

.phone-raffle {
    width: 110px !important;
    height: 200px !important;
    background: linear-gradient(135deg, #3d3d3d 0%, #2a2a2a 100%);
    border: 3px solid #5a5a5a;
    box-shadow: none !important;
}

.product-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-name {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.product-desc {
    color: var(--neutral-700);
    margin-bottom: 1.2rem;
    font-weight: 400;
    line-height: 1.6;
}

.product-specs {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    color: var(--silver-dark);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: auto;
    gap: 1rem;
}

.product-price {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-dark);
}

.btn-buy {
    background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
    color: var(--white);
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(227, 30, 36, 0.3);
}

.btn-buy:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(227, 30, 36, 0.5);
}

/* ============================================
   Featured Products Carousel (Index.php)
   ============================================ */
.featured-products {
    padding: 4rem 2rem;
}

.featured-products-carousel {
    position: relative;
    padding: 0 60px;
    /* Espacio para los botones laterales */
}

.featured-carousel-track {
    overflow: hidden;
    /* Ocultar scroll para efecto carrusel */
}

.featured-products-wrapper {
    display: flex;
    gap: 2.5rem;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Las tarjetas de producto ya tienen estilos, 
   solo ajustamos el ancho para el carrusel */
.featured-products-carousel .product-card {
    flex: 0 0 calc(33.333% - 1.67rem);
    /* 3 productos en desktop */
    min-width: 350px;
}

/* Imagen real del producto (reemplaza phone-mockup) */
.product-image-real {
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-real {
    transform: scale(1.05);
}

/* Botones de navegación del carousel */
.featured-carousel-btn {
    position: absolute !important;
    top: 50%;
    margin-top: -25px;
    /* Mitad de la altura (50px / 2) para centrar verticalmente */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--primary);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-carousel-btn:hover {
    background: var(--primary);
    /* color: white; */
    /* box-shadow: 0 8px 24px rgba(227, 30, 36, 0.3); */
    transform: scale(1.1);
}

.featured-carousel-btn:active {
    transform: scale(0.95);
}

.featured-carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.featured-carousel-prev {
    left: 0;
}

.featured-carousel-next {
    right: 0;
}

/* Sin productos destacados */
.no-featured-products {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--neutral-700);
    width: 100%;
}

.no-featured-products p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* ============================================
   Responsive para Featured Products Carousel
   ============================================ */

/* Tablet (768px - 1023px) - Mostrar 2 productos */
@media (max-width: 1023px) {
    .featured-products-carousel {
        padding: 0 60px;
    }

    .featured-products-carousel .product-card {
        flex: 0 0 calc(50% - 1.25rem);
        /* 2 productos */
    }
}

/* Móvil (< 768px) - Mostrar 1 producto */
@media (max-width: 767px) {
    .featured-products-carousel {
        padding: 0 50px;
        /* Botones más pequeños en móvil */
    }

    .featured-carousel-btn {
        width: 40px;
        height: 40px;
        margin-top: -20px;
        /* Mitad de 40px para centrar en móvil */
    }

    .featured-products-carousel .product-card {
        flex: 0 0 100%;
        /* 1 producto */
        min-width: auto;
    }
}

/* Raffle Story Section */
.raffle-story {
    padding: 3rem 0;
    position: relative;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 40px;
    padding: 4rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.story-tag {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(227, 30, 36, 0.1);
    border: 1px solid rgba(227, 30, 36, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red-light);
    margin-bottom: 1.5rem;
}

.story-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-dark);
}

.story-text {
    color: var(--neutral-700);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 3rem;
    font-weight: 400;
}

.story-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-number {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--red-primary);
    min-width: 50px;
}

.feature-content h4 {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-content p {
    color: var(--neutral-700);
    font-weight: 400;
    line-height: 1.6;
}

/* Raffle Card */
.raffle-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 28px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.raffle-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.raffle-status {
    background: rgba(227, 30, 36, 0.2);
    color: var(--red-light);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(227, 30, 36, 0.3);
}

.raffle-status-idle {
    background: rgba(64, 64, 64, 0.12);
    color: var(--neutral-700);
    border-color: rgba(64, 64, 64, 0.2);
}

.raffle-end {
    color: var(--neutral-700);
    font-size: 0.9rem;
}

.raffle-meta {
    color: var(--neutral-700);
    font-size: 0.9rem;
}

.raffle-prize {
    text-align: center;
    /* margin-bottom: 2rem; */
    place-items: center;
}

.prize-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.raffle-prize h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.raffle-prize p {
    color: var(--neutral-700);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.raffle-prize p {
    color: var(--neutral-700);
    font-size: 0.95rem;
}

.raffle-prize-shortcode {
    text-align: left;
}

.raffle-prize-shortcode table,
.raffle-prize-shortcode .raffle-prizes-winners,
.raffle-prize-shortcode .raffle_prizes_winners {
    width: 100%;
}

.raffle-prize-shortcode img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.raffle-prize-shortcode .raffle_winners_card-grid .image {
    background: #fff;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.raffle-prize-shortcode .raffle_winners_card-grid .image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.raffle-prize-shortcode .raffle_winners-card {
    border: none !important;
}

.raffle-prize-shortcode .raffle_winners-card .ticket_no {
    display: none !important;
}

.raffle_winners-card .ticket_no,
.raffle_winners-card .details {
    display: none !important;
}

.raffle-progress {
    margin-bottom: 2rem;
}

.progress-bar {
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 0.8rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--red-primary), var(--red-light));
    border-radius: 50px;
    transition: width 0.5s ease;
    box-shadow: 0 0 20px rgba(227, 30, 36, 0.5);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--neutral-700);
}

.raffle-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.raffle-actions .btn-raffle {
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.raffle-waiting-text {
    margin: 0;
    color: var(--neutral-700);
    font-size: 1rem;
    line-height: 1.7;
}

.raffle-waiting-text-card {
    text-align: center;
    background: rgba(64, 64, 64, 0.06);
    border: 1px dashed rgba(64, 64, 64, 0.2);
    border-radius: 14px;
    padding: 1rem;
}

.ticket-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    padding: 0.5rem 1rem;
}

.ticket-btn {
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.2rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ticket-btn:hover {
    color: var(--red-primary);
    transform: scale(1.2);
}

.ticket-count {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.2rem;
    min-width: 30px;
    text-align: center;
    color: var(--text-dark);
}

.btn-raffle {
    flex: 1;
    background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(227, 30, 36, 0.4);
}

.btn-raffle:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 30px rgba(227, 30, 36, 0.6);
}

/* Winners Ticker */
.winners-ticker {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.ticker-title {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: var(--neutral-700);
}

.ticker-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.winner-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.winner-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(5px);
}

.winner-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red-primary), var(--silver));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
}

.winner-name {
    font-weight: 600;
    color: var(--text-dark);
    min-width: 80px;
}

.winner-prize {
    color: var(--neutral-700);
    font-size: 0.9rem;
}

/* Instagram Carousel Section */
.instagram-section {
    padding: 3rem 0;
}

.instagram-carousel {
    position: relative;
    margin: 4rem 0;
}

.carousel-container {
    overflow: hidden;
    padding: 1rem 0;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.instagram-post {
    min-width: 350px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.instagram-post:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.post-image {
    position: relative;
    height: 350px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f7, #e8e8e8);
}

.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-post:hover .post-overlay {
    opacity: 1;
}

.post-stats {
    display: flex;
    gap: 1.5rem;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
}

.post-mockup {
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
}

.instagram-post:hover .post-mockup {
    transform: scale(1.05);
}

/* Post mockup variations */
.post-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.post-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.post-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.post-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.post-5 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.post-6 {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.post-info {
    padding: 1.5rem;
}

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

.post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
}

.post-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.post-username {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.post-time {
    color: var(--neutral-700);
    font-size: 0.8rem;
}

.post-caption {
    color: var(--neutral-700);
    line-height: 1.6;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Carousel buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.carousel-btn span {
    font-size: 2rem;
    color: var(--text-dark);
    line-height: 1;
}

.carousel-btn-prev {
    left: -25px;
}

.carousel-btn-next {
    right: -25px;
}

/* Carousel dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--red-primary);
    width: 30px;
    border-radius: 5px;
}

/* Instagram CTA */
.instagram-cta {
    text-align: center;
    margin-top: 3rem;
}

.btn-instagram {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(188, 24, 136, 0.3);
}

.btn-instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(188, 24, 136, 0.4);
}

.instagram-icon {
    font-size: 1.3rem;
}

/* Responsive Instagram Carousel */
@media (max-width: 1200px) {
    .instagram-post {
        min-width: 320px;
    }
}

@media (max-width: 768px) {
    .instagram-post {
        min-width: 280px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn span {
        font-size: 1.5rem;
    }

    .carousel-btn-prev {
        left: -15px;
    }

    .carousel-btn-next {
        right: -15px;
    }
}

/* Footer */
.footer {
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 350px;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--silver-light);
    line-height: 1.7;
    font-weight: 300;
    font-size: 0.95rem;
}

.footer-links h4 {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links a {
    display: block;
    color: var(--silver-light);
    text-decoration: none;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--silver-dark);
    font-size: 0.9rem;
}

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

.social-links a {
    color: var(--silver-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--red-primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .stat-card {
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-phone-mockup {
        max-width: 300px;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 6rem 1rem 3rem;
    }

    .hero-stats {
        gap: 2rem;
    }

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

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

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

    .newsletter-form {
        flex-direction: column;
    }

    .email-input {
        min-width: 100%;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--red-primary);
    color: var(--white);
}

/* ================================
   SINGLE POST / PAGE STYLES
   ================================ */

/* Single Hero Section */
.single-hero {
    position: relative;
    padding: 8rem 0 3rem;
    background: linear-gradient(135deg, var(--neutral-900) 0%, var(--neutral-800) 100%);
    overflow: hidden;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--silver);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--silver-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.breadcrumb .separator {
    color: var(--silver-dark);
}

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

/* Single Content */
.single-content {
    padding: 4rem 0;
    min-height: 60vh;
}

.single-content .container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    max-width: 1200px;
}

.content-wrapper {
    width: 100%;
}

/* Modern Article */
.modern-article {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.featured-image-container {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-image-container:hover .featured-image {
    transform: scale(1.05);
}

/* Entry Header */
.entry-header {
    padding: 3rem 3rem 2rem;
    border-bottom: 2px solid var(--neutral-200);
}

.entry-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.entry-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--neutral-700);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-icon {
    font-size: 1.1rem;
}

.meta-item a {
    color: var(--red-primary);
    text-decoration: none;
    font-weight: 500;
}

.meta-item a:hover {
    text-decoration: underline;
}

/* Entry Content */
.entry-content {
    padding: 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--neutral-900);
}

.entry-content h2 {
    font-size: 2rem;
}

.entry-content h3 {
    font-size: 1.5rem;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content a {
    color: var(--red-primary);
    text-decoration: underline;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 2rem 0;
}

.entry-content blockquote {
    border-left: 4px solid var(--red-primary);
    padding-left: 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--neutral-700);
}

/* Post Navigation */
.post-navigation {
    display: flex;
    gap: 1rem;
    padding: 1rem 3rem;
    background: var(--neutral-100);
}

.post-navigation .nav-label {
    font-size: 0.9rem;
    color: var(--neutral-700);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.page-number {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--red-primary);
    color: var(--white);
    border-radius: 5px;
    margin: 0 0.25rem;
    text-decoration: none;
}

/* Entry Footer */
.entry-footer {
    padding: 2rem 3rem 3rem;
    border-top: 2px solid var(--neutral-200);
}

.tags-container {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.tags-label {
    font-weight: 600;
    color: var(--neutral-700);
}

.tags-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tags-list a {
    padding: 0.5rem 1rem;
    background: var(--neutral-200);
    color: var(--neutral-800);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tags-list a:hover {
    background: var(--red-primary);
    color: var(--white);
}

/* Post Navigation Links */
.post-navigation-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.nav-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(227, 30, 36, 0.2);
}

.nav-arrow {
    font-size: 2rem;
    color: var(--red-primary);
}

.nav-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--neutral-700);
}

.nav-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--neutral-900);
}

.nav-next {
    justify-content: flex-end;
    text-align: right;
}

/* Comments Wrapper */
.comments-wrapper {
    margin-top: 3rem;
    padding: 3rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

/* Sidebar */
.sidebar {
    position: relative;
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.sidebar h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--neutral-900);
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar li {
    margin-bottom: 0.75rem;
}

.sidebar a {
    color: var(--neutral-700);
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar a:hover {
    color: var(--red-primary);
}

/* ================================
   404 ERROR PAGE STYLES
   ================================ */

/* 404 Hero */
.error-404-hero {
    position: relative;
    min-height: 100vh;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--neutral-900) 0%, var(--neutral-800) 50%, var(--neutral-700) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.error-404-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

/* Error Illustration */
.error-illustration {
    margin-bottom: 3rem;
    position: relative;
}

.error-number {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-size: 10rem;
    font-weight: 900;
    font-family: 'Orbitron', monospace;
    line-height: 1;
    margin-bottom: 1rem;
}

.digit {
    text-shadow: 0 0 40px rgba(227, 30, 36, 0.5);
}

.digit-icon {
    font-size: 8rem;
    color: var(--red-primary);
    animation: spin 8s linear infinite;
    filter: drop-shadow(0 0 30px rgba(227, 30, 36, 0.8));
}

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

    to {
        transform: rotate(360deg);
    }
}

.glitch-effect {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--white);
    text-transform: uppercase;
    opacity: 0.5;
}

/* Error Text Content */
.error-text-content {
    max-width: 1000px;
    margin: 0 auto;
}

.error-title {
    margin-bottom: 2rem;
}

.error-title .title-line {
    display: block;
}

.error-title .title-line:first-child {
    font-size: 1.5rem;
    color: var(--silver);
    margin-bottom: 0.5rem;
}

.error-title .title-line:last-child {
    font-size: 3rem;
    font-weight: 900;
}

.error-description {
    font-size: 1.2rem;
    color: var(--silver-light);
    margin-bottom: 4rem;
    line-height: 1.6;
}

/* Error Suggestions */
.error-suggestions {
    margin-bottom: 4rem;
}

.suggestions-title {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 2rem;
}

.suggestions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.suggestion-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.suggestion-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.suggestion-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.suggestion-card h4 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.suggestion-card p {
    color: var(--silver);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.btn-suggestion {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--red-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-suggestion:hover {
    background: var(--red-dark);
    transform: scale(1.05);
}

/* Error Search */
.error-search {
    margin-bottom: 3rem;
}

.search-title {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.error-search form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
}

.error-search input[type="search"] {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
}

.error-search input[type="search"]::placeholder {
    color: var(--silver);
}

.error-search button {
    padding: 1rem 2rem;
    background: var(--red-primary);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.error-search button:hover {
    background: var(--red-dark);
}

/* Popular Links */
.popular-links {
    margin-top: 2rem;
}

.popular-links h4 {
    font-size: 1rem;
    color: var(--silver);
    margin-bottom: 1rem;
}

.links-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.popular-link {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--silver-light);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.popular-link:hover {
    background: var(--red-primary);
    color: var(--white);
}

/* Error Products Section */
.error-products {
    padding: 4rem 0;
    background: var(--off-white);
}

.error-products .section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--neutral-900);
}

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

.product-card-mini {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card-mini:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(227, 30, 36, 0.15);
}

.product-mini-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.product-card-mini h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--neutral-900);
}

.product-card-mini .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--red-primary);
    margin-bottom: 1rem;
}

.btn-mini {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--neutral-900);
    color: var(--white);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-mini:hover {
    background: var(--red-primary);
}

/* ================================
   RESPONSIVE - SINGLE & 404
   ================================ */

@media (max-width: 1024px) {
    .single-content .container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }

    .post-navigation-links {
        grid-template-columns: 1fr;
    }

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

    .product-grid-mini {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .single-hero {
        padding: 6rem 0 2rem;
    }

    .entry-title {
        font-size: 2rem;
    }

    .entry-content {
        padding: 2rem;
        font-size: 1rem;
    }

    .entry-header {
        padding: 2rem;
    }

    .entry-footer {
        padding: 1.5rem 2rem 2rem;
    }

    .error-number {
        font-size: 6rem;
    }

    .digit-icon {
        font-size: 5rem;
    }

    .error-title .title-line:last-child {
        font-size: 2rem;
    }

    .error-description {
        font-size: 1rem;
    }

    .error-search form {
        flex-direction: column;
    }
}

/* ================================
   COVER TEMPLATE STYLES
   ================================ */

/* Cover Template Article */
.cover-template-article {
    width: 100%;
}

/* Cover Hero Section */
.cover-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cover-hero.no-background-image {
    background: linear-gradient(135deg, var(--neutral-900) 0%, var(--neutral-800) 50%, var(--neutral-700) 100%);
}

.cover-hero.has-background-image {
    background-blend-mode: overlay;
}

/* Make sure glass orbs are behind content */
.cover-hero .glass-orb {
    z-index: 1;
}

.cover-hero .dot-wave-canvas {
    z-index: 1;
}

.cover-hero-content {
    position: relative;
    z-index: 10;
    padding: 8rem 0 4rem;
    width: 100%;
}

/* Cover Categories */
.cover-categories {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.category-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(227, 30, 36, 0.9);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Cover Title */
.cover-title {
    text-align: center;
    margin-bottom: 2rem;
}

.cover-title-line {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 40px rgba(227, 30, 36, 0.5);
}

/* Cover Excerpt */
.cover-excerpt {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--silver-light);
}

.cover-excerpt p {
    margin: 0;
}

/* Cover Meta */
.cover-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.cover-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    color: var(--silver-light);
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cover-meta .meta-icon {
    font-size: 1.2rem;
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--white);
    margin-top: 3rem;
    animation: bounceDown 2s infinite;
}

.scroll-text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--silver-light);
}

.scroll-arrow {
    font-size: 2rem;
    color: var(--red-primary);
    filter: drop-shadow(0 0 10px rgba(227, 30, 36, 0.6));
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

.scroll-indicator:hover .scroll-arrow {
    animation: bounceDown 0.6s infinite;
}

/* Cover Content Section */
.cover-content-section {
    padding: 6rem 0;
    background: var(--off-white);
    position: relative;
}

.cover-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.cover-main-content {
    padding: 4rem;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.cover-main-content p {
    margin-bottom: 1.5rem;
}

.cover-main-content h1,
.cover-main-content h2,
.cover-main-content h3,
.cover-main-content h4,
.cover-main-content h5,
.cover-main-content h6 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--neutral-900);
}

.cover-main-content h2 {
    font-size: 2.2rem;
    border-bottom: 3px solid var(--red-primary);
    padding-bottom: 0.5rem;
}

.cover-main-content h3 {
    font-size: 1.8rem;
    color: var(--neutral-800);
}

.cover-main-content h4 {
    font-size: 1.4rem;
}

.cover-main-content ul,
.cover-main-content ol {
    margin-bottom: 2rem;
    padding-left: 2.5rem;
}

.cover-main-content li {
    margin-bottom: 0.75rem;
}

.cover-main-content a {
    color: var(--red-primary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.cover-main-content a:hover {
    border-bottom-color: var(--red-primary);
}

.cover-main-content img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 2.5rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cover-main-content blockquote {
    position: relative;
    border-left: 5px solid var(--red-primary);
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    background: var(--neutral-100);
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: var(--neutral-800);
}

.cover-main-content blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 4rem;
    color: var(--red-primary);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.cover-main-content code {
    padding: 0.2rem 0.5rem;
    background: var(--neutral-200);
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--red-dark);
}

.cover-main-content pre {
    padding: 1.5rem;
    background: var(--neutral-900);
    border-radius: 10px;
    overflow-x: auto;
    margin: 2rem 0;
}

.cover-main-content pre code {
    padding: 0;
    background: transparent;
    color: var(--silver-light);
    font-size: 0.95rem;
}

.cover-main-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.cover-main-content table th,
.cover-main-content table td {
    padding: 1rem;
    border: 1px solid var(--neutral-300);
    text-align: left;
}

.cover-main-content table th {
    background: var(--red-primary);
    color: var(--white);
    font-weight: 600;
}

.cover-main-content table tr:nth-child(even) {
    background: var(--neutral-100);
}

/* Cover Footer */
.cover-footer {
    padding: 2rem 4rem 4rem;
    border-top: 2px solid var(--neutral-200);
    background: var(--neutral-100);
}

.cover-footer .tags-container {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.cover-footer .tags-label {
    font-weight: 700;
    color: var(--neutral-700);
    font-size: 1.1rem;
}

.cover-footer .tags-list {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cover-footer .tags-list a {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    color: var(--neutral-800);
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cover-footer .tags-list a:hover {
    background: var(--red-primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(227, 30, 36, 0.3);
}

/* Cover Navigation Section */
.cover-navigation-section {
    padding: 4rem 0;
    background: var(--off-white);
}

.cover-navigation-section .post-navigation-links {
    margin: 0;
}

/* Cover Comments Section */
.cover-comments-section {
    padding: 4rem 0 6rem;
    background: var(--white);
}

.cover-comments-section .comments-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    background: var(--off-white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

/* ================================
   RESPONSIVE - COVER TEMPLATE
   ================================ */

@media (max-width: 1024px) {
    .cover-title-line {
        font-size: 3rem;
    }

    .cover-main-content {
        padding: 3rem;
    }

    .cover-footer {
        padding: 2rem 3rem 3rem;
    }
}

@media (max-width: 768px) {
    .cover-hero {
        background-attachment: scroll;
    }

    .cover-hero-content {
        padding: 6rem 1rem 3rem;
    }

    .cover-title-line {
        font-size: 2.5rem;
    }

    .cover-excerpt {
        font-size: 1.1rem;
    }

    .cover-meta {
        gap: 1rem;
    }

    .cover-meta .meta-item {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .cover-content-section {
        padding: 3rem 0;
    }

    .cover-main-content {
        padding: 2rem;
        font-size: 1rem;
    }

    .cover-main-content h2 {
        font-size: 1.8rem;
    }

    .cover-main-content h3 {
        font-size: 1.4rem;
    }

    .cover-footer {
        padding: 1.5rem 2rem 2rem;
    }

    .cover-navigation-section {
        padding: 2rem 0;
    }

    .cover-comments-section {
        padding: 2rem 0 3rem;
    }

    .cover-comments-section .comments-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .cover-title-line {
        font-size: 2rem;
    }

    .cover-excerpt {
        font-size: 1rem;
    }

    .category-badge {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }

    .cover-main-content {
        padding: 1.5rem;
    }

    .cover-footer {
        padding: 1.5rem;
    }
}

/* ========================================
   RAFFLE PAGE STYLES
   ======================================== */

/* Raffle Page Layout */
.raffle-page {
    background: linear-gradient(135deg,
            var(--neutral-50) 0%,
            rgba(227, 30, 36, 0.03) 50%,
            var(--neutral-100) 100%);
    min-height: 100vh;
}

/* Hero Section */
.raffle-hero {
    background: linear-gradient(135deg, var(--red-primary) 0%, #c41e3a 100%);
    color: white;
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.raffle-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.raffle-hero .hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.raffle-main-title {
    font-family: var(--font-orbitron);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    /* Removido: text-shadow, background y background-clip para permitir el efecto wave-pulse */
}

/* Fallback solo para raffle-main-title que NO tenga wave-pulse */
.raffle-main-title:not(.wave-pulse) {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Regla específica para asegurar que raffle-main-title funcione con wave-pulse */
.raffle-page .raffle-main-title.gradient-text.wave-pulse {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    text-shadow: none !important;
    display: inline-block;
}

.raffle-page .raffle-main-title.gradient-text.wave-pulse .letter {
    display: inline-block;
    color: var(--red-primary);
    animation: letter-wave-pulse 1.5s ease-in-out infinite;
    position: relative;
}

.raffle-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Current Raffle Section */
.current-raffle-section {
    padding: 5rem 0;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.raffle-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

/* Raffle Info (Left Column) */
.raffle-info {
    padding-right: 2rem;
}

.raffle-header {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.raffle-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-bottom: 2px solid var(--red-primary);
}

.raffle-tag {
    background: linear-gradient(135deg, var(--red-primary) 0%, #c41e3a 100%);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.3);
    animation: pulse 2s infinite;

}

.raffle-end-time {
    font-weight: 600;
    color: var(--red-primary);
    font-size: 1.1rem;
}

.prize-title {
    font-family: var(--font-orbitron);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.prize-subtitle {
    font-size: 1.3rem;
    color: var(--neutral-600);
    margin-bottom: 2rem;
    font-weight: 300;
}

.prize-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--neutral-700);
    margin-bottom: 2rem;
}

.raffle-extra-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 2px solid #111;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}

.raffle-extra-info-list .extra_info {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--neutral-700);
    margin: 0;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #111;
}

.raffle-extra-info-item {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--neutral-800);
    margin: 0;
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid #111;
    list-style: disc;
    list-style-position: inside;
}

.raffle-extra-info-list li:last-child {
    border-bottom: 0;
}

/* Prize Specifications */
.prize-specs {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(227, 30, 36, 0.1);
    margin-top: 2rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(227, 30, 36, 0.1);
}

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

.spec-label {
    font-weight: 600;
    color: var(--neutral-700);
}

.spec-value {
    font-weight: 400;
    color: var(--neutral-900);
    background: linear-gradient(135deg, var(--red-primary), #c41e3a);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

/* Raffle Card Main (Right Column) */
.raffle-card-main {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 8px 25px rgba(227, 30, 36, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: sticky;
    top: 2rem;
}

.raffle-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.raffle-status {
    background: linear-gradient(135deg, #ff4444 0%, var(--red-primary) 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.raffle-end {
    color: var(--neutral-600);
    font-size: 0.9rem;
    font-weight: 500;
}

.prize-image-main {
    text-align: center;
    margin-bottom: 2rem;
}

.phone-mockup.phone-raffle {
    width: 200px;
    height: 250px;
    margin: 0 auto;
    transform: scale(1.2);
}

.raffle-prize h3 {
    font-family: var(--font-orbitron);
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--neutral-900);
}

.raffle-prize p {
    text-align: center;
    color: var(--neutral-600);
    margin-bottom: 1rem;
}

.prize-value {
    text-align: center;
    margin-bottom: 2rem;
}

.original-price {
    background: linear-gradient(135deg, var(--red-primary), #c41e3a);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Progress Bar Enhanced */
.raffle-progress {
    margin-bottom: 2rem;
}

.progress-bar {
    background: rgba(227, 30, 36, 0.1);
    height: 12px;
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

.progress-fill {
    background: linear-gradient(90deg, var(--red-primary) 0%, #ff4444 100%);
    height: 100%;
    border-radius: 25px;
    transition: width 0.8s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--neutral-600);
}

/* Ticket Actions Enhanced */
.raffle-actions {
    text-align: center;
    margin-bottom: 2rem;
}

.ticket-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ticket-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--red-primary);
    background: transparent;
    color: var(--red-primary);
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ticket-btn:hover {
    background: var(--red-primary);
    color: white;
    transform: scale(1.1);
}

.ticket-count {
    font-family: var(--font-orbitron);
    font-size: 2rem;
    font-weight: 700;
    color: var(--neutral-900);
    min-width: 60px;
    text-align: center;
}

.ticket-price-info {
    margin-bottom: 1.5rem;
    color: var(--neutral-600);
    font-size: 0.9rem;
}

.btn-raffle {
    background: linear-gradient(135deg, var(--red-primary) 0%, #c41e3a 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(227, 30, 36, 0.3);
    width: 100%;
    max-width: 300px;
}

.btn-raffle:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(227, 30, 36, 0.4);
}

.raffle-terms {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(227, 30, 36, 0.1);
}

.raffle-terms small {
    color: var(--neutral-500);
    line-height: 1.4;
}

/* Winners Ticker Enhanced */
.winners-ticker {
    margin-top: 3rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(227, 30, 36, 0.1);
}

.ticker-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 1.5rem;
    text-align: center;
}

.ticker-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.winner-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.winner-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red-primary), #c41e3a);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

/* How to Participate Section */
.how-to-participate {
    padding: 6rem 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.8) 0%,
            rgba(227, 30, 36, 0.02) 50%,
            rgba(255, 255, 255, 0.9) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.title-accent-history {
    color: white;
}

.section-title {
    font-family: var(--font-orbitron);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--neutral-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Raffle search form (Consulta numeros de boletos) */
.raffle-page .raffle-numbers-form {
    max-width: 760px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(227, 30, 36, 0.14);
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    padding: clamp(1rem, 3vw, 1.75rem);
}

.raffle-page .raffle-numbers-form #form_raffle_search>div {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
}

.raffle-page .raffle-numbers-form .p_raffle_search_email {
    margin: 0;
}

.raffle-page .raffle-numbers-form .p_raffle_search_email label {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-dark);
}

.raffle-page .raffle-numbers-form #raffle_search_email {
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.16);
    background: rgba(255, 255, 255, 0.96);
    color: var(--text-dark);
    padding: 0.75rem 1rem;
    font-family: 'Archivo', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.raffle-page .raffle-numbers-form #raffle_search_email:focus {
    outline: none;
    border-color: var(--red-primary);
    box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.12);
}

.raffle-page .raffle-numbers-form p:has(.btn_raffle_search_tickets) {
    margin: 0;
}

.raffle-page .raffle-numbers-form .btn_raffle_search_tickets {
    border: 0;
    border-radius: 12px;
    min-height: 48px;
    width: 100%;
    padding: 0.75rem 1.35rem;
    background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
    color: #fff !important;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 24px rgba(227, 30, 36, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.raffle-page .raffle-numbers-form .btn_raffle_search_tickets:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(227, 30, 36, 0.35);
    filter: brightness(1.04);
}

.raffle-page .raffle-numbers-form .tickets_show_content {
    margin-top: 1.25rem;
    display: grid;
    gap: 0.85rem;
}

.raffle-page .raffle-numbers-form .user_search_order_id {
    margin: 0;
    padding: 0.72rem 0.9rem;
    text-align: center;
    border-radius: 12px;
    border: 1px solid rgba(227, 30, 36, 0.2);
    background: rgba(227, 30, 36, 0.08);
    color: var(--text-dark);
    font-weight: 700;
}

.raffle-page .raffle-numbers-form .user_search_order_id .order_id_name {
    color: var(--neutral-700);
    font-weight: 600;
    margin-right: 0.3rem;
}

.raffle-page .raffle-numbers-form .woocommerce-order-details {
    margin: 0;
    padding: 0.95rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.raffle-page .raffle-numbers-form .woocommerce-order-details__title {
    margin: 0 0 0.8rem;
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    color: var(--text-dark);
}

.raffle-page .raffle-numbers-form .raffle-table {
    width: 100% !important;
    margin: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: 12px;
    overflow: hidden;
}

.raffle-page .raffle-numbers-form .raffle-table td {
    border-color: rgba(0, 0, 0, 0.08) !important;
    background: #fff;
    color: var(--text-dark) !important;
    padding: 0.8rem !important;
}

.raffle-page .raffle-numbers-form .raffle-table .div-tr-tickets {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 10px;
    padding: 0.55rem;
}

.raffle-page .raffle-numbers-form .raffle-table .div-ticket-wrapper {
    margin: 0.2rem 0.3rem !important;
}

@media (max-width: 768px) {
    .raffle-page .raffle-numbers-form {
        border-radius: 18px;
        padding: 0.9rem;
    }

    .raffle-page .raffle-numbers-form #form_raffle_search>div {
        gap: 0.7rem;
    }

    .raffle-page .raffle-numbers-form .btn_raffle_search_tickets {
        width: 100%;
    }
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid rgba(227, 30, 36, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(227, 30, 36, 0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 2rem;
    background: linear-gradient(135deg, var(--red-primary), #c41e3a);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.step-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.step-content p {
    color: var(--neutral-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* Responsive Design for Raffle Page */
@media (max-width: 1024px) {
    .raffle-main-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .raffle-info {
        padding-right: 0;
    }

    .raffle-card-main {
        position: static;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .raffle-hero {
        padding: 4rem 0 3rem;
    }

    .raffle-main-title {
        font-size: 2.5rem;
    }

    .prize-title {
        font-size: 2.2rem;
    }

    .current-raffle-section {
        padding: 3rem 0;
    }

    .raffle-card-main {
        padding: 2rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step-item {
        padding: 2rem;
    }

    .ticker-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .raffle-main-title {
        font-size: 2rem;
    }

    .raffle-subtitle {
        font-size: 1.1rem;
    }

    .prize-title {
        font-size: 1.8rem;
    }

    .raffle-header-info {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .raffle-card-main {
        padding: 1.5rem;
    }

    .phone-mockup.phone-raffle {
        transform: scale(1);
    }
}

/* ================================
   PULSE TEXT EFFECT - INDEPENDENT
   ================================ */

/* Clase base para texto con efecto pulsante */
.pulse-text {
    position: relative;
    display: inline-block;
    font-weight: inherit;
    font-size: inherit;
    color: inherit;
}

/* Cada letra individual del texto pulsante */
.pulse-text .pulse-letter {
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--red-primary, #E31E24);
    position: relative;
}

/* Animación de pulso para cada letra */
@keyframes pulseWave {
    0% {
        color: var(--red-primary, #E31E24);
        text-shadow:
            0 0 5px rgba(227, 30, 36, 0.3),
            0 0 10px rgba(227, 30, 36, 0.2);
    }

    50% {
        color: var(--neutral-500, #808080);
        text-shadow:
            0 0 2px rgba(128, 128, 128, 0.2);
    }

    100% {
        color: var(--red-primary, #E31E24);
        text-shadow:
            0 0 5px rgba(227, 30, 36, 0.3),
            0 0 10px rgba(227, 30, 36, 0.2);
    }
}

/* Aplicar animación con delay escalonado */
.pulse-text.active .pulse-letter {
    animation: pulseWave 2s ease-in-out infinite;
}

/* Delays para el efecto de onda */
.pulse-text.active .pulse-letter:nth-child(1) {
    animation-delay: 0s;
}

.pulse-text.active .pulse-letter:nth-child(2) {
    animation-delay: 0.1s;
}

.pulse-text.active .pulse-letter:nth-child(3) {
    animation-delay: 0.2s;
}

.pulse-text.active .pulse-letter:nth-child(4) {
    animation-delay: 0.3s;
}

.pulse-text.active .pulse-letter:nth-child(5) {
    animation-delay: 0.4s;
}

.pulse-text.active .pulse-letter:nth-child(6) {
    animation-delay: 0.5s;
}

.pulse-text.active .pulse-letter:nth-child(7) {
    animation-delay: 0.6s;
}

.pulse-text.active .pulse-letter:nth-child(8) {
    animation-delay: 0.7s;
}

.pulse-text.active .pulse-letter:nth-child(9) {
    animation-delay: 0.8s;
}

.pulse-text.active .pulse-letter:nth-child(10) {
    animation-delay: 0.9s;
}

.pulse-text.active .pulse-letter:nth-child(11) {
    animation-delay: 1.0s;
}

.pulse-text.active .pulse-letter:nth-child(12) {
    animation-delay: 1.1s;
}

.pulse-text.active .pulse-letter:nth-child(13) {
    animation-delay: 1.2s;
}

.pulse-text.active .pulse-letter:nth-child(14) {
    animation-delay: 1.3s;
}

.pulse-text.active .pulse-letter:nth-child(15) {
    animation-delay: 1.4s;
}

.pulse-text.active .pulse-letter:nth-child(16) {
    animation-delay: 1.5s;
}

.pulse-text.active .pulse-letter:nth-child(17) {
    animation-delay: 1.6s;
}

.pulse-text.active .pulse-letter:nth-child(18) {
    animation-delay: 1.7s;
}

.pulse-text.active .pulse-letter:nth-child(19) {
    animation-delay: 1.8s;
}

.pulse-text.active .pulse-letter:nth-child(20) {
    animation-delay: 1.9s;
}

.pulse-text.active .pulse-letter:nth-child(21) {
    animation-delay: 2.0s;
}

.pulse-text.active .pulse-letter:nth-child(22) {
    animation-delay: 2.1s;
}

.pulse-text.active .pulse-letter:nth-child(23) {
    animation-delay: 2.2s;
}

.pulse-text.active .pulse-letter:nth-child(24) {
    animation-delay: 2.3s;
}

.pulse-text.active .pulse-letter:nth-child(25) {
    animation-delay: 2.4s;
}

/* Variantes de velocidad */
.pulse-text.pulse-fast.active .pulse-letter {
    animation-duration: 1.2s;
}

.pulse-text.pulse-slow.active .pulse-letter {
    animation-duration: 3s;
}

.pulse-text.pulse-subtle.active .pulse-letter {
    animation-duration: 2.5s;
}

/* Los delays se mantienen proporcionales */
.pulse-text.pulse-fast.active .pulse-letter:nth-child(1) {
    animation-delay: 0s;
}

.pulse-text.pulse-fast.active .pulse-letter:nth-child(2) {
    animation-delay: 0.06s;
}

.pulse-text.pulse-fast.active .pulse-letter:nth-child(3) {
    animation-delay: 0.12s;
}

.pulse-text.pulse-fast.active .pulse-letter:nth-child(4) {
    animation-delay: 0.18s;
}

.pulse-text.pulse-fast.active .pulse-letter:nth-child(5) {
    animation-delay: 0.24s;
}

.pulse-text.pulse-fast.active .pulse-letter:nth-child(6) {
    animation-delay: 0.3s;
}

.pulse-text.pulse-fast.active .pulse-letter:nth-child(7) {
    animation-delay: 0.36s;
}

.pulse-text.pulse-fast.active .pulse-letter:nth-child(8) {
    animation-delay: 0.42s;
}

.pulse-text.pulse-fast.active .pulse-letter:nth-child(9) {
    animation-delay: 0.48s;
}

.pulse-text.pulse-fast.active .pulse-letter:nth-child(10) {
    animation-delay: 0.54s;
}

/* Accessibility - reducir animación si está habilitado */
@media (prefers-reduced-motion: reduce) {
    .pulse-text .pulse-letter {
        animation: none !important;
        color: var(--red-primary, #E31E24) !important;
        text-shadow: 0 0 5px rgba(227, 30, 36, 0.3) !important;
    }
}