/* Playdoit App - Estilo Premium Norteamericano */
/* Paleta: Azul marino profundo, Dorado, Blanco crema */

:root {
    --color-primario: #0a1628;
    --color-secundario: #1a2d4a;
    --color-dorado: #c9a227;
    --color-dorado-claro: #e8d48b;
    --color-crema: #f5f0e6;
    --color-texto: #e8e4dc;
    --color-texto-oscuro: #2c2c2c;
    --fuente-principal: 'Playfair Display', Georgia, serif;
    --fuente-secundaria: 'Montserrat', 'Segoe UI', sans-serif;
    --sombra-elegante: 0 8px 32px rgba(10, 22, 40, 0.4);
    --borde-dorado: 1px solid var(--color-dorado);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--fuente-secundaria);
    background: linear-gradient(135deg, var(--color-primario) 0%, var(--color-secundario) 100%);
    color: var(--color-texto);
    line-height: 1.7;
    min-height: 100vh;
}

/* Tipografía Premium */
h1, h2, h3, h4 {
    font-family: var(--fuente-principal);
    color: var(--color-dorado);
    font-weight: 600;
    letter-spacing: 0.02em;
}

h1 { font-size: 2.8rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.2rem; margin-bottom: 1.2rem; }
h3 { font-size: 1.6rem; margin-bottom: 1rem; }
h4 { font-size: 1.3rem; margin-bottom: 0.8rem; }

p {
    margin-bottom: 1.2rem;
    color: var(--color-texto);
}

a {
    color: var(--color-dorado);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-dorado-claro);
}

/* Contenedor Principal */
.contenedor {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navegación Premium */
.navegacion-principal {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: var(--borde-dorado);
}

.nav-contenido {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-marca {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-marca img {
    height: 52px;
    width: auto;
}

.logo-marca span {
    font-family: var(--fuente-principal);
    font-size: 1.6rem;
    color: var(--color-dorado);
    font-weight: 700;
}

.menu-navegacion {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.menu-navegacion a {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.5rem 0;
    position: relative;
}

.menu-navegacion a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-dorado);
    transition: width 0.3s ease;
}

.menu-navegacion a:hover::after {
    width: 100%;
}

.boton-cta {
    background: linear-gradient(135deg, var(--color-dorado) 0%, #a88620 100%);
    color: var(--color-primario);
    padding: 0.9rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

.boton-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.4);
    color: var(--color-primario);
}

/* Hero Section Premium */
.seccion-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-fondo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: 0;
}

.hero-contenido {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding: 4rem 0;
}

.hero-contenido h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-contenido p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-botones {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.boton-secundario {
    background: transparent;
    color: var(--color-dorado);
    padding: 0.9rem 2rem;
    border: 2px solid var(--color-dorado);
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.boton-secundario:hover {
    background: var(--color-dorado);
    color: var(--color-primario);
}

/* Secciones */
.seccion {
    padding: 5rem 0;
}

.seccion-clara {
    background: linear-gradient(180deg, rgba(26, 45, 74, 0.5) 0%, rgba(10, 22, 40, 0.8) 100%);
}

.seccion-titulo {
    text-align: center;
    margin-bottom: 3.5rem;
}

.seccion-titulo h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.seccion-titulo h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-dorado), transparent);
}

.seccion-titulo p {
    max-width: 680px;
    margin: 1.5rem auto 0;
    opacity: 0.85;
}

/* Grid de Juegos Premium */
.juegos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.juego-tarjeta {
    background: linear-gradient(145deg, rgba(26, 45, 74, 0.9) 0%, rgba(10, 22, 40, 0.95) 100%);
    border-radius: 12px;
    overflow: hidden;
    border: var(--borde-dorado);
    transition: all 0.4s ease;
    box-shadow: var(--sombra-elegante);
}

.juego-tarjeta:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(201, 162, 39, 0.15);
}

.juego-imagen {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.juego-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.juego-tarjeta:hover .juego-imagen img {
    transform: scale(1.08);
}

.juego-contenido {
    padding: 1.8rem;
}

.juego-contenido h3 {
    margin-bottom: 0.8rem;
}

.juego-contenido p {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

/* Características Premium */
.caracteristicas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.caracteristica-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(26, 45, 74, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(201, 162, 39, 0.2);
    transition: all 0.3s ease;
}

.caracteristica-item:hover {
    border-color: var(--color-dorado);
    background: rgba(26, 45, 74, 0.8);
}

.caracteristica-icono {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--color-dorado) 0%, #a88620 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

/* Testimonios Premium */
.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.testimonio-tarjeta {
    background: rgba(26, 45, 74, 0.7);
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--color-dorado);
    position: relative;
}

.testimonio-tarjeta::before {
    content: '"';
    font-family: var(--fuente-principal);
    font-size: 5rem;
    color: var(--color-dorado);
    opacity: 0.2;
    position: absolute;
    top: 0.5rem;
    left: 1.5rem;
    line-height: 1;
}

.testimonio-contenido {
    position: relative;
    z-index: 1;
}

.testimonio-texto {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonio-autor {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonio-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-dorado);
}

.testimonio-info h4 {
    color: var(--color-dorado);
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.testimonio-info span {
    font-size: 0.85rem;
    opacity: 0.7;
}

.testimonio-estrellas {
    color: var(--color-dorado);
    margin-top: 0.5rem;
    font-size: 1rem;
}

/* FAQ Premium */
.faq-lista {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(26, 45, 74, 0.6);
    margin-bottom: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(201, 162, 39, 0.2);
    overflow: hidden;
}

.faq-pregunta {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-pregunta:hover {
    background: rgba(201, 162, 39, 0.1);
}

.faq-pregunta h4 {
    color: var(--color-texto);
    font-family: var(--fuente-secundaria);
    font-weight: 600;
    margin: 0;
}

.faq-icono {
    color: var(--color-dorado);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-respuesta {
    padding: 0 2rem 1.5rem;
    display: none;
}

.faq-item.activo .faq-respuesta {
    display: block;
}

.faq-item.activo .faq-icono {
    transform: rotate(45deg);
}

/* Métodos de Pago */
.metodos-pago-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
}

.metodo-pago-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem 2.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(201, 162, 39, 0.2);
    transition: all 0.3s ease;
}

.metodo-pago-item:hover {
    border-color: var(--color-dorado);
    transform: translateY(-4px);
}

.metodo-pago-item img {
    height: 40px;
    width: auto;
    margin-bottom: 0.8rem;
}

/* Footer Premium */
.pie-pagina {
    background: var(--color-primario);
    border-top: var(--borde-dorado);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-columna h4 {
    color: var(--color-dorado);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-columna ul {
    list-style: none;
}

.footer-columna li {
    margin-bottom: 0.8rem;
}

.footer-columna a {
    color: var(--color-texto);
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-columna a:hover {
    opacity: 1;
    color: var(--color-dorado);
}

.footer-inferior {
    border-top: 1px solid rgba(201, 162, 39, 0.2);
    padding-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.footer-legal {
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-badges {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-badges img {
    height: 48px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-badges img:hover {
    opacity: 1;
}

.edad-restriccion {
    background: var(--color-dorado);
    color: var(--color-primario);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}

/* Responsivo */
@media (max-width: 992px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    
    .hero-contenido h1 {
        font-size: 2.5rem;
    }
    
    .menu-navegacion {
        display: none;
    }
    
    .nav-contenido {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .contenedor {
        padding: 0 1.5rem;
    }
    
    .seccion {
        padding: 3.5rem 0;
    }
    
    .hero-contenido h1 {
        font-size: 2rem;
    }
    
    .hero-botones {
        flex-direction: column;
    }
    
    .juegos-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonios-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-inferior {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .logo-marca img {
        height: 40px;
    }
    
    .logo-marca span {
        font-size: 1.3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Animaciones sutiles */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animacion-entrada {
    animation: fadeInUp 0.6s ease forwards;
}

/* Utilidades */
.texto-centro { text-align: center; }
.texto-dorado { color: var(--color-dorado); }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-2 { margin-top: 2rem; }
