/* ===== CSS VARIABLES ===== */
:root {
    --primary: #00BFFF;
    --secondary: #FF2EBE;
    --accent: #00FFF0;
    --background: #08090D;
    --surface: #12141B;
    --text: #E6F0FF;
    --muted: #2C2E38;
    --highlight: #FF8BF2;
    --warning: #FFDC00;
    --success: #46FF8B;
}

/* ===== GLOBAL STYLES ===== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--background);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== ANIMATED BACKGROUND ===== */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, rgba(0, 191, 255, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(0, 191, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: float linear infinite;
}

@keyframes float {
    to {
        transform: translateY(-100vh);
        opacity: 0;
    }
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(8, 9, 13, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 191, 255, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(8, 9, 13, 0.98);
    box-shadow: 0 5px 30px rgba(0, 191, 255, 0.3);
}

/* Mobile navbar adjustments */
@media (max-width: 768px) {
    .navbar {
        padding: 0;
    }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px var(--primary));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 191, 255, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

.discord-link {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.3);
    transition: all 0.3s ease;
}

.discord-link::before {
    display: none;
}

.discord-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.5);
    color: white;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(18, 20, 27, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 8px;
    list-style: none;
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 191, 255, 0.2);
    margin-top: 0.5rem;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* Active state for dropdown items */
.dropdown-menu .active {
    background: rgba(0, 191, 255, 0.2);
    border-left-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: rgba(0, 191, 255, 0.1);
    border-left-color: var(--primary);
    padding-left: 2rem;
    color: var(--primary);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--primary);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(0, 191, 255, 0.1) 0%, transparent 70%);
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        url('images/fondoback.png'),
        linear-gradient(90deg, rgba(0, 191, 255, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(0, 191, 255, 0.03) 1px, transparent 1px);
    background-size: cover, 50px 50px, 50px 50px;
    background-position: center, 0 0, 0 0;
    background-attachment: fixed, scroll, scroll;
    animation: gridMove 20s linear infinite;
    z-index: 1;
    opacity: 0.4;
    filter: brightness(0.3) contrast(1.2);
}

.hero-content {
    text-align: left;
    max-width: 1400px;
    width: 100%;
    z-index: 2;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 400px;
    /* Fixed minimum height to prevent layout shift */
    justify-content: flex-start;
    /* Align content to top */
}

.hero-right {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 1rem;
}

.countdown-container {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 3rem;
}

.hero-buttons {
    grid-column: 1 / -1;
    justify-content: center;
    margin-top: 2rem;
}

/* ===== ROTATING USERS DISPLAY ===== */
.rotating-users-container {
    margin: 0;
    padding: 1.5rem 2.5rem;
    background: rgba(18, 20, 27, 0.95);
    border: 2px solid rgba(0, 191, 255, 0.4);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 191, 255, 0.3);
    display: inline-block;
    min-width: 320px;
    max-width: 350px;
    position: relative;
    z-index: 3;
    filter: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.user-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
    filter: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.user-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.user-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
}

.user-text {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-family: 'Oxanium', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    filter: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.user-prefix {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 15px rgba(0, 191, 255, 0.6);
    animation: pulse 2s infinite;
    filter: none;
    font-weight: 700;
}

.user-name {
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
    position: relative;
    overflow: hidden;
    filter: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 700;
    animation: titleGlow 3s ease-in-out infinite;
}

.user-name.typewriter::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 191, 255, 0.4), transparent);
    animation: typewriter 0.8s ease-in-out;
}

@keyframes typewriter {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Efecto de escritura adicional */
.user-name {
    transition: all 0.5s ease;
}

.user-name.typing {
    animation: typing 0.5s ease-in-out;
}

@keyframes typing {
    0% {
        opacity: 0;
        transform: translateX(-10px);
    }

    50% {
        opacity: 0.7;
        transform: translateX(5px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Weapon SVG Styles */
.weapon-svg {
    animation: weaponRotate 0.5s ease-in-out;
}

@keyframes weaponRotate {
    0% {
        transform: rotate(-10deg) scale(0.8);
        opacity: 0;
    }

    50% {
        transform: rotate(5deg) scale(1.1);
        opacity: 1;
    }

    100% {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
}

.hero-title {
    font-family: 'Oxanium', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 25px rgba(0, 191, 255, 0.3);
    animation: titleGlow 3s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.welcome-text,
.to-exodus {
    font-family: 'Oxanium', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 25px rgba(0, 191, 255, 0.3);
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 10px var(--primary));
    }

    50% {
        filter: drop-shadow(0 0 20px var(--secondary));
    }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text);
    margin-bottom: 3rem;
    opacity: 0.9;
    height: 4em;
    /* Fixed height to prevent layout shift during typewriter effect */
    display: inline-block;
    width: 100%;
    line-height: 1.4;
}

/* ===== COUNTDOWN TIMER ===== */
.countdown-container {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(18, 20, 27, 0.6);
    border: 2px solid rgba(0, 191, 255, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 191, 255, 0.2);
}

.countdown-title {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px var(--secondary);
    text-align: center;
}

/* Emoji size for mobile */
@media (max-width: 768px) {
    .countdown-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .countdown-title {
        font-size: 1rem;
    }
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(0, 191, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 15px;
    min-width: 100px;
    transition: all 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 191, 255, 0.4);
    border-color: var(--secondary);
}

.countdown-number {
    font-family: 'Oxanium', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary);
    line-height: 1;
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--text);
    opacity: 0.8;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-separator {
    font-family: 'Oxanium', sans-serif;
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-button {
    position: relative;
    padding: 1rem 2.5rem;
    font-family: 'Oxanium', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
    display: inline-block;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 5px 20px rgba(0, 191, 255, 0.3);
}

.button-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: buttonShine 3s infinite;
}

@keyframes buttonShine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 3px solid var(--primary);
    border-bottom: 3px solid var(--primary);
    transform: rotate(45deg);
    box-shadow: 0 0 10px var(--primary);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-20px);
    }

    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ===== TRAILER SECTION ===== */
.trailer {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, rgba(0, 191, 255, 0.05), transparent, rgba(255, 46, 190, 0.05));
    position: relative;
}

.trailer-subtitle {
    text-align: center;
    color: var(--text);
    opacity: 0.8;
    font-size: 1.2rem;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.trailer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin-bottom: 3rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 191, 255, 0.3);
    border: 2px solid rgba(0, 191, 255, 0.3);
    background: rgba(18, 20, 27, 0.6);
    backdrop-filter: blur(10px);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.trailer-images {
    margin-top: 3rem;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.trailer-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 16/9;
    border: 2px solid rgba(0, 191, 255, 0.2);
    background: rgba(18, 20, 27, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.trailer-image:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 191, 255, 0.4);
}

.trailer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.trailer-image:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.trailer-image:hover .image-overlay {
    transform: translateY(0);
}

.image-overlay span {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

/* ===== SHOWCASE SECTION (Background Video) ===== */
.showcase-section {
    position: relative;
    min-height: 600px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4rem 0;
    overflow: hidden;
}

/* Video de fondo - ajustado al ancho completo */
.showcase-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: auto;
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7) contrast(1.1);
    transition: filter 0.3s ease;
}

/* Fallback para cuando el video no carga */
.showcase-section.video-fallback {
    background-image: url('images/fondo.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Optimización para dispositivos móviles */
@media (max-width: 768px) {
    .showcase-video {
        filter: brightness(0.5) contrast(1.3);
        object-fit: cover;
        transform: none;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

/* Para pantallas muy anchas, evitar que el video se estire demasiado */
@media (min-width: 1920px) {
    .showcase-video {
        object-fit: contain;
        background: rgba(8, 9, 13, 0.8);
    }
}

/* Ajuste para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .showcase-video {
        object-fit: cover;
        transform: translate(-50%, -50%) scale(0.95);
    }
}

.showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.4), rgba(255, 46, 190, 0.4));
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.showcase-content {
    text-align: center;
    max-width: 800px;
    padding: 3rem;
    background: rgba(8, 9, 13, 0.85);
    border: 2px solid rgba(0, 191, 255, 0.5);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.showcase-title {
    font-family: 'Oxanium', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 40px rgba(0, 191, 255, 0.5);
}

.showcase-text {
    font-size: 1.2rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, transparent, rgba(0, 191, 255, 0.05), transparent);
}

.section-title {
    font-family: 'Oxanium', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Nueva grid para cards interactivas */
.interactive-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    perspective: 1000px;
}

/* Estructura de card con flip */
.feature-card {
    height: 280px;
    position: relative;
    cursor: pointer;
    transition: all 0.6s ease;
    transform-style: preserve-3d;
    border-radius: 15px;
    overflow: visible;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.feature-card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    padding: 2rem;
    background: rgba(18, 20, 27, 0.8);
    border: 2px solid rgba(0, 191, 255, 0.3);
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-back {
    transform: rotateY(180deg);
    background: rgba(18, 20, 27, 0.95);
    border-color: var(--secondary);
}

/* Efectos de hover y animaciones */
.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    filter: drop-shadow(0 15px 35px rgba(0, 191, 255, 0.4));
}

.feature-card:hover .card-front {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 191, 255, 0.5);
}

/* Iconos con animación adaptativa */
.feature-icon {
    margin-bottom: 1.5rem;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

/* Durante hover, el contenedor se ajusta */
.feature-card:hover .feature-icon {
    margin-bottom: 1rem;
    min-height: 80px;
}

/* Durante escritura, el contenedor se compacta más */
.feature-card.typing .feature-icon {
    margin-bottom: 0.8rem;
    min-height: 70px;
}

/* Estado final compacto */
.feature-card.title-written .feature-icon {
    margin-bottom: 0.5rem;
    min-height: 60px;
}

.feature-svg {
    width: 120px;
    height: 120px;
    fill: var(--primary);
    filter: drop-shadow(0 0 15px var(--primary));
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Estado durante hover - icono se reduce */
.feature-card:hover .feature-svg {
    width: 60px;
    height: 60px;
    transform: rotate(5deg);
    filter: drop-shadow(0 0 25px var(--primary));
}

/* Estado durante escritura - icono se reduce gradualmente */
.feature-card.typing .feature-svg {
    width: 50px;
    height: 50px;
    transform: rotate(10deg) scale(0.9);
    filter: drop-shadow(0 0 20px var(--secondary));
}

/* Estado final después de escribir - icono pequeño */
.feature-card.title-written .feature-svg {
    width: 45px;
    height: 45px;
    transform: rotate(0deg);
    filter: drop-shadow(0 0 15px var(--primary));
}

/* Títulos con efecto typewriter */
.feature-title {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
    min-height: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Efecto de cursor parpadeante mejorado */
.feature-title.typing::after {
    content: '|';
    color: var(--secondary);
    animation: blink 0.8s infinite;
    margin-left: 3px;
    font-weight: 300;
    text-shadow: 0 0 10px var(--secondary);
}

@keyframes blink {
    0%, 45% { opacity: 1; }
    46%, 100% { opacity: 0; }
}

/* Efecto de brillo durante la escritura */
.feature-title.typing {
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 100%;
    animation: shimmer 2s ease-in-out;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Texto que aparece con efecto typewriter */
.feature-title .typewriter-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--secondary);
    animation: typing 2s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--secondary); }
}

/* Descripciones en el reverso */
.feature-description {
    color: var(--text);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
    opacity: 0.95;
}

.feature-description strong {
    color: var(--secondary);
    text-shadow: 0 0 8px rgba(255, 46, 190, 0.4);
}

/* Animaciones de palpitación aleatoria - SIN TRANSFORM para evitar desaparición */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        border-color: rgba(0, 191, 255, 0.3);
    }
    50% {
        box-shadow: 0 20px 50px rgba(0, 191, 255, 0.6), 0 0 40px rgba(255, 46, 190, 0.4);
        border-color: var(--primary);
    }
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 15px var(--primary));
    }
    50% {
        transform: scale(1.15);
        filter: drop-shadow(0 0 25px var(--primary)) drop-shadow(0 0 15px var(--secondary));
    }
}

/* Animación rápida de flip automático */
@keyframes auto-flip-fast {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(180deg); }
}

@keyframes auto-flip-back-fast {
    0% { transform: rotateY(180deg); }
    100% { transform: rotateY(0deg); }
}

/* Estados para mantener la card volteada */
.feature-card.auto-flipped .card-inner {
    transform: rotateY(180deg);
}

/* Efecto sutil para indicar que es una animación automática */
.feature-card.auto-flipped .card-back {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(0, 255, 240, 0.3);
}

/* Transición suave para el estado flipped */
.feature-card.auto-flipped {
    transition: all 0.3s ease;
}

/* Indicador sutil durante pulse automático */
.feature-card.auto-pulse {
    position: relative;
}

.feature-card.auto-pulse::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--primary));
    border-radius: 17px;
    z-index: -1;
    opacity: 0.3;
    animation: pulse-border 3s ease-in-out;
}

@keyframes pulse-border {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.5; }
}

/* Clases para animaciones automáticas - solo afectan la card visible */
.feature-card.auto-pulse:not(.auto-flipped):not(.flipped) .card-front {
    animation: pulse-glow 3s ease-in-out;
}

.feature-card.auto-pulse.auto-flipped .card-back,
.feature-card.auto-pulse.flipped .card-back {
    animation: pulse-glow 3s ease-in-out;
}

.feature-card.auto-pulse .feature-svg {
    animation: pulse-icon 3s ease-in-out;
}

/* Prevenir pulse durante flip para evitar interferencias */
.feature-card.auto-flip .card-front,
.feature-card.auto-flip-back .card-front,
.feature-card.auto-flip .card-back,
.feature-card.auto-flip-back .card-back {
    animation: none !important;
}

/* Auto-flip temporal con animación rápida y suave */
.feature-card.auto-flip .card-inner {
    animation: auto-flip-fast 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.feature-card.auto-flip-back .card-inner {
    animation: auto-flip-back-fast 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* Prevenir conflictos entre animaciones automáticas y manuales */
.feature-card.flipped.auto-flip .card-inner,
.feature-card.flipped.auto-flip-back .card-inner,
.feature-card.flipped.auto-flipped .card-inner {
    animation: none;
    transform: rotateY(180deg);
}

/* Efectos de entrada escalonada */
.feature-card {
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 0.8s ease-out forwards;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Delays escalonados para la entrada */
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }
.feature-card:nth-child(7) { animation-delay: 0.7s; }
.feature-card:nth-child(8) { animation-delay: 0.8s; }

/* Responsive */
@media (max-width: 768px) {
    .interactive-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        height: 250px;
    }
    
    .card-front, .card-back {
        padding: 1.5rem;
    }
    
    .feature-svg {
        width: 50px;
        height: 50px;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
}

/* ===== TIENDA SECTION ===== */
/* ===== TIENDA SECTION ===== */
.tienda {
    padding: 6rem 2rem;
    background: radial-gradient(ellipse at center, rgba(255, 46, 190, 0.05) 0%, transparent 70%);
}

.tienda-subtitle {
    text-align: center;
    color: var(--text);
    opacity: 0.8;
    font-size: 1.2rem;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.productos-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.producto-card {
    background: rgba(18, 20, 27, 0.6);
    border: 1px solid rgba(0, 191, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.producto-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.1), rgba(255, 46, 190, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.producto-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 191, 255, 0.3);
}

.producto-card:hover::before {
    opacity: 1;
}

.producto-card:hover .image-overlay {
    opacity: 1;
}

.producto-card:hover .producto-placeholder img {
    transform: scale(1.05);
}

/* Animaciones mejoradas de cambio de imagen */
.producto-placeholder img.slide-out {
    animation: slideOutRotate 0.6s cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards;
}

.producto-placeholder img.slide-in {
    animation: slideInRotate 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes slideInRotate {
    0% {
        transform: translateX(-120%) rotateY(-180deg) rotateZ(-15deg) scale(0.6);
        opacity: 0;
        filter: blur(8px) brightness(0.5) saturate(0.3);
    }
    25% {
        transform: translateX(-60%) rotateY(-90deg) rotateZ(-8deg) scale(0.75);
        opacity: 0.3;
        filter: blur(6px) brightness(0.7) saturate(0.6);
    }
    50% {
        transform: translateX(-20%) rotateY(-45deg) rotateZ(-3deg) scale(0.9);
        opacity: 0.6;
        filter: blur(3px) brightness(0.85) saturate(0.8);
    }
    75% {
        transform: translateX(5%) rotateY(-15deg) rotateZ(2deg) scale(1.05);
        opacity: 0.85;
        filter: blur(1px) brightness(1.1) saturate(1.1);
    }
    100% {
        transform: translateX(0) rotateY(0deg) rotateZ(0deg) scale(1);
        opacity: 1;
        filter: blur(0) brightness(1) saturate(1);
    }
}

@keyframes slideOutRotate {
    0% {
        transform: translateX(0) rotateY(0deg) rotateZ(0deg) scale(1);
        opacity: 1;
        filter: blur(0) brightness(1) saturate(1);
    }
    25% {
        transform: translateX(20%) rotateY(30deg) rotateZ(5deg) scale(1.1);
        opacity: 0.8;
        filter: blur(2px) brightness(1.2) saturate(1.2);
    }
    50% {
        transform: translateX(60%) rotateY(90deg) rotateZ(10deg) scale(0.9);
        opacity: 0.5;
        filter: blur(4px) brightness(0.8) saturate(0.7);
    }
    75% {
        transform: translateX(100%) rotateY(135deg) rotateZ(12deg) scale(0.7);
        opacity: 0.2;
        filter: blur(6px) brightness(0.6) saturate(0.4);
    }
    100% {
        transform: translateX(150%) rotateY(180deg) rotateZ(15deg) scale(0.5);
        opacity: 0;
        filter: blur(10px) brightness(0.3) saturate(0.2);
    }
}

/* Animación de cambio de imagen (fallback mejorada) */
@keyframes imageChange {
    0% {
        opacity: 1;
        transform: scale(1) rotateY(0deg) rotateZ(0deg);
        filter: blur(0) brightness(1) saturate(1);
    }
    25% {
        opacity: 0.7;
        transform: scale(1.1) rotateY(-15deg) rotateZ(2deg);
        filter: blur(1px) brightness(1.1) saturate(1.1);
    }
    50% {
        opacity: 0;
        transform: scale(0.8) rotateY(-90deg) rotateZ(5deg);
        filter: blur(4px) brightness(0.7) saturate(0.6);
    }
    75% {
        opacity: 0.7;
        transform: scale(1.1) rotateY(-180deg) rotateZ(-2deg);
        filter: blur(2px) brightness(1.2) saturate(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateY(-360deg) rotateZ(0deg);
        filter: blur(0) brightness(1) saturate(1);
    }
}

.producto-placeholder.changing img {
    animation: imageChange 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Efecto de carga de imagen */
.producto-placeholder.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid rgba(0, 191, 255, 0.3);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.producto-imagen {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.1), rgba(255, 46, 190, 0.1));
}

.producto-placeholder {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px var(--primary));
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.5s ease;
}

.producto-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.5s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.category-badge {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(0, 191, 255, 0.3);
}

.producto-card:hover .image-overlay {
    opacity: 1;
}

.producto-card:hover .producto-placeholder img {
    transform: scale(1.05);
}

.producto-card {
    transition: all 0.3s ease;
}

.producto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 191, 255, 0.4);
}

.producto-info {
    position: relative;
    z-index: 1;
}

.producto-info h3 {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.producto-info p {
    color: var(--text);
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.producto-precio {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary);
    text-shadow: 0 0 10px var(--secondary);
}

.tienda-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ===== TIENDA CONTENT PAGE ===== */
.tienda-content {
    padding: 8rem 2rem 6rem;
    background: linear-gradient(180deg, transparent, rgba(0, 191, 255, 0.05), transparent);
    min-height: 100vh;
}

.tienda-title {
    font-family: 'Oxanium', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tienda-description {
    text-align: center;
    color: var(--text);
    opacity: 0.8;
    font-size: 1.2rem;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tienda-grid {
    max-width: 1400px;
    margin: 0 auto;
}

/* Tab System */
.tab-container {
    margin-top: 3rem;
}

.tab-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
}

.tab-button {
    font-family: 'Oxanium', sans-serif;
    padding: 0.8rem 1.5rem;
    background: rgba(18, 20, 27, 0.6);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 10px;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    backdrop-filter: blur(10px);
}

.tab-button:hover {
    border-color: var(--primary);
    background: rgba(0, 191, 255, 0.1);
    transform: translateY(-2px);
}

.tab-button.active {
    background: var(--primary);
    color: var(--background);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.categoria-section {
    margin-bottom: 4rem;
    background: rgba(18, 20, 27, 0.6);
    border: 1px solid rgba(0, 191, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

.categoria-section h2 {
    font-family: 'Oxanium', sans-serif;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.producto-item {
    background: rgba(0, 191, 255, 0.05);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.producto-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.1), rgba(255, 46, 190, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.producto-item:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: 0 10px 30px rgba(0, 191, 255, 0.3);
}

.producto-item:hover::before {
    opacity: 1;
}

.producto-item .producto-imagen {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.producto-item .producto-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.producto-item:hover .producto-imagen img {
    transform: scale(1.1);
}

.producto-discount {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--secondary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
}

.producto-item h3 {
    font-family: 'Oxanium', sans-serif;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
}

.producto-item p {
    color: var(--text);
    opacity: 0.8;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    line-height: 1.5;
}

.precio {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary);
    text-shadow: 0 0 10px var(--secondary);
    position: relative;
    z-index: 1;
}

.precio .old-price {
    text-decoration: line-through;
    opacity: 0.6;
    font-size: 1rem;
    margin-right: 0.5rem;
    color: var(--text);
}

/* Compra Directa Section */
.compra-directa-section {
    margin-top: 4rem;
    padding: 3rem 2rem;
}

.compra-directa-card {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.1), rgba(255, 46, 190, 0.1));
    border: 2px solid rgba(0, 191, 255, 0.3);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.compra-directa-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px var(--primary));
}

.compra-directa-card h2 {
    font-family: 'Oxanium', sans-serif;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.compra-directa-benefits {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
}

.benefit-icon {
    font-size: 1.5rem;
}

.compra-directa-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Oxanium', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.compra-directa-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--primary);
}

.compra-directa-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

.tienda-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.info-card {
    background: rgba(18, 20, 27, 0.8);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.info-card h3 {
    font-family: 'Oxanium', sans-serif;
    color: var(--primary);
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--text);
    opacity: 0.9;
    line-height: 1.6;
}

.info-card-note {
    margin-top: 1rem;
    padding: 0.8rem;
    background: rgba(0, 191, 255, 0.1);
    border-left: 3px solid var(--primary);
    border-radius: 5px;
    font-size: 0.9rem;
    color: var(--text);
}

/* Responsive Design */
@media (max-width: 768px) {
    .productos-grid {
        grid-template-columns: 1fr;
    }

    .tab-buttons {
        flex-direction: column;
    }

    .tab-button {
        width: 100%;
    }

    .compra-directa-benefits {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ===== FACCIONES CONTENT PAGE ===== */
.facciones-content {
    padding: 8rem 2rem 6rem;
    background: linear-gradient(180deg, transparent, rgba(255, 46, 190, 0.05), transparent);
    min-height: 100vh;
}

.facciones-title {
    font-family: 'Oxanium', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.facciones-description {
    text-align: center;
    color: var(--text);
    opacity: 0.8;
    font-size: 1.2rem;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.facciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto 4rem;
}

.faccion-card {
    background: rgba(18, 20, 27, 0.6);
    border: 1px solid rgba(0, 191, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.faccion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.1), rgba(255, 46, 190, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faccion-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 191, 255, 0.3);
}

.faccion-card:hover::before {
    opacity: 1;
}

.faccion-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 15px var(--primary));
    position: relative;
    z-index: 1;
}

.faccion-card h2 {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.faccion-card p {
    color: var(--text);
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.faccion-info {
    position: relative;
    z-index: 1;
}

.faccion-rol {
    display: block;
    font-family: 'Oxanium', sans-serif;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.faccion-responsabilidades {
    display: block;
    color: var(--text);
    opacity: 0.7;
    font-size: 0.9rem;
}

.facciones-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* ===== FACCIONES SECTION ===== */
.facciones {
    padding: 6rem 2rem;
    background: radial-gradient(ellipse at center, rgba(255, 46, 190, 0.05) 0%, transparent 70%);
}

.facciones-content {
    max-width: 1200px;
    margin: 0 auto;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(18, 20, 27, 0.6);
    border: 2px dashed rgba(0, 191, 255, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.empty-icon {
    font-size: 5rem;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px var(--secondary));
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes buttonShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.empty-state h3 {
    font-family: 'Oxanium', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.empty-state p {
    color: var(--text);
    opacity: 0.8;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FOOTER ===== */
.footer {
    background: rgba(8, 9, 13, 0.95);
    border-top: 1px solid rgba(0, 191, 255, 0.2);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section h4 {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 40px;
    filter: drop-shadow(0 0 10px var(--primary));
}

.footer-logo span {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: var(--text);
    opacity: 0.7;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    opacity: 1;
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 191, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: var(--text);
    opacity: 0.6;
}

.footer-note {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(8, 9, 13, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        gap: 1rem;
        transition: right 0.3s ease;
        border-left: 1px solid rgba(0, 191, 255, 0.3);
    }

    .nav-menu.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        padding-left: 1rem;
        margin-top: 0.5rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown.active .dropdown-menu {
        max-height: 500px;
    }

    .countdown-timer {
        gap: 0.5rem;
    }

    .countdown-item {
        min-width: 80px;
        padding: 1rem 1.5rem;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {

    /* Prevenir scroll horizontal */
    html,
    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
        position: relative !important;
    }

    html {
        overflow-x: hidden !important;
    }

    * {
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    .cyber-grid {
        animation: none !important;
        transform: none !important;
        position: fixed;
        width: 100vw;
        height: 100vh;
    }

    .showcase-section {
        background-attachment: scroll !important;
        max-width: 100vw !important;
        overflow: hidden !important;
    }

    .container {
        max-width: 100%;
        padding: 0 1rem;
    }

    body {
        touch-action: pan-y !important;
    }

    .nav-container {
        padding: 0.8rem 1rem;
        justify-content: space-between;
    }

    .logo-container {
        flex: 0 1 auto;
        min-width: 0;
    }

    .logo-link {
        gap: 0.5rem;
    }

    .logo {
        height: 35px;
        flex-shrink: 0;
    }

    .logo-text {
        font-size: 1rem;
        display: none;
        /* Ocultar texto del logo en móvil */
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1rem;
        max-width: 100%;
    }

    .hero-left {
        align-items: center;
        order: 1;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-subtitle {
        max-width: 260px;
        width: 100%;
        margin: 0 auto 2rem auto;
        line-height: 1.3;
    }

    .hero-right {
        justify-content: center;
    }

    .hero {
        padding: 6rem 1rem 3rem;
    }

    .hero-title {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 0.8rem;
    }

    .welcome-text,
    .to-exodus {
        font-size: 1.8rem;
    }

    .rotating-users-container {
        min-width: 200px;
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        height: 4.5em;
        /* Slightly taller for smaller text */
    }

    .countdown-container {
        padding: 1.2rem;
        margin: 2rem 0;
    }

    .countdown-title {
        font-size: 1.2rem;
    }

    .countdown-timer {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .countdown-item {
        min-width: 65px;
        padding: 0.8rem;
        flex: 0 1 auto;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .countdown-label {
        font-size: 0.65rem;
        margin-top: 0.3rem;
    }

    .countdown-separator {
        font-size: 1.2rem;
    }

    .user-text {
        font-size: 1rem;
    }

    .user-icon {
        width: 30px;
        height: 30px;
    }

    .user-icon svg {
        width: 18px;
        height: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
        gap: 1rem;
        padding: 0 1rem;
    }

    .cta-button {
        width: 100%;
        max-width: 240px;
        margin: 0 auto;
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
        text-align: center;
        border-radius: 8px;
    }

    .cta-button.primary,
    .cta-button.secondary {
        width: 100%;
        max-width: 240px;
    }

    .trailer,
    .features,
    .facciones {
        padding: 4rem 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .trailer-subtitle {
        font-size: 1rem;
    }

    .showcase-section {
        min-height: 400px;
    }
    
    .showcase-video {
        filter: brightness(0.5) contrast(1.3);
    }

    .showcase-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
        max-width: calc(100% - 2rem);
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .showcase-title {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
    }

    .showcase-title {
        font-size: 1.6rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .showcase-text {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .play-button {
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
        border-radius: 8px;
        max-width: 240px;
        margin: 0 auto;
        display: block;
    }

    .join-alt {
        font-size: 0.8rem;
        margin-top: 1rem;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-section {
        display: none;
    }
}

@media (max-width: 480px) {

    /* Prevenir scroll horizontal en móviles pequeños */
    html,
    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
        position: relative !important;
    }

    html {
        overflow-x: hidden !important;
    }

    * {
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    .cyber-grid {
        animation: none !important;
        transform: none !important;
        position: fixed;
        width: 100vw;
        height: 100vh;
    }

    .showcase-section {
        background-attachment: scroll !important;
        max-width: 100vw !important;
        overflow: hidden !important;
    }

    .container {
        padding: 0 0.8rem;
        max-width: 100%;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .hero-content {
        padding: 0 0.8rem;
        max-width: 100%;
    }

    .countdown-timer {
        gap: 0.2rem;
        flex-wrap: nowrap;
        justify-content: center;
    }

    .countdown-item {
        min-width: 50px;
        padding: 0.5rem;
        flex: 0 1 auto;
    }

    .countdown-number {
        font-size: 1.1rem;
    }

    .countdown-label {
        font-size: 0.5rem;
        margin-top: 0.2rem;
    }

    .countdown-separator {
        font-size: 0.9rem;
        padding: 0;
    }

    .image-grid {
        grid-template-columns: 1fr;
    }

    .empty-state {
        padding: 3rem 1.5rem;
    }

    .empty-icon {
        font-size: 3rem;
    }

    .hero-title {
        font-size: 1.5rem;
        gap: 0.5rem;
    }

    .welcome-text,
    .to-exodus {
        font-size: 1.5rem;
    }

    .rotating-users-container {
        min-width: 180px;
        padding: 0.6rem 0.8rem;
    }

    .user-text {
        font-size: 0.9rem;
    }

    .user-icon {
        width: 28px;
        height: 28px;
    }

    .user-icon svg {
        width: 16px;
        height: 16px;
    }

    .countdown-container {
        padding: 1rem;
    }

    .countdown-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    /* Navbar responsive extra */
    .logo-text {
        display: none;
    }

    .logo {
        height: 32px;
    }

    .nav-container {
        padding: 0.6rem 0.8rem;
    }

    .hero-content {
        gap: 1.5rem;
    }

    .hero {
        padding: 5rem 0.8rem 2rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        height: 5em;
        max-width: 220px;
        width: 100%;
        margin: 0 auto 1rem auto;
        line-height: 1.2;
    }

    .hero-buttons {
        max-width: 240px;
        gap: 0.8rem;
        padding: 0 0.8rem;
    }

    .cta-button {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        border-radius: 6px;
        max-width: 200px;
        margin: 0 auto;
    }

    .cta-button.primary,
    .cta-button.secondary {
        width: 100%;
        max-width: 200px;
        padding: 0.8rem 1rem;
    }

    /* Compra Directa Responsive */
    .compra-directa-card {
        padding: 2rem 1.5rem;
    }

    .compra-directa-card h2 {
        font-size: 2rem;
    }

    .compra-directa-benefits {
        flex-direction: column;
        gap: 1rem;
    }

    .benefit-item {
        justify-content: center;
        padding: 0.8rem 1rem;
    }

    .compra-directa-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    /* Showcase responsive para móviles pequeños */
    .showcase-content {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
        max-width: calc(100% - 1rem);
        overflow: hidden;
    }

    .showcase-title {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
    }

    .showcase-title {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }

    .showcase-text {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 1.2rem;
    }

    .play-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        border-radius: 6px;
        max-width: 200px;
        margin: 0 auto;
        display: block;
    }

    .join-alt {
        font-size: 0.75rem;
        margin-top: 0.8rem;
        padding: 0 0.5rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-gradient {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow {
    box-shadow: 0 0 20px currentColor;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--secondary), var(--primary));
}

/* ===== SELECTION ===== */
::selection {
    background: var(--primary);
    color: var(--background);
}

::-moz-selection {
    background: var(--primary);
    color: var(--background);
}

/* ===== CTA BUTTONS ===== */
.cta-button.primary {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: var(--background);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px rgba(0, 191, 255, 0.4);
    display: inline-block;
    text-align: center;
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0, 191, 255, 0.6);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.cta-button.secondary:hover {
    background: rgba(0, 191, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 191, 255, 0.4);
}

/* ===== NORMATIVA STYLES ===== */
.normativa-content {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, transparent, rgba(0, 191, 255, 0.05), transparent);
    min-height: 100vh;
}

.normativa-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.normativa-section {
    background: rgba(18, 20, 27, 0.6);
    border: 1px solid rgba(0, 191, 255, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.normativa-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.05), rgba(255, 46, 190, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.normativa-section:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 191, 255, 0.2);
}

.normativa-section:hover::before {
    opacity: 1;
}

.normativa-title {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(0, 191, 255, 0.5);
    position: relative;
    z-index: 1;
}

.normativa-text {
    color: var(--text);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.normativa-text p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.normativa-text strong {
    color: var(--secondary);
    font-weight: 600;
}

.example-box {
    background: rgba(0, 191, 255, 0.1);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
    border-left: 4px solid var(--primary);
}

.example-box strong {
    color: var(--primary);
    font-weight: 600;
}

.important-rules {
    background: rgba(255, 46, 190, 0.1);
    border: 1px solid rgba(255, 46, 190, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
    border-left: 4px solid var(--secondary);
}

.important-rules h4 {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.important-rules ul {
    list-style: none;
    padding-left: 0;
}

.important-rules li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.important-rules li::before {
    content: '•';
    color: var(--secondary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.important-box {
    background: rgba(255, 220, 0, 0.1);
    border: 1px solid rgba(255, 220, 0, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
    border-left: 4px solid var(--warning);
}

.important-box strong {
    color: var(--warning);
    font-weight: 600;
}

.important-box code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    color: var(--accent);
    display: block;
    margin-top: 0.5rem;
    word-break: break-all;
}

.warning-box {
    background: rgba(255, 46, 190, 0.15);
    border: 1px solid rgba(255, 46, 190, 0.4);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
    border-left: 4px solid var(--secondary);
}

.warning-box strong {
    color: var(--secondary);
    font-weight: 600;
}

.prohibited-box {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
    border-left: 4px solid #ff0000;
    text-align: center;
}

.prohibited-box strong {
    color: #ff0000;
    font-weight: 600;
    font-size: 1.1rem;
}

.example-section {
    background: rgba(0, 191, 255, 0.05);
    border: 1px solid rgba(0, 191, 255, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.example-section h4 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.example-section ul {
    list-style: none;
    padding-left: 0;
}

.example-section li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.example-section li::before {
    content: '→';
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.summary-box {
    background: rgba(70, 255, 139, 0.1);
    border: 1px solid rgba(70, 255, 139, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
    border-left: 4px solid var(--success);
}

.summary-box strong {
    color: var(--success);
    font-weight: 600;
}

/* Responsive for normativa */
@media (max-width: 768px) {
    .normativa-content {
        padding: 4rem 1rem;
    }

    .normativa-section {
        padding: 1.5rem;
    }

    .normativa-title {
        font-size: 1.4rem;
    }

    .example-box,
    .important-rules,
    .important-box,
    .warning-box,
    .prohibited-box,
    .example-section,
    .summary-box {
        padding: 1rem;
    }
}

/* ===== LIGHTBOX MODAL PROFESIONAL ===== */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 9, 13, 0.98);
    backdrop-filter: blur(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lightbox-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

/* Contenedor de la imagen con información */
.lightbox-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: slideInScale 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 20px;
    border: 3px solid rgba(0, 191, 255, 0.4);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(0, 191, 255, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

/* Información de la imagen */
.lightbox-info {
    margin-top: 1.5rem;
    text-align: center;
    background: rgba(18, 20, 27, 0.9);
    padding: 1rem 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 191, 255, 0.3);
    backdrop-filter: blur(10px);
}

.lightbox-title {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

.lightbox-description {
    font-size: 1rem;
    color: var(--text);
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
}

/* Animaciones mejoradas */
@keyframes slideInScale {
    0% {
        transform: scale(0.7) translateY(50px);
        opacity: 0;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Botón de cerrar mejorado */
.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    color: white;
    background: rgba(18, 20, 27, 0.9);
    border: 2px solid var(--primary);
    border-radius: 50%;
    width: 55px;
    height: 55px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    line-height: 1;
    z-index: 10001;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close:hover {
    background: rgba(255, 46, 190, 0.2);
    border-color: var(--secondary);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 25px var(--secondary), 0 15px 40px rgba(0, 0, 0, 0.7);
}

/* Botones de navegación mejorados */
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: white;
    background: rgba(18, 20, 27, 0.9);
    border: 2px solid var(--primary);
    border-radius: 50%;
    width: 65px;
    height: 65px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10001;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0, 191, 255, 0.2);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 25px var(--primary), 0 15px 40px rgba(0, 0, 0, 0.7);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

/* Responsive para lightbox */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 98%;
        max-height: 98%;
    }
    
    .lightbox-image {
        max-height: 70vh;
        border-width: 2px;
    }
    
    .lightbox-info {
        margin-top: 1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .lightbox-title {
        font-size: 1.2rem;
    }
    
    .lightbox-description {
        font-size: 0.9rem;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .lightbox-prev {
        left: 1rem;
    }
    
    .lightbox-next {
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .lightbox-image {
        max-height: 60vh;
    }
    
    .lightbox-info {
        padding: 0.6rem 1rem;
    }
    
    .lightbox-title {
        font-size: 1.1rem;
    }
    
    .lightbox-description {
        font-size: 0.85rem;
    }
}

.hero-character {
    position: absolute;
    right: -12vw;
    /* antes -80px → más a la derecha */
    top: 30%;
    /* antes 20% → más abajo */
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}

.gta-character {
    width: 990px;
    /* 10% menos que 1100px */
    height: auto;
    filter: drop-shadow(0 0 30px rgba(0, 191, 255, 0.3));
    animation: floatCharacter 3s ease-in-out infinite;
}

.rotating-users-container {
    position: relative;
    z-index: 2;
    margin-top: 2rem;
}

@media (max-width: 1200px) {
    .hero-character {
        right: -120px;
        /* ajustado un poco más a la derecha */
        top: 32%;
        /* ligeramente más abajo */
    }

    .gta-character {
        width: 810px;
        /* 10% menos que 900px */
    }
}

@media (max-width: 992px) {
    .hero-character {
        right: -140px;
        top: 35%;
    }

    .gta-character {
        width: 720px;
        /* 10% menos que 800px */
    }
}

@media (max-width: 768px) {
    .hero-character {
        display: none;
    }
}

/* ===== TIKTOK SECTION ===== */
.tiktok-latest {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, transparent, rgba(255, 46, 190, 0.05), transparent);
    text-align: center;
}

.tiktok-latest h2 {
    font-family: 'Oxanium', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tiktok-latest .tiktok-embed {
    background: rgba(18, 20, 27, 0.6);
    border: 1px solid rgba(0, 191, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
}

.tiktok-latest .tiktok-embed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.1), rgba(255, 46, 190, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tiktok-latest .tiktok-embed:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 191, 255, 0.3);
}

.tiktok-latest .tiktok-embed:hover::before {
    opacity: 1;
}

.play-button {
    background: linear-gradient(90deg, #ff5f6d, #ffc371);
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.play-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 195, 113, 0.6);
}

.button-glow {
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.play-button:hover .button-glow {
    opacity: 1;
}

.join-alt {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #ccc;
}

.join-alt a {
    color: #ffbe76;
    text-decoration: underline;
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

/* ===== MEDAL SECTION ===== */
.medal-latest {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, transparent, rgba(0, 191, 255, 0.05), transparent);
    text-align: center;
}

.medal-latest h2 {
    font-family: 'Oxanium', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.medal-card {
    background: rgba(18, 20, 27, 0.6);
    border: 1px solid rgba(0, 191, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
    gap: 2.5rem;
}

.medal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.1), rgba(255, 46, 190, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.medal-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 191, 255, 0.3);
}

.medal-card:hover::before {
    opacity: 1;
}

.medal-info {
    flex: 1 1 350px;
    padding: 1rem;
    text-align: left;
    position: relative;
    z-index: 1;
}

.medal-info h3 {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.medal-info p {
    color: var(--text);
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.medal-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.3);
}

.medal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.5);
}

.medal-preview {
    flex: 1 1 300px;
    position: relative;
    z-index: 1;
}

.medal-preview img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.medal-card:hover .medal-preview img {
    transform: scale(1.05);
}

.medal-info img {
    width: 80px;
    margin-bottom: 1rem;
}

.medal-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.medal-info p {
    font-size: 1rem;
    opacity: 0.85;
    line-height: 1.5;
}

.medal-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 1.6rem;
    background: linear-gradient(90deg, #00bfff, #0077ff);
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.medal-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.6);
}

.medal-preview {
    flex: 1 1 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.medal-preview img {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0, 191, 255, 0.4);
    border-color: var(--secondary);
    box-shadow: 0 0 20px var(--secondary);
    transform: translateY(-50%) scale(1.1);
}

/* ===== SECCIÓN PRINCIPAL ===== */

/* ===== SECCIÓN PRINCIPAL ===== */
.team-section {
    position: relative;
    padding: clamp(40px, 6vw, 80px) clamp(10px, 4vw, 40px);
    background: linear-gradient(135deg, var(--background) 0%, var(--surface) 100%);
    color: var(--text);
    font-family: 'Arial', sans-serif;
    overflow: hidden;
}

/* ===== TÍTULO ===== */
.team-section h2 {
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    text-transform: uppercase;
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent), 0 0 30px var(--secondary);
    margin-bottom: clamp(30px, 5vw, 60px);
    letter-spacing: 2px;
}

/* ===== CONTENEDOR DEL CARRUSEL ===== */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(10px, 4vw, 30px) clamp(40px, 8vw, 100px);
}

/* ===== CARRUSEL ===== */
.team-carousel {
    display: flex;
    gap: clamp(15px, 3vw, 40px);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* ===== CARD ===== */
.team-card {
    flex: 0 0 clamp(200px, 25vw, 300px);
    height: clamp(280px, 40vw, 380px);
    border-radius: 15px;
    background: rgba(18, 20, 27, 0.8);
    border: 2px solid var(--accent);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    padding: clamp(20px, 3vw, 30px);
    text-align: center;
    color: var(--text);
    transition: all 0.4s ease;
    opacity: 0.5;
    transform: scale(0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* ===== HOVER EFFECT ===== */
.team-card:hover {
    opacity: 1;
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(0, 191, 255, 0.6),
        0 0 80px rgba(0, 255, 255, 0.4),
        0 0 120px rgba(255, 46, 190, 0.3);
    background: rgba(18, 20, 27, 0.95);
}

.team-card:hover img {
    border-color: var(--primary);
    filter: drop-shadow(0 0 20px rgba(0, 191, 255, 0.8));
    transform: scale(1.1);
}

.team-card:hover h3 {
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary);
}

.team-card:hover .team-role {
    color: var(--secondary);
    text-shadow: 0 0 10px var(--secondary);
}

.team-card.active {
    opacity: 1;
    transform: scale(1);
    border-color: var(--background);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.6),
        0 0 60px rgba(255, 0, 255, 0.4);
}

/* ===== IMAGEN ===== */
.team-card img {
    width: clamp(100px, 12vw, 160px);
    height: clamp(100px, 12vw, 160px);
    border-radius: 50%;
    border: 3px solid var(--secondary);
    margin-bottom: clamp(10px, 2vw, 25px);
    object-fit: cover;
    filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.5));
    transition: all 0.3s ease;
}

.team-card.active img {
    border-color: var(--accent);
    filter: drop-shadow(0 0 12px rgba(0, 255, 255, 0.8));
}

/* ===== TEXTOS ===== */
.team-card h3 {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: var(--accent);
    margin-bottom: 8px;
    text-shadow: 0 0 5px var(--accent);
    font-weight: 600;
}

.team-card .team-role {
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 5px;
}

/* ===== NAVEGACIÓN ===== */
.nav {
    background: rgba(0, 191, 255, 0.1);
    border: 2px solid var(--accent);
    border-radius: 50%;
    width: clamp(35px, 5vw, 55px);
    height: clamp(35px, 5vw, 55px);
    font-size: clamp(1rem, 2vw, 1.5em);
    color: var(--accent);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav:hover {
    background: rgba(255, 46, 190, 0.2);
    color: var(--secondary);
    border-color: var(--secondary);
    text-shadow: 0 0 10px var(--secondary);
    transform: scale(1.1);
}

.nav.prev {
    margin-right: clamp(15px, 2vw, 40px);
}

.nav.next {
    margin-left: clamp(15px, 2vw, 40px);
}

/* ===== CONTENEDOR SVG ===== */
.img-container {
    position: relative;
    display: inline-block;
}

.apo-svg {
    position: absolute;
    top: clamp(4px, 1vw, 10px);
    left: clamp(4px, 1vw, 10px);
    width: clamp(30px, 5vw, 50px);
    height: clamp(14px, 3vw, 26px);
    background: rgba(0, 0, 0, 0.6);
    border-radius: 4px;
    padding: 2px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .team-section {
        display: none;
    }

    .team-card {
        flex: 0 0 clamp(180px, 35vw, 240px);
        height: clamp(260px, 55vw, 320px);
    }
}









@media (max-width: 768px) {
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
        width: 40px;
        height: 40px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 45px;
        height: 45px;
        font-size: 2rem;
    }

    .lightbox-prev {
        left: 1rem;
    }

    .lightbox-next {
        right: 1rem;
    }
}/* E
fecto de click en las cards */
.producto-card.clicked-highlight {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 191, 255, 0.6), 0 0 30px rgba(255, 46, 190, 0.4);
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.15), rgba(255, 46, 190, 0.15));
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.producto-card.clicked-highlight::before {
    opacity: 0.8;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.2), rgba(255, 46, 190, 0.2));
}

.producto-card.clicked-highlight .image-overlay {
    opacity: 1;
    background: linear-gradient(45deg, rgba(0, 191, 255, 0.3), rgba(255, 46, 190, 0.3));
}

.producto-card.clicked-highlight .category-badge {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

