/* =========================================
   index.css | THE PUCK GAMES LANDING
   ========================================= */

/* --- HUB HERO --- */
.hub-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
    text-align: center;
}

.selection-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    letter-spacing: -0.5px;
    animation: fadeIn 0.8s ease-out;
}

/* --- GAME CARDS --- */
.games-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.game-card {
    position: relative;
    background: rgba(20, 26, 38, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: var(--neon-blue);
    background: #1a222e;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.card-glow {
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.game-card:hover .card-glow { opacity: 1; }

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.3));
}

.game-title {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.game-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 25px;
}

/* --- ETIQUETA "DAILY" ESTILO NEÓN --- */
.card-badge.daily {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, rgba(20, 26, 38, 0.9), rgba(13, 17, 26, 0.95)); 
    border: 1px solid var(--neon-yellow-green); 
    border-radius: 50px; 
    padding: 6px 16px; 
    color: var(--neon-yellow-green); 
    font-weight: 800;
    font-size: 0.8rem; 
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 0 10px 2px var(--neon-yellow-green-glow);
    z-index: 10;
    animation: pulsingNeonBadge 2.5s infinite;
}

@keyframes pulsingNeonBadge {
    0% { box-shadow: 0 0 10px 2px var(--neon-yellow-green-glow); transform: scale(1); }
    50% { box-shadow: 0 0 18px 4px var(--neon-yellow-green-glow); transform: scale(1.02); }
    100% { box-shadow: 0 0 10px 2px var(--neon-yellow-green-glow); transform: scale(1); }
}

/* --- CARD ACTION (BOTTOM) --- */
.card-action {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    transition: all 0.3s;
}

.play-text {
    font-weight: 900;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.game-card:hover .card-action {
    color: var(--neon-blue);
    border-top-color: rgba(0, 242, 255, 0.2);
}

.game-card:hover svg {
    transform: translateX(5px);
}

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

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-section {
    width: 100%;
    margin: 4rem 0 0 0;
    padding: 4rem 2rem;
    border-top: 1px solid rgba(0, 242, 255, 0.2); 
    border-bottom: 1px solid rgba(0, 242, 255, 0.2);
    background: rgba(13, 17, 26, 0.4); 
    box-sizing: border-box; 
}

.faq-container {
    max-width: 800px; 
    margin: 0 auto;
    text-align: left;
}

.faq-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.faq-title .accent {
    color: var(--neon-blue); 
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--neon-blue); 
    margin-top: 1.8rem;
    margin-bottom: 0.6rem;
    letter-spacing: -0.3px;
}

.faq-answer {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

.faq-answer strong {
    color: #fff;
    font-weight: 700;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at top, #111827 0%, var(--bg-color) 70%);
    background-attachment: fixed; /* <-- ESTO QUITA EL LAG DEL FONDO */
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden; 
}

*, *::before, *::after {
    box-sizing: border-box;
}/* =========================================
   COMING SOON & LOCKED CARDS
   ========================================= */

/* --- ETIQUETA "COMING SOON" ESTILO NEÓN NARANJA --- */

/* =========================================
   COMING SOON & LOCKED CARDS (V2 - Premium)
   ========================================= */

/* --- ETIQUETA "COMING SOON" --- */
.card-badge.coming-soon {
    position: absolute;
    top: 10px;
    left: 10px;
    /* Fondo oscuro para que el naranja resalte más */
    background: linear-gradient(135deg, rgba(30, 20, 10, 0.95), rgba(15, 10, 5, 0.98)); 
    border: 1px solid #ff9d00; 
    border-radius: 50px; 
    padding: 6px 16px; 
    color: #ff9d00; 
    font-weight: 800;
    font-size: 0.8rem; 
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 0 12px 1px rgba(255, 157, 0, 0.3);
    z-index: 10;
}

/* --- TARJETAS BLOQUEADAS --- */
.game-card.locked {
    cursor: not-allowed !important;
    background: rgba(10, 13, 20, 0.8) !important; /* Fondo más oscuro que las normales */
    border: 1px dashed rgba(255, 157, 0, 0.3) !important; /* Borde punteado naranja sutil */
    position: relative;
    z-index: 1;
}

/* Efecto visual de rayas diagonales en el fondo (scanlines) */
.game-card.locked::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.015) 10px,
        rgba(255, 255, 255, 0.015) 20px
    );
    pointer-events: none;
    z-index: -1;
}

/* Hacemos que el contenido interior (iconos, texto) esté un poco opaco */
.game-card.locked > .card-icon,
.game-card.locked > .card-content {
    opacity: 0.5;
    transition: opacity 0.3s ease;
    filter: grayscale(0.5);
}

/* --- ANULACIÓN ROBUSTA DE HOVER --- */
.game-card.locked:hover {
    transform: translateY(0) !important; /* Evita que salte hacia arriba */
    box-shadow: 0 4px 15px rgba(0,0,0,0.4) !important; /* Sombra estática, sin neón */
    border-color: rgba(255, 157, 0, 0.6) !important; /* El borde brilla un poco al pasar el ratón */
}

/* Al pasar el ratón, el contenido se ilumina un poco, pero sigue bloqueado */
.game-card.locked:hover > .card-icon,
.game-card.locked:hover > .card-content {
    opacity: 0.7;
}

/* Apagamos el brillo neón de fondo por completo */
.game-card.locked .card-glow {
    display: none !important; 
}

/* Estilo para la parte inferior (Action) */
.game-card.locked .card-action {
    color: rgba(255, 255, 255, 0.3) !important;
    border-top-color: rgba(255, 255, 255, 0.05) !important;
}

.game-card.locked:hover .card-action {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* Evitamos que el icono del candado se mueva */
.game-card.locked:hover svg {
    transform: none !important;
}