/* --- Tipstar MX - Estilos v2 (Basado en Wireframe) --- */

/* 1. Ajustes Globales y Contenedor Principal */
:root {
    --color-primary: #3d5afe;
    --color-secondary: #00e676; /* Verde brillante para el botón de registro */
    --color-surface: #ffffff;
    --color-background: #e9ecef; /* Gris claro para mayor contraste */
    --color-text-primary: #212529;
    --color-text-secondary: #6c757d;
    --color-border: #dee2e6;
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body {
    background-color: var(--color-background);
}

.container-v2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 2. Hero Banner */
.hero-banner {
    position: relative;
    width: 100%;
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
}

.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-banner-content {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
}

.btn-register {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--color-secondary);
    color: var(--color-text-primary);
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 230, 118, 0.4);
    transition: all 0.3s ease;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 230, 118, 0.5);
}

/* 3. Selector de Deportes */
.sports-selector-section {
    text-align: center;
    padding: 30px 0;
}

.sports-selector-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.sports-selector {
    display: flex;
    justify-content: space-around;
    background-color: var(--color-surface);
    padding: 10px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.sport-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 600;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.sport-item svg {
    width: 28px;
    height: 28px;
}

.sport-item.active {
    color: var(--color-primary);
}

.sport-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.sport-item:not(.disabled):hover {
    background-color: #f8f9fa;
}


/* 4. Sección de Picks (Ajustes a las tarjetas existentes) */
.picks-section {
    padding: 30px 0;
    text-align: center;
}

.picks-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.picks-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .picks-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

.pick-card {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: none; /* Diseño más plano */
}

.pick-card-header {
    background-color: transparent;
    font-size: 0.85rem;
    padding: 12px 15px;
}

.pick-card-body {
    padding: 20px 15px;
    font-size: 0.9rem;
}

.pick-card-body .team {
    width: 35%; /* Más compacto */
}
.pick-card-body .team img {
    width: 40px;
    height: 40px;
}

.pick-card-footer {
    padding: 12px 15px;
    border-radius: 0 0 10px 10px; /* Redondeo solo abajo */
}

.pick-card-footer .pick-market {
    font-size: 0.75rem;
}
.pick-card-footer .pick-prediction {
    font-size: 1rem;
}

.pick-card-footer .details-btn {
    background-color: var(--color-surface);
    color: var(--color-primary);
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* 5. Sección CTA */
.cta-section {
    background-color: var(--color-primary);
    color: white;
    border-radius: 15px;
    margin: 40px 0;
    padding: 40px 20px;
    text-align: center;
}

.cta-section h2 {
    color: white;
    border: none;
    font-size: 1.5rem;
}

.cta-section p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.btn-cta {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    transition: transform 0.3s ease;
    border: none;
    cursor: pointer;
    background-color: white;
    color: var(--color-primary);
}

.btn-cta:hover {
    transform: translateY(-2px);
}
/* --- NUEVOS ESTILOS PARA index.php --- */

/* 1. Nuevo Hero Section Elegante (v2 - Ancho Completo y Responsivo) */
.hero-section-v2 {
    position: relative;
    width: 100%; /* Ocupa todo el ancho disponible */
    height: 400px; /* Un poco menos de altura para móviles */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/hero-banner.jpg');
    background-size: cover;
    background-position: center;
    padding: 20px;
}

.hero-content h1 {
    font-size: 2.2rem; /* Tamaño de fuente base para móvil */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 500px; /* Evita que el texto sea demasiado largo en escritorio */
    margin-left: auto;
    margin-right: auto;
}

.btn-hero {
    display: inline-block;
    padding: 12px 35px;
    background-color: var(--color-secondary);
    color: var(--color-text-primary);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 230, 118, 0.4);
    transition: all 0.3s ease;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 230, 118, 0.5);
}

/* Ajustes para pantallas más grandes (tablets y escritorio) */
@media (min-width: 768px) {
    .hero-section-v2 {
        height: 400px; /* Mayor altura en escritorio */
    }

    .hero-content h1 {
        font-size: 3rem; /* Título más grande en escritorio */
    }
}

/* 2. Nueva Sección de Planes de Precios */
.pricing-section {
    padding: 40px 0;
    text-align: center;
}

.pricing-section h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.pricing-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.pricing-card.recommended {
    border-color: var(--color-primary);
    border-width: 2px;
}

.pricing-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 25px;
}

.pricing-card .price .periodo {
    font-size: 1rem;
    color: var(--color-text-secondary);
    font-weight: 400;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
    color: var(--color-text-secondary);
}

.pricing-card ul li {
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* --- ESTILOS UNIFICADOS PARA EL SELECTOR DE DEPORTES --- */

.sports-selector {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px;
    background-color: var(--color-surface);
    border-radius: 12px;
    margin: 0 10px 15px 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.sport-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}
.sport-item svg {
    width: 28px;
    height: 28px;
}
.sport-item.active {
    color: var(--primary-color);
}
.sport-item.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.sport-item:not(.disabled):hover {
    background-color: #f8f9fa;
}
/* --- ESTILOS UNIFICADOS PARA EL SELECTOR DE DEPORTES (v2 - Iconos más grandes) --- */

.sports-selector {
    display: flex;
    justify-content: space-around;
    padding: 10px;
}
.sport-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 600;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.8rem; /* Aumentamos ligeramente el texto */
}
.sport-item img {
    width: 40px;  /* Aumentamos el tamaño de 32px a 40px */
    height: 40px; /* Aumentamos el tamaño de 32px a 40px */
}
.sport-item.active {
    color: var(--primary-color);
}
.sport-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.sport-item:not(.disabled):hover {
    background-color: #f8f9fa;
}