/* OMT stadium-ticket inspired interactive board selector */

.omt-bs {
  --bs-gold: #f8c800;
  position: relative;
  overflow: hidden;
  padding: 120px 0 130px;
  color: #fff;
  background:
    radial-gradient(ellipse 60% 45% at 30% 30%, rgba(15,0,212,.42) 0%, rgba(15,0,212,0) 70%),
    radial-gradient(ellipse 50% 40% at 90% 90%, rgba(248,200,0,.08) 0%, rgba(248,200,0,0) 70%),
    linear-gradient(180deg, #000 0%, #04002e 50%, #000 100%);
}
.omt-bs::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.omt-bs__wrap { position: relative; z-index: 1; width: min(1320px, 100% - 48px); margin: 0 auto; }

.omt-bs__head { text-align: center; margin-bottom: 56px; }
.omt-bs__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
  font: 600 11px/1 "Space Grotesk","Courier New",monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--bs-gold);
}
.omt-bs__eyebrow::before, .omt-bs__eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .5; }
.omt-bs__title { margin: 0 0 16px; font: 500 clamp(36px, 4.6vw, 72px)/1.04 "ClashDisplay-Medium",Inter,sans-serif; letter-spacing: -.01em; color: #fff; }
.omt-bs__title em { font-style: normal; color: var(--bs-gold); }
.omt-bs__sub { max-width: 640px; margin: 0 auto; font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.6); }

.omt-bs__stage { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 36px; align-items: start; }

/* ── Board ── */
.omt-bs__board-col { display: grid; gap: 22px; justify-items: center; }
.omt-bs__board {
  position: relative; width: 100%; max-width: 780px; aspect-ratio: 1257 / 1123;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.6)) drop-shadow(0 0 50px rgba(15,0,212,.35));
}
.omt-bs__board > img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; user-select: none; pointer-events: none; }

/* Board artwork is display-only. Slot selection is controlled by the six pills below. */
.omt-bs__segs,
.omt-bs__seg { pointer-events: none !important; cursor: default !important; }

.omt-bs__spot {
  position: absolute; inset: 0; margin: 0; padding: 0; border: 0; cursor: pointer;
  background: transparent;
  transition: background .35s ease;
  -webkit-tap-highlight-color: transparent;
}
.omt-bs__spot[data-slot="1"] { clip-path: polygon(3.5% 28%, 3.5% 71%, 33.5% 58.5%, 33.5% 41.8%); }
.omt-bs__spot[data-slot="2"] { clip-path: polygon(3.5% 71%, 50% 95.5%, 50% 66%, 33.5% 58.5%); }
.omt-bs__spot[data-slot="3"] { clip-path: polygon(50% 95.5%, 96.5% 71%, 66% 58.5%, 50% 66%); }
.omt-bs__spot[data-slot="4"] { clip-path: polygon(96.5% 71%, 96.5% 28%, 66% 41.8%, 66% 58.5%); }
.omt-bs__spot[data-slot="5"] { clip-path: polygon(96.5% 28%, 50% 4.5%, 50% 34%, 66% 41.8%); }
.omt-bs__spot[data-slot="6"] { clip-path: polygon(50% 4.5%, 3.5% 28%, 33.5% 41.8%, 50% 34%); }
.omt-bs__spot:hover { background: rgba(248,200,0,.07); }
.omt-bs__spot:focus-visible { background: rgba(248,200,0,.12); }
.omt-bs__spot.is-active { background: transparent; }

.omt-bs__tag {
  position: absolute; display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: 24%; transform: translate(-50%, -50%); text-align: center; pointer-events: none;
  text-shadow: 0 2px 10px rgba(0,0,0,.8);
}
.omt-bs__spot[data-slot="1"] .omt-bs__tag { left: 18.6%; top: 49.7%; }
.omt-bs__spot[data-slot="2"] .omt-bs__tag { left: 34.3%; top: 72.7%; }
.omt-bs__spot[data-slot="3"] .omt-bs__tag { left: 65.7%; top: 72.7%; }
.omt-bs__spot[data-slot="4"] .omt-bs__tag { left: 81.5%; top: 49.7%; }
.omt-bs__spot[data-slot="5"] .omt-bs__tag { left: 65.7%; top: 27.1%; }
.omt-bs__spot[data-slot="6"] .omt-bs__tag { left: 34.3%; top: 27.1%; }
.omt-bs__tag b {
  display: grid; place-items: center; width: clamp(24px, 3.2vw, 34px); height: clamp(24px, 3.2vw, 34px); border-radius: 50%;
  background: #fff; color: #050032; font: 700 clamp(10px, 1.2vw, 13px)/1 "ClashDisplay-Bold",Inter,sans-serif; text-shadow: none;
  transition: background .3s ease;
}
.omt-bs__spot.is-active .omt-bs__tag b { background: var(--bs-gold); }
.omt-bs__tag-name {
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font: 700 clamp(9px, 1.15vw, 14px)/1.2 "ClashDisplay-Semibold",Inter,sans-serif; color: #fff;
}
.omt-bs__tag-logo { display: none; width: clamp(26px, 4vw, 52px); height: clamp(26px, 4vw, 52px); object-fit: contain; border-radius: 50%; background: #fff; padding: 3px; }
.omt-bs__tag-logo.has-logo { display: block; }
/* Uploaded logo replaces the brand text on the board */
.omt-bs__tag-logo.has-logo + .omt-bs__tag-name { display: none; }

/* slot pills (accessible selector) */
.omt-bs__pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.omt-bs__pill {
  padding: 11px 16px; cursor: pointer; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.04); color: rgba(255,255,255,.78);
  font: 700 11px/1 "Space Grotesk","Courier New",monospace; letter-spacing: .1em; text-transform: uppercase;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.omt-bs__pill:hover { border-color: var(--bs-gold); color: #fff; }
.omt-bs__pill.is-active { background: var(--bs-gold); border-color: var(--bs-gold); color: #050032; }
.omt-bs__pill:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ── Slot panel (ticket) ── */
.omt-bs__panel {
  position: relative; border: 1px solid rgba(248,200,0,.35);
  background: linear-gradient(180deg, rgba(10,6,86,.78), rgba(2,0,26,.92));
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 50px rgba(248,200,0,.07);
}
.omt-bs__panel::before, .omt-bs__panel::after {
  content: ''; position: absolute; top: 118px; width: 22px; height: 22px; border-radius: 50%; background: #03002a; border: 1px solid rgba(248,200,0,.35);
}
.omt-bs__panel::before { left: -12px; clip-path: inset(0 0 0 50%); }
.omt-bs__panel::after { right: -12px; clip-path: inset(0 50% 0 0); }
.omt-bs__ticket-top { padding: 26px 26px 22px; border-bottom: 2px dashed rgba(248,200,0,.3); }
.omt-bs__ticket-label { font: 600 11px/1 "Space Grotesk","Courier New",monospace; letter-spacing: .13em; text-transform: uppercase; color: var(--bs-gold); }
.omt-bs__ticket-title { margin: 12px 0 18px; font: 600 clamp(26px, 2.4vw, 34px)/1.1 "ClashDisplay-Semibold",Inter,sans-serif; color: #fff; }
.omt-bs__ticket-fee { display: flex; align-items: baseline; gap: 8px; }
.omt-bs__ticket-fee strong { font: 700 clamp(40px, 4vw, 58px)/1 "ClashDisplay-Bold",Inter,sans-serif; color: var(--bs-gold); letter-spacing: -.02em; }
.omt-bs__ticket-fee span { font: 600 11px/1 "Space Grotesk","Courier New",monospace; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.omt-bs__rows { margin: 0; padding: 8px 26px 4px; list-style: none; }
.omt-bs__rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.07); align-items: start; }
.omt-bs__rows li:last-child { border-bottom: 0; }
.omt-bs__rows span { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.4; }
.omt-bs__rows strong { font-size: 13.5px; font-weight: 600; color: #fff; text-align: right; line-height: 1.4; }
.omt-bs__pend { display: inline-block; padding: 4px 8px; border: 1px dashed rgba(248,200,0,.45); color: rgba(248,200,0,.85); font: 600 9px/1 "Space Grotesk","Courier New",monospace; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.omt-bs__panel-note { margin: 0; padding: 4px 26px 22px; font-size: 11.5px; line-height: 1.6; color: rgba(255,255,255,.4); }

/* ── Brand zone ── */
.omt-bs__brand { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; margin-top: 48px; padding: 34px; border: 1px solid rgba(84,105,255,.25); background: linear-gradient(180deg, rgba(15,0,212,.18), rgba(5,0,40,.68)); }
.omt-bs__brand-title { margin: 0 0 8px; font: 600 26px/1.15 "ClashDisplay-Semibold",Inter,sans-serif; color: #fff; }
.omt-bs__brand-copy { margin: 0 0 22px; font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.6); }
.omt-bs__field { margin-bottom: 18px; }
.omt-bs__field label.omt-bs__lbl { display: block; margin-bottom: 8px; font: 600 10px/1 "Space Grotesk","Courier New",monospace; letter-spacing: .13em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.omt-bs__field input[type="text"],.omt-bs__field input[type="email"],.omt-bs__field input[type="tel"] {
  width: 100%; padding: 14px 16px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); color: #fff; font: 500 15px/1 Inter,sans-serif; outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.omt-bs__field input::placeholder { color: rgba(255,255,255,.38); }
.omt-bs__field input[type="text"]:focus,.omt-bs__field input[type="email"]:focus,.omt-bs__field input[type="tel"]:focus { border-color: var(--bs-gold); box-shadow: 0 0 0 3px rgba(248,200,0,.15); }
.omt-bs__upload { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.omt-bs__upload-btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 18px; cursor: pointer; border: 1px dashed rgba(248,200,0,.55); color: var(--bs-gold); font: 700 11px/1 "Space Grotesk","Courier New",monospace; letter-spacing: .1em; text-transform: uppercase; transition: background .25s ease; }
.omt-bs__upload-btn:hover { background: rgba(248,200,0,.08); }
.omt-bs__file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.omt-bs__file:focus-visible + .omt-bs__upload-btn { outline: 2px solid #fff; outline-offset: 2px; }
.omt-bs__file-name { font-size: 12px; color: rgba(255,255,255,.5); }
.omt-bs__disclaimer { margin: 6px 0 0; font-size: 11.5px; line-height: 1.6; color: rgba(255,255,255,.38); }

/* sample directory card */
.omt-bs__sample-label { display: block; margin-bottom: 12px; font: 600 10px/1 "Space Grotesk","Courier New",monospace; letter-spacing: .13em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.omt-bs__card { max-width: 340px; border: 1px solid rgba(248,200,0,.45); background: rgba(2,0,26,.85); box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.omt-bs__card-media { position: relative; height: 150px; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #1a10b8, #050032 75%); }
.omt-bs__card-media img { width: 46%; max-height: 80%; object-fit: contain; filter: drop-shadow(0 0 16px rgba(248,200,0,.35)); }
.omt-bs__card-media img.is-user { width: 58%; background: #fff; padding: 8px; border-radius: 8px; filter: none; }
.omt-bs__card-slot { position: absolute; left: 0; top: 0; padding: 5px 9px; background: var(--bs-gold); color: #050032; font: 700 10px/1 "Space Grotesk","Courier New",monospace; letter-spacing: .06em; }
.omt-bs__card-tag { position: absolute; right: 10px; top: 10px; padding: 5px 9px; border: 1px solid rgba(70,185,255,.55); background: rgba(2,0,26,.85); color: #46b9ff; font: 700 9px/1 "Space Grotesk","Courier New",monospace; letter-spacing: .1em; text-transform: uppercase; }
.omt-bs__card-body { padding: 16px; }
.omt-bs__card-code { margin-bottom: 8px; font: 700 10px/1 "Space Grotesk","Courier New",monospace; letter-spacing: .12em; color: var(--bs-gold); }
.omt-bs__card-name { margin: 0 0 12px; font: 600 20px/1.2 "ClashDisplay-Semibold",Inter,sans-serif; color: #fff; word-break: break-word; }
.omt-bs__card-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.omt-bs__card-stats div { padding: 9px 8px; border: 1px solid rgba(255,255,255,.1); }
.omt-bs__card-stats small { display: block; margin-bottom: 6px; font: 600 8px/1 "Space Grotesk","Courier New",monospace; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.42); }
.omt-bs__card-stats strong { font: 700 15px/1 "ClashDisplay-Bold",Inter,sans-serif; color: var(--bs-gold); }
.omt-bs__card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); font: 600 9px/1.3 "Space Grotesk","Courier New",monospace; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.omt-bs__card-foot em { font-style: normal; color: var(--bs-gold); }

/* actions */
.omt-bs__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 44px; }
.omt-bs__btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 32px; cursor: pointer; text-decoration: none; font: 700 13px/1 "Space Grotesk","Courier New",monospace; letter-spacing: .1em; text-transform: uppercase; transition: transform .3s ease, background .3s ease, color .3s ease, border-color .3s ease; }
.omt-bs__btn--gold { border: 1px solid var(--bs-gold); background: var(--bs-gold); color: #050032 !important; }
.omt-bs__btn--gold:hover { transform: translateY(-3px); background: #fff; border-color: #fff; }
.omt-bs__btn--ghost { border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff !important; }
.omt-bs__btn--ghost:hover { border-color: var(--bs-gold); color: var(--bs-gold) !important; }
.omt-bs__btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.omt-bs__toast { min-height: 22px; margin: 18px 0 0; text-align: center; font-size: 13px; color: var(--bs-gold); }

/* tablet */
@media (max-width: 1199px) {
  .omt-bs { padding: 96px 0 104px; }
  .omt-bs__stage { grid-template-columns: 1fr; gap: 30px; }
  .omt-bs__panel { max-width: 640px; width: 100%; margin: 0 auto; }
  .omt-bs__brand { grid-template-columns: 1fr; gap: 30px; padding: 28px; }
  .omt-bs__card { max-width: 380px; }
}

/* mobile */
@media (max-width: 767px) {
  .omt-bs { padding: 72px 0 80px; }
  .omt-bs__wrap { width: calc(100% - 32px); }
  .omt-bs__head { margin-bottom: 36px; }
  .omt-bs__tag-name { display: none; }
  .omt-bs__pills { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; gap: 8px; }
  .omt-bs__pill { padding: 12px 6px; text-align: center; font-size: 10px; }
  .omt-bs__panel::before, .omt-bs__panel::after { display: none; }
  .omt-bs__ticket-top { padding: 22px 18px 18px; }
  .omt-bs__rows { padding: 6px 18px 2px; }
  .omt-bs__rows li { grid-template-columns: 1fr; }
  .omt-bs__rows strong { text-align: left; }
  .omt-bs__panel-note { padding: 4px 18px 20px; }
  .omt-bs__brand { padding: 22px 16px; margin-top: 36px; }
  .omt-bs__card { max-width: 100%; }
  .omt-bs__actions { flex-direction: column; margin-top: 36px; }
  .omt-bs__btn { width: 100%; padding: 18px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .omt-bs__spot, .omt-bs__btn, .omt-bs__pill { transition: none; }
}

/* ── Seat selector shown inside a modal ── */
.omt-bsm { position: fixed; inset: 0; z-index: 1000001; display: flex; align-items: stretch; justify-content: center; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .35s ease, visibility .35s ease; }
.omt-bsm.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.omt-bsm__backdrop { position: absolute; inset: 0; background: rgba(1,0,16,.82); backdrop-filter: blur(6px); }
.omt-bsm__panel { position: relative; width: min(1440px, 100%); max-height: 100vh; overflow-y: auto; overscroll-behavior: contain; background: #02001a; border-left: 1px solid rgba(248,200,0,.25); border-right: 1px solid rgba(248,200,0,.25); transform: translateY(24px); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.omt-bsm.is-open .omt-bsm__panel { transform: none; }
.omt-bsm__panel .omt-bs { padding: 80px 0 90px; }
.omt-bsm__close { position: sticky; top: 14px; float: right; z-index: 5; width: 48px; height: 48px; margin: 14px 14px 0 0; cursor: pointer; border: 1px solid rgba(255,255,255,.3); background: rgba(2,0,26,.9); }
.omt-bsm__close span { position: absolute; left: 12px; right: 12px; top: 50%; height: 2px; background: #fff; }
.omt-bsm__close span:first-child { transform: rotate(45deg); }
.omt-bsm__close span:last-child { transform: rotate(-45deg); }
.omt-bsm__close:hover { background: var(--bs-gold, #f8c800); border-color: var(--bs-gold, #f8c800); }
.omt-bsm__close:hover span { background: #050032; }
.omt-bsm__close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
html.omt-bsm-open { overflow: hidden; scrollbar-gutter: stable; }
html.omt-bsm-open body { overflow: hidden; }
@media (max-width: 1199px) { .omt-bsm__panel .omt-bs { padding: 72px 0 80px; } }
@media (max-width: 767px) { .omt-bsm__panel { border: 0; } .omt-bsm__panel .omt-bs { padding: 64px 0 64px; } .omt-bsm__close { width: 42px; height: 42px; margin: 10px 10px 0 0; } .omt-bsm__close span { left: 10px; right: 10px; } }
@media (prefers-reduced-motion: reduce) { .omt-bsm, .omt-bsm__panel { transition: none; } }

/* 36 separately selectable board positions (6 per player side) */
.omt-bs__segs { position: absolute; inset: 0; }
.omt-bs__seg {
  position: absolute; inset: 0; margin: 0; padding: 0; border: 0; cursor: pointer; background: transparent;
  transition: background .25s ease; -webkit-tap-highlight-color: transparent;
}
.omt-bs__seg:hover { background: rgba(248,200,0,.28); }
.omt-bs__seg:focus-visible { background: rgba(248,200,0,.4); }
.omt-bs__seg.is-active { background: rgba(248,200,0,.9); }
.omt-bs__flag {
  position: absolute; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 5px; width: 22%;
  transform: translate(-50%, -50%); text-align: center; pointer-events: none; text-shadow: 0 2px 10px rgba(0,0,0,.85);
  transition: left .35s cubic-bezier(.2,.7,.2,1), top .35s cubic-bezier(.2,.7,.2,1);
}
.omt-bs__flag b {
  display: grid; place-items: center; width: clamp(24px, 3.2vw, 34px); height: clamp(24px, 3.2vw, 34px); border-radius: 50%;
  background: var(--bs-gold); color: #050032; font: 700 clamp(10px, 1.2vw, 13px)/1 "ClashDisplay-Bold",Inter,sans-serif; text-shadow: none;
  box-shadow: 0 0 0 3px rgba(2,0,26,.85), 0 6px 14px rgba(0,0,0,.5);
}
@media (prefers-reduced-motion: reduce) { .omt-bs__flag, .omt-bs__seg { transition: none; } }

.omt-bs__seg.is-active { background: rgba(248,200,0,.9); }

/* Proceed button + revealed brand section */
.omt-bs__brand[hidden] { display: none; }
.omt-bs__proceed-wrap { padding: 0 26px 26px; }
.omt-bs__proceed { width: 100%; }
.omt-bs__brand:not([hidden]) { animation: omtBsReveal .5s cubic-bezier(.2,.7,.2,1) both; }
@keyframes omtBsReveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 767px) { .omt-bs__proceed-wrap { padding: 0 18px 20px; } }
@media (prefers-reduced-motion: reduce) { .omt-bs__brand:not([hidden]) { animation: none; } }
.omt-bs__actions[hidden], .omt-bs__toast[hidden] { display: none; }
