/* ===================================
   VARIABLES Y CONFIGURACIÓN GLOBAL
   =================================== */
:root {
    --primary-gold: #FFD700;
    --primary-purple: #9D4EDD;
    --primary-cyan: #00F5FF;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: rgba(20, 20, 20, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-red: #FF1744;
    --accent-green: #00E676;
    --border-radius: 20px;
    --transition: all 0.3s ease;
}

/* ===================================
   RESET Y ESTILOS BASE
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--darker-bg) 0%, #1a0a2e 50%, var(--darker-bg) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ===================================
   EFECTOS DE FONDO - LÍNEAS NEÓN
   =================================== */
.neon-lights {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.neon-line {
    position: absolute;
    background: linear-gradient(180deg, transparent, rgba(157, 78, 221, 0.15), transparent);
    animation: neonMoveDown 20s linear infinite;
    will-change: transform;
}

.neon-line-1 {
    width: 1px;
    height: 30%;
    left: 15%;
    animation-delay: 0s;
}

.neon-line-2 {
    width: 1px;
    height: 25%;
    left: 45%;
    animation-delay: 5s;
    background: linear-gradient(180deg, transparent, rgba(34, 211, 238, 0.15), transparent);
}

.neon-line-3 {
    width: 1px;
    height: 35%;
    left: 75%;
    animation-delay: 10s;
}

.neon-line-4 {
    width: 1px;
    height: 28%;
    left: 85%;
    animation-delay: 15s;
    background: linear-gradient(180deg, transparent, rgba(255, 215, 0, 0.15), transparent);
}

@keyframes neonMoveDown {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: translateY(100vh); opacity: 0; }
}

/* ===================================
   EFECTOS DE FONDO - FICHAS DE CASINO
   =================================== */
.casino-chips {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.chip {
    position: absolute;
    font-size: 2rem;
    animation: float 25s infinite ease-in-out;
    opacity: 0.2;
    will-change: transform;
}

.chip-1 { top: 10%; left: 10%; animation-delay: 0s; }
.chip-2 { top: 20%; right: 15%; animation-delay: 3s; }
.chip-3 { top: 60%; left: 5%; animation-delay: 6s; }
.chip-4 { top: 70%; right: 10%; animation-delay: 9s; }
.chip-5 { top: 40%; left: 20%; animation-delay: 12s; }
.chip-6 { top: 80%; left: 70%; animation-delay: 15s; }
.chip-7 { top: 30%; right: 30%; animation-delay: 18s; }
.chip-8 { top: 90%; right: 40%; animation-delay: 21s; }

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

/* ===================================
   CONTENEDOR PRINCIPAL
   =================================== */
.coming-soon-container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

/* ===================================
   BOTÓN DE REGRESO
   =================================== */
.logo-section {
    margin-bottom: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    background: var(--card-bg);
    border: 2px solid transparent;
    border-radius: 50px;
    transition: var(--transition);
}

.back-link:hover {
    border-color: var(--primary-gold);
    transform: translateX(-5px);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.back-link svg {
    transition: var(--transition);
}

.back-link:hover svg {
    transform: translateX(-3px);
}

/* ===================================
   CONTENIDO PRINCIPAL
   =================================== */
.content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

/* ===================================
   ÍCONO DE DESCARGA
   =================================== */
.download-icon {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
}

.phone-icon {
    font-size: 5rem;
    position: relative;
    animation: bounce 2s infinite;
}

.download-arrow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    animation: arrowBounce 1.5s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes arrowBounce {
    0%, 100% { transform: translate(-50%, 0); opacity: 1; }
    50% { transform: translate(-50%, 8px); opacity: 0.6; }
}

/* ===================================
   TÍTULO PRINCIPAL
   =================================== */
.main-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 2rem 0;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    align-items: center;
}

.title-line {
    display: block;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    color: var(--text-primary);
    will-change: opacity, transform;
}

.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.2s; }
.title-line:nth-child(3) { animation-delay: 0.3s; }
.title-line:nth-child(4) { animation-delay: 0.4s; }

.neon-glow {
    color: #a855f7;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.6),
                 0 0 40px rgba(168, 85, 247, 0.4);
}

.neon-glow-cyan {
    color: #22d3ee;
    text-shadow: 0 0 20px rgba(34, 211, 238, 0.6),
                 0 0 40px rgba(34, 211, 238, 0.4);
}

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

@keyframes neonPulse {
    from { 
        text-shadow: 0 0 20px currentColor, 0 0 40px currentColor; 
    }
    to { 
        text-shadow: 0 0 30px currentColor, 0 0 60px currentColor; 
    }
}

/* ===================================
   SUBTÍTULO
   =================================== */
.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 2rem auto;
    max-width: 700px;
    line-height: 1.6;
    text-align: center;
}

.subtitle strong {
    color: var(--primary-gold);
    font-weight: 600;
}

/* ===================================
   CARACTERÍSTICAS
   =================================== */
.features-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 3rem auto;
    max-width: 900px;
}

.feature-item {
    background: var(--card-bg);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.feature-item:hover {
    border-color: var(--primary-gold);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
}

.feature-item span:last-child {
    font-weight: 600;
    font-size: 1.1rem;
}

/* ===================================
   SECCIÓN DE VIDEO
   =================================== */
.video-section {
    margin: 4rem auto;
    max-width: 900px;
}

.section-title-video {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
}

.title-icon {
    font-size: 2.5rem;
}

.video-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.video-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    aspect-ratio: 16 / 9; /* o 4/3, 21/9, lo que necesites */
}

.app-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.6);
}

.play-button {
    background: var(--primary-gold);
    border: none;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--dark-bg);
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px var(--primary-gold);
}

/* ===================================
   SECCIÓN DE JUEGOS
   =================================== */
.games-preview-section {
    margin: 4rem auto;
    max-width: 900px;
}

.section-title-games {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
}

.games-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* ===================================
   CONTADOR REGRESIVO
   =================================== */
.countdown-section {
    margin: 4rem auto;
    max-width: 800px;
}

.countdown-label {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    text-align: center;
}

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

.time-unit {
    background: var(--card-bg);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-purple);
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.2);
}

.time-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-gold);
    text-shadow: 0 0 10px var(--primary-gold);
}

.time-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.time-separator {
    font-size: 2rem;
    color: var(--primary-purple);
    font-weight: 700;
}

/* ===================================
   SECCIÓN DE NOTIFICACIÓN
   =================================== */
.notify-section {
    margin: 4rem auto;
    max-width: 600px;
    background: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-purple);
    box-shadow: 0 20px 60px rgba(157, 78, 221, 0.2);
}

.notify-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-gold);
    text-align: center;
}

.notify-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    text-align: center;
}

.notify-form {
    width: 100%;
}

.input-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.email-input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.email-input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

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

.submit-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-cyan));
    border: none;
    border-radius: 50px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-message {
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
    padding: 0.75rem;
    border-radius: 10px;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(0, 230, 118, 0.1);
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
}

.form-message.error {
    display: block;
    background: rgba(255, 23, 68, 0.1);
    color: var(--accent-red);
    border: 1px solid var(--accent-red);
}

/* ===================================
   FOOTER
   =================================== */
.coming-soon-footer {
    margin-top: 5rem;
    padding: 3rem 2rem 4rem 2rem;
    text-align: center;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    margin-bottom: 2rem;
}

.social-links p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-icon {
    font-size: 2rem;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.2);
}

.footer-text {
    color: var(--text-secondary);
    margin: 1rem 0;
    font-size: 0.95rem;
}

.footer-warning {
    color: var(--accent-red);
    font-weight: 600;
    margin-top: 2rem;
    padding-bottom: 2rem;
    font-size: 1.1rem;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
    .coming-soon-container {
        padding: 1rem;
    }

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

    .subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .features-preview {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .section-title-video,
    .section-title-games {
        font-size: 2rem;
        flex-direction: column;
    }

    .countdown {
        gap: 0.5rem;
    }

    .time-unit {
        min-width: 80px;
        padding: 1.5rem 1rem;
    }

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

    .time-separator {
        font-size: 1.5rem;
    }

    .notify-section {
        padding: 2rem 1.5rem;
    }

    .notify-title {
        font-size: 1.5rem;
    }

    .input-group {
        flex-direction: column;
    }

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

    .submit-btn {
        width: 100%;
        justify-content: center;
    }

    .phone-icon {
        font-size: 3.5rem;
    }

    .download-arrow {
        font-size: 1.5rem;
        bottom: -15px;
    }
}

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

    .time-unit {
        min-width: 70px;
        padding: 1rem 0.75rem;
    }

    .time-value {
        font-size: 1.5rem;
    }

    .time-label {
        font-size: 0.75rem;
    }

    .chip {
        font-size: 1.5rem;
    }
}