:root {
  --bg: #161615;
  --bg-2: #1f1f1d;
  --surface: #242422;
  --line: #3a3a37;
  --text: #f4f2ee;
  --muted: #a9a59d;
  --pink: #f58fc3;
  --pink-strong: #ec5f9f;
  --green: #18b46b;
  --red: #e8343d;
  --focus: #00fa30;
  --radius: 18px;
  --radius-sm: 10px;
  --wrap: 1160px;
  --font: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Archivo", "Roboto", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(22, 22, 21, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 8px 12px; border-radius: 999px;
}
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255, 255, 255, .08); }
.nav .nav-cta { background: var(--pink); color: #1b1b1b; }
.nav .nav-cta:hover { background: #fff; color: #1b1b1b; }
@media (max-width: 640px) {
  .nav .nav-hide-sm { display: none; }
  .brand img { height: 24px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 17px/1 var(--font); text-decoration: none; cursor: pointer;
  border: 0; border-radius: 999px; padding: 17px 30px;
  background: var(--pink); color: #1b1b1b;
  transition: background .15s, transform .15s;
}
.btn:hover { background: #fff; color: #1b1b1b; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); color: var(--text); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: #1b1b1b url("../img/bg-senal.jpg") center / cover no-repeat;
  padding: clamp(64px, 11vw, 140px) 0 clamp(56px, 9vw, 110px);
  text-align: center;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(transparent, var(--bg)); }
.hero .wrap { position: relative; z-index: 1; }
.hero-logo { width: min(560px, 82%); margin: 0 auto 36px; }
.hero h1 { font-size: clamp(30px, 5vw, 52px); text-transform: uppercase; margin-bottom: 18px; }
.hero p { max-width: 680px; margin: 0 auto 30px; color: #dcd8d0; font-size: clamp(16px, 2vw, 19px); }

/* Sections */
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section-title { font-size: clamp(26px, 4vw, 38px); margin-bottom: 28px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); margin-bottom: 10px; }

/* Featured ticket card */
.ticket-card {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  background: var(--bg-2); border: 1px solid rgba(255, 255, 255, .06); border-radius: 28px;
  padding: clamp(20px, 4vw, 48px);
}
.ticket-card img { width: 100%; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .45)); transition: transform .3s; }
.ticket-card a:hover img { transform: rotate(-1.5deg) scale(1.02); }
.ticket-card h3 { font-size: clamp(24px, 3vw, 32px); }
.price { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 4vw, 44px); line-height: 1; margin: 6px 0 22px; }
.price small { font: 400 15px var(--font); color: var(--muted); margin-left: 6px; }
@media (max-width: 820px) { .ticket-card { grid-template-columns: 1fr; } }

.features { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.features li { position: relative; padding-left: 30px; }
.features li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { background: var(--bg-2); border-radius: var(--radius); padding: 24px; border: 1px solid rgba(255, 255, 255, .06); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--pink); color: #1b1b1b; font-weight: 800; margin-bottom: 14px;
}
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Product page */
.breadcrumb { font-size: 14px; color: var(--muted); padding: 22px 0 0; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span[aria-hidden] { margin: 0 8px; opacity: .5; }

.product {
  display: grid; grid-template-columns: minmax(0, 1fr) 460px; grid-template-rows: auto 1fr;
  grid-template-areas: "media buy" "desc buy";
  column-gap: clamp(28px, 5vw, 64px); align-items: start; padding: 28px 0 72px;
}
.product-media { grid-area: media; }
.product-buy { grid-area: buy; min-width: 0; }
.product-media img { width: 100%; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .5)); }
.product h1 { font-size: clamp(30px, 4vw, 44px); overflow-wrap: break-word; }
.product-desc { grid-area: desc; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); color: #d8d4cc; }
.product-desc h2 { font-size: 22px; }
@media (max-width: 960px) {
  .product { grid-template-columns: minmax(0, 1fr); grid-template-areas: "media" "buy" "desc"; row-gap: 28px; }
  .product-media { max-width: 620px; }
  .product-desc { margin-top: 12px; }
}

.panel { background: var(--bg-2); border: 1px solid rgba(255, 255, 255, .07); border-radius: 24px; padding: clamp(20px, 3vw, 32px); }
.panel h2 { font-size: 22px; margin-bottom: 4px; }
.panel .hint { color: var(--muted); font-size: 14px; margin-bottom: 22px; }

/* Forms */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.field label .opt { color: var(--muted); font-weight: 400; }
.input {
  width: 100%; font: 400 16px/1.4 var(--font); color: var(--text);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 14px; transition: border-color .15s;
}
.input:hover { border-color: #55554f; }
.input:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(245, 143, 195, .2); }
.field.has-error .input { border-color: var(--red); }
.field-error { color: #ff8a8f; font-size: 13.5px; margin-top: 6px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .row-2 { grid-template-columns: 1fr; } }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 44px; height: 44px; background: transparent; border: 0; color: var(--text); font-size: 22px; cursor: pointer; }
.qty button:hover { background: rgba(255, 255, 255, .08); }
.qty input { width: 48px; text-align: center; border: 0; background: transparent; color: var(--text); font: 600 17px var(--font); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }

.field label.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 400; line-height: 1.5; color: #d8d4cc; cursor: pointer; margin: 0; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--pink); flex: none; }

.summary { border-top: 1px dashed var(--line); margin: 22px 0 18px; padding-top: 16px; }
.summary-row { display: flex; justify-content: space-between; color: var(--muted); font-size: 15px; margin-bottom: 6px; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 18px; }
.summary-total strong { font-family: var(--font-display); font-size: 28px; }

.secure { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 13px; margin-top: 14px; text-align: center; }
.secure svg { flex: none; }

.alert { border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 20px; font-size: 15px; }
.alert-error { background: rgba(232, 52, 61, .14); border: 1px solid rgba(232, 52, 61, .45); color: #ffc9cc; }
.alert-ok { background: rgba(24, 180, 107, .14); border: 1px solid rgba(24, 180, 107, .45); color: #c5f3dc; }

/* Result */
.result { max-width: 720px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) 0; text-align: center; }
.result-icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 22px; }
.result-icon.ok { background: var(--green); }
.result-icon.fail { background: var(--red); }
.result-icon.wait { background: #4b4b46; }
.result h1 { font-size: clamp(28px, 4.5vw, 42px); }
.result .lead { color: #d8d4cc; font-size: 18px; max-width: 560px; margin: 0 auto 28px; }
.voucher { text-align: left; margin: 0 auto 28px; }
.voucher dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; }
.voucher dt { color: var(--muted); font-size: 15px; }
.voucher dd { margin: 0; text-align: right; font-weight: 500; overflow-wrap: anywhere; }
.voucher .total dd { font-family: var(--font-display); font-size: 22px; font-weight: 800; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Footer */
.site-footer { background: #0f0f0e; border-top: 1px solid rgba(255, 255, 255, .06); padding: 48px 0 28px; font-size: 15px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.footer-grid h3 { color: var(--text); font: 600 14px var(--font); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--text); }
.footer-logo { width: 150px; margin-bottom: 16px; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .06); font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Redirect */
.redirect { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 20px; }
.spinner { width: 48px; height: 48px; border: 4px solid rgba(255, 255, 255, .15); border-top-color: var(--pink); border-radius: 50%; animation: spin .8s linear infinite; margin: 0 auto 20px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation-duration: 2s !important; } html { scroll-behavior: auto; } }
