/* sections.css - SECCIONES ESPECÍFICAS CON TEMA OSCURO + NFL */

/* ===== HERO SECTION ===== */
.hero-section {
    background: var(--gradient-hero);
    color: var(--white);
    padding: var(--space-xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff10"><polygon points="0,0 1000,50 1000,100 0,100"/></svg>') bottom center no-repeat;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: var(--space-sm);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    background: linear-gradient(135deg, var(--white) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    opacity: 0.9;
    color: var(--text-light);
}

.hero-info {
    font-size: 1.2rem;
    margin-bottom: var(--space-lg);
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.beta-badge-container {
    margin-bottom: var(--space-lg);
}

/* ===== SECCIONES GENERALES ===== */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--space-lg);
}

/* ===== PROPUESTAS DE VALOR ===== */
.prop-card {
    text-align: center;
    padding: var(--space-lg);
    height: 100%;
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.prop-card:hover {
    transform: translateY(-8px);
    border-color: var(--nfl-blue);
    box-shadow: var(--shadow-glow);
}

.prop-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.prop-card h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    font-size: 1.5rem;
}

.prop-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== SECCIÓN PRONÓSTICOS ===== */
.predictions-access-card {
    text-align: center;
    padding: 3rem;
    background: var(--gradient-card) !important;
    border: 2px solid var(--nfl-blue);
}

.access-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    font-size: 2rem;
}

.access-description {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.prediction-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.predictions-subtitle {
    text-align: center;
    margin-bottom: var(--space-lg);
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ===== HOW IT WORKS ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.step-card {
    text-align: center;
    padding: var(--space-lg);
    position: relative;
    border: 1px solid transparent;
    transition: all var(--transition-normal);
}

.step-card:hover {
    border-color: var(--nfl-blue);
    transform: translateY(-5px);
}

.step-number {
    background: var(--gradient-gold);
    color: var(--gray-dark);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto var(--space-md);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
}

.step-card h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    font-size: 1.3rem;
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== FEATURES SECTION ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.feature-card {
    text-align: center;
    padding: var(--space-lg);
    border: 1px solid transparent;
    transition: all var(--transition-normal);
}

.feature-card:hover {
    border-color: var(--nfl-red);
    transform: translateY(-5px);
}

.feature-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-card strong {
    color: var(--gold);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    padding: var(--space-xl) 0;
    border-radius: var(--radius-lg);
    margin-top: var(--space-lg);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff10"><polygon points="0,100 1000,50 1000,0 0,0"/></svg>') top center no-repeat;
    background-size: cover;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: var(--space-lg);
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== SECCIÓN DE ANÁLISIS COMPLETO ===== */
.metric-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.metric-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    border-color: var(--nfl-blue);
}

.metric-card h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.metric-card .valor {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    margin: 0;
}

/* Distribución Protouch */
.distribucion-item {
    padding: 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    border: 2px solid transparent;
    transition: all var(--transition-normal);
}

.distribucion-item:hover {
    transform: scale(1.05);
}

.distribucion-local {
    background: rgba(1, 51, 105, 0.3);
    border-color: var(--nfl-blue);
}

.distribucion-visita {
    background: rgba(213, 10, 10, 0.3);
    border-color: var(--nfl-red);
}

.distribucion-dif {
    background: rgba(184, 134, 11, 0.3);
    border-color: var(--gold-dark);
}

.distribucion-item h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.distribucion-item .valor {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-light);
    margin: 0;
}

/* ===== SECCIÓN DE PERFIL DE USUARIO ===== */
.profile-section {
    padding: 2rem 0;
}

.profile-header {
    text-align: center;
    margin-bottom: 3rem;
}

.profile-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.profile-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}

.card-title {
    color: var(--nfl-blue);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.subsection-title {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-primary);
}

/* GRUPO DE IMAGEN DE PERFIL */
.profile-image-group {
    text-align: center;
}

.image-upload-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.current-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    overflow: hidden;
    position: relative;
    background: var(--bg-secondary);
}

.profile-image-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--nfl-blue), var(--nfl-red));
    color: var(--white);
    font-weight: bold;
    font-size: 2rem;
}

.placeholder-text {
    font-size: 0.9rem;
    font-weight: normal;
}

.image-upload-controls {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: var(--space-xl) 0;
    margin-top: var(--space-xl);
    border-top: 1px solid var(--border-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.footer-links a:hover {
    color: var(--nfl-blue);
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.footer-contact p {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.footer-disclaimer {
    margin-top: var(--space-md);
}

.footer-disclaimer small {
    color: var(--text-muted);
}

.footer-divider {
    height: 1px;
    background: var(--border-primary);
    margin: var(--space-lg) 0;
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .steps-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .prediction-buttons,
    .cta-buttons,
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .predictions-access-card {
        padding: 2rem 1rem;
    }
    
    .access-title {
        font-size: 1.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .prop-icon,
    .feature-card .card-icon {
        font-size: 2rem;
    }
    
    .metric-card .valor {
        font-size: 1.5rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== UTILIDADES ESPECIALES ===== */
.text-gradient-gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-blue {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-glow {
    box-shadow: 0 0 15px rgba(1, 51, 105, 0.3);
}

.border-glow-gold {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}
/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23007bff20" points="0,1000 1000,0 1000,1000"/></svg>') no-repeat;
    background-size: cover;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--text-light);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-darker);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ===== PRONOSTICOS SECTION ===== */
.pronosticos-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: var(--text-light);
}

.pronosticos-section .section-header h2 {
    color: var(--text-light);
}

.pronosticos-section .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.access-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle fill="%23007bff10" cx="200" cy="200" r="300"/><circle fill="%23007bff10" cx="800" cy="800" r="400"/></svg>') no-repeat;
    background-size: cover;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
    opacity: 0.9;
}
/* ===== HERO LOGO ===== */
.hero-logo {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works-section {
    padding: 80px 0;
    background: var(--bg-darker);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    background: var(--bg-dark);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.step-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.step-card h3 {
    color: var(--text-light);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ===== FEATURE ICONS UPDATE ===== */
.feature-card h3 {
    color: var(--text-light);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.feature-card h3 .feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0;
}

/* Asegurar que los emojis se vean bien */
.feature-card h3 {
    font-size: 1.3rem;
}

/* ===== HERO SECTION CON IMAGEN ===== */
.hero-section {
    position: relative;
    padding: 120px 0 80px;
    text-align: center;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.9) 0%,
        rgba(45, 45, 45, 0.8) 50%,
        rgba(0, 123, 255, 0.3) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

/* ===== HERO LOGO ===== */
.hero-logo {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    animation: bounce 2s infinite;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    max-width: 600px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
/* ===== BANDAS DIVISORIAS ENTRE SECCIONES ===== */

/* Banda después de Features Section */
.features-section::after {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #007bff 20%, 
        #0056b3 50%, 
        #007bff 80%, 
        transparent 100%
    );
    margin: 0 auto;
    max-width: 200px;
}

/* Banda después de How It Works Section */
.how-it-works-section::after {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #28a745 20%, 
        #1e7e34 50%, 
        #28a745 80%, 
        transparent 100%
    );
    margin: 0 auto;
    max-width: 200px;
}

/* Banda después de Pronósticos Section (si está visible) */
.pronosticos-section::after {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #ffc107 20%, 
        #e0a800 50%, 
        #ffc107 80%, 
        transparent 100%
    );
    margin: 0 auto;
    max-width: 200px;
}

/* Ajustar espaciado para las bandas */
.features-section {
    padding: 80px 0 60px;
}

.how-it-works-section {
    padding: 60px 0 60px;
}

.pronosticos-section {
    padding: 60px 0 60px;
}

.cta-section {
    padding: 60px 0 80px;
}

/* ===== ESTILOS PARA PÁGINAS DE AUTENTICACIÓN ===== */

/* LOGIN SECTION */
.login-section {
    padding: 80px 0;
    background: var(--bg-dark);
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
}

.login-container {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.login-card {
    background: var(--bg-darker);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.login-header h1 {
    color: var(--text-light);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

.login-form {
    margin-bottom: 1.5rem;
}

/* FORMULARIOS COMPARTIDOS */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.btn-block {
    width: 100%;
    display: block;
}

/* SEPARADOR */
.separator {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.separator span {
    background: var(--bg-darker);
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* BOTÓN GOOGLE */
.btn-google {
    background: white;
    color: #333;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 500;
}

.btn-google:hover {
    background: #f8f9fa;
    border-color: #ccc;
    color: #333;
}

.google-icon {
    width: 20px;
    height: 20px;
}

/* FOOTER LOGIN/REGISTER */
.login-footer,
.register-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.login-footer p,
.register-footer p {
    color: var(--text-muted);
    margin: 0;
}

.register-link,
.login-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.register-link:hover,
.login-link:hover {
    text-decoration: underline;
}

/* REGISTER SECTION */
.register-section {
    padding: 80px 0;
    background: var(--bg-dark);
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
}

.register-container {
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
}

.register-card {
    background: var(--bg-darker);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.register-header {
    text-align: center;
    margin-bottom: 2rem;
}

.register-logo {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.register-header h1 {
    color: var(--text-light);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.register-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

.register-form {
    margin-bottom: 1.5rem;
}

.form-hint {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* CHECKBOX DE TÉRMINOS */
.terms-checkbox {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border: 1px solid var(--border-color);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    color: var(--text-light);
}

.checkbox-input {
    margin-top: 0.2rem;
    transform: scale(1.2);
}

.checkbox-text {
    flex: 1;
}

.checkbox-text strong {
    color: var(--text-light);
    display: block;
    margin-bottom: 0.5rem;
}

.checkbox-text small {
    color: var(--text-muted);
    line-height: 1.4;
}

.checkbox-text a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

/* AVISO LEGAL */
.legal-notice {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.legal-notice small {
    color: var(--text-muted);
}

.legal-notice a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-notice a:hover {
    text-decoration: underline;
}

/* PROFILE SECTION */
.profile-section {
    padding: 80px 0;
    background: var(--bg-dark);
    min-height: calc(100vh - 140px);
}

.profile-header {
    text-align: center;
    margin-bottom: 3rem;
}

.profile-header h1 {
    color: var(--text-light);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.profile-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.profile-content {
    max-width: 600px;
    margin: 0 auto;
}

.profile-card {
    background: var(--bg-darker);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.profile-card-title {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.profile-form {
    margin-top: 1rem;
}

/* IMAGE UPLOAD */
.profile-image-group {
    text-align: center;
}

.image-upload-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.current-image {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.profile-image-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 600;
}

.image-upload-controls {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.image-input {
    display: none;
}

/* EMAIL CONTAINER */
.email-container {
    display: flex;
    gap: 0.5rem;
}

.email-container .form-input {
    flex: 1;
}

.form-input:read-only {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    cursor: not-allowed;
}

/* SECTIONS DE PERFIL */
.password-section,
.notifications-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.subsection-title {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* CHECKBOXES */
.checkbox-group {
    margin-bottom: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    color: var(--text-light);
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    transform: scale(1.2);
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 3px;
    display: inline-block;
    position: relative;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: bold;
}

/* FORM ACTIONS */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.form-actions .btn {
    flex: 1;
}

.form-error {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: none;
}

/* ===== ESTILOS PARA PÁGINAS LEGALES ===== */

.legal-hero-section {
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.legal-hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.legal-hero-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.legal-hero-section h1 {
    color: var(--text-light);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.legal-hero-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.legal-content-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

.legal-card {
    background: var(--bg-darker);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.legal-subsection-title {
    color: var(--text-light);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
}

.legal-mini-title {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem 0;
}

.legal-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-card ul {
    color: var(--text-muted);
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-card li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.legal-card strong {
    color: var(--text-light);
}

/* TARJETA DE DESTACADO LEGAL */
.legal-highlight-card {
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.legal-highlight-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.legal-highlight-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.legal-highlight-content ul {
    margin-bottom: 0;
}

.legal-highlight-content li {
    margin-bottom: 0.5rem;
}

/* TARJETA DE CONTACTO LEGAL */
.legal-contact-card {
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.legal-contact-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.legal-contact-content p {
    margin-bottom: 0.5rem;
}

.legal-contact-content p:last-child {
    margin-bottom: 0;
}

/* ENLACES LEGALES */
.legal-link {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-link:hover {
    text-decoration: underline;
}

/* ACCIONES LEGALES */
.legal-actions {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* ===== RESPONSIVE PARA PÁGINAS ESPECIALES ===== */

@media (max-width: 768px) {
    /* Login/Register responsive */
    .login-section,
    .register-section,
    .profile-section {
        padding: 60px 1rem;
    }
    
    .login-card,
    .register-card,
    .profile-card {
        padding: 2rem 1.5rem;
    }
    
    .login-header h1,
    .register-header h1,
    .profile-header h1 {
        font-size: 1.75rem;
    }
    
    .terms-checkbox {
        padding: 1.25rem;
    }
    
    .email-container {
        flex-direction: column;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    /* Legal pages responsive */
    .legal-hero-section {
        padding: 60px 1rem;
    }
    
    .legal-hero-section h1 {
        font-size: 2rem;
    }
    
    .legal-content-section {
        padding: 60px 1rem;
    }
    
    .legal-card {
        padding: 2rem 1.5rem;
    }
    
    .legal-highlight-card,
    .legal-contact-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .login-card,
    .register-card,
    .profile-card,
    .legal-card {
        padding: 1.5rem;
    }
    
    .login-logo,
    .register-logo {
        font-size: 2.5rem;
    }
    
    .terms-checkbox {
        padding: 1rem;
    }
    
    .checkbox-label {
        gap: 0.75rem;
    }
    
    .current-image {
        width: 100px;
        height: 100px;
    }
    
    .image-upload-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .image-upload-controls .btn {
        width: 100%;
        max-width: 200px;
    }
    
    .legal-hero-icon {
        font-size: 3rem;
    }
    
    .legal-section-title {
        font-size: 1.3rem;
    }
    
    .legal-subsection-title {
        font-size: 1.1rem;
    }
    
    .legal-card ul {
        padding-left: 1rem;
    }
    
    .legal-card li {
        font-size: 0.9rem;
    }
}