/* ====================================================
   YE İSTANBUL — CONCERT TICKET SITE
   Dark Premium Theme
==================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #f5c518;
  --gold-light: #ffe066;
  --silver: #c0c0c0;
  --purple: #8b5cf6;
  --purple-dark: #5b21b6;
  --bg: #09090b;
  --bg2: #101012;
  --bg3: #18181c;
  --card: #1c1c22;
  --border: rgba(255, 255, 255, 0.07);
  --text: #f4f4f5;
  --muted: #71717a;
  --green: #22c55e;
  --red: #ef4444;
  --font: 'Inter', sans-serif;
  --font-display: 'Bebas Neue', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--purple);
  border-radius: 3px;
}

/* ===== NAV ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
  padding: 0 1.5rem;
}

.navbar.scrolled {
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-ye {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-sep {
  color: var(--muted);
  font-size: 1.1rem;
}

.logo-tr {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold), #e6a800) !important;
  color: #000 !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(245, 197, 24, 0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  background: rgba(9, 9, 11, 0.97);
}

.mobile-menu a {
  padding: 0.75rem 0;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu.open {
  display: flex;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(9, 9, 11, 0.45) 0%,
      rgba(9, 9, 11, 0.3) 40%,
      rgba(9, 9, 11, 0.85) 80%,
      rgba(9, 9, 11, 1) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 800px;
}

.badge-row {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  letter-spacing: 0.05em;
}

.badge-live {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.3);
  color: var(--green);
  animation: pulse-live 2s infinite;
}

@keyframes pulse-live {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0.7
  }
}

.artist-name {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 14rem);
  line-height: 0.9;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #fff 30%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 60px rgba(245, 197, 24, 0.3));
  animation: glow-in 1s ease-out;
}

@keyframes glow-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.tour-name {
  font-size: clamp(0.75rem, 2vw, 1rem);
  letter-spacing: 0.35em;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

.event-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.meta-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  flex-shrink: 0;
}

/* COUNTDOWN */
.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.cdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  min-width: 80px;
  margin: 0.25rem;
}

.cdown-num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cdown-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-top: 0.25rem;
}

.cdown-sep {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  padding: 0 0.1rem;
  padding-bottom: 1rem;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--gold), #e6a800);
  color: #000;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 40px rgba(245, 197, 24, 0.35);
}

.hero-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(245, 197, 24, 0.55);
}

.hero-btn:hover svg {
  transform: translateY(3px);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  z-index: 10;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: scroll-anim 1.8s ease-in-out infinite;
}

@keyframes scroll-anim {

  0%,
  100% {
    opacity: 1;
    transform: scaleY(1)
  }

  50% {
    opacity: 0.4;
    transform: scaleY(0.5)
  }
}

/* ===== URGENCY STRIP ===== */
.urgency-strip {
  background: linear-gradient(90deg, var(--purple-dark), var(--purple));
  padding: 0.75rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.strip-inner {
  display: inline-flex;
  gap: 1.5rem;
  animation: marquee 20s linear infinite;
  font-size: 0.85rem;
  font-weight: 600;
}

.strip-sep {
  opacity: 0.4;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ===== SECTIONS ===== */
.sektorler,
.biletler,
.etkinlik {
  padding: 5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #fff, var(--muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  color: var(--muted);
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

/* ===== SVG STADIUM MAP ===== */
.map-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.svg-stadium-wrap {
  width: min(640px, 95vw);
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #0d0d1a;
  border: 1px solid var(--border);
  box-shadow: 0 0 60px rgba(139, 92, 246, 0.08);
}

.svg-stadium-wrap svg {
  display: block;
  width: 100%;
  height: auto;
}

.svg-block {
  transition: opacity 0.15s, filter 0.15s;
}

.svg-block:hover {
  opacity: 0.82;
  filter: brightness(1.25);
}

.map-legend {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.legend-item:hover {
  background: var(--card);
  border-color: var(--border);
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
}

.dot-silver {
  background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
}

.dot-cat2 {
  background: #7c3aed;
}

.dot-cat3 {
  background: #6d28d9;
}

.dot-cat4 {
  background: #5b21b6;
}

/* ===== FILTER TABS ===== */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  padding: 0 1rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
}

.filter-btn:hover {
  border-color: var(--purple);
  color: var(--text);
}

.filter-btn.active {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}

/* ===== TICKET GRID ===== */
.ticket-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ticket-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.ticket-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--purple);
  border-radius: 4px 0 0 4px;
}

.ticket-card.premium::before {
  background: linear-gradient(to bottom, var(--gold), #e6a800);
}

.ticket-card:hover {
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.12);
}

.ticket-card.premium:hover {
  border-color: rgba(245, 197, 24, 0.4);
  box-shadow: 0 8px 32px rgba(245, 197, 24, 0.12);
}

.ticket-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  letter-spacing: 0.12em;
  flex-shrink: 0;
  white-space: nowrap;
}

.tc-gold {
  background: rgba(245, 197, 24, 0.15);
  color: var(--gold);
  border: 1px solid rgba(245, 197, 24, 0.3);
}

.tc-silver {
  background: rgba(192, 192, 192, 0.12);
  color: #ddd;
  border: 1px solid rgba(192, 192, 192, 0.25);
}

.tc-cat2 {
  background: rgba(124, 58, 237, 0.15);
  color: #a78bfa;
  border: 1px solid rgba(124, 58, 237, 0.3);
}

.tc-cat3 {
  background: rgba(109, 40, 217, 0.15);
  color: #c4b5fd;
  border: 1px solid rgba(109, 40, 217, 0.3);
}

.tc-cat4 {
  background: rgba(91, 33, 182, 0.15);
  color: #ddd6fe;
  border: 1px solid rgba(91, 33, 182, 0.3);
}

.ticket-info {
  flex: 1;
  min-width: 0;
}

.ticket-block {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.ticket-row {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.ticket-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ticket-perks span {
  font-size: 0.75rem;
  color: var(--muted);
}

.hot {
  color: #f97316;
  font-weight: 700;
}

.avail {
  color: var(--green);
  font-weight: 600;
}

.best {
  color: var(--gold);
  font-weight: 700;
}

.tag-instant {
  color: #60a5fa;
  font-weight: 600;
}

.ticket-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  flex-shrink: 0;
}

.ticket-score-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  background: var(--green);
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}

.ticket-score-badge small {
  font-size: 0.6rem;
  font-weight: 600;
  opacity: 0.9;
}

.ticket-price {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #fff, #ddd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ticket-card.premium .ticket-price {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ticket-per {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: -0.4rem;
}

.buy-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.25rem;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.ticket-card.premium .buy-btn {
  background: linear-gradient(135deg, var(--gold), #e6a800);
  color: #000;
}

.buy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
}

.ticket-card.premium .buy-btn:hover {
  box-shadow: 0 4px 16px rgba(245, 197, 24, 0.4);
}

.ticket-card.hidden {
  display: none;
}

/* ===== EVENT INFO ===== */
.etkinlik {
  background: var(--bg2);
  max-width: 100%;
  padding: 5rem 1.5rem;
}

.etkinlik .section-header,
.etkinlik .info-grid {
  max-width: 1200px;
  margin: 0 auto;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  transition: all 0.25s;
}

.info-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-3px);
}

.info-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.info-value {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.info-sub {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ===== TRUST SECTION ===== */
.trust-section {
  padding: 4rem 1.5rem;
  background: var(--bg3);
}

.trust-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.trust-item {
  text-align: center;
  padding: 1.5rem;
}

.trust-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.trust-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.trust-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem 2rem;
}

.footer-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.footer-small {
  color: var(--muted);
  font-size: 0.75rem;
  opacity: 0.6;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* HERO */
  .hero-content {
    padding: 1.5rem 1rem;
  }

  .badge-row {
    gap: 0.5rem;
  }

  .badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.7rem;
  }

  /* COUNTDOWN — keep all 4 in one row */
  .countdown {
    gap: 0;
    flex-wrap: nowrap;
  }

  .cdown-item {
    min-width: 0;
    flex: 1;
    padding: 0.5rem 0.35rem;
    border-radius: 8px;
    margin: 0 0.15rem;
  }

  .cdown-num {
    font-size: 1.7rem;
  }

  .cdown-label {
    font-size: 0.55rem;
    letter-spacing: 0.08em;
  }

  .cdown-sep {
    font-size: 1.4rem;
    padding: 0 0.05rem;
    padding-bottom: 0.8rem;
  }

  /* STADIUM MAP — full width + horizontal scroll fallback */
  .svg-stadium-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
  }

  .svg-stadium-wrap svg {
    /* Keep viewBox but allow scrolling on very small screens */
    min-width: 300px;
    width: 100%;
    height: auto;
  }

  .map-container {
    gap: 1.25rem;
  }

  .map-legend {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .legend-item {
    font-size: 0.78rem;
    padding: 0.3rem 0.55rem;
  }

  /* TICKET CARDS */
  .ticket-card {
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1rem 1rem;
  }

  .ticket-right {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .ticket-price {
    font-size: 1.4rem;
  }

  /* SECTIONS */
  .sektorler,
  .biletler,
  .etkinlik {
    padding: 3.5rem 1rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  /* INFO GRID */
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* TRUST */
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    padding: 2.5rem 1rem;
  }

  /* FOOTER */
  .footer-inner {
    padding: 2.5rem 1rem;
  }

  .footer-links {
    gap: 1rem !important;
  }
}

@media (max-width: 480px) {

  /* HERO */
  .artist-name {
    font-size: clamp(4.5rem, 20vw, 7rem);
  }

  .hero-btn {
    padding: 0.85rem 1.75rem;
    font-size: 0.9rem;
  }

  .tour-name {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
  }

  /* COUNTDOWN — even more compact */
  .cdown-item {
    padding: 0.4rem 0.25rem;
    margin: 0 0.1rem;
  }

  .cdown-num {
    font-size: 1.45rem;
  }

  .cdown-label {
    font-size: 0.5rem;
  }

  .cdown-sep {
    font-size: 1.2rem;
  }

  /* INFO GRID */
  .info-grid {
    grid-template-columns: 1fr;
  }

  /* TRUST */
  .trust-grid {
    grid-template-columns: 1fr;
  }

  /* TICKET MODAL — full-screen on tiny phones */
  .tmodal {
    border-radius: 20px 20px 0 0;
    padding: 1.5rem 1.25rem 2rem;
  }

  /* COOKIE BANNER */
  #cookieBanner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }
}

/* ===== MOBILE SECTOR CARDS ===== */
/* Desktop: show SVG + legend, hide mobile cards */
.mobile-sector-grid {
  display: none;
}

.svg-stadium-wrap {
  display: block;
}

.desktop-only-legend {
  display: flex;
}

/* Mobile: hide SVG + legend, show cards */
@media (max-width: 768px) {
  .svg-stadium-wrap {
    display: none !important;
  }

  .desktop-only-legend {
    display: none !important;
  }

  .mobile-sector-grid {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
  }
}

.mob-zone-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.35rem 0.25rem;
  margin-top: 0.25rem;
}

.msec-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-left-width: 4px;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.msec-card:active {
  transform: scale(0.98);
}

.msec-gold {
  border-left-color: var(--gold);
}

.msec-silver {
  border-left-color: #b0b0b0;
}

.msec-cat2 {
  border-left-color: #7c3aed;
}

.msec-cat3 {
  border-left-color: #6d28d9;
}

.msec-cat4 {
  border-left-color: #5b21b6;
}

.msec-card:hover {
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.12);
}

.msec-gold:hover {
  box-shadow: 0 4px 20px rgba(245, 197, 24, 0.15);
}

.msec-left {
  flex: 1;
  min-width: 0;
}

.msec-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 5px;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.msec-name {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.msec-detail {
  font-size: 0.75rem;
  color: var(--muted);
}

.msec-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  flex-shrink: 0;
}

.msec-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.msec-cta {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--purple);
  white-space: nowrap;
}

/* Zone viewer additions */
.msec-wrapper {
  display: flex;
  flex-direction: column;
}

.msec-loc-btn {
  margin-top: 0.55rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  color: #a78bfa;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 7px;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.msec-loc-btn:hover {
  background: rgba(139, 92, 246, 0.18);
}

.msec-loc-btn.active {
  background: rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
}

.msec-cta-btn {
  font-size: 0.72rem;
  font-weight: 700;
  color: #000;
  background: var(--gold);
  border: none;
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  font-family: var(--font);
  white-space: nowrap;
  transition: all 0.15s;
}

.msec-cta-btn:hover {
  background: #e6a800;
}

.msec-minimap {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s;
  background: rgba(10, 10, 16, 0.6);
  border-radius: 0 0 12px 12px;
  border: 0px solid var(--border);
  padding: 0 0.75rem;
}

.msec-minimap.open {
  max-height: 260px;
  border-width: 1px;
  border-top: none;
  padding: 0.75rem;
}

.msec-minimap svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Pulse animation for highlighted zone */
@keyframes zone-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.55;
  }
}

.zone-active {
  animation: zone-pulse 1.6s ease-in-out infinite;
}

.buy-btn {
  border: none;
  cursor: pointer;
  font-family: var(--font);
}

.tmodal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.tmodal-overlay.show {
  display: flex;
}

.tmodal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px 24px 0 0;
  padding: 2rem 1.75rem 2.5rem;
  width: 100%;
  max-width: 520px;
  position: relative;
  animation: slide-up 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
}

@keyframes slide-up {
  from {
    transform: translateY(100%);
    opacity: 0
  }

  to {
    transform: translateY(0);
    opacity: 1
  }
}

.tmodal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.tmodal-close:hover {
  background: var(--border);
  color: var(--text);
}

.tmodal-header {
  margin-bottom: 1.25rem;
}

.tmodal-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
}

.tm-gold {
  background: rgba(245, 197, 24, 0.15);
  color: var(--gold);
  border: 1px solid rgba(245, 197, 24, 0.3);
}

.tm-silver {
  background: rgba(192, 192, 192, 0.12);
  color: #ddd;
  border: 1px solid rgba(192, 192, 192, 0.25);
}

.tm-cat2 {
  background: rgba(124, 58, 237, 0.15);
  color: #a78bfa;
  border: 1px solid rgba(124, 58, 237, 0.3);
}

.tm-cat3 {
  background: rgba(109, 40, 217, 0.15);
  color: #c4b5fd;
  border: 1px solid rgba(109, 40, 217, 0.3);
}

.tm-cat4 {
  background: rgba(91, 33, 182, 0.15);
  color: #ddd6fe;
  border: 1px solid rgba(91, 33, 182, 0.3);
}

.tmodal-title {
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.tmodal-sub {
  font-size: 0.8rem;
  color: var(--muted);
}

.tmodal-body {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-bottom: 1.25rem;
}

.tmodal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.tmodal-row:last-child {
  border-bottom: none;
}

.tmodal-row span:first-child {
  color: var(--muted);
}

.tmodal-row span:last-child {
  font-weight: 600;
}

.tmodal-qty {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tmodal-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0 0;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
  font-weight: 700;
}

.tmodal-total {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.tmodal-cta {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--gold), #e6a800);
  color: #000;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s;
  letter-spacing: 0.03em;
}

.tmodal-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245, 197, 24, 0.4);
}