/* ── Banner Mundial ── */
.wc-banner {
    display: flex; align-items: center; gap: 16px;
    background: linear-gradient(135deg, #14532d, #16a34a);
    border-radius: 16px; padding: 16px 20px; margin-bottom: 24px;
    cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
    color: white; box-shadow: 0 6px 20px rgba(22,163,74,0.3);
}
.wc-banner:hover { transform: scale(1.02); }
.wc-icon { font-size: 2.5rem; }
.wc-text { flex: 1; }
.wc-text strong { font-size: 1.2rem; }
.wc-text span { opacity: 0.9; font-size: 0.9rem; }
.wc-btn { background: #fbbf24; color: #14532d; padding: 8px 20px; border-radius: 30px; font-weight: 700; }

/* ── Badges de estado ── */
.badge {
    font-size: 0.7rem; font-weight: 600; padding: 2px 8px;
    border-radius: 12px; display: inline-block; margin-top: 6px;
}
.badge-green  { background: #dcfce7; color: #15803d; }
.badge-red    { background: #fee2e2; color: #dc2626; }
.badge-yellow { background: #fef9c3; color: #a16207; }

/* ── Artistas ── */
.artists-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.artist-chip {
    display: flex; align-items: center; gap: 6px;
    background: #1e293b; color: #e2e8f0; border-radius: 20px;
    padding: 4px 12px; font-size: 0.8rem;
}
.artist-chip img {
    width: 26px; height: 26px; border-radius: 50%; object-fit: cover;
}

/* ── Mapa del recinto ── */
.venue-seatmap img { border-radius: var(--radius-md); max-height: 240px; object-fit: contain; }

/* ── Notas del evento ── */
.event-note {
    background: #1e293b; border-left: 3px solid #3b82f6;
    padding: 8px 12px; border-radius: 0 8px 8px 0;
    font-size: 0.78rem; color: #cbd5e1; margin: 6px 0;
}

/* ── Enlace a Ticketmaster ── */
.tm-link {
    display: inline-block; margin-top: 10px;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #fff; text-decoration: none; padding: 9px 18px;
    border-radius: 24px; font-size: 0.84rem; font-weight: 600;
    transition: opacity 0.2s;
}
.tm-link:hover { opacity: 0.85; }

/* ── Leyenda de zonas ── */
.zone-legend { margin-top: 14px; }
.zone-legend h4 { font-size: 0.82rem; color: #94a3b8; margin-bottom: 6px; }
.legend-item { display: flex; align-items: center; gap: 7px; margin: 4px 0; font-size: 0.8rem; }
.legend-color { width: 14px; height: 14px; border-radius: 3px; flex-shrink: 0; }
.occupied-sample { background: #334155; }
.selected-sample { background: #dc2626; }

/* ── Etapa del escenario ── */
.stage-label {
    text-align: center; font-size: 0.72rem; color: #64748b;
    letter-spacing: 1px; padding: 6px;
    border: 1px dashed #334155; border-radius: 6px;
    margin-bottom: 8px;
}

/* ── Animaciones ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.event-card { animation: fadeInUp 0.4s ease forwards; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .detail-layout { flex-direction: column; }
    .seat-grid { grid-template-columns: repeat(10, 32px); }
    .seat { width: 32px; height: 32px; font-size: 0.55rem; }
}

/* ── Carrusel ── */
.carousel-section {
    position: relative;
    margin: 30px 0 40px;
}
.carousel-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1e293b;
}
.carousel-wrapper {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.carousel-card {
    min-width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    position: relative;
}
.carousel-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}
.carousel-card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
    font-size: 2rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: background 0.2s;
    z-index: 10;
}
.carousel-btn.left { left: 16px; }
.carousel-btn.right { right: 16px; }
.carousel-btn:hover { background: white; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: background 0.2s;
}
.carousel-dot.active {
    background: var(--primary);
}
/* ── Hero mejorado ── */
.hero {
    position: relative;
    background: url('https://images.unsplash.com/photo-1540039155733-5bb30b4c8e37?w=1200&q=80') center/cover no-repeat;
    padding: 120px 0 100px;
    text-align: center;
    color: white;
    margin-bottom: 60px;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 43, 77, 0.7);
    backdrop-filter: blur(4px);
}
.hero .container {
    position: relative;
    z-index: 1;
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* ── Categorías rápidas ── */
.categories-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}
.category-card {
    background: white;
    border-radius: 16px;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    color: #1e293b;
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    color: var(--primary);
}
.category-card i {
    font-size: 2rem;
    color: var(--primary);
}

/* ── Noticias ── */
.news-section {
    background: #f8fafc;
    padding: 60px 0;
    margin-top: 60px;
}
.news-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}
.news-card:hover {
    transform: translateY(-5px);
}
.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.news-content {
    padding: 20px;
}
.news-content h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}
.news-content p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 12px;
}
.news-content a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

/* ── Footer premium ── */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}
.footer-col a {
    display: block;
    color: #cbd5e1;
    margin-bottom: 8px;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-col a:hover {
    color: white;
}
.social-icons {
    display: flex;
    gap: 15px;
    font-size: 1.5rem;
}
.social-icons a {
    color: #cbd5e1;
}
.social-icons a:hover {
    color: white;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #334155;
    font-size: 0.9rem;
}

/* ── Control de fecha ── */
.date-label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: white;
    border-radius: 40px;
    border: 1px solid #cbd5e1;
}
/* ── Contenedor full-width ── */
.container.full-width {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Layout de dos columnas ── */
.main-layout {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}
.main-content {
    flex: 1;
    min-width: 0;
}
.sidebar-news {
    width: 320px;
    flex-shrink: 0;
}

/* ── Barra de herramientas ── */
.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: #6135ee;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.toolbar-left {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}
.select-wrapper,
.date-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f1f5f9;
    border-radius: 40px;
    border: 1px solid #e2e8f0;
}
.select-wrapper i,
.date-wrapper i {
    color: #64748b;
    font-size: 0.9rem;
}
.select-wrapper select,
.date-wrapper input {
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.9rem;
    color: #1e293b;
    cursor: pointer;
}
.toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.btn-icon {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: #9f2f2f;
    color: white;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-icon:hover {
    background: #004b99;
}
.api-badge {
    font-size: 0.8rem;
    color: #f5f5f5;
}

/* ── Sidebar de noticias ── */
.sidebar-news h2 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: #1e293b;
}
.news-grid-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.2s;
}
.news-card:hover {
    transform: translateY(-3px);
}
.news-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}
.news-content {
    padding: 16px;
}
.news-content h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}
.news-content p {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 10px;
}
.news-content a {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
}

/* ── Hero mejorado ── */
.hero {
    position: relative;
    background: url('https://images.unsplash.com/photo-1540039155733-5bb30b4c8e37?w=1200&q=80') center/cover no-repeat;
    padding: 120px 0 100px;
    text-align: center;
    color: white;
    margin-bottom: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 43, 77, 0.7);
    backdrop-filter: blur(4px);
}
.hero .container {
    position: relative;
    z-index: 1;
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* ── Categorías rápidas ── */
.categories-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}
.category-card {
    background: white;
    border-radius: 16px;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    color: #1e293b;
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    color: var(--primary);
}
.category-card i {
    font-size: 2rem;
    color: var(--primary);
}

/* ── Footer premium ── */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}
.footer-col a {
    display: block;
    color: #cbd5e1;
    margin-bottom: 8px;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-col a:hover {
    color: white;
}
.social-icons {
    display: flex;
    gap: 15px;
    font-size: 1.5rem;
}
.social-icons a {
    color: #cbd5e1;
}
.social-icons a:hover {
    color: white;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #334155;
    font-size: 0.9rem;
}

/* ── Carrusel ── */
.featured-carousel {
    position: relative;
    margin-bottom: 30px;
}
.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.carousel-card {
    min-width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    position: relative;
}
.carousel-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}
.carousel-card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
    font-size: 2rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: background 0.2s;
    z-index: 10;
}
.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }
.carousel-btn:hover { background: white; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: background 0.2s;
}
.carousel-dot.active {
    background: var(--primary);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .main-layout {
        flex-direction: column;
    }
    .sidebar-news {
        width: 100%;
    }
    .news-grid-vertical {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

/* ── Hero con filtros integrados ── */
.hero {
    position: relative;
    background: url('https://images.unsplash.com/photo-1540039155733-5bb30b4c8e37?w=1200&q=80') center/cover no-repeat;
    padding: 100px 0 80px;
    text-align: center;
    color: white;
    margin-bottom: 60px;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 43, 77, 0.7);
    backdrop-filter: blur(4px);
}
.hero .container {
    position: relative;
    z-index: 1;
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Barra de filtros integrada */
.hero-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    padding: 10px 18px;
    border-radius: 60px;
    border: 1px solid rgba(255,255,255,0.18);
    max-width: 1200px;
    margin: 0 auto;
    transition: all 0.3s ease;
}
.hero-filters:hover {
    background: rgba(255,255,255,0.18);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.9);
    padding: 12px 18px;
    border-radius: 40px;
    flex: 1;
    min-width: 130px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.filter-item:focus-within {
    background: white;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.3);
    border-color: #3b82f6;
}
.filter-item i {
    color: #64748b;
    font-size: 1rem;
    transition: color 0.2s;
}
.filter-item:focus-within i {
    color: var(--primary);
}
.filter-item select,
.filter-item input {
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.9rem;
    color: #1e293b;
    width: 100%;
    cursor: pointer;
}
.search-item {
    flex: 2;
    display: flex;
    background: white;
    border-radius: 40px;
    overflow: hidden;
    padding: 0;
}
.search-item:focus-within {
    box-shadow: 0 0 0 3px rgba(59,130,246,0.3);
}
.search-item input {
    flex: 1;
    padding: 12px 18px;
    border: none;
    outline: none;
    font-size: 0.95rem;
    background: transparent;
}
.search-item button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 22px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
    white-space: nowrap;
}
.search-item button:hover {
    background: #004b99;
}
.btn-filter {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 22px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    white-space: nowrap;
    font-size: 0.9rem;
}
.btn-filter:hover {
    background: #004b99;
    transform: scale(1.03);
}
.api-badge {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-filters {
        flex-direction: column;
        border-radius: 20px;
    }
    .filter-item {
        width: 100%;
    }
    .search-item {
        width: 100%;
    }
}