/* ==========================================================================
   CONFIGURACIÓN DE VARIABLES Y PALETA DE COLORES (NBA, FIBA, 2K STYLE)
   ========================================================================== */
:root {
    --bg-color: #0d0e12;               /* Fondo ultra oscuro profundo */
    --surface-color: rgba(22, 26, 37, 0.65); /* Tarjetas con efecto cristal (Glassmorphism) */
    --border-color: rgba(255, 255, 255, 0.08); /* Bordes sutiles de alta tecnología */
    
    /* Acentos de identidad deportiva */
    --primary-accent: #ff471a;         /* Rojo/Naranja FIBA de alta intensidad */
    --secondary-accent: #0052cc;       /* Azul corporativo de baloncesto */
    
    /* Tipografías y textos */
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --font-sport: 'Montserrat', sans-serif;
    --font-clean: 'Inter', sans-serif;
}

/* ==========================================================================
   RESETEO Y ESTILOS BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-clean);
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    overflow-x: hidden;
    
    /* Atmósfera de estadio/videojuego: Luces de neón difusas en las esquinas */
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 71, 26, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 90% 80%, rgba(0, 82, 204, 0.15) 0%, transparent 45%);
    background-attachment: fixed;
}

/* ==========================================================================
   ESTRUCTURA DE LA PÁGINA (ESTILO LANDING LINKTREE PREMIUM)
   ========================================================================== */
.wrapper {
    width: 100%;
    max-width: 520px;
    padding: 40px 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ==========================================================================
   CABECERA (IDENTIDAD DE LA FEDERACIÓN)
   ========================================================================== */
.brand-header {
    margin-bottom: 35px;
}

/* Contenedor del Logo (Estilo trofeo / Insignia FIBA) */
.logo-placeholder {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    border-radius: 50%;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 35px rgba(255, 71, 26, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-placeholder:hover {
    transform: scale(1.08) rotate(5deg);
}

.logo-placeholder i {
    font-size: 42px;
    color: #fff;
    transform: rotate(-15deg);
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3));
}

/* Títulos con tipografía masiva tipo marquesina de la NBA */
.brand-header h1 {
    font-family: var(--font-sport);
    font-weight: 900;
    font-size: 2.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(180deg, #ffffff 50%, #a3a3a3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.brand-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
}

/* ==========================================================================
   HUB DE REDES SOCIALES (BOTONES / TARJETAS INTERACTIVAS)
   ========================================================================== */
.social-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.social-card {
    display: flex;
    align-items: center;
    padding: 18px 24px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    color: var(--text-main);
    text-decoration: none;
    font-family: var(--font-sport);
    font-weight: 700;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

/* Efecto de destello de luz al pasar el cursor (Simula interfaz de videojuego) */
.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.08),
        transparent
    );
    transition: 0.6s;
}

.social-card:hover::before {
    left: 100%;
}

/* Animación de elevación al seleccionar */
.social-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.social-card i {
    font-size: 24px;
    width: 40px;
    text-align: left;
    transition: transform 0.3s ease;
}

.social-card:hover i {
    transform: scale(1.2);
}

/* Personalización de colores de enfoque deportivo (Brillo de Marca) */
.social-card.instagram:hover { color: #e1306c; box-shadow: 0 0 25px rgba(225, 48, 108, 0.25); }
.social-card.facebook:hover { color: #1877f2; box-shadow: 0 0 25px rgba(24, 119, 242, 0.25); }
.social-card.tiktok:hover { color: #00f2fe; box-shadow: 0 0 25px rgba(0, 242, 254, 0.25); }
.social-card.youtube:hover { color: #ff0000; box-shadow: 0 0 25px rgba(255, 0, 0, 0.25); }

/* Icono de flecha derecha */
.arrow-icon {
    margin-left: auto;
    font-size: 14px !important;
    opacity: 0.3;
    transform: none !important;
    transition: all 0.3s ease !important;
}

.social-card:hover .arrow-icon {
    opacity: 1;
    transform: translateX(4px) !important;
    color: #fff;
}

/* ==========================================================================
   CONTADOR DE TIEMPO (CUENTA REGRESIVA FASE 2)
   ========================================================================== */
.countdown-section {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 26px 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.01);
}

.countdown-section h3 {
    font-family: var(--font-sport);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-accent);
    margin-bottom: 18px;
    font-weight: 700;
}

/* Grid de los marcadores del reloj */
.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.countdown-box {
    background: rgba(0, 0, 0, 0.4);
    padding: 14px 5px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Números masivos tipo marcador electrónico de pabellón */
.countdown-box .number {
    font-family: var(--font-sport);
    font-weight: 900;
    font-size: 1.7rem;
    display: block;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    line-height: 1.2;
}

.countdown-box .label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-top: 4px;
    display: block;
    font-weight: 600;
}

/* ==========================================================================
   PIE DE PÁGINA (FOOTER CORPORATIVO)
   ========================================================================== */
footer {
    padding: 25px 20px;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 400;
}

/* ==========================================================================
   RESPONSIVE DESIGN (OPTIMIZACIÓN PARA DISPOSITIVOS MÓVILES)
   ========================================================================== */
@media (max-width: 420px) {
    .wrapper {
        padding: 30px 15px;
    }
    
    .brand-header h1 {
        font-size: 1.8rem;
    }
    
    .social-card {
        padding: 15px 20px;
        font-size: 0.95rem;
    }
    
    .countdown-grid {
        gap: 8px;
    }
    
    .countdown-box .number {
        font-size: 1.4rem;
    }
}