/* ==========================================================================
   Endworld · Immortal Path — Coming Soon & Pre-Registration Stylesheet
   Design System: Dạ Thành (Urban Cultivation / Đô Thị Cao Võ)
   Domain: play-endworld.ncstudios.ddns.net
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Noto+Serif+Display:ital,wght@0,500;0,600;0,700;0,800;0,900;1,500;1,600;1,700&family=JetBrains+Mono:wght@400;500;600;700;800&display=swap');

:root {
  --font-sans: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Noto Serif Display', 'Be Vietnam Pro', serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Colors */
  --surface-0: #06090d;
  --surface-1: #0c1017;
  --surface-2: #141a24;
  --surface-card: rgba(18, 24, 34, 0.92);
  --surface-glass: rgba(10, 14, 20, 0.85);

  --text-primary: #f2ede2;
  --text-secondary: #b5af9f;
  --text-muted: #7c776c;

  --gold: #d6b25e;
  --gold-hover: #f5cf6d;
  --gold-glow: rgba(214, 178, 94, 0.35);
  --gold-glow-high: rgba(214, 178, 94, 0.6);
  --gold-subtle: rgba(214, 178, 94, 0.12);

  --focus: #2fae9c;
  --focus-hover: #3dd4bf;
  --focus-glow: rgba(47, 174, 156, 0.35);
  --focus-subtle: rgba(47, 174, 156, 0.12);

  --accent-red: #ef4444;
  --accent-purple: #a855f7;

  --border-subtle: rgba(214, 178, 94, 0.14);
  --border-card: rgba(214, 178, 94, 0.24);
  --border-hover: rgba(214, 178, 94, 0.65);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.6);
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  background-color: var(--surface-0);
  color: var(--text-primary);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--surface-0);
  background-image:
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(214, 178, 94, 0.18), transparent 70%),
    radial-gradient(circle at 10% 70%, rgba(47, 174, 156, 0.1), transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.08), transparent 50%),
    linear-gradient(180deg, #05070a 0%, #0a0e14 50%, #05070a 100%);
  min-height: 100vh;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   Header Navbar
   ========================================================================== */
.play-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  height: 72px;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-wrap img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 0 10px var(--gold-glow));
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #ffffff 10%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--focus);
}

.header-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, #d6b25e 0%, #b89340 100%);
  color: #080b0f;
  border-color: #f5cf6d;
  box-shadow: 0 4px 18px var(--gold-glow);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #f5cf6d 0%, #d6b25e 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px var(--gold-glow-high);
}

.btn-focus {
  background: linear-gradient(135deg, rgba(47, 174, 156, 0.25), rgba(47, 174, 156, 0.12));
  color: #5eead4;
  border-color: var(--focus);
  box-shadow: 0 4px 18px var(--focus-glow);
}

.btn-focus:hover {
  background: var(--focus);
  color: #080b0f;
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.16);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(214, 178, 94, 0.08);
}

/* ==========================================================================
   Hero & Countdown Section
   ========================================================================== */
.play-hero {
  padding: 56px 0 40px;
  text-align: center;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(214, 178, 94, 0.08);
  border: 1px solid var(--border-card);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--focus);
  box-shadow: 0 0 10px var(--focus);
  animation: pulse-ring 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
}

.status-text {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.play-title {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 900;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #ece6d6 30%, #d6b25e 80%, #f6d88c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 30px rgba(214, 178, 94, 0.25);
}

.play-subtitle {
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 700;
  color: var(--focus);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

/* Countdown Display */
.countdown-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.countdown-box {
  background: var(--surface-card);
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.countdown-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.count-val {
  font-family: var(--font-mono);
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  text-shadow: 0 0 18px var(--gold-glow);
}

.count-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
}

/* ==========================================================================
   Pre-Registration Main Card & Form
   ========================================================================== */
.prereg-main-card {
  background: var(--surface-card);
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 38px 42px;
  max-width: 860px;
  margin: 0 auto 50px;
  box-shadow: var(--shadow-card), 0 0 40px rgba(214, 178, 94, 0.15);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.prereg-main-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--focus), var(--gold), var(--focus));
}

.prereg-header {
  text-align: center;
  margin-bottom: 28px;
}

.prereg-header h3 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 8px;
}

.prereg-header p {
  font-size: 14.5px;
  color: var(--text-secondary);
}

/* Platform Choice Pills */
.platform-selector {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.platform-choice-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.platform-choice-item input {
  display: none;
}

.platform-choice-item:hover,
.platform-choice-item.active {
  background: rgba(214, 178, 94, 0.12);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* Pre-reg Form Inputs */
.prereg-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.prereg-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prereg-field-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--gold);
  font-weight: 600;
}

.input-with-status {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-status .prereg-input {
  width: 100%;
  padding-right: 140px;
}

.name-status-indicator {
  position: absolute;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  display: none;
}
.name-status-indicator.valid {
  display: inline-block;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.4);
}
.name-status-indicator.taken {
  display: inline-block;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.4);
}
.name-status-indicator.checking {
  display: inline-block;
  background: rgba(234, 179, 8, 0.15);
  color: #eab308;
  border: 1px solid rgba(234, 179, 8, 0.4);
}

.name-hint-text {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* 8 Races Picker Grid */
.race-picker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 680px) {
  .race-picker-grid { grid-template-columns: repeat(2, 1fr); }
}

.race-picker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.race-picker-item input { display: none; }
.race-picker-item:hover {
  border-color: var(--border-card);
  background: rgba(255, 255, 255, 0.06);
}
.race-picker-item.active {
  border-color: var(--gold);
  background: rgba(214, 178, 94, 0.14);
  box-shadow: 0 0 12px var(--gold-glow);
}
.race-picker-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.race-picker-item span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}
.race-picker-item.active span {
  color: var(--gold);
}

.prereg-input {
  width: 100%;
  background: rgba(10, 14, 20, 0.8);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.prereg-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 16px var(--gold-glow);
}

.prereg-submit-btn {
  padding: 14px 30px;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

/* SSO User State */
.sso-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(47, 174, 156, 0.15);
  border: 1px solid var(--focus);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  color: var(--focus-hover);
}

/* SSO Shortcut Box */
.sso-presign-box {
  background: rgba(47, 174, 156, 0.08);
  border: 1px dashed var(--focus);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.sso-presign-box.logged-in {
  background: rgba(34, 197, 94, 0.08);
  border-color: #22c55e;
}

.sso-presign-text {
  font-size: 13px;
  color: var(--text-secondary);
}

.sso-presign-text strong {
  color: #fff;
}

/* ==========================================================================
   Milestones & Rewards Section (Enhanced Game Milestone Progress Track)
   ========================================================================== */
.milestones-section {
  padding: 40px 0 60px;
}

.section-head-center {
  text-align: center;
  margin-bottom: 36px;
}

.section-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--focus);
  background: var(--focus-subtle);
  border: 1px solid rgba(47, 174, 156, 0.3);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.section-title {
  font-size: 28px;
  color: #fff;
  margin-bottom: 6px;
}

/* Milestones Progress Bar Container */
.milestones-card {
  background: var(--surface-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
}

.ms-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 13.5px;
}

.ms-current-count {
  font-size: 20px;
  font-weight: 800;
  color: var(--gold);
}

/* Enhanced Game Milestone Progress Track */
.milestone-track-container {
  position: relative;
  margin: 45px 12px 55px;
}

.ms-pointer-bubble {
  position: absolute;
  top: -38px;
  left: 64.2%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #d6b25e 0%, #b89340 100%);
  color: #070a0e;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 4px 14px var(--gold-glow);
  white-space: nowrap;
  transition: left 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
}
.ms-pointer-bubble::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px 5px 0;
  border-style: solid;
  border-color: #b89340 transparent transparent transparent;
}

.ms-bar-track {
  height: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-full);
  position: relative;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
}

.ms-bar-fill {
  height: 100%;
  width: 64.2%;
  background: linear-gradient(90deg, #2fae9c 0%, #d6b25e 65%, #f5cf6d 100%);
  border-radius: var(--radius-full);
  box-shadow: 0 0 16px var(--gold-glow);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.ms-bar-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: shimmer-sweep 2.5s infinite;
}
@keyframes shimmer-sweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

.ms-checkpoints {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ms-cp-node {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
}

.cp-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface-1);
  border: 2px solid var(--border-card);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  transition: all 0.3s;
}

.ms-cp-node.reached .cp-dot {
  background: var(--gold);
  border-color: #fff;
  color: #070a0e;
  box-shadow: 0 0 12px var(--gold-glow-high);
}

.ms-cp-node.target-node .cp-dot {
  border-color: var(--gold);
  color: var(--gold);
}

.cp-label {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.ms-cp-node.reached .cp-label {
  color: var(--gold);
}

/* Milestone Reward Tier Cards Grid */
.ms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.ms-tier-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: all var(--transition-fast);
}

.ms-tier-box:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--gold-glow);
}

.ms-tier-box.unlocked {
  border-color: rgba(214, 178, 94, 0.4);
  background: rgba(214, 178, 94, 0.05);
}

.ms-tier-box.target::after {
  content: 'MỤC TIÊU';
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  color: var(--gold);
  background: rgba(214, 178, 94, 0.15);
  border: 1px solid var(--border-card);
  padding: 2px 6px;
  border-radius: 4px;
}

.ms-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(214, 178, 94, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 12px;
}

.ms-tier-target {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.ms-tier-name {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   Pioneer Perks Section
   ========================================================================== */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.perk-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  backdrop-filter: blur(12px);
  transition: all var(--transition-fast);
}

.perk-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.perk-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--gold-subtle);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--gold);
}

.perk-card h4 {
  font-size: 18px;
  color: #fff;
}

.perk-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Ticket Confirmation Modal
   ========================================================================== */
.ticket-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ticket-modal.active {
  display: flex;
}

.ticket-card {
  background: linear-gradient(180deg, #161d28 0%, #0c1017 100%);
  border: 2px solid var(--gold);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 35px var(--gold-glow);
  text-align: center;
  position: relative;
  animation: pop-ticket 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pop-ticket {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.ticket-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-muted);
  cursor: pointer;
}
.ticket-close-btn:hover { color: #fff; }

.ticket-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
  background: var(--gold-subtle);
  border: 1px solid var(--border-card);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 12px;
}

.ticket-id {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.08em;
  background: rgba(214, 178, 94, 0.12);
  border: 1px dashed var(--gold);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  margin: 16px 0 10px;
}

.ticket-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 14px 0 16px;
  text-align: left;
}
.ticket-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ticket-meta-item span:first-child {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
}
.ticket-meta-item span:last-child {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
}
.ticket-meta-item .gold-highlight {
  color: var(--gold) !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.play-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 36px 0 24px;
  background: #05070a;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  gap: 16px;
}

.footer-nav a {
  color: var(--text-secondary);
}
.footer-nav a:hover {
  color: var(--gold);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.spin {
  display: inline-block;
  animation: spin 1s infinite linear;
}
