/* === RESET === */
* { margin: 0; padding: 0; box-sizing: border-box; }

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Roboto+Condensed:wght@400;700&display=swap');

body {
  background: #0a0e1a;
  color: #fff;
  font-family: 'Roboto Condensed', 'Arial', sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
  user-select: none;
}

/* === HEADER === */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,215,0,0.15);
  z-index: 100;
}

.logo {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #ffd700;
}
.logo span { color: #fff; font-weight: 500; }

.nav { display: flex; gap: 8px; }

.nav-link {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7788aa;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 20px;
  transition: all 0.25s;
  cursor: pointer;
}
.nav-link:hover { color: #ffd700; background: rgba(255,215,0,0.08); }
.nav-link.active { color: #ffd700; background: rgba(255,215,0,0.15); }

/* === SECTIONS === */
.section {
  display: none;
  padding-top: 72px;
  min-height: 100vh;
}
.section.active { display: block; }

.section-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #ffd700;
  text-align: center;
  margin-bottom: 8px;
}

.section-sub {
  text-align: center;
  color: #667799;
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 40px;
}

/* === POSTER === */
.poster-bg {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 40%, #1a2a4a 0%, #0a0e1a 70%);
  overflow: hidden;
  position: relative;
}

.poster-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(255,215,0,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(0,120,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.poster-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  animation: fadeInUp 0.8s ease-out;
}

.poster-badge {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 6px;
  color: #ffd700;
  background: rgba(255,215,0,0.12);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 30px;
  padding: 8px 28px;
  margin-bottom: 20px;
}

.poster-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 700;
  letter-spacing: 6px;
  background: linear-gradient(135deg, #ffd700, #ffaa00, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 6px;
}

.poster-subtitle {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  letter-spacing: 10px;
  color: #556688;
  margin-bottom: 44px;
}

/* Match Card */
.match-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.match-team { text-align: center; min-width: 140px; }

.match-flag {
  font-size: 64px;
  line-height: 1;
  animation: bounce 2s ease-in-out infinite;
}

.match-name {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 3px;
  margin-top: 12px;
  color: #ccddee;
}

.match-vs { text-align: center; }

.match-date {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  letter-spacing: 4px;
  color: #ffd700;
}

.match-time {
  font-family: 'Oswald', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 30px rgba(255,215,0,0.3);
  line-height: 1;
  margin: 4px 0 8px;
}

.vs-label {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 6px;
  color: #445566;
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 44px;
}

.cd-block {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 16px 20px;
  min-width: 80px;
  backdrop-filter: blur(6px);
}

.cd-val {
  font-family: 'Oswald', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #ffd700;
}

.cd-label {
  font-size: 11px;
  letter-spacing: 3px;
  color: #667799;
  margin-top: 4px;
}

/* Poster action buttons */
.poster-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Stars row */
.poster-stars {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.star-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px 24px;
  text-align: center;
  min-width: 130px;
  transition: all 0.3s;
}
.star-card:hover {
  border-color: rgba(255,215,0,0.25);
  transform: translateY(-3px);
}

.star-icon { font-size: 28px; margin-bottom: 6px; }
.star-name {
  font-family: 'Oswald', sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #ddd;
}
.star-team {
  font-size: 12px;
  color: #667799;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* === BUTTONS === */
.btn-gold {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  padding: 14px 44px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, #ffd700, #e8a800);
  color: #1a1a2e;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 24px rgba(255,215,0,0.25);
  text-decoration: none;
}
.btn-gold:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 36px rgba(255,215,0,0.45);
}

.btn-outline {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 14px 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  background: transparent;
  color: #aabbcc;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.btn-outline:hover {
  border-color: #ffd700;
  color: #ffd700;
}

/* === TICKETS === */
.tickets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}

.ticket-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
}
.ticket-card:hover {
  border-color: rgba(255,215,0,0.3);
  transform: translateY(-4px);
}

.ticket-card.featured {
  border-color: rgba(255,215,0,0.35);
  background: rgba(255,215,0,0.06);
}

.ticket-card.vip {
  border-color: rgba(200,170,0,0.35);
  background: linear-gradient(135deg, rgba(200,170,0,0.08), rgba(255,215,0,0.04));
}

.ticket-badge-pop,
.ticket-badge-vip {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.ticket-badge-pop { color: #1a1a2e; background: #ffd700; }
.ticket-badge-vip { color: #1a1a2e; background: linear-gradient(135deg, #ffd700, #ffaa00); }

.ticket-tier {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #ffd700;
  margin-bottom: 4px;
}

.ticket-sectors {
  font-size: 14px;
  color: #667799;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.ticket-price {
  font-family: 'Oswald', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.ticket-desc {
  font-size: 13px;
  color: #556677;
  line-height: 1.5;
  margin-bottom: 20px;
}

.qty-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.qty-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-btn:hover {
  background: rgba(255,215,0,0.15);
  border-color: #ffd700;
  color: #ffd700;
}

.qty-val {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  min-width: 36px;
  text-align: center;
}

/* Cart Summary */
.cart-summary {
  background: rgba(255,215,0,0.06);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 16px;
  padding: 24px 28px;
  text-align: center;
  animation: fadeInUp 0.4s ease-out;
}

.cart-label {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  letter-spacing: 4px;
  color: #ffd700;
  margin-bottom: 16px;
}

.cart-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 15px;
  color: #aabbcc;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cart-total {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #ffd700;
  margin: 16px 0;
}

/* === STADIUM MAP === */
.stadium-visual {
  max-width: 600px;
  margin: 0 auto;
}

.stadium-oval {
  position: relative;
  width: 100%;
  padding-bottom: 70%;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  overflow: hidden;
  margin-bottom: 28px;
}

/* Center pitch */
.stadium-pitch {
  position: absolute;
  top: 35%;
  left: 20%;
  width: 60%;
  height: 30%;
  background: linear-gradient(135deg, #1e5a32, #2a6e3f);
  border: 2px solid rgba(42,110,63,0.6);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pitch-line {
  position: absolute;
  background: rgba(255,255,255,0.35);
}

.pitch-center { left: 50%; top: 0; width: 2px; height: 100%; }

.pitch-circle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 30%;
  height: 60%;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
}

.pitch-goal {
  position: absolute;
  width: 20%;
  height: 4px;
  background: rgba(255,255,255,0.4);
  left: 40%;
}
.pitch-goal-top { top: -2px; }
.pitch-goal-bot { bottom: -2px; }

.pitch-label {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  letter-spacing: 6px;
  color: rgba(255,255,255,0.5);
  z-index: 2;
}

/* Tribune rings */
.tribune-ring {
  position: absolute;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

.tribune-ring:hover { filter: brightness(1.3); transform: scale(1.02); }

.ring-standard {
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(60,140,240,0.12);
  border: 2px solid rgba(60,140,240,0.25);
  z-index: 1;
}

.ring-comfort {
  top: 8%; left: 8%; right: 8%; bottom: 8%;
  background: rgba(255,170,0,0.1);
  border: 2px solid rgba(255,170,0,0.2);
  z-index: 2;
}

.ring-vip {
  top: 16%; left: 16%; right: 16%; bottom: 16%;
  background: rgba(255,215,0,0.1);
  border: 2px solid rgba(255,215,0,0.25);
  z-index: 3;
}

.ring-label {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #fff;
  opacity: 0.7;
}

.ring-price {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
}

/* Legend */
.map-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #8899aa;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 10px;
  transition: all 0.2s;
}
.legend-item:hover { background: rgba(255,255,255,0.05); }

.legend-color {
  width: 14px; height: 14px;
  border-radius: 50%;
  display: inline-block;
}

.lc-std { background: rgba(60,140,240,0.7); }
.lc-cmf { background: rgba(255,170,0,0.7); }
.lc-vip { background: linear-gradient(135deg, #ffd700, #e8a800); }

/* === MODAL === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  backdrop-filter: blur(6px);
}
.modal-overlay.active { display: flex; }

.modal-box {
  background: #141828;
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: 20px;
  padding: 40px 36px;
  text-align: center;
  max-width: 420px;
  width: 90%;
  animation: fadeInUp 0.4s ease-out;
}

.modal-icon { font-size: 56px; margin-bottom: 12px; }

.modal-title {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #ffd700;
  margin-bottom: 16px;
}

.modal-details {
  font-size: 15px;
  color: #aabbcc;
  line-height: 1.8;
  margin-bottom: 12px;
}

.modal-hint {
  font-size: 13px;
  color: #556677;
  margin-bottom: 24px;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* === RESPONSIVE === */
@media (max-width: 640px) {
  .header { padding: 10px 16px; }
  .logo { font-size: 14px; }
  .nav-link { font-size: 12px; padding: 6px 12px; }
  .match-flag { font-size: 48px; }
  .match-name { font-size: 18px; }
  .match-time { font-size: 36px; }
  .countdown { gap: 8px; }
  .cd-block { padding: 12px 14px; min-width: 65px; }
  .cd-val { font-size: 28px; }
  .poster-actions { flex-direction: column; align-items: center; }
  .section-title { font-size: 26px; }
  .ring-label { font-size: 11px; }
  .ring-price { font-size: 10px; }
}
