:root {
  --bg: #060606;
  --bg-soft: #111111;
  --panel: rgba(18, 18, 18, 0.82);
  --panel-strong: rgba(10, 10, 10, 0.94);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f3f3f3;
  --muted: #a8a8a8;
  --danger: #ec1f26;
  --danger-2: #9f0c11;
  --accent: #ffd8d9;
  --green: #5dff93;
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.48);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top center, rgba(236, 31, 38, 0.12), transparent 28%),
    radial-gradient(circle at bottom left, rgba(236, 31, 38, 0.12), transparent 25%),
    linear-gradient(180deg, #090909 0%, #040404 100%);
  position: relative;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
a {
  font: inherit;
}

.noise,
.smoke {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.noise {
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 3px 3px, 3px 3px;
  mix-blend-mode: soft-light;
}

.smoke::before,
.smoke::after {
  content: "";
  position: absolute;
  width: 40rem;
  height: 40rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.22;
}

.smoke-one::before {
  top: -12rem;
  left: -10rem;
  background: rgba(255, 255, 255, 0.14);
}

.smoke-one::after {
  right: -15rem;
  top: 8rem;
  background: rgba(236, 31, 38, 0.12);
}

.smoke-two::before {
  left: 15%;
  bottom: -18rem;
  background: rgba(236, 31, 38, 0.1);
}

.smoke-two::after {
  right: 5%;
  bottom: -12rem;
  background: rgba(255, 255, 255, 0.09);
}

.page-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 2rem 0 4rem;
  position: relative;
  z-index: 1;
}

.panel {
  width: 100%;
}

.gate-screen,
.denied-screen {
  min-height: calc(100vh - 6rem);
  display: grid;
  place-items: center;
  text-align: center;
}

.logo-wrap {
  display: grid;
  place-items: center;
  padding: 2rem 1rem 1.5rem;
}

.logo-wrap.small {
  padding-bottom: 0.5rem;
}

.brand-logo {
  width: min(100%, 460px);
  object-fit: contain;
  filter: drop-shadow(0 18px 50px rgba(236, 31, 38, 0.16));
}

.small-logo {
  width: 290px;
}

.gate-video-wrap {
  width: min(100%, 760px);
  margin: 0 auto 1.5rem;
  border-radius: calc(var(--radius-xl) - 4px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.92), rgba(9, 9, 9, 0.88));
  box-shadow: var(--shadow);
}

.gate-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  background: #000;
}

.gate-card,
.form-panel,
.brand-panel {
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.92), rgba(9, 9, 9, 0.88));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.gate-card,
.denied-card {
  width: min(100%, 720px);
  padding: 2rem;
  border-radius: var(--radius-xl);
}

.gate-card h1,
.denied-card h2,
.panel-header h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.gate-copy,
.panel-header p,
.denied-card p,
.info-card strong {
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--danger);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow.warning {
  color: #ff6a6a;
}

.gate-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.75rem 0 1rem;
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.45rem;
  min-width: 180px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease, background 160ms ease;
  font-weight: 700;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: white;
  background: linear-gradient(180deg, var(--danger), var(--danger-2));
  box-shadow: 0 14px 40px rgba(236, 31, 38, 0.3);
}

.btn-secondary {
  color: white;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-pay {
  width: 100%;
  margin-top: 1rem;
  color: #0b0b0b;
  background: linear-gradient(180deg, #ffd966, #f4b81f);
  box-shadow: 0 14px 40px rgba(244, 184, 31, 0.24);
}

.btn-pay.disabled {
  pointer-events: none;
  opacity: 0.45;
  box-shadow: none;
}

.micro-copy {
  color: #8f8f8f;
  font-size: 0.9rem;
  line-height: 1.6;
}

.micro-copy.left {
  text-align: left;
}

.booking-section {
  padding-top: 1rem;
}

.top-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.booking-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.5rem;
  align-items: start;
}

.brand-panel,
.form-panel {
  border-radius: var(--radius-xl);
  padding: 1.25rem;
}

.hero-frame {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 6px);
  min-height: 520px;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.24)),
    radial-gradient(circle at center, transparent 45%, rgba(236, 31, 38, 0.12));
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.info-stack {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.info-card {
  padding: 1rem 1rem 1.05rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
}

.info-label {
  display: inline-block;
  margin-bottom: 0.3rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--danger);
}

.panel-header {
  margin-bottom: 1.35rem;
}

.ticket-form {
  display: grid;
  gap: 1rem;
}

.field-group {
  display: grid;
  gap: 0.5rem;
}

.field-group label,
.selection-card h3 {
  font-weight: 700;
}

.field-group input[type="text"],
.field-group input[type="email"],
.field-group input[type="tel"] {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: white;
  padding: 0.95rem 1rem;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field-group input:focus {
  border-color: rgba(236, 31, 38, 0.7);
  box-shadow: 0 0 0 4px rgba(236, 31, 38, 0.12);
}

.phone-group {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0.75rem;
}

.phone-group select,
.phone-group input[type="tel"] {
  width: 100%;
  min-height: 56px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: white;
  padding: 0.95rem 1rem;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.phone-group select:focus,
.phone-group input[type="tel"]:focus {
  border-color: rgba(236, 31, 38, 0.7);
  box-shadow: 0 0 0 4px rgba(236, 31, 38, 0.12);
}

.upload-box {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 62px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.upload-box input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-box span {
  padding: 1rem;
  color: var(--muted);
}

.field-group small {
  color: #8e8e8e;
}

.selection-card,
.checkout-card {
  padding: 1rem 1rem 1.05rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
}

.selection-card.compact {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.selection-card h3,
.selection-card p {
  margin: 0;
}

.selection-card p {
  color: var(--muted);
  margin-top: 0.35rem;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-top: 1rem;
  cursor: pointer;
}

.selection-card.compact .checkbox-row {
  margin-top: 0;
}

.checkbox-row input {
  margin-top: 0.25rem;
  transform: scale(1.18);
  accent-color: var(--danger);
}

.terms-row a {
  color: white;
  text-underline-offset: 0.18em;
}

.checkout-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.checkout-row + .checkout-row {
  margin-top: 0.55rem;
}

.checkout-row strong {
  font-size: 1.45rem;
  color: white;
}

.checkout-row.sub {
  color: var(--muted);
  font-size: 0.95rem;
}

.fade-up {
  animation: fadeUp 0.8s ease both;
}

.delay-1 {
  animation-delay: 0.12s;
}

code {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.12rem 0.35rem;
  border-radius: 8px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .booking-grid {
    grid-template-columns: 1fr;
  }

  .hero-frame {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 1rem), var(--max-width));
    padding-top: 1rem;
  }

  .gate-card,
  .brand-panel,
  .form-panel,
  .denied-card {
    padding: 1rem;
    border-radius: 22px;
  }

  .gate-actions {
    flex-direction: column;
  }

.checkout-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.action-btn {
  width: 100%;
  max-width: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-submit,
.btn-pay {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  margin-top: 1rem;
}

.required {
  color: #ec1f26;
  font-weight: 700;
}

.form-panel .waitlist-box,
.ticket-form .waitlist-box,
.waitlist-box {
  margin-top: 1rem !important;
  padding: 2rem 1.5rem !important;
  background: rgba(236, 31, 38, 0.08) !important;
  border: 1px solid rgba(236, 31, 38, 0.35) !important;
  border-radius: 22px !important;
  text-align: center !important;
}

.form-panel .waitlist-box-title,
.ticket-form .waitlist-box-title,
.waitlist-box .waitlist-box-title,
.waitlist-box-title {
  margin: 0 0 0.75rem !important;
  color: #ec1f26 !important;
  font-size: 1.4rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.14em !important;
  text-align: center !important;
}

.form-panel .waitlist-box-copy,
.ticket-form .waitlist-box-copy,
.waitlist-box .waitlist-box-copy,
.waitlist-box-copy {
  margin: 0 0 1.5rem !important;
  color: #c8c8c8 !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
  text-align: center !important;
}

.form-panel .waitlist-box .action-btn,
.ticket-form .waitlist-box .action-btn,
.waitlist-box .action-btn {
  margin: 0 auto !important;
  max-width: 100% !important;
  width: 100% !important;
  padding: 1rem !important;
  font-size: 1.05rem !important;
  display: flex !important;
  justify-content: center !important;
}

.field-error input,
.field-error select {
  border-color: #ec1f26 !important;
  box-shadow: 0 0 0 1px rgba(236, 31, 38, 0.3);
}

.field-error-msg {
  color: #ec1f26;
  font-size: 0.78rem;
  margin-top: 4px;
  display: none;
}

.field-error .field-error-msg {
  display: block;
}

.status-message {
  min-height: 1.4rem;
  margin: 0.95rem 0 1.15rem;
  text-align: center;
}

#paypalCheckout {
  margin: 1rem auto 0;
}

.paypal-button-container {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

#statusMessage {
  min-height: 1.4rem;
  margin: 0.95rem 0 1.15rem;
  text-align: center;
}
  .btn,
  .btn-pay {
    width: 100%;
  }

  .small-logo {
    width: 220px;
  }

  .hero-frame {
    min-height: 340px;
  }

  .checkout-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

.ticket-quantity-wrap {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

.quantity-label {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--danger);
  font-weight: 700;
}

.quantity-control {
  display: grid;
  grid-template-columns: 56px minmax(96px, 140px) 56px;
  gap: 0.75rem;
  align-items: center;
}

.quantity-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: white;
  border-radius: 16px;
  min-height: 56px;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.quantity-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(236, 31, 38, 0.4);
}

#ticketQuantity {
  width: 100%;
  min-height: 56px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: white;
  padding: 0.95rem 1rem;
  text-align: center;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  font-weight: 700;
  font-size: 1.15rem;
}

#ticketQuantity:focus {
  border-color: rgba(236, 31, 38, 0.7);
  box-shadow: 0 0 0 4px rgba(236, 31, 38, 0.12);
}

.quantity-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.sold-out-ribbon {
  display: none;
  position: absolute;
  top: 95px;
  right: 30px;
  z-index: 90;
  width: 520px;
  padding: 1rem 0;
  text-align: center;
  transform: rotate(32deg);
  font-size: clamp(1.7rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: #fff1f1;
  background: linear-gradient(90deg, rgba(159, 12, 17, 0.94), rgba(236, 31, 38, 0.94), rgba(159, 12, 17, 0.94));
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.08),
    0 18px 60px rgba(236, 31, 38, 0.45);
  text-shadow: 0 0 22px rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.sold-out-shell {
  position: relative;
  overflow: visible;
}

.sold-out-panel {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(6, 6, 6, 0.92), rgba(6, 6, 6, 0.98)),
    radial-gradient(circle at center, rgba(236, 31, 38, 0.25), transparent 50%);
  border-radius: inherit;
  backdrop-filter: blur(6px);
}

.sold-out-stamp {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: #ff4147;
  font-size: clamp(2rem, 5vw, 3.7rem);
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(236, 31, 38, 0.42);
}

.sold-out-panel p {
  margin: 0;
  color: #f6c3c5;
  font-size: 1rem;
  max-width: 360px;
}

@media (max-width: 640px) {
  .quantity-control {
    grid-template-columns: 50px minmax(72px, 1fr) 50px;
    gap: 0.5rem;
  }

  .sold-out-ribbon {
    top: 110px;
    right: -175px;
    width: 470px;
    font-size: 1.45rem;
  }
}

@media (max-width: 640px) {
  .phone-group {
    grid-template-columns: 1fr;
  }
}

#countryCode {
  color: #ffffff;
  background: #161515;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-indent: 0;
}

#countryCode option {
  color: #ffffff;
  background: #161515;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
