/* --- 1. RESET Y BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url('../assets/img/fondo.png');
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    font-family: 'Arial Black', Gadget, sans-serif;
    overflow-x: hidden;
}

/* --- 2. BARRA SOCIAL SUPERIOR (SE VA CON EL SCROLL) --- */
.top-social-bar {
    position: absolute;
    top: 25px;
    right: 35px;
    display: flex;
    gap: 18px;
    z-index: 999;
    padding: 10px;
}

.top-social-bar .ts-icon {
    text-decoration: none;
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

/* COLORES HOVER REDES */
.top-social-bar .ts-icon:hover { transform: scale(1.3) rotate(8deg); }
.top-social-bar .ts-ig:hover { color: #E1306C; filter: drop-shadow(0 0 10px #E1306C); }
.top-social-bar .ts-fb:hover { color: #1877F2; filter: drop-shadow(0 0 10px #1877F2); }
.top-social-bar .ts-yt:hover { 
    color: #FF0000; 
    background: radial-gradient(circle, #fff 30%, transparent 70%); 
    border-radius: 50%;
    filter: drop-shadow(0 0 10px #FF0000); 
}
.top-social-bar .ts-tk:hover { color: #00f2ea; filter: drop-shadow(0 0 10px #00f2ea) drop-shadow(2px 0 5px #ff0050); }
.top-social-bar .ts-sp:hover { color: #1DB954; filter: drop-shadow(0 0 10px #1DB954); }

/* --- 3. HEADER Y LOGO --- */
.main-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 0 10px 0; /* Un poco de aire abajo */
    position: relative;
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.logo-img {
    display: block;
    width: 700px;
    max-width: 90vw;
    height: auto;
    transition: transform 0.3s ease;
}

/* --- 4. NAVEGACIÓN STICKY 🤘 --- */
.main-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    position: -webkit-sticky; 
    position: sticky;
    top: 0;                   
    z-index: 2000;
    padding: 15px 0;
    /* Eliminamos el background de aquí para que no tape el logo al inicio */
    background: transparent; 
}

/* El contenedor de los botones */
.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
    padding: 15px 40px;
    background: rgba(0, 0, 0, 0.7); /* Fondo oscuro semitransparente */
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    margin: 0 auto; /* Asegura el centrado */
}

/* LOS ENLACES: Aquí recuperamos el color y quitamos el subrayado */
.nav-links li {
    display: inline-block;
}

.nav-links a {
    text-decoration: none !important; /* FUERZA que no haya subrayado */
    color: #ffffff !important;        /* FUERZA el color blanco */
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    display: block;
}

/* Hover de los enlaces */
.nav-links a:hover {
    color: #ff0000 !important;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
    transform: scale(1.05);
}

/* --- 5. BOTÓN HAMBURGUESA --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,0,0,0.3);
    cursor: pointer;
    padding: 10px;
    z-index: 2100;
    border-radius: 5px;
}

.bar {
    width: 35px;
    height: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 2px;
}

.menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* --- 6. SECCIÓN HERO (PORTADA) --- */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: url('assets/img/hero-bg.jpg') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
}

.hero-content { position: relative; z-index: 2; padding: 0 20px; }
.hero-title {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    letter-spacing: 10px;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-shadow: 3px 3px 0px rgba(255, 0, 0, 0.5), 6px 6px 20px rgba(0,0,0,0.8);
}

.hero-subtitle { font-size: 1.2rem; letter-spacing: 3px; margin-bottom: 40px; color: rgba(255, 255, 255, 0.8); }

.hero-btns { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.btn-metal { background: #ff0000; color: #fff; padding: 15px 35px; text-decoration: none; font-weight: bold; letter-spacing: 2px; border-radius: 5px; transition: 0.3s; box-shadow: 0 0 15px rgba(255, 0, 0, 0.4); }
.btn-metal:hover { background: #cc0000; transform: translateY(-3px); box-shadow: 0 0 25px rgba(255, 0, 0, 0.7); }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; padding: 15px 35px; text-decoration: none; font-weight: bold; letter-spacing: 2px; border-radius: 5px; transition: 0.3s; }
.btn-outline:hover { background: #fff; color: #000; }

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
    font-size: 1.5rem;
    opacity: 0.6;
}

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

/* --- 7. FOOTER COMPLETO --- */
.main-footer {
    background: rgba(0, 0, 0, 0.85);
    padding: 60px 20px 30px;
    margin-top: 80px;
    border-top: 2px solid #ff0000;
    color: #fff;
}

.footer-content { display: flex; justify-content: space-between; align-items: center; max-width: 1100px; margin: 0 auto; gap: 40px; }
.footer-section { flex: 1; text-align: center; }
.footer-section h4 { color: #ff0000; margin-bottom: 20px; letter-spacing: 2px; text-transform: uppercase; font-size: 1rem; }

.social-links { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; width: fit-content; margin: 0 auto; }
.social-links a { display: flex; align-items: center; gap: 15px; color: #bbb; text-decoration: none; font-size: 0.85rem; transition: 0.3s; }
.social-links i { color: #ff5454; font-size: 1.1rem; width: 25px; text-align: center; }
.social-links a:hover { color: #fff; transform: translateX(5px); }
.social-links a:hover i { color: #fff; filter: drop-shadow(0 0 8px #ff0000); }

.legal-nav { display: flex; flex-direction: column; gap: 12px; }
.legal-nav a { color: #bbb; text-decoration: none; font-size: 0.85rem; transition: 0.3s; }
.legal-nav a:hover { color: #fff; text-shadow: 0 0 8px #ff0000; }

.footer-logo-central { flex: 1; display: flex; justify-content: center; }
.footer-mini-logo { width: 100%; max-width: 180px; opacity: 0.25; filter: grayscale(1) brightness(1.2); transition: 0.5s; }
.footer-mini-logo:hover { opacity: 0.5; transform: scale(1.05); }

.footer-bottom { margin-top: 50px; padding-top: 25px; border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: center; color: #666; font-size: 0.75rem; letter-spacing: 1.5px; text-transform: uppercase; }

/* --- 8. COOKIES Y MODALES --- */
.cookie-banner { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: rgba(10, 10, 10, 0.98); border: 1px solid #ff0000; padding: 15px 25px; display: flex; align-items: center; gap: 20px; z-index: 9999; width: 95%; max-width: 700px; border-radius: 12px; backdrop-filter: blur(10px); }
.cookie-banner p { color: #787878 !important; font-size: 0.9rem; margin: 0; }
.cookie-banner a { color: #ff0000 !important; font-weight: bold; }
.cookie-banner button { background: #ff0000; color: #fff; border: none; padding: 10px 20px; cursor: pointer; border-radius: 6px; font-weight: bold; text-transform: uppercase; }

.modal-legal { display: none; position: fixed; z-index: 10000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.85); backdrop-filter: blur(10px); justify-content: center; align-items: center; padding: 20px; }
.modal-legal.show { display: flex; }
.modal-content { background: #0a0a0a; padding: 30px; border: 1px solid #ff0000; width: 90%; max-width: 750px; border-radius: 20px; color: #fff; position: relative; max-height: 85vh; display: flex; flex-direction: column; overflow: hidden; }
.modal-scroll-area { overflow-y: auto; padding-right: 15px; }
.close-modal { position: absolute; right: 25px; top: 15px; color: #666; font-size: 35px; cursor: pointer; transition: 0.3s; }
.close-modal:hover { color: #ff0000; transform: rotate(90deg); }
/* --- SOLO SCROLL (SIN TOCAR EL RESTO) --- */
.modal-scroll-area::-webkit-scrollbar {
    width: 8px;
    display: block;
}

.modal-scroll-area::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.modal-scroll-area::-webkit-scrollbar-thumb {
    background: #ff0000;
    border-radius: 10px;
}

.modal-scroll-area {
    scrollbar-width: thin;
    scrollbar-color: #ff0000 rgba(255, 255, 255, 0.05);
}
/* --- 9. RESPONSIVE --- */
@media (max-width: 1024px) {
    .logo-img { width: 500px; }
    .nav-links { gap: 20px; padding: 12px 25px; }
}

@media (max-width: 768px) {
    .top-social-bar {
        flex-direction: column;
        top: 80px;
        right: 10px;
        background: rgba(0, 0, 0, 0.3);
        padding: 12px 8px;
        border-radius: 20px;
        gap: 7px;
    }
    .ts-ig { color: #E1306C; } .ts-fb { color: #1877F2; } .ts-yt { color: #FF0000; } .ts-tk { color: #00f2ea; } .ts-sp { color: #1DB954; }

    .menu-toggle { display: flex; }
    
    /* El nav en móvil también se queda sticky */
    .main-nav { top: 0; margin-top: 15px; padding: 5px 0; }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 85%;
        background: rgba(0, 0, 0, 0.98);
        padding: 30px;
        border-radius: 20px;
        border: 1px solid #ff0000;
        gap: 20px;
    }
    .nav-links.active { display: flex !important; }

    .hero-title { letter-spacing: 5px; }
    .hero-btns { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }
    .footer-content { flex-direction: column; gap: 50px; }
}

/* --- SECCIÓN CONCIERTOS --- */
.tour-section {
    padding: 100px 20px;
    background: rgba(0, 0, 0, 0.4);
    min-height: 600px;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    color: #fff;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
}

.tour-list {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tour-item {
    display: grid;
    grid-template-columns: 100px 1fr 150px 180px;
    align-items: center;
    background: rgba(20, 20, 20, 0.8);
    border-left: 5px solid #ff0000;
    padding: 20px 30px;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tour-item:hover {
    background: rgba(30, 30, 30, 1);
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.5);
}

/* Fecha */
.tour-date {
    display: flex;
    flex-direction: column;
    text-align: center;
    line-height: 1;
}

.tour-date .day { font-size: 2rem; font-weight: 900; color: #ff0000; }
.tour-date .month { font-size: 0.9rem; color: #fff; letter-spacing: 2px; }

/* Info */
.tour-info h3 { font-size: 1.4rem; color: #fff; margin-bottom: 5px; text-transform: uppercase; }
.tour-info p { color: #888; font-family: 'Arial', sans-serif; font-size: 0.9rem; }

/* Etiquetas */
.status-label {
    font-size: 0.7rem;
    background: rgba(255, 0, 0, 0.1);
    color: #ff0000;
    padding: 5px 10px;
    border: 1px solid #ff0000;
    border-radius: 3px;
    font-weight: bold;
}

/* Botones */
.btn-ticket {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 10px 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.8rem;
    border-radius: 3px;
    transition: 0.3s;
    text-align: center;
    display: block;
}

.btn-ticket:hover {
    background: #fff;
    color: #000;
}

/* Estado Agotado */
.tour-item.sold-out { opacity: 0.6; border-left-color: #444; }
.tour-item.sold-out .day { color: #666; }
.tour-item.sold-out .status-label { color: #666; border-color: #666; background: transparent; }
.btn-disabled { color: #666; font-weight: bold; text-align: center; display: block; border: 2px solid #444; padding: 10px 25px; cursor: not-allowed; }

/* RESPONSIVE CONCIERTOS */
@media (max-width: 850px) {
    .tour-item {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        text-align: center;
    }
    .tour-date { grid-column: 1 / span 2; }
    .tour-info { grid-column: 1 / span 2; }
    .tour-status { grid-column: 1; }
    .tour-actions { grid-column: 2; }
}

@media (max-width: 480px) {
    .tour-item { display: flex; flex-direction: column; gap: 15px; }
    .section-title { font-size: 2rem; }
}