/* ============================================================================
   Landing Theme — White/Orange/Purple (matches goldenpass.cl WordPress)
   Separate from app.css (dark theme) to avoid conflicts.
   ============================================================================ */

:root {
    --lnd-primary: #F5A623;
    --lnd-primary-dark: #E09300;
    --lnd-secondary: #510C76;
    --lnd-secondary-dark: #3a0856;
    --lnd-bg: #FFFFFF;
    --lnd-bg-alt: #F8F9FA;
    --lnd-text: #1a1a2e;
    --lnd-text-muted: #6c757d;
    --lnd-header-h: 72px;
}

/* ── Layout ── */
.lnd-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--lnd-bg);
    color: var(--lnd-text);
    font-family: 'Inter', sans-serif;
}

.lnd-main {
    flex: 1;
}

/* ── Header ── */
.lnd-header {
    height: var(--lnd-header-h);
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    padding: 0 2rem;
}

.lnd-header-inner {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lnd-header-logo img {
    height: 44px;
    display: block;
}

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

.lnd-header-nav a {
    color: var(--lnd-text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.lnd-header-nav a:hover,
.lnd-header-nav a.active {
    color: var(--lnd-primary);
    border-bottom-color: var(--lnd-primary);
}

.lnd-btn-account {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--lnd-primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
}

.lnd-btn-account:hover {
    background: var(--lnd-primary-dark);
}

.lnd-btn-account svg {
    width: 18px;
    height: 18px;
}

/* ── Mobile hamburger ── */
.lnd-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--lnd-text);
}

.lnd-hamburger svg { width: 28px; height: 28px; }

.lnd-mobile-nav {
    display: none;
    position: fixed;
    top: var(--lnd-header-h);
    left: 0; right: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 1rem 2rem;
    z-index: 99;
    flex-direction: column;
    gap: 1rem;
}

.lnd-mobile-nav.open { display: flex; }

.lnd-mobile-nav a {
    color: var(--lnd-text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 0;
}

/* ── Carousel ──
   Separado del header con margen top, aspect-ratio natural (sin crop),
   y z-index por debajo del header sticky para que al scrollear no se vea
   cortado por el borde del header. */
.lnd-carousel {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 1.25rem auto 0;
    overflow: hidden;
    border-radius: 1rem;
    z-index: 1;                      /* menor que header (z-index:100) */
}

.lnd-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.lnd-carousel-slide {
    min-width: 100%;
    position: relative;
    background: #0b0f14;
}

/* La imagen se muestra con su aspect ratio natural (sin crop).
   Antes teníamos height:450px + object-fit:cover que recortaba la parte
   superior de las imágenes con formato panorámico (1920x720 etc.). */
.lnd-carousel-slide img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    display: block;
    background: #0b0f14;
}

.lnd-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #333;
    z-index: 2;
    transition: background 0.2s;
}

.lnd-carousel-btn:hover { background: #fff; }
.lnd-carousel-btn.prev { left: 1rem; }
.lnd-carousel-btn.next { right: 1rem; }

.lnd-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0;
}

.lnd-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.lnd-carousel-dot.active { background: var(--lnd-primary); }

/* ── Search Bar ── */
.lnd-search {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    display: flex;
    gap: 0.75rem;
}

.lnd-search input {
    flex: 1;
    padding: 0.85rem 1.25rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
    color: var(--lnd-text);
}

.lnd-search input:focus { border-color: var(--lnd-primary); }
.lnd-search input::placeholder { color: #aaa; }

.lnd-search-btn {
    padding: 0.85rem 2rem;
    background: var(--lnd-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.2s;
}

.lnd-search-btn:hover { background: var(--lnd-primary-dark); }

/* ── Features Banner ── */
.lnd-features {
    background: var(--lnd-primary);
    padding: 2.5rem 2rem;
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.lnd-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
}

.lnd-feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lnd-feature-icon svg,
.lnd-feature-icon i {
    font-size: 28px;
    width: 28px;
    height: 28px;
    color: #fff;
}

.lnd-feature-title {
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
}

/* ── Event Grid ── */
.lnd-events-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.lnd-events-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lnd-text);
    margin-bottom: 2rem;
    text-align: center;
}

.lnd-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* ── Card de evento (refactor 2026-04-20):
   Estilo "ticket": imagen arriba sin crop + info abajo con iconos naranjas
   cada fila + botón CTA al pie. Coincide con el mockup que pidió el admin. */
.lnd-event-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.lnd-event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Wrapper con aspect-ratio para que la imagen no se croppee y todas las cards
   tengan el mismo alto relativo aunque el admin suba ratios variables. */
.lnd-event-card-imgwrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #0b0f14;
    overflow: hidden;
    display: block;
}

.lnd-event-card-imgwrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lnd-event-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex: 1;
}

.lnd-event-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    color: var(--lnd-text);
    text-align: center;
    line-height: 1.3;
}

/* Lista de atributos (venue, dirección, fecha, precio) — cada fila con su icono. */
.lnd-event-card-info {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lnd-event-card-info li {
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.86rem;
    color: var(--lnd-text);
}

.lnd-event-card-info li svg {
    width: 18px;
    height: 18px;
    color: var(--lnd-primary);
    flex-shrink: 0;
}

.lnd-event-card-info li span {
    color: var(--lnd-text);
    line-height: 1.35;
}

/* CTA del card — botón pill naranja con flecha, centrado. */
.lnd-event-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 0.75rem auto 0;
    padding: 0.6rem 1.8rem;
    background: linear-gradient(135deg, var(--lnd-primary), #F97316);
    color: #fff;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 2px 8px rgba(245,158,11,0.25);
}

.lnd-event-card-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(245,158,11,0.35);
}

/* ─────────────────────────────────────────────────────────────────────────
   EventoLanding — /evento/{ShowName}
   Landing interna con hero de imagen + contenido HTML + galería + CTA
   ───────────────────────────────────────────────────────────────────────── */

.evl-hero {
    position: relative;
    width: 100%;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    margin-bottom: 2rem;
}

.evl-hero-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(2px) brightness(0.65);
    transform: scale(1.05);
}

.evl-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.85) 100%);
}

.evl-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 4rem 1.5rem 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.evl-hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0 0 1.25rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    color: #fff;
}

.evl-hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
    opacity: 0.95;
}

.evl-hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.evl-hero-meta-item svg {
    width: 18px;
    height: 18px;
    color: var(--lnd-primary);
}

.evl-hero-price {
    background: rgba(245,158,11,0.2);
    border: 1px solid rgba(245,158,11,0.4);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    color: #FCD34D;
}

.evl-hero-price strong { color: #fff; font-weight: 800; }

.evl-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2.25rem;
    background: linear-gradient(135deg, var(--lnd-primary), #F97316);
    color: #000;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(245,158,11,0.4);
    transition: transform 0.15s, box-shadow 0.15s;
}

.evl-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(245,158,11,0.5);
}

/* ── Contenido ── */
.evl-body {
    max-width: 960px;
    margin: 0 auto;
    padding: 1rem 1.5rem 4rem;
}

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

.evl-section-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--lnd-text);
    margin: 0 0 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--lnd-primary);
    display: inline-block;
}

.evl-richtext {
    color: var(--lnd-text);
    font-size: 1rem;
    line-height: 1.7;
}

.evl-richtext h1, .evl-richtext h2, .evl-richtext h3, .evl-richtext h4 {
    color: var(--lnd-text);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.evl-richtext h1 { font-size: 1.8rem; }
.evl-richtext h2 { font-size: 1.4rem; }
.evl-richtext h3 { font-size: 1.15rem; }

.evl-richtext p { margin: 0 0 1rem; }
.evl-richtext ul, .evl-richtext ol { margin: 0 0 1rem 1.5rem; }
.evl-richtext li { margin-bottom: 0.35rem; }

.evl-richtext a {
    color: var(--lnd-primary);
    text-decoration: underline;
}

.evl-richtext img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.evl-richtext iframe {
    max-width: 100%;
    border-radius: 8px;
    margin: 1rem 0;
}

.evl-richtext table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.evl-richtext th, .evl-richtext td {
    padding: 0.5rem 0.75rem;
    border: 1px solid #e5e5e5;
    text-align: left;
}

.evl-richtext th { background: #f8f9fa; font-weight: 700; }

/* ── Video ── */
.evl-video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

.evl-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── Galería ── */
.evl-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
}

.evl-gallery-item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 10px;
    cursor: zoom-in;
    background: #0b0f14;
    transition: transform 0.2s, box-shadow 0.2s;
}

.evl-gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.evl-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Lightbox simple ── */
.evl-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    cursor: zoom-out;
}

.evl-lightbox img {
    max-width: 95vw;
    max-height: 92vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.evl-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.evl-lightbox-close:hover { background: rgba(255,255,255,0.3); }

.evl-cta-section {
    text-align: center;
    padding-top: 1rem;
}

@media (max-width: 640px) {
    .evl-hero { min-height: 320px; }
    .evl-hero-title { font-size: 1.75rem; }
    .evl-hero-meta { font-size: 0.85rem; gap: 0.35rem 1rem; }
    .evl-body { padding: 1rem 1rem 3rem; }
    .evl-section-title { font-size: 1.2rem; }
}

/* ── Footer ── */
.lnd-footer {
    background: linear-gradient(135deg, var(--lnd-secondary), var(--lnd-secondary-dark));
    color: #fff;
    padding: 3rem 2rem 1.5rem;
}

.lnd-footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
}

.lnd-footer-brand img { max-width: 180px; margin-bottom: 1rem; }
.lnd-footer-brand p { font-size: 0.85rem; opacity: 0.8; line-height: 1.6; }

.lnd-footer-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    color: var(--lnd-primary);
}

.lnd-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lnd-footer-links li { margin-bottom: 0.5rem; }

.lnd-footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.lnd-footer-links a:hover { color: #fff; }

.lnd-footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.lnd-footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.2s;
}

.lnd-footer-social a:hover { background: rgba(255,255,255,0.3); }
.lnd-footer-social svg { width: 20px; height: 20px; }

.lnd-footer-bottom {
    max-width: 1280px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .lnd-header-nav { display: none; }
    .lnd-hamburger { display: block; }
    .lnd-footer-grid { grid-template-columns: 1fr 1fr; }
    .lnd-features { gap: 2rem; }
}

@media (max-width: 768px) {
    .lnd-carousel-slide img { height: 280px; }
    .lnd-footer-grid { grid-template-columns: 1fr; }
    .lnd-events-grid { grid-template-columns: 1fr; }
    .lnd-search { flex-direction: column; }
    .lnd-features { flex-direction: column; align-items: center; gap: 1.5rem; }
}

/* ── Static page content ── */
.lnd-page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    line-height: 1.8;
    color: var(--lnd-text);
}

.lnd-page-content h1 { font-size: 2rem; font-weight: 800; margin-bottom: 1.5rem; }
.lnd-page-content h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 1rem; }
.lnd-page-content h3 { font-size: 1.25rem; font-weight: 600; margin: 1.5rem 0 0.75rem; }
.lnd-page-content p { margin-bottom: 1rem; }
.lnd-page-content ul, .lnd-page-content ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.lnd-page-content a { color: var(--lnd-primary); text-decoration: underline; }
.lnd-page-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 1rem 0; }

/* ── Loading ── */
.lnd-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #eee;
    border-top-color: var(--lnd-primary);
    border-radius: 50%;
    animation: lnd-spin 0.8s linear infinite;
}

@keyframes lnd-spin { to { transform: rotate(360deg); } }

/* ── No results ── */
.lnd-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--lnd-text-muted);
}

.lnd-empty svg { width: 64px; height: 64px; margin-bottom: 1rem; opacity: 0.4; }
