﻿/* ================================================
   ENTRY ENTRADAS - Tema Azul Electrico / Cyan
   Colores: Esquema unico para Entry Entradas
   ================================================ */

/* Variables */
:root {
    --primary: #2563eb;      /* Primario */
    --secondary: #3b82f6;    /* Secundario */
    --accent: #f59e0b;       /* Acento */
    --dark: #0c1424;         /* Oscuro */
    --darker: #080e1a;
    --light: #f0f7ff;        /* Claro */
    --gray: #94a3b8;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--darker);
    color: var(--light);
    line-height: 1.6;
    min-height: 100vh;
}

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

a:hover {
    color: var(--accent);
}

/* Header */
header {
    background: rgba(13, 8, 18, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 2rem;
}

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

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--gray);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

nav a:hover {
    color: var(--light);
    background: rgba(59, 130, 246, 0.2);
}

.cart-btn {
    background: var(--gradient);
    color: var(--light) !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.cart-count {
    background: var(--accent);
    color: var(--dark);
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    position: absolute;
    top: -5px;
    right: -5px;
}

/* Hero */
.hero {
    background: var(--gradient);
    padding: 8rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::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 100 100"><polygon fill="rgba(255,255,255,0.03)" points="50,0 100,100 0,100"/></svg>');
    background-size: 200px;
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Main */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    padding-top: 6rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-title i {
    color: var(--secondary);
}

/* Eventos Grid */
.eventos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

/* Event Card */
.event-card {
    background: linear-gradient(145deg, #0f1a2e, #0a1020);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.4s ease;
    position: relative;
}

.event-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.event-image {
    height: 200px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.event-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent);
    color: var(--dark);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.event-teams {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 2.5rem;
}

.team-logo {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    backdrop-filter: blur(5px);
}

.vs-text {
    font-weight: 800;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
}

.event-content {
    padding: 1.5rem;
}

.event-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light);
}

.event-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--gray);
    font-size: 0.9rem;
}

.event-info i {
    color: var(--secondary);
    width: 20px;
}

.event-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
}

.price-label {
    font-size: 0.8rem;
    color: var(--gray);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    color: var(--light);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: var(--accent);
    color: var(--dark);
}

.btn-secondary:hover {
    background: #d97706;
    transform: scale(1.05);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background: var(--secondary);
    color: var(--light);
}

.btn-block {
    width: 100%;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

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

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

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.2);
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-control::placeholder {
    color: var(--gray);
}

/* Carrito */
.carrito-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    margin-top: 2rem;
}

.carrito-items {
    background: linear-gradient(145deg, #0f1a2e, #0a1020);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.carrito-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.carrito-item:last-child {
    border-bottom: none;
}

.item-image {
    width: 100px;
    height: 80px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.item-details {
    flex: 1;
}

.item-title {
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.item-tipo {
    color: var(--secondary);
    font-size: 0.9rem;
}

.item-fecha {
    color: var(--gray);
    font-size: 0.85rem;
}

.item-precio {
    text-align: right;
}

.item-precio .precio-unit {
    font-size: 0.85rem;
    color: var(--gray);
}

.item-precio .precio-total {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
}

.cantidad-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.cantidad-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(59, 130, 246, 0.3);
    color: var(--light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cantidad-btn:hover {
    background: var(--secondary);
}

.cantidad-input {
    width: 50px;
    text-align: center;
    background: transparent;
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--light);
    padding: 0.3rem;
    border-radius: 5px;
}

/* Resumen */
.carrito-resumen {
    background: linear-gradient(145deg, #0f1a2e, #0a1020);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.carrito-resumen h2 {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.resumen-linea {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--gray);
}

.resumen-total {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 2px solid var(--secondary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 1rem;
}

.resumen-total .total-precio {
    color: var(--accent);
}

/* Checkout */
.checkout-form {
    background: linear-gradient(145deg, #0f1a2e, #0a1020);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.checkout-form h2 {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ConfirmaciÃ³n */
.confirmacion {
    text-align: center;
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto;
}

.confirmacion-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.confirmacion h1 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.orden-numero {
    background: rgba(59, 130, 246, 0.2);
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 2rem 0;
    display: inline-block;
}

/* Disclosure Banner */
.disclosure-banner {
    background: linear-gradient(90deg, #1e40af, #1e3a8a);
    padding: 1.5rem 2rem;
    border-bottom: 4px solid #93c5fd;
    position: sticky;
    top: 0;
    z-index: 9999;
}

.disclosure-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.disclosure-icon {
    color: #fbd38d;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.disclosure-text {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 500;
    line-height: 1.5;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: rgba(72, 187, 120, 0.2);
    border: 1px solid var(--success);
    color: var(--success);
}

.alert-error {
    background: rgba(229, 62, 62, 0.2);
    border: 1px solid var(--danger);
    color: var(--danger);
}

.alert-warning {
    background: rgba(237, 137, 54, 0.2);
    border: 1px solid var(--warning);
    color: var(--warning);
}

/* Footer */
footer {
    background: var(--dark);
    margin-top: 4rem;
    padding: 3rem 2rem 1rem;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    color: var(--light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p,
.footer-section a {
    color: var(--gray);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    color: var(--gray);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .carrito-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav {
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .eventos-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .disclosure-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Carrito vacÃ­o */
.carrito-vacio {
    text-align: center;
    padding: 4rem 2rem;
}

.carrito-vacio i {
    font-size: 5rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

/* Tickets selection */
.tickets-section {
    background: linear-gradient(145deg, #0f1a2e, #0a1020);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.ticket-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: rgba(37, 99, 235, 0.3);
    border-radius: 15px;
    margin-bottom: 1rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.ticket-option:hover {
    border-color: var(--secondary);
}

.ticket-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.ticket-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

.ticket-precio {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.ticket-disponibles {
    font-size: 0.8rem;
    color: var(--gray);
}

/* Payment cards */
.payment-methods {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.payment-methods img {
    height: 30px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.payment-methods img:hover {
    opacity: 1;
}

/* FAQ Accordion */
.faq-item {
    background: linear-gradient(145deg, #0f1a2e, #0a1020);
    border-radius: 15px;
    margin-bottom: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-question:hover {
    background: rgba(59, 130, 246, 0.1);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray);
    display: none;
}

.faq-answer.active {
    display: block;
}

/* Legal pages */
.legal-content {
    background: linear-gradient(145deg, #0f1a2e, #0a1020);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h1 {
    margin-bottom: 2rem;
    color: var(--secondary);
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.legal-content p,
.legal-content li {
    color: var(--gray);
    margin-bottom: 1rem;
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 1.5rem 2rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    border-top: 3px solid var(--secondary);
}

/* Error inputs */
.form-control.error {
    border-color: var(--danger);
}

.error-message {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 0.3rem;
}
