:root {
    --brand-orange: #ff6610;
    --brand-orange-light: #ff944d;
    --brand-orange-dark: #e04d00;
    --brand-gold: #e2ad5c;
    --bg-main: #090d16;
    --card-bg: rgba(17, 24, 39, 0.78);
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    --shadow-xl: 0 30px 60px -15px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.07);
    --shadow-orange: 0 14px 34px -6px rgba(255, 102, 16, 0.38);
    --radius-xl: 28px;
    --radius-lg: 18px;
    --radius-md: 14px;
}

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-main);
    background-image: radial-gradient(ellipse at top, #131b2e 0%, #090d16 70%);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1.25rem;
    position: relative;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Elementos decorativos de fondo */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(110px);
    z-index: -2;
    opacity: 0.35;
    pointer-events: none;
    animation: floatGlow 14s ease-in-out infinite alternate;
}

.bg-glow-1 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(255, 102, 16, 0.4) 0%, rgba(255, 148, 77, 0) 70%);
    top: -140px;
    right: -100px;
}

.bg-glow-2 {
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(226, 173, 92, 0.28) 0%, rgba(255, 102, 16, 0) 70%);
    bottom: -160px;
    left: -120px;
    animation-delay: -7s;
}

.bg-grid {
    position: fixed;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 28px 28px;
    z-index: -1;
    pointer-events: none;
}

@keyframes floatGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(-30px, 25px) scale(1.08);
    }
}

/* Contenedor Principal */
.container {
    width: 100%;
    max-width: 680px;
    z-index: 1;
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Tarjeta Principal */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.09);
    padding: 3rem 2.75rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-orange), var(--brand-orange-light), var(--brand-gold));
}

/* Logo superior */
.logo-wrapper {
    margin-bottom: 1.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-logo {
    max-width: 290px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo:hover {
    transform: scale(1.03);
}

/* Badge de estado */
.badge-container {
    margin-bottom: 1.5rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(255, 102, 16, 0.12);
    color: var(--brand-orange-light);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 0.45rem 1.05rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 102, 16, 0.28);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--brand-orange);
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--brand-orange);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.9);
        opacity: 0;
    }
}

/* Textos y Aviso Principal */
.title {
    font-size: clamp(1.65rem, 4vw, 2.2rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.highlight-domain {
    background: linear-gradient(135deg, var(--brand-orange-light) 0%, var(--brand-orange) 55%, var(--brand-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.notice-box {
    background: linear-gradient(145deg, rgba(255, 102, 16, 0.1), rgba(226, 173, 92, 0.05));
    border: 1px solid rgba(255, 102, 16, 0.3);
    border-radius: var(--radius-lg);
    padding: 1.55rem 1.75rem;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 28px -8px rgba(0, 0, 0, 0.4);
}

.notice-text {
    font-size: clamp(1.08rem, 2.5vw, 1.25rem);
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.55;
}

.notice-text strong {
    color: var(--brand-orange-light);
    font-weight: 700;
}

.subtitle {
    font-size: 0.98rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 2.25rem;
}

/* Sección de Tiendas */
.stores-section {
    margin-bottom: 2.5rem;
}

.stores-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.store-buttons {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 1.15rem;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 235px;
    padding: 0.95rem 1.35rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.store-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%);
    opacity: 0;
    transition: opacity 0.28s ease;
    z-index: 0;
}

.store-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-orange);
    border-color: rgba(255, 148, 77, 0.5);
}

.store-btn:hover::before {
    opacity: 1;
}

.store-btn:active {
    transform: translateY(-1px);
}

/* Estado recomendado cuando se detecta iOS o Android */
.store-btn.recommended-os {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 2px rgba(255, 102, 16, 0.3), 0 12px 24px -6px rgba(0, 0, 0, 0.5);
}

.btn-icon,
.btn-text,
.btn-arrow {
    position: relative;
    z-index: 1;
}

.btn-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-icon svg {
    width: 100%;
    height: 100%;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    flex-grow: 1;
}

.btn-small {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.8;
    line-height: 1.1;
    letter-spacing: 0.03em;
}

.btn-large {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.btn-arrow {
    width: 18px;
    height: 18px;
    opacity: 0.6;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.store-btn:hover .btn-arrow {
    transform: translate(3px, -3px);
    opacity: 1;
}

.device-hint {
    margin-top: 0.9rem;
    font-size: 0.84rem;
    color: var(--brand-orange-light);
    font-weight: 600;
    min-height: 1.25rem;
}

/* Pie de características */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-color);
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 102, 16, 0.12);
    border: 1px solid rgba(255, 102, 16, 0.2);
    color: var(--brand-orange-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.feature-item:hover .feature-icon {
    transform: translateY(-2px);
    background: rgba(255, 102, 16, 0.22);
    border-color: rgba(255, 102, 16, 0.4);
}

.feature-icon svg {
    width: 18px;
    height: 18px;
}

.copyright {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Adaptación móvil */
@media (max-width: 640px) {
    body {
        padding: 1.25rem 1rem;
    }

    .card {
        padding: 2.25rem 1.4rem;
        border-radius: 22px;
    }

    .brand-logo {
        max-width: 230px;
    }

    .notice-box {
        padding: 1.25rem 1.15rem;
    }

    .store-buttons {
        flex-direction: column;
    }

    .store-btn {
        width: 100%;
    }

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

    .feature-item {
        flex-direction: row;
        justify-content: center;
    }
}
