:root {
    --bg-color: #05050a;
    --text-color: #e0e0e0;
    --accent-color: #00ffff; /* Cyan neón para GyroRailJump */
    --accent-glow: rgba(0, 255, 255, 0.4);
    --secondary-bg: #111111;
    --text-muted: #888888;
    --font-main: 'Inter', 'Outfit', 'Noto Sans Devanagari', 'Noto Sans Thai', 'Noto Sans SC', 'Noto Sans TC', 'Noto Sans JP', 'Noto Sans KR', system-ui, -apple-system, sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    padding: 20px 40px;
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: #fff;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.logo-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.6));
}

.lang-selector {
    background: transparent;
    color: #fff;
    border: 1px solid #333;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    outline: none;
}

.lang-selector option {
    background: #000;
}

/* Hero Section */
.hero {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 140px 20px 60px;
    background: radial-gradient(circle at 50% 50%, #1a1a24 0%, #05050a 70%);
}

.hero-cover {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    margin-bottom: 35px;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-cover:hover {
    transform: scale(1.02);
    box-shadow: 0 0 35px rgba(0, 255, 255, 0.45);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Buttons */
.cta-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Buttons */
.cta-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn-primary,
.btn-secondary {
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: #0a0b10;
    color: #ffffff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.3s ease, 
                background-color 0.3s ease, 
                border-color 0.3s ease, 
                color 0.3s ease;
    font-size: 1rem;
    cursor: pointer;
}

/* Efecto Shimmer (reflejo de brillo al hacer hover) */
.btn-primary::after,
.btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: left 0.75s ease;
    z-index: 1;
}

.btn-primary:hover::after,
.btn-secondary:hover::after {
    left: 150%;
    transition: left 0.75s ease;
}

/* Botón Google Play (Cian Neón) */
.btn-primary {
    border: 1px solid rgba(0, 255, 255, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 10px rgba(0, 255, 255, 0.05);
}

.btn-primary:hover {
    background-color: #0d0f17;
    border-color: var(--accent-color);
    color: #ffffff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.35), 
                0 0 15px rgba(0, 255, 255, 0.15),
                inset 0 0 12px rgba(0, 255, 255, 0.1);
}

/* Botón Navegador (Verde Neón) */
.btn-secondary {
    border: 1px solid rgba(0, 255, 128, 0.25);
    color: #a3ffce;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 10px rgba(0, 255, 128, 0.05);
}

.btn-secondary:hover {
    background-color: #0d1712;
    border-color: #00ff80;
    color: #ffffff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 255, 128, 0.35), 
                0 0 15px rgba(0, 255, 128, 0.15),
                inset 0 0 12px rgba(0, 255, 128, 0.1);
}

/* Iconos de botones */
.btn-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
    z-index: 2;
}

/* El icono de Google Play debe estar en blanco/plata y brillar en cian al hacer hover */
.btn-primary .play-icon {
    color: #ffffff;
    fill: #ffffff;
}

.btn-primary:hover .play-icon {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.8));
}

.btn-secondary .btn-icon {
    color: #a3ffce;
    stroke: #a3ffce;
}

.btn-secondary:hover .btn-icon {
    color: #ffffff;
    stroke: #ffffff;
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 0 5px rgba(0, 255, 128, 0.8));
}

/* Contenedor de texto de botones con subtexto */
.btn-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 1.25;
    z-index: 2;
}

.btn-subtext {
    font-size: 11px;
    opacity: 0.8;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Adaptación del botón principal si detecta iOS/Mac y pasa a ser botón web (Verde Neón) */
.btn-primary.is-web-btn {
    border-color: rgba(0, 255, 128, 0.25);
    color: #a3ffce;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 10px rgba(0, 255, 128, 0.05);
}

.btn-primary.is-web-btn:hover {
    background-color: #0d1712;
    border-color: #00ff80;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 255, 128, 0.35), 
                0 0 15px rgba(0, 255, 128, 0.15),
                inset 0 0 12px rgba(0, 255, 128, 0.1);
}

.btn-primary.is-web-btn .play-icon {
    display: none !important;
}

.btn-primary.is-web-btn .web-icon {
    display: inline-block !important;
    color: #a3ffce;
    stroke: #a3ffce;
}

.btn-primary.is-web-btn:hover .web-icon {
    color: #ffffff;
    stroke: #ffffff;
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 0 5px rgba(0, 255, 128, 0.8));
}

.beta-notice {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 25px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.05);
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.2s; }
.delay-1-5 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.4s; }

/* Features Sections */
.features-section {
    padding: 80px 40px;
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.features-section.alt-bg {
    background: linear-gradient(180deg, #05050a 0%, #0c0c14 50%, #05050a 100%);
}

.section-header {
    margin-bottom: 50px;
    text-align: center;
    max-width: 800px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    display: inline-block;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    width: 100%;
}

.features-grid.two-columns {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.feature-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .cta-container {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
    .features-section {
        padding: 50px 20px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .features-grid, .features-grid.two-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .feature-card {
        padding: 30px 20px;
    }
}

/* Soporte RTL para árabe */
html[dir="rtl"] {
    text-align: right;
}

html[dir="rtl"] .logo {
    flex-direction: row-reverse;
}

html[dir="rtl"] .logo span {
    letter-spacing: 0;
}

html[dir="rtl"] .subtitle {
    text-align: center;
}

html[dir="rtl"] .hero h1 {
    text-align: center;
}

html[dir="rtl"] .feature-card {
    text-align: right;
}

html[dir="rtl"] .section-header {
    text-align: center;
}

/* Beta Premium Benefit Banner */
.beta-benefit-card {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto 35px;
    padding: 20px 24px;
    background: rgba(5, 5, 10, 0.45);
    border: 1.5px dashed var(--accent-color);
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.08), inset 0 0 15px rgba(0, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.beta-benefit-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.15), inset 0 0 20px rgba(0, 255, 255, 0.05);
    border-color: #ffffff;
}

.beta-benefit-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 50%;
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
}

.beta-benefit-card .gift-icon {
    width: 26px;
    height: 26px;
    color: var(--accent-color);
    filter: drop-shadow(0 0 5px var(--accent-color));
}

.beta-benefit-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.beta-benefit-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 0 0 8px var(--accent-glow);
}

.beta-benefit-desc {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #b0b0b8;
    text-align: justify;
}

.beta-benefit-link {
    align-self: center;
    color: #ffd700; /* Amarillo dorado para contraste y denotar acción */
    text-decoration: underline;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.2s, text-shadow 0.2s;
    width: fit-content;
}

.beta-benefit-link:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

/* RTL (Arabic) adjustments */
html[dir="rtl"] .beta-benefit-card {
    text-align: right;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .beta-benefit-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 20px;
    }
    
    html[dir="rtl"] .beta-benefit-card {
        flex-direction: column;
    }
}

/* Footer */
footer {
    padding: 60px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: #666;
    background: #030306;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-left p {
    margin: 0;
}

.footer-left strong {
    color: #fff;
}

.legal-text {
    font-size: 0.75rem;
    color: #444;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s, text-shadow 0.2s;
}

.footer-links a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 8px var(--accent-glow);
}

.footer-links p {
    margin: 0;
    color: #666;
}

.footer-links p a {
    display: inline;
    color: #888;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}


