/*
Theme Name: Eons Escaparate
Theme URI: https://eonsofevolution.com
Author: Jose Martín
Author URI: https://eonsofevolution.com
Description: Landing page Eons of Evolution Escaparate.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eons-escaparate
Tags: games, books, video, movies, landing-page
*/

/* === VARIABLES Y COLORES EONS === */
:root {
    /* Colores principales del cliente */
    --color-primary: #00FFD5;
    --color-accent: #8B85CF6;
    --color-space-grotesk: #6B5CF6;
    --color-inter: #F59E0B;
    --color-background: #06070D;
    
    /* Colores derivados */
    --color-secondary: #e50914;
    --color-dark-bg: #06070D;
    --color-dark-secondary: #0A0B12;
    --color-dark-tertiary: #0F1018;
    --color-dark-quaternary: #1A1B23;
    --color-text-light: #E5E7EB;
    --color-text-white: #FFFFFF;
    --color-text-muted: #9CA3AF;
    --color-border: #374151;
    --color-border-light: rgba(0, 255, 213, 0.3);
    
    /* Tipografías */
    --font-orbitron: 'Orbitron', monospace;
    --font-space-grotesk: 'Space Grotesk', sans-serif;
    --font-inter: 'Inter', sans-serif;
    --font-primary: var(--font-space-grotesk);
    --font-heading: var(--font-orbitron);
    --font-body: var(--font-inter);
    
    /* Transiciones */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET Y BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-dark-bg);
    color: var(--color-text-light);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    font-weight: 400;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === HEADER === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, transparent 100%);
    padding: 12px 0;
    transition: var(--transition);
    box-sizing: border-box;
}

.site-header.scrolled {
    background: var(--color-dark-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.header-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    min-height: 50px;
}

/* Botón hamburguesa */
.hamburger {
    display: none;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: transparent;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    padding: 0;
    transition: var(--transition-fast);
}

.hamburger:hover { 
    background: rgba(255,255,255,0.05);
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2.5px;
    background: var(--color-text-white);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.site-logo img {
    height: 42px;
    width: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.language-selector select {
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-text-white);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    font-weight: 500;
    font-family: var(--font-body);
    transition: var(--transition-fast);
}

.language-selector select:hover {
    border-color: var(--color-primary);
    background: rgba(0, 255, 213, 0.1);
}

.language-selector option {
    background: var(--color-dark-bg);
    color: var(--color-text-white);
}

.btn-login,
.btn-signup {
    padding: 8px 18px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-login {
    background: var(--color-primary);
    border: 2px solid var(--color-primary);
    color: var(--color-dark-bg);
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: 8px;
}

.btn-login:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 213, 0.6);
}

.btn-signup {
    background: var(--color-primary);
    color: var(--color-dark-bg);
    border: 2px solid var(--color-primary);
    font-family: var(--font-body);
    font-weight: 700;
    border-radius: 8px;
}

.btn-signup:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 213, 0.6);
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background img,
.hero-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(12, 14, 23, 0.8) 0%, 
        rgba(12, 14, 23, 0.6) 50%, 
        rgba(12, 14, 23, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 40px;
    text-align: center;
    margin: 0 auto;
    margin-top: -200px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--color-text-white);
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--color-text-light);
    font-weight: 400;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    justify-content: center;
    align-items: center;
}

.btn-hero-primary {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    background: transparent;
    color: var(--color-text-white);
    border: 2px solid var(--color-primary);
    font-family: var(--font-body);
}

.btn-hero-primary:hover {
    background: rgba(0, 255, 213, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 213, 0.6);
    border-color: var(--color-primary);
}

.btn-hero-secondary {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    background: transparent;
    color: var(--color-text-white);
    border: 2px solid var(--color-primary);
    font-family: var(--font-body);
}

.btn-hero-secondary:hover {
    background: rgba(0, 255, 213, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 213, 0.6);
    border-color: var(--color-primary);
}

/* === FEATURES SECTION === */
.features-section {
    padding: 100px 40px;
    background: var(--color-dark-secondary);
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
}

.section-title {
    font-family: var(--font-heading);
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--color-text-white);
    letter-spacing: -0.02em;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--color-dark-tertiary);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 255, 213, 0.2);
    background: var(--color-dark-quaternary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-text-white);
    letter-spacing: -0.01em;
}

.feature-description {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* === PRICING SECTION === */
.pricing-section {
    padding: 100px 40px;
    background: var(--color-dark-bg);
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
}

.pricing-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.pricing-card {
    background: var(--color-dark-tertiary);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    position: relative;
    border: 2px solid var(--color-border);
    transition: var(--transition);
}

.pricing-card.featured {
    border-color: var(--color-primary);
    transform: scale(1.05);
    background: var(--color-dark-quaternary);
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--color-primary);
    box-shadow: 0 15px 40px rgba(0, 255, 213, 0.3);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--color-dark-bg);
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    text-transform: uppercase;
}

.pricing-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-text-white);
    letter-spacing: -0.01em;
}

.pricing-price {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

.pricing-period {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
}

.pricing-features li {
    font-family: var(--font-body);
    padding: 12px 0;
    color: var(--color-text-light);
    border-bottom: 1px solid var(--color-border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: "✓";
    color: var(--color-primary);
    font-weight: 700;
    margin-right: 10px;
}

.btn-pricing {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    background: transparent;
    color: var(--color-text-white);
    font-family: var(--font-body);
    border: 2px solid var(--color-primary);
}

.btn-pricing:hover {
    background: rgba(0, 255, 213, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 213, 0.6);
    border-color: var(--color-primary);
}

/* === TRENDING SECTION (CAROUSEL) === */
.trending-section {
    padding: 100px 40px;
    background: var(--color-dark-secondary);
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
}

.trending-header {
    max-width: 1400px;
    margin: 0 auto 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trending-tabs {
    display: flex;
    gap: 20px;
}

.tab-btn {
    background: transparent;
    color: var(--color-text-muted);
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 2px solid transparent;
}

.tab-btn.active {
    color: var(--color-text-white);
    border-bottom-color: var(--color-primary);
}

.carousel-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

.carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 20px 0;
    scrollbar-width: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    flex: 0 0 280px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.carousel-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 255, 213, 0.3);
    border-color: var(--color-primary);
}

.carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.carousel-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
}

.carousel-item-rank {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--color-primary);
    color: var(--color-dark-bg);
    width: 40px;
    height: 40px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.carousel-item-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 5px;
    letter-spacing: -0.01em;
}

.carousel-item-meta {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* === FAQ SECTION === */
.faq-section {
    padding: 100px 40px;
    background: var(--color-dark-bg);
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-dark-tertiary);
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-white);
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
}

.faq-question:hover {
    background: rgba(0, 255, 213, 0.1);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: var(--transition);
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    font-family: var(--font-body);
    padding: 0 30px 25px;
    color: var(--color-text-light);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* === CTA SECTION === */
.cta-section {
    padding: 100px 40px;
    background: linear-gradient(135deg, var(--color-dark-tertiary) 0%, var(--color-dark-bg) 100%);
    text-align: center;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-text-white);
    letter-spacing: -0.02em;
}

.cta-description {
    font-family: var(--font-body);
    font-size: 1.3rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* === FOOTER === */
.site-footer {
    background: var(--color-dark-bg);
    padding: 60px 40px 30px;
    border-top: 1px solid var(--color-border);
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-text-white);
    letter-spacing: -0.01em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-family: var(--font-body);
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    font-family: var(--font-body);
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    html, body {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        position: relative;
    }

    * {
        max-width: 100%;
    }

    .header-container {
        padding: 0 16px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .site-header {
        width: 100%;
        max-width: 100vw;
        left: 0;
        right: 0;
        box-sizing: border-box;
    }

    .site-header {
        padding: 10px 0;
    }

    .site-logo {
        max-width: calc(100% - 68px);
        overflow: hidden;
    }

    .site-logo img {
        max-width: 100%;
        height: 40px;
    }

    .header-container {
        min-height: 52px;
    }

    .header-nav { display: none; }

    .btn-login,
    .btn-signup {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .hamburger { 
        display: flex;
        flex-shrink: 0;
        width: 40px;
        height: 40px;
    }

    .hamburger span {
        width: 22px;
        height: 2.5px;
    }

    .hero-title {
        font-family: var(--font-heading);
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-family: var(--font-body);
        font-size: 1.2rem;
    }

    .hero-cta {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .section-title {
        font-family: var(--font-heading);
        font-size: 2rem;
    }

    .features-section,
    .pricing-section,
    .trending-section,
    .faq-section,
    .cta-section {
        padding: 60px 20px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .trending-header {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .trending-tabs {
        gap: 10px;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .trending-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .carousel {
        padding: 10px 0;
        gap: 12px;
    }

    .carousel-item {
        flex: 0 0 200px;
        border-radius: 10px;
    }

    .carousel-item img {
        height: 300px;
    }

    .carousel-item-overlay {
        padding: 15px;
    }

    .carousel-item-rank {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        top: 8px;
        left: 8px;
    }

    .carousel-item-title {
        font-size: 0.95rem;
        margin-bottom: 4px;
    }

    .carousel-item-meta {
        font-size: 0.75rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        justify-items: center;
        text-align: center;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column h4 {
        text-align: center;
    }

    .footer-links {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links li {
        text-align: center;
    }
}

/* Panel de menú móvil */
.mobile-menu {
    display: none;
    position: fixed;
    top: 56px;
    left: 16px;
    right: 16px;
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    background: rgba(10, 11, 18, 0.98);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    z-index: 1200;
    box-sizing: border-box;
    overflow: hidden;
}

@media (max-width: 768px) {
    .mobile-menu {
        top: 62px;
        left: 12px;
        right: 12px;
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
    }
}

.mobile-menu.open { display: block; }

.mobile-menu-inner { 
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.mobile-menu-row { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

.mobile-menu-row .language-selector {
    flex: 1;
    min-width: 0;
}

.mobile-menu-row .language-selector select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.mobile-menu-actions { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 12px; 
    margin-top: 12px;
    width: 100%;
    box-sizing: border-box;
}

.mobile-menu .btn-login,
.mobile-menu .btn-signup { 
    width: 100%; 
    max-width: 100%;
    text-align: center;
    box-sizing: border-box;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* === LEGAL PAGES STYLES === */
.legal-page {
    background: var(--color-dark-bg);
    color: var(--color-text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.legal-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Legal pages now use .site-header - inherits main header styles */

/* Legal pages site-logo inherits from main .site-logo styles */

.legal-content {
    flex: 1;
    padding: 4rem 0;
}

.legal-content .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.legal-article {
    background: var(--color-dark-secondary);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 3rem;
    line-height: 1.8;
}

.legal-article h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.legal-article .effective-date {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    display: block;
}

.legal-article h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--color-text-white);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-article h3 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-article p {
    margin-bottom: 1.25rem;
    color: var(--color-text-light);
}

.legal-article ul, .legal-article ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--color-text-light);
}

.legal-article li {
    margin-bottom: 0.75rem;
}

.legal-article strong {
    color: var(--color-text-white);
    font-weight: 600;
}

.legal-article a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

.legal-article a:hover {
    text-decoration: underline;
}

.legal-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--color-dark-bg);
    border-radius: 8px;
    overflow: hidden;
}

.legal-article th,
.legal-article td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.legal-article th {
    background: var(--color-dark-tertiary);
    color: var(--color-primary);
    font-weight: 600;
}

.legal-article tr:last-child td {
    border-bottom: none;
}

.legal-back {
    margin-top: 3rem;
    text-align: center;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-back:hover {
    background: var(--color-primary);
    color: var(--color-dark-bg);
    box-shadow: 0 0 20px rgba(0, 255, 213, 0.4);
}

.legal-footer {
    background: var(--color-dark-secondary);
    border-top: 1px solid var(--color-border);
    padding: 2rem 0;
    margin-top: auto;
}

.legal-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.legal-footer p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.legal-footer-nav {
    display: flex;
    gap: 2rem;
}

.legal-footer-nav a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.legal-footer-nav a:hover {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .legal-article {
        padding: 2rem 1.5rem;
    }
    
    .legal-article h1 {
        font-size: 2rem;
    }
    
    .legal-article h2 {
        font-size: 1.5rem;
    }
    
    .legal-footer .container {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* === COOKIE BANNER === */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(6, 7, 13, 0.98) 0%, rgba(10, 11, 18, 0.98) 100%);
    backdrop-filter: blur(20px);
    border-top: 2px solid var(--color-primary);
    padding: 1.5rem;
    box-shadow: 0 -10px 40px rgba(0, 255, 213, 0.1);
    z-index: 9999;
    display: none;
    animation: slideUp 0.4s ease-out;
}

#cookie-banner.show {
    display: block;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.cookie-banner-text p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-banner-text a {
    color: var(--color-primary);
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.cookie-btn-accept {
    background: var(--color-primary);
    color: var(--color-dark-bg);
    border-color: var(--color-primary);
}

.cookie-btn-accept:hover {
    background: transparent;
    color: var(--color-primary);
    box-shadow: 0 0 20px rgba(0, 255, 213, 0.4);
}

.cookie-btn-reject {
    background: transparent;
    color: var(--color-text-light);
    border-color: var(--color-border);
}

.cookie-btn-reject:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.cookie-btn-settings {
    background: transparent;
    color: var(--color-text-muted);
    border-color: var(--color-border);
}

.cookie-btn-settings:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

@media (max-width: 768px) {
    #cookie-banner {
        padding: 1rem;
    }

    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .cookie-banner-text {
        min-width: auto;
    }
    
    .cookie-banner-text h3 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .cookie-banner-text p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .cookie-banner-buttons {
        width: 100%;
        gap: 0.75rem;
    }
    
    .cookie-btn {
        flex: 1;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

/* ========================================
   === UNDER CONSTRUCTION PAGE ===
   ======================================== */
.under-construction-page {
    background: var(--color-dark-bg);
}

.under-construction-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.construction-container {
    max-width: 800px;
    width: 100%;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.construction-content {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.construction-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    margin-top: 0px;
}

.construction-logo img {
    filter: drop-shadow(0 0 20px rgba(0, 255, 213, 0.5));
    display: block;
    max-width: none !important;
    width: 230px !important;
    height: 50px !important;
}

.construction-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-text-white) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    animation: glow 2s ease-in-out infinite alternate;
}

.construction-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 3rem;
}

/* Animation Pulse Circles */
.construction-animation {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 3rem auto;
}

.pulse-circle {
    position: absolute;
    border: 2px solid #e463ec;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    /* Refuerzo visual con el nuevo color solicitado */
    box-shadow: 0 0 10px rgba(228, 99, 236, 0.35), inset 0 0 8px rgba(228, 99, 236, 0.15);
    background: radial-gradient(circle, rgba(228, 99, 236, 0.08) 0%, rgba(228, 99, 236, 0) 70%);
}

.pulse-1 {
    width: 35px;
    height: 35px;
    animation-delay: 0s;
    opacity: 0.8;
}

.pulse-2 {
    width: 70px;
    height: 70px;
    animation-delay: 0.4s;
    opacity: 0.6;
}

.pulse-3 {
    width: 130px;
    height: 130px;
    animation-delay: 0.8s;
    opacity: 0.4;
}

/* Progress Bar */
.construction-progress {
    margin: 4rem 0 3rem 0;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 255, 213, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    width: 87%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary) 0%, rgba(0, 255, 213, 0.5) 100%);
    border-radius: 10px;
    animation: progressGlow 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(0, 255, 213, 0.5);
}

.progress-text {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
}

.progress-percentage {
    color: var(--color-primary);
    font-weight: 700;
}

.construction-countdown {
    margin: 2rem 0;
}

.countdown-text {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    font-style: italic;
}

.construction-cta {
    margin-top: 3rem;
}

.btn-construction {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--color-primary);
    color: var(--color-dark-bg);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 255, 213, 0.3);
    z-index: 9999;
    position: relative;
}

.btn-construction:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 255, 213, 0.5);
}

/* Background Stars */
.construction-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.star {
    position: absolute;
    background: var(--color-primary);
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

.star-1 { width: 4px; height: 4px; top: 10%; left: 10%; animation-delay: 0s; }
.star-2 { width: 3px; height: 3px; top: 20%; left: 80%; animation-delay: 0.5s; }
.star-3 { width: 5px; height: 5px; top: 40%; left: 15%; animation-delay: 1s; }
.star-4 { width: 2px; height: 2px; top: 60%; left: 70%; animation-delay: 1.5s; }
.star-5 { width: 4px; height: 4px; top: 80%; left: 25%; animation-delay: 2s; }
.star-6 { width: 3px; height: 3px; top: 30%; left: 60%; animation-delay: 0.3s; }
.star-7 { width: 5px; height: 5px; top: 70%; left: 85%; animation-delay: 0.8s; }
.star-8 { width: 3px; height: 3px; top: 50%; left: 45%; animation-delay: 1.2s; }

/* Keyframe Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes glow {
    0% { filter: drop-shadow(0 0 5px rgba(0, 255, 213, 0.3)); }
    100% { filter: drop-shadow(0 0 20px rgba(0, 255, 213, 0.8)); }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

@keyframes progressGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(0, 255, 213, 0.3); }
    50% { box-shadow: 0 0 25px rgba(0, 255, 213, 0.6); }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .construction-title {
        font-size: 2.5rem;
    }
    
    .construction-subtitle {
        font-size: 1rem;
    }
    
    .construction-animation {
        width: 130px;
        height: 130px;
        margin: 3rem auto;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .pulse-1 {
        width: 35px;
        height: 35px;
    }

    .pulse-2 {
        width: 70px;
        height: 70px;
    }

    .pulse-3 {
        width: 130px;
        height: 130px;
    }
    
    .construction-logo {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .construction-logo img {
        max-width: none !important;
        width: 230px !important;
        height: 50px !important;
        margin: 0 auto;
        display: block;
    }
}
