/* Mobile-first styles */
*{box-sizing:border-box}
body{margin:0;font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial; background:#0b0f1d; color:#e5e7eb}
a{color:#9bb3ff;text-decoration:none}
img{max-width:100%;height:auto}
.container{max-width:1200px;margin:0 auto;padding:16px}
.site-bg{background:linear-gradient(180deg,#0b0f1d 0%, #0b1030 100%)}

/* Header */
.site-header{position:sticky; top:0; z-index:30; background:linear-gradient(180deg,#0e1a48,#0b1434); border-bottom:1px solid #111c46}
.sh-wrap{display:flex; align-items:center; gap:14px}
.logo{font-weight:900; letter-spacing:.5px; color:#9bb3ff}
.logo span{color:#6dd6ff}
.search{flex:1}
.search input{width:100%; height:38px; border:1px solid #1f2642; border-radius:999px; background:#0b0f1d; color:#e5e7eb; padding:0 38px 0 38px; box-shadow: inset 0 0 0 1px #0a1230}
.search{position:relative}
.search::before{content:'\1F50D'; position:absolute; left:14px; top:50%; transform:translateY(-50%); opacity:.6}
.search::after{content:''; position:absolute; right:14px; top:50%; transform:translateY(-50%); width:8px; height:8px; border-radius:50%; background:#33406e}
.top-links{display:flex; gap:10px}
.top-links a{color:#e5e7eb; font-weight:800; text-transform:uppercase; font-size:12px; padding:8px 14px; border-radius:999px; background:linear-gradient(180deg,#15235e,#0e1d4b); border:1px solid #101c46}

/* base grid/cards util */
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.card{display:block;border:1px solid #1f2642;border-radius:12px;overflow:hidden;background:#0e1428;color:#e5e7eb; box-shadow:0 10px 30px rgba(0,0,0,.25)}
.card-img{height:140px;background:#0f172a;background-size:cover;background-position:center}
.card-body{padding:12px}
.card-title{font-weight:700}
.card-sub{opacity:.8;font-size:.9rem}
.btn-link{color:#87b2ff; font-weight:700}

/* Variante simples (imagem 2) */
.eh2-title{ margin:0 0 6px 0; font-size:28px; font-weight:800; color:#111827; text-transform:uppercase }
.eh2-lines .line{ display:flex; align-items:flex-start; gap:8px; color:#374151; font-size:14px; line-height:1.35 }
.eh2-lines .ico{ width:18px; height:18px; border-radius:50%; display:inline-block; margin-top:1px; background:radial-gradient(circle at 50% 50%, #34d399 0%, #10b981 70%); position:relative }
.eh2-lines .ico::before{ content:''; position:absolute; inset:4px; border:2px solid #fff; border-radius:50% }
.eh2-lines .ico.pin{ background:radial-gradient(circle at 50% 50%, #34d399 0%, #10b981 70%) }
.eh2-lines .ico.clock{ background:radial-gradient(circle at 50% 50%, #34d399 0%, #10b981 70%) }
/* ===== Ticket Event Header ===== */
.event-head{ margin:10px 0 14px 0 }
.eh-wrap{ display:flex; align-items:flex-start; justify-content:space-between; gap:16px; background:#fff; border-radius:14px; padding:16px 18px; box-shadow:0 4px 18px rgba(0,0,0,.05) }
.eh-date{ width:64px; flex:0 0 64px; background:#f3f4f6; border-radius:12px; text-align:center; padding:6px 0; border:1px solid #e5e7eb }
.eh-day{ font-weight:800; font-size:28px; line-height:1; color:#111827 }
.eh-wm{ margin-top:4px; background:#9ca3af; color:#fff; font-size:11px; font-weight:700; border-radius:8px; padding:2px 4px }
.eh-info{ flex:1; min-width:0 }
.eh-title{ margin:0; font-size:28px; line-height:1.2; font-weight:800; color:#111827; text-transform:uppercase }
.eh-meta{ margin-top:6px; color:#374151; font-size:14px }
.eh-count{ flex:0 0 auto; text-align:right; min-width:190px }
.eh-count-label{ color:#b91c1c; font-size:12px; font-weight:700; margin-bottom:6px }
.eh-count-grid{ display:grid; grid-template-columns:repeat(3, auto); gap:14px; align-items:end; justify-content:end }
.eh-count-grid span{ display:block; font-size:22px; font-weight:800; color:#111827; text-align:center }
.eh-count-grid small{ display:block; font-size:10px; color:#6b7280; letter-spacing:.3px; text-align:center }

@media (max-width: 720px){
  .eh-wrap{ flex-direction:column; align-items:flex-start; gap:12px }
  .eh-count{ text-align:left; min-width:0 }
  .eh-count-grid{ justify-content:start }
}
/* ===== Events horizontal carousel ===== */
.events-carousel{ position:relative; margin:8px 0 16px 0 }
.events-track{ display:flex; gap:12px; overflow:hidden; padding-bottom:4px; transition: transform .5s ease; will-change: transform }
.events-track::-webkit-scrollbar{ height:8px }
.ev-page{ display:none }
.ev-page .ev-card{ min-width:0; max-width:unset }
.evc-nav{ position:absolute; top:50%; transform:translateY(-50%); width:32px; height:32px; border-radius:50%; border:1px solid #ffffff33; background:#0b0f1dcc; color:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer }
.evc-nav.prev{ left:-6px }
.evc-nav.next{ right:-6px }

/* Dots do carrossel de eventos */
.ev-dots{ display:flex; justify-content:center; gap:8px; margin-top:6px }
.ev-dots button{ width:8px; height:8px; border-radius:50%; border:0; background:#ffffff44; cursor:pointer }
.ev-dots button.active{ background:#fff }

/* ===== Events fixed grid (4 por linha) ===== */
.events-grid{ display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:12px }
@media (max-width: 1023.98px){ .events-grid{ grid-template-columns: repeat(3, minmax(0,1fr)) } }
@media (max-width: 720px){ .events-grid{ grid-template-columns: repeat(2, minmax(0,1fr)) } }

@media (max-width: 1023.98px){
  .ev-page{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 720px){
  .ev-page{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* ===== Ad slot ===== */
.ad-slot{ margin:40px 0 40px 0; padding:18px 12px; background:#0e1428; border:1px solid #1f2642; border-radius:12px }
.ad-label{ text-align:center; color:#9aa3c0; font-size:10px; letter-spacing:.3px; margin-bottom:10px }
.ad-box{ display:flex; align-items:center; justify-content:center }
.ad-placeholder{ width:100%; height:100px; background:#111827; border:1px dashed #334155; border-radius:10px; display:flex; align-items:center; justify-content:center; color:#9aa3c0 }

/* Mobile-only site CSS (max-width: 960px) */
@media (max-width: 960px){
  /* Conteúdo mobile isolado para não interferir no desktop */
  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Montserrat:wght@600;700&display=swap');
  :root{ --gap:12px; --radius:10px; --border:#e5e7eb; --text:#111827; --muted:#6b7280; --bg:#ffffff; --panel:#ffffff; --accent:#e04b56; }
  *{ box-sizing:border-box }
  html, body{ width:100%; overflow-x:hidden }
  body{ margin:0; font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; color:#e5e7eb; background:#0b0f1d; font-size:16px }
  a{ color:#9bb3ff; text-decoration:none }
  a:hover{ text-decoration:underline }
  .container{ padding:16px; max-width:1100px; margin:0 auto; color:#e5e7eb }
}

/* ===== HOME specific ===== */
.home .section-title{ font-size:22px; font-weight:800; color:#e5e7eb; margin:18px 0 }

/* Hero */
.hero .hero-box{ position:relative; border-radius:16px; overflow:hidden; background:#0e1428; border:1px solid #1f2642; min-height:220px; padding:12px }
.hero .hero-slide{ position:relative; background:var(--bg,#9333ea); border-radius:12px; height:260px; display:none; flex-direction:column; justify-content:flex-end; padding:18px; color:#fff; box-shadow: inset 0 0 120px rgba(0,0,0,.25); background-image: var(--img); background-size:cover; background-position:center }
.hero .hero-slide.is-active{ display:flex }
.hero .hero-slide::after{ content:''; position:absolute; inset:0; background:linear-gradient(0deg,rgba(0,0,0,.55),rgba(0,0,0,.25) 40%, rgba(0,0,0,0) 70%); border-radius:12px }
.hero .hero-title, .hero .hero-sub, .btn-hero{ position:relative; z-index:2 }
.hero .hero-title{ font-size:28px; font-weight:900 }
.hero .hero-sub{ opacity:.9; margin:6px 0 10px 0 }
.btn-hero{ display:inline-block; background:#ff6a3d; color:#fff; font-weight:800; padding:10px 16px; border-radius:999px }
.hero .hero-nav{ position:absolute; top:50%; transform:translateY(-50%); width:34px; height:34px; border-radius:50%; border:1px solid #ffffff55; background:#0b0f1dcc; color:#fff; display:flex; align-items:center; justify-content:center }
.hero .hero-nav.prev{ left:8px }
.hero .hero-nav.next{ right:8px }
.hero .hero-dots{ position:absolute; left:50%; bottom:10px; transform:translateX(-50%); display:flex; gap:6px; z-index:3 }
.hero .hero-dots .dot{ width:8px; height:8px; border-radius:999px; background:#ffffff66; border:0 }
.hero .hero-dots .dot.is-active{ background:#fff }

/* Events grid/cards (mock 2) */
.events-grid{ display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:14px }
.ev-card{ display:block; background:#0e1428; border:1px solid #1f2642; border-radius:14px; overflow:hidden; box-shadow: 0 10px 30px rgba(0,0,0,.25) }
.ev-card:hover{ transform:translateY(-2px); box-shadow:0 14px 34px rgba(0,0,0,.35) }
.ev-thumb{ height:140px; background:#18213f; background-size:cover; background-position:center }
.ev-meta{ display:flex; gap:12px; padding:12px 12px 14px 12px }
.ev-badge{ width:56px; flex:0 0 56px; background:#0b1030; border:1px solid #1f2642; border-radius:10px; text-align:center }
.ev-badge .day{ display:block; font-weight:900; font-size:20px; color:#ff674f; line-height:1.1; padding-top:6px }
.ev-badge .mon{ display:block; font-size:11px; font-weight:800; color:#e5e7eb; background:#0e1428; border-radius:0 0 10px 10px; padding:4px 0 }
.ev-info{ flex:1 }
.ev-title{ font-weight:900; text-transform:uppercase; color:#e5e7eb; margin-bottom:4px }
.ev-place{ font-size:12px; color:#b5bddb }
.ev-place .muted{ color:#7d86a9 }
.ev-actions{ margin-top:8px }
.ev-actions .btn-link{ display:inline-block; background:#1b2b7a; border:1px solid #1a2a72; padding:6px 10px; border-radius:8px }
.ev-actions .btn-link:hover{ background:#2540ad }

/* Ad section */
.ad .ad-frame{ background:#0e1428; border:1px solid #1f2642; border-radius:14px; padding:16px }
.ad .ad-label{ text-align:center; color:#9aa3c0; font-size:12px; margin-bottom:10px }
.ad .ad-placeholder{ height:120px; background:#0b0f1d; border:1px dashed #334155; border-radius:10px; display:flex; align-items:center; justify-content:center; color:#9aa3c0 }

/* Footer */
.site-footer{ border-top:1px solid #111c46; padding:18px 0; margin-top:24px; color:#a9b4e6; font-size:12px }
.site-footer .f-wrap{ display:flex; justify-content:space-between; gap:12px; align-items:center }
.site-footer a{ color:#c8d1ff }

/* ===== EVENT BUY PAGE (light panel) ===== */
.evbuy{ margin-top:18px; margin-bottom:24px }
.evbuy-wrap{ display:grid; grid-template-columns: 380px 1fr; gap:18px }
@media (max-width: 960px){ .evbuy-wrap{ grid-template-columns: 1fr } }
.evbuy-left .poster{ background:#fff; border-radius:10px; overflow:hidden; border:1px solid #e5e7eb }
.evbuy-left img{ display:block; width:100%; height:auto }
.evbuy-right{ background:#0e1428; border:1px solid #1f2642; border-radius:10px; padding:12px }
.evbuy-head{ display:grid; grid-template-columns: 84px 1fr auto; gap:12px; align-items:center; background:#0b1030; border:1px solid #1f2642; border-radius:10px; padding:12px }
.date-badge{ background:#fff; color:#111; border-radius:10px; text-align:center; font-weight:800; overflow:hidden; border:1px solid #e5e7eb }
.date-badge .d{ font-size:28px; padding-top:6px }
.date-badge .wm{ display:flex; gap:2px; justify-content:center; background:#f3f4f6; padding:4px 0; font-size:11px }
.evbuy-head .ttl{ font-size:22px; font-weight:900; color:#e5e7eb; margin:0 }
.evbuy-head .sub{ color:#c6d0ff; font-size:12px }
.deadline .lbl{ color:#fca5a5; text-align:right; font-weight:800; font-size:12px }
.deadline .count{ display:flex; gap:10px; color:#ef4444; justify-content:flex-end }
.deadline .count b{ font-size:18px }
.deadline .count small{ display:block; font-size:10px; color:#fda4af }

.evbuy-panel.light{ background:#fff; border:1px solid #e5e7eb; border-radius:10px; margin-top:12px }
.panel-tabs{ padding:10px 12px; border-bottom:1px solid #e5e7eb }
.panel-tabs button{ background:#e5e7eb; border:0; padding:6px 12px; border-radius:999px; font-weight:800; color:#374151 }
.list-head{ display:grid; grid-template-columns: 1fr 160px 120px 120px 140px; gap:12px; padding:10px 12px; font-size:12px; color:#6b7280; border-bottom:1px solid #e5e7eb }
.row{ display:grid; grid-template-columns: 1fr 160px 120px 120px 140px; gap:12px; padding:12px; align-items:center; border-bottom:1px solid #f1f5f9 }
.row:last-child{ border-bottom:0 }
.row .lot{ font-weight:800; color:#ef4444; font-size:12px }
.row .name{ font-weight:800; color:#111827 }
.row .avail{ color:#6b7280; font-size:12px }
.qty{ display:flex; gap:8px; align-items:center; justify-content:center }
.qty .minus, .qty .plus{ width:28px; height:28px; border-radius:999px; border:1px solid #d1d5db; background:#fff; font-weight:800; color:#111 }
.qty .q{ width:42px; text-align:center; padding:4px 6px; border:1px solid #d1d5db; border-radius:6px }
.totalbar{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px; background:#f8fafc; border-top:1px solid #e5e7eb; border-radius:0 0 10px 10px }
.totalbar .t1{ font-weight:800; color:#111827 }
.totalbar .t2{ color:#6b7280; font-size:12px }
.btn-buy{ background:#9ca3af; border:0; padding:10px 14px; border-radius:10px; font-weight:800; color:#fff }
.btn-buy:not([disabled]){ background:#2563eb }

/* ===== CHECKOUT ===== */
.checkout{ margin:18px auto 28px auto }
.ck-title{ font-size:28px; font-weight:900; color:#e5e7eb; margin:10px 0 16px 0 }
.ck-grid{ display:grid; grid-template-columns: 1fr 360px; gap:18px }
@media (max-width: 1024px){ .ck-grid{ grid-template-columns: 1fr } }
.ck-card{ background:#ffffff; border:1px solid #e5e7eb; border-radius:10px; padding:14px }
.ck-card h3{ margin:0 0 6px 0; font-size:16px; color:#111827 }
.ck-card .muted{ color:#6b7280; font-size:12px; margin-bottom:10px }
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap:10px }
@media (max-width: 640px){ .form-row{ grid-template-columns: 1fr } }
.field label{ display:block; font-size:12px; color:#374151; margin-bottom:6px }
.field input{ width:100%; height:38px; border:1px solid #d1d5db; border-radius:8px; padding:0 10px }
.link-btn{ background:transparent; border:0; color:#2563eb; font-weight:700; cursor:pointer }
.pay-tabs{ display:flex; gap:8px; margin-bottom:8px }
.pill{ display:flex; align-items:center; gap:6px; padding:8px 12px; border-radius:999px; border:1px solid #e5e7eb; background:#f9fafb; color:#374151; font-weight:700 }
.pill.active{ background:#e0e7ff; border-color:#c7d2fe }

.ck-right .ck-summary{ background:#ffffff; border:1px solid #e5e7eb; border-radius:10px; padding:14px; position:sticky; top:86px; box-shadow:0 6px 20px rgba(0,0,0,.08) }
.sum-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:10px }
.sum-title{ font-weight:800; color:#111827; font-size:14px }
.sum-price{ font-weight:800; color:#111827 }
.sum-qty{ display:flex; align-items:center; gap:8px; margin-bottom:8px }
.sum-qty button{ width:28px; height:28px; border-radius:999px; border:1px solid #d1d5db; background:#fff; font-weight:800 }
.sum-qty input{ width:50px; text-align:center; height:32px; border:1px solid #d1d5db; border-radius:8px }
.sum-lines{ display:grid; grid-template-columns:1fr auto; row-gap:6px; column-gap:12px; font-size:14px; color:#374151; margin-bottom:10px }
.sum-lines .total{ font-weight:900; color:#111827 }
.terms{ display:flex; align-items:center; gap:8px; font-size:12px; color:#6b7280; margin-bottom:10px }
.terms a{ color:#2563eb }
.btn-primary{ width:100%; background:#22c55e; color:#fff; font-weight:900; padding:10px 14px; border:0; border-radius:10px }
.btn-primary[disabled]{ background:#9ca3af }
.btn-link2{ display:inline-block; margin-top:8px; color:#2563eb }

/* Desktop enhancements */
@media (min-width: 1024px){
  .hero .hero-slide{ height:360px; padding:24px }
  .ev-thumb{ height:160px }
  .events-grid{ grid-template-columns: repeat(4, minmax(0,1fr)) }
}
