@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  --bg-void: #07070a;
  --bg-darker: #0b0b11;
  --bg-dark: #0f0f18;
  --bg-card: rgba(16, 16, 28, 0.55);
  --bg-card-hover: rgba(24, 24, 42, 0.75);
  --bg-nav: rgba(7, 7, 10, 0.85);
  
  --accent-purple: #8b5cf6;
  --accent-purple-glow: rgba(139, 92, 246, 0.35);
  --accent-cyan: #00f0ff;
  --accent-cyan-glow: rgba(0, 240, 255, 0.35);
  --accent-pink: #ff0055;
  --accent-pink-glow: rgba(255, 0, 85, 0.35);
  --accent-orange: #f59e0b;
  --accent-orange-glow: rgba(245, 158, 11, 0.35);
  --accent-green: #10b981;
  --accent-green-glow: rgba(16, 185, 129, 0.35);
  
  --text-main: #fffffe;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --border-color: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(139, 92, 246, 0.2);
  --border-glow-cyan: rgba(0, 240, 255, 0.2);
  
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  --shadow-main: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  --border-radius-sm: 8px;
  --border-radius-md: 14px;
  --border-radius-lg: 24px;
  
  --nav-height: 80px;
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  font-size: 16px;
}

body {
  background-color: var(--bg-void);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 240, 255, 0.07) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-void);
}

::-webkit-scrollbar-thumb {
  background: #1e1b4b;
  border: 2px solid var(--bg-void);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-purple);
}

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

input, button, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  color: inherit;
}

button {
  cursor: pointer;
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-gradient-purple {
  background: linear-gradient(135deg, #c084fc 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-glow-cyan {
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.text-glow-purple {
  text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

/* Optimized Card background - high opacity translucent, no blur for massive rendering speed */
.glass-card {
  background: rgba(13, 13, 22, 0.9);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-main);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal), background-color var(--transition-normal);
  position: relative;
  overflow: hidden;
}

/* Glassmorphism Panel with lightweight blur - reserved only for headers, overlays, and hero widgets */
.glass-panel {
  background: rgba(10, 10, 16, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-main);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal), background-color var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent);
  pointer-events: none;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: 0 10px 40px -10px rgba(139, 92, 246, 0.2);
  transform: translateY(-4px);
}

.glass-card.cyan-glow-hover:hover {
  border-color: var(--border-glow-cyan);
  box-shadow: 0 10px 40px -10px rgba(0, 240, 255, 0.25);
}

/* Glow Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
}

.badge-purple {
  background: rgba(139, 92, 246, 0.15);
  color: #c084fc;
  border-color: rgba(139, 92, 246, 0.3);
}

.badge-cyan {
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-cyan);
  border-color: rgba(0, 240, 255, 0.25);
}

.badge-pink {
  background: rgba(255, 0, 85, 0.1);
  color: #ff4d88;
  border-color: rgba(255, 0, 85, 0.25);
}

.badge-green {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.25);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  transition: all var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple), #6366f1);
  color: var(--text-main);
  box-shadow: 0 4px 20px var(--accent-purple-glow);
}

.btn-primary:hover {
  box-shadow: 0 4px 30px rgba(139, 92, 246, 0.6);
  transform: translateY(-2px);
}

.btn-cyan {
  background: linear-gradient(135deg, var(--accent-cyan), #0284c7);
  color: #020617;
  box-shadow: 0 4px 20px var(--accent-cyan-glow);
}

.btn-cyan:hover {
  box-shadow: 0 4px 30px rgba(0, 240, 255, 0.6);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-purple);
  box-shadow: 0 0 15px var(--accent-purple-glow);
}

/* Grid & Section Spacing */
.section {
  padding: 100px 0;
  max-width: 1300px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  transition: height var(--transition-normal), background var(--transition-normal), box-shadow var(--transition-normal);
}

.navbar.scrolled {
  height: 70px;
  background: rgba(5, 5, 8, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-brand img {
  width: 44px;
  height: 44px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 0;
  position: relative;
  opacity: 0.8;
  cursor: pointer;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-purple);
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active-tab {
  opacity: 1;
  color: var(--accent-cyan);
}

.nav-link:hover::after, .nav-link.active-tab::after {
  width: 100%;
  background: var(--accent-cyan);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--text-main);
  border-radius: 4px;
  transition: var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-container {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(to bottom, rgba(7, 7, 10, 0.4) 0%, var(--bg-void) 95%),
    linear-gradient(to right, rgba(7, 7, 10, 0.9) 20%, rgba(7, 7, 10, 0.3) 100%);
  z-index: 1;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  width: 100%;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}

.hero-text h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-ticker {
  margin-top: 50px;
  display: flex;
  gap: 30px;
  border-top: 1px solid var(--border-color);
  padding-top: 25px;
}

.ticker-item {
  display: flex;
  flex-direction: column;
}

.ticker-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-cyan);
  line-height: 1;
}

.ticker-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.hero-live-card {
  z-index: 10;
}

.live-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.85rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulse-dot 1.5s infinite;
}

.live-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.live-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.live-stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.live-stat-val {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-main);
}

.progress-bar-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 4px;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(to right, var(--accent-purple), var(--accent-cyan));
  width: 0%;
  transition: width 1s ease-out;
}

/* ==========================================================================
   SECTIONS: GENERAL HEADING
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  font-size: 2.8rem;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ==========================================================================
   ZONES & RIG SPECS
   ========================================================================== */
.zone-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.zone-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.zone-price-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(7, 7, 10, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-cyan);
}

.zone-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.zone-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.zone-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.specs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 25px;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}

.spec-icon {
  color: var(--accent-purple);
  width: 16px;
  text-align: center;
}

/* ==========================================================================
   INTERACTIVE SEAT BOOKER
   ========================================================================== */
.booker-container {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
}

.map-card {
  padding: 30px;
}

.map-legend {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.legend-dot.available { background: rgba(16, 185, 129, 0.15); border-color: var(--accent-green); }
.legend-dot.occupied { background: rgba(239, 68, 68, 0.15); border-color: #ef4444; }
.legend-dot.vip { background: rgba(245, 158, 11, 0.15); border-color: var(--accent-orange); }
.legend-dot.selected { background: rgba(0, 240, 255, 0.25); border-color: var(--accent-cyan); box-shadow: 0 0 8px var(--accent-cyan); }

/* The 2D Floor Plan Grid */
.floor-plan {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--border-radius-md);
  border: 1px dashed rgba(255, 255, 255, 0.05);
}

.seat-node {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  background: rgba(255, 255, 255, 0.02);
  transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  position: relative;
}

.seat-node i {
  font-size: 1.4rem;
  margin-bottom: 4px;
  color: var(--text-muted);
}

.seat-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
}

/* Seat States */
.seat-node.seat-available {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.04);
}
.seat-node.seat-available:hover {
  background: rgba(16, 185, 129, 0.15);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
  transform: scale(1.05);
}
.seat-node.seat-available i { color: #34d399; }

.seat-node.seat-occupied {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.06);
  cursor: not-allowed;
}
.seat-node.seat-occupied i { color: #f87171; }

.seat-node.seat-vip {
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.04);
}
.seat-node.seat-vip i { color: #fbbf24; }
.seat-node.seat-vip:hover {
  background: rgba(245, 158, 11, 0.15);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}

.seat-node.seat-selected {
  border-color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.15) !important;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
  transform: scale(1.05);
}
.seat-node.seat-selected i { color: var(--accent-cyan); }
.seat-node.seat-selected .seat-label { color: var(--accent-cyan); }

/* Booking Details Sidebar */
.booker-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checkout-card {
  padding: 30px;
}

.checkout-header {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.checkout-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.checkout-label {
  color: var(--text-muted);
}

.checkout-val {
  font-weight: 600;
}

.checkout-total {
  border-top: 1px solid var(--border-color);
  margin-top: 20px;
  padding-top: 20px;
  margin-bottom: 25px;
}

.checkout-total-price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--accent-cyan);
  font-weight: 700;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.form-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 10px 14px;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 10px var(--accent-purple-glow);
}

/* ==========================================================================
   CAFE MENU
   ========================================================================== */
.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.menu-tab-btn {
  padding: 8px 20px;
  border-radius: 9999px;
  border: 1px solid var(--border-color);
  font-family: var(--font-display);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.menu-tab-btn.active, .menu-tab-btn:hover {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
  box-shadow: 0 0 12px var(--accent-purple-glow);
}

.menu-container {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 40px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.menu-item-card {
  display: flex;
  gap: 15px;
  padding: 20px;
  border-radius: var(--border-radius-md);
  align-items: center;
}

.menu-item-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-sm);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent-purple);
  flex-shrink: 0;
}

.menu-item-details {
  flex-grow: 1;
}

.menu-item-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.menu-item-price {
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.95rem;
}

.menu-item-add {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  width: 32px;
  height: 32px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.menu-item-add:hover {
  background: var(--accent-cyan);
  color: #0c0c14;
  box-shadow: 0 0 10px var(--accent-cyan-glow);
}

/* Cafe Cart sidebar */
.cart-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cart-items-list {
  flex-grow: 1;
  max-height: 350px;
  overflow-y: auto;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 5px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.cart-item-info {
  display: flex;
  flex-direction: column;
}

.cart-item-qty {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-btn-qty {
  width: 22px;
  height: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-btn-qty:hover {
  background: var(--accent-purple);
}

/* ==========================================================================
   TOURNAMENTS PANEL
   ========================================================================== */
.tournaments-hero {
  padding: 40px;
  border-radius: var(--border-radius-lg);
  margin-bottom: 40px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.tournaments-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(7,7,10,0.95), rgba(139,92,246,0.25));
}

.tournaments-hero-content {
  position: relative;
  z-index: 5;
  max-width: 600px;
}

.tournaments-hero h3 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.tournaments-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.tournament-tab-btn {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 8px 16px;
  opacity: 0.6;
  border-bottom: 2px solid transparent;
  transition: var(--transition-fast);
}

.tournament-tab-btn.active {
  opacity: 1;
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
}

/* Bracket Tree Structure */
.bracket-wrapper {
  overflow-x: auto;
  padding: 20px 0;
}

.bracket-container {
  display: flex;
  gap: 40px;
  min-width: 800px;
  justify-content: space-between;
}

.bracket-round {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  flex-grow: 1;
}

.round-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

.bracket-match {
  display: flex;
  flex-direction: column;
  background: rgba(15, 15, 24, 0.8);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  margin: 15px 0;
  width: 200px;
  position: relative;
}

.match-team {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 0.85rem;
}

.match-team:first-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.match-team.winner {
  color: var(--accent-green);
  font-weight: 600;
}

.match-team.winner::after {
  content: '\f058';
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: 6px;
}

.match-score {
  font-family: var(--font-display);
  font-weight: 600;
}

/* ==========================================================================
   MEMBERSHIP PASSES
   ========================================================================== */
.pricing-card {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: var(--border-radius-lg);
}

.pricing-card.vip-card {
  border-color: var(--accent-purple);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(15, 15, 24, 0.7) 100%);
  box-shadow: 0 10px 35px rgba(139, 92, 246, 0.15);
}

.pricing-card.night-card {
  border-color: var(--accent-cyan);
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.08) 0%, rgba(15, 15, 24, 0.7) 100%);
  box-shadow: 0 10px 35px rgba(0, 240, 255, 0.15);
}

.pricing-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.pricing-icon.vip { color: var(--accent-purple); text-shadow: 0 0 15px var(--accent-purple); }
.pricing-icon.night { color: var(--accent-cyan); text-shadow: 0 0 15px var(--accent-cyan); }

.pricing-title {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.pricing-cost {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 5px;
}

.pricing-cost span {
  font-size: 1rem;
  color: var(--text-dim);
}

.pricing-savings {
  font-size: 0.8rem;
  color: var(--accent-green);
  font-weight: 600;
  margin-bottom: 30px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
  width: 100%;
  border-top: 1px solid var(--border-color);
  padding-top: 25px;
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-features li strong {
  color: var(--text-main);
}

/* Membership Card Generator */
.card-generator-box {
  max-width: 600px;
  margin: 60px auto 0 auto;
  padding: 40px;
}

.loyalty-card {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1.58;
  margin: 30px auto;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(135deg, #111019 0%, #1e1b4b 100%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.loyalty-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-brand img { width: 28px; }

.card-chip {
  width: 32px;
  height: 24px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-radius: 4px;
}

.card-middle {
  margin-top: 15px;
}

.card-number {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
}

.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.card-holder-info {
  display: flex;
  flex-direction: column;
}

.card-holder-label {
  font-size: 0.65rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-holder-name {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
}

.card-qr-box {
  width: 44px;
  height: 44px;
  background: white;
  padding: 3px;
  border-radius: 4px;
}

.card-qr-box img {
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   ADMIN PORTAL SWITCHER & AUTH MODAL
   ========================================================================== */
.admin-trigger-container {
  display: flex;
  justify-content: center;
  padding: 60px 0;
  border-top: 1px solid var(--border-color);
}

.admin-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.admin-modal-overlay.active {
  display: flex;
}

.admin-modal-card {
  width: 100%;
  max-width: 400px;
  padding: 35px;
  text-align: center;
}

.admin-modal-logo {
  width: 60px;
  margin: 0 auto 20px auto;
}

.admin-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.2rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ADMIN PANEL DASHBOARD
   ========================================================================== */
.admin-section {
  display: none;
  padding: var(--nav-height) 40px 60px 40px;
  max-width: 1500px;
  margin: 0 auto;
}

.admin-section.active-section {
  display: block;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}

.admin-title-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
}

.admin-exit-btn {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--accent-pink);
  border: 1px solid rgba(255, 0, 85, 0.25);
  background: rgba(255, 0, 85, 0.05);
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
}

.admin-exit-btn:hover {
  background: var(--accent-pink);
  color: #fff;
  box-shadow: 0 0 12px var(--accent-pink-glow);
}

.admin-tabs {
  display: flex;
  gap: 12px;
  list-style: none;
}

.admin-tab-btn {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 20px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.admin-tab-btn.active, .admin-tab-btn:hover {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: #020617;
  box-shadow: 0 0 15px var(--accent-cyan-glow);
}

/* Admin Grid Layouts */
.admin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.metric-card {
  padding: 24px;
}

.metric-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.metric-trend {
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 6px;
}

.trend-up { color: var(--accent-green); }
.trend-down { color: var(--accent-pink); }

/* Admin Seat Grid view */
.admin-seat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  margin-bottom: 40px;
}

.admin-seat-card {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 130px;
  border-left: 4px solid var(--border-color);
}

.admin-seat-card.seat-available { border-left-color: var(--accent-green); }
.admin-seat-card.seat-occupied { border-left-color: var(--accent-pink); }
.admin-seat-card.seat-vip { border-left-color: var(--accent-orange); }

.admin-seat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-seat-num {
  font-family: var(--font-display);
  font-weight: 700;
}

.admin-seat-user {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 6px;
}

.admin-seat-timer {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-top: 10px;
}

.admin-seat-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 12px;
}

.admin-seat-btn {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-seat-btn:hover {
  background: var(--accent-purple);
}

.admin-seat-btn.btn-stop:hover {
  background: var(--accent-pink);
}

/* Admin Kitchen tickets view */
.kitchen-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.kitchen-column {
  background: rgba(15,15,24,0.4);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 20px;
  min-height: 500px;
}

.kitchen-column-title {
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
}

.kitchen-tickets {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.kitchen-ticket {
  padding: 16px;
}

.ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.ticket-seat {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent-cyan);
}

.ticket-items {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.ticket-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Admin Tournament Manager */
.admin-tournament-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* Analytics Tab: Charts */
.analytics-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
}

.chart-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.chart-canvas-container {
  width: 100%;
  height: 300px;
  position: relative;
  margin-top: 20px;
}

/* Popular Games list */
.popular-games-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.game-rank-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.game-rank-num {
  width: 24px;
  height: 24px;
  background: var(--accent-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
}

.game-rank-info {
  flex-grow: 1;
}

.game-rank-name {
  font-weight: 600;
}

.game-rank-pct {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ==========================================================================
   SCROLL REVEAL & ANIMATIONS
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transition: transform var(--transition-slow), opacity var(--transition-slow);
  will-change: transform, opacity;
}

.reveal-on-scroll.fade-in {
  transform: scale(0.96);
}

.reveal-on-scroll.slide-up {
  transform: translateY(40px);
}

.reveal-on-scroll.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Keyframes */
@keyframes pulse-dot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.4; }
  100% { transform: scale(1); opacity: 1; }
}

/* Modal details */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
}

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

.modal-box {
  width: 100%;
  max-width: 500px;
  padding: 30px;
  border-radius: var(--border-radius-md);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
  }
  
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-ticker {
    justify-content: center;
  }
  
  .hero-live-card {
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .admin-seat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .booker-container, .menu-container, .analytics-grid, .admin-tournament-box {
    grid-template-columns: 1fr;
  }
  
  .menu-grid {
    grid-template-columns: 1fr;
  }
  
  .kitchen-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 20px;
  }
  
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: var(--bg-void);
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
    transition: all var(--transition-normal);
    border-top: 1px solid var(--border-color);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hero-text h1 {
    font-size: 2.8rem;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .floor-plan {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .admin-seat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .admin-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 500px) {
  .floor-plan {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .admin-seat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .admin-metrics-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-text h1 {
    font-size: 2.2rem;
  }
  
  .nav-brand span {
    display: none;
  }
}
