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

:root {
  --bg-deep: #0a0a12;
  --bg-card: rgba(18, 18, 32, 0.78);
  --bg-card-solid: #121220;
  --neon-cyan: #00f5ff;
  --neon-magenta: #ff00a0;
  --neon-yellow: #ffe600;
  --neon-lime: #39ff14;
  --neon-orange: #ff6b00;
  --text-main: #e8e8f0;
  --text-muted: #a0a0b8;
  --border-glow: rgba(0, 245, 255, 0.25);
  --grid-line: rgba(0, 245, 255, 0.08);
  --radius: 14px;
  --shadow-neon: 0 0 22px rgba(0, 245, 255, 0.28), 0 0 48px rgba(0, 245, 255, 0.12);
  --shadow-magenta: 0 0 22px rgba(255, 0, 160, 0.28), 0 0 48px rgba(255, 0, 160, 0.12);
  --shadow-yellow: 0 0 22px rgba(255, 230, 0, 0.22), 0 0 48px rgba(255, 230, 0, 0.08);
  --font-display: 'Bungee', cursive;
  --font-body: 'Chakra Petch', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}



img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--neon-yellow);
  text-shadow: 0 0 12px var(--neon-yellow);
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Header & Navigation */

.main-header {
  position: sticky;
  top: 0;
  z-index: 500;
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 18, 0.82);
  border-bottom: 1px solid var(--border-glow);
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--neon-cyan);
  text-shadow: 0 0 12px var(--neon-cyan), 2px 2px 0 var(--neon-magenta);
  letter-spacing: 1px;
}

.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--neon-yellow);
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--neon-yellow);
}

.main-nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--neon-cyan);
  border-radius: 2px;
  box-shadow: 0 0 6px var(--neon-cyan);
}

/* Hero */

.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0 120px;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(180deg, transparent 0%, var(--bg-deep) 100%);
  z-index: 1;
}

.hero-cityscape {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  background-image:
    linear-gradient(180deg, transparent 0%, var(--bg-deep) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300' preserveAspectRatio='none'%3E%3Cpath d='M0 300 L0 220 L60 220 L60 150 L120 150 L120 240 L180 240 L180 100 L240 100 L240 260 L300 260 L300 170 L360 170 L360 230 L420 230 L420 80 L480 80 L480 250 L540 250 L540 140 L600 140 L600 270 L660 270 L660 110 L720 110 L720 240 L780 240 L780 160 L840 160 L840 220 L900 220 L900 90 L960 90 L960 260 L1020 260 L1020 150 L1080 150 L1080 230 L1140 230 L1140 120 L1200 120 L1200 300 Z' fill='%23111122'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: bottom;
  opacity: 0.55;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid var(--neon-magenta);
  border-radius: 999px;
  color: var(--neon-magenta);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  margin-bottom: 24px;
  animation: pulse-glow 2.5s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 10px rgba(255, 0, 160, 0.3); }
  50% { box-shadow: 0 0 24px rgba(255, 0, 160, 0.6); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  line-height: 1.05;
  color: var(--neon-yellow);
  text-shadow:
    0 0 20px rgba(255, 230, 0, 0.5),
    4px 4px 0 var(--neon-magenta),
    8px 8px 0 rgba(0, 245, 255, 0.35);
  margin-bottom: 22px;
}

.hero h1 span {
  display: block;
  color: var(--neon-cyan);
  font-size: 0.55em;
  text-shadow: 0 0 16px var(--neon-cyan);
}

.hero p {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 38px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-magenta) 0%, var(--neon-orange) 100%);
  color: #fff;
  box-shadow: var(--shadow-magenta);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 34px rgba(255, 0, 160, 0.55);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  box-shadow: var(--shadow-neon);
}

.btn-secondary:hover {
  background: rgba(0, 245, 255, 0.1);
  color: var(--neon-yellow);
  border-color: var(--neon-yellow);
  box-shadow: var(--shadow-yellow);
}

/* Section styling */

section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--neon-lime);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  color: var(--text-main);
  text-shadow: 0 0 18px rgba(0, 245, 255, 0.35);
  margin-bottom: 14px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Districts */

.districts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.district-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.district-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta), var(--neon-yellow));
  opacity: 0.8;
}

.district-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-neon);
  border-color: var(--neon-cyan);
}

.district-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.district-card:nth-child(1) .district-icon { color: var(--neon-cyan); box-shadow: 0 0 16px rgba(0, 245, 255, 0.25); }
.district-card:nth-child(2) .district-icon { color: var(--neon-magenta); box-shadow: 0 0 16px rgba(255, 0, 160, 0.25); }
.district-card:nth-child(3) .district-icon { color: var(--neon-yellow); box-shadow: 0 0 16px rgba(255, 230, 0, 0.25); }
.district-card:nth-child(4) .district-icon { color: var(--neon-lime); box-shadow: 0 0 16px rgba(57, 255, 20, 0.25); }

.district-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.district-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Featured Rooms */

.rooms-showcase {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.room-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-neon);
  position: relative;
}

.room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
  transition: transform 0.5s ease;
}

.room-image:hover img {
  transform: scale(1.05);
}

.room-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 18, 0.7) 100%);
  pointer-events: none;
}

.rooms-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.room-item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.room-item:hover {
  transform: translateX(8px);
  border-color: var(--neon-magenta);
  box-shadow: var(--shadow-magenta);
}

.room-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--neon-magenta);
  line-height: 1;
  min-width: 40px;
  text-align: center;
  text-shadow: 0 0 10px var(--neon-magenta);
}

.room-item h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--neon-cyan);
}

.room-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Game Cards */

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
}

.game-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.game-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    var(--neon-cyan) 60deg,
    transparent 120deg,
    var(--neon-magenta) 180deg,
    transparent 240deg,
    var(--neon-yellow) 300deg,
    transparent 360deg
  );
  opacity: 0;
  transition: opacity 0.3s;
  animation: rotate-border 6s linear infinite;
  z-index: 0;
}

@keyframes rotate-border {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.game-card:hover::before {
  opacity: 0.12;
}

.game-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-neon);
}

.game-thumb {
  position: relative;
  z-index: 1;
  height: 180px;
  overflow: hidden;
}

.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.game-card:hover .game-thumb img {
  transform: scale(1.08);
}

.game-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(10, 10, 18, 0.8);
  border: 1px solid currentColor;
}

.game-tag.casual { color: var(--neon-lime); }
.game-tag.action { color: var(--neon-orange); }
.game-tag.puzzle { color: var(--neon-cyan); }
.game-tag.party { color: var(--neon-yellow); }

.game-info {
  padding: 22px;
  position: relative;
  z-index: 1;
}

.game-info h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.game-info p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

.game-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.game-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Event Schedule */

.schedule-strip {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  overflow: hidden;
}

.event-row {
  display: grid;
  grid-template-columns: 130px 1fr 160px 120px;
  gap: 24px;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  align-items: center;
  transition: background 0.2s;
}

.event-row:last-child {
  border-bottom: none;
}

.event-row:hover {
  background: rgba(0, 245, 255, 0.05);
}

.event-time {
  font-family: var(--font-display);
  color: var(--neon-yellow);
  font-size: 0.95rem;
  text-shadow: 0 0 8px var(--neon-yellow);
}

.event-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
}

.event-zone {
  color: var(--neon-magenta);
  font-size: 0.9rem;
  font-weight: 600;
}

.event-status {
  text-align: right;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.event-status.open { color: var(--neon-lime); }
.event-status.full { color: var(--neon-orange); }
.event-status.upcoming { color: var(--neon-cyan); }

/* Player Highlights */

.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.player-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.player-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 28px rgba(57, 255, 20, 0.2);
  border-color: var(--neon-lime);
}

.player-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 3px solid var(--neon-cyan);
  box-shadow: 0 0 18px var(--neon-cyan);
  background: var(--bg-card-solid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.player-card h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--text-main);
}

.player-rank {
  font-size: 0.8rem;
  color: var(--neon-yellow);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 14px;
}

.player-score {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--neon-lime);
  text-shadow: 0 0 10px var(--neon-lime);
}

.player-score span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* CTA Banner */

.cta-banner {
  padding: 90px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 0, 160, 0.12) 0%, rgba(0, 245, 255, 0.12) 100%);
  border-top: 1px solid var(--border-glow);
  border-bottom: 1px solid var(--border-glow);
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  color: var(--neon-yellow);
  text-shadow: 0 0 22px rgba(255, 230, 0, 0.45);
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 34px;
  font-size: 1.1rem;
}

/* Footer */

.main-footer {
  background: rgba(8, 8, 14, 0.95);
  border-top: 1px solid var(--border-glow);
  padding: 70px 0 30px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .logo {
  font-size: 1.25rem;
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.95rem;
  color: var(--neon-cyan);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--neon-yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--text-muted);
  margin-left: 20px;
}

/* Legal pages */

.legal-hero {
  padding: 120px 0 70px;
  text-align: center;
}

.legal-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--neon-yellow);
  text-shadow: 0 0 18px rgba(255, 230, 0, 0.4);
  margin-bottom: 12px;
}

.legal-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.legal-content {
  padding: 40px 0 100px;
}

.legal-body {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 48px 56px;
  max-width: 860px;
  margin: 0 auto;
  backdrop-filter: blur(8px);
}

.legal-body h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--neon-cyan);
  margin: 36px 0 16px;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p,
.legal-body li {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-body ul,
.legal-body ol {
  margin-left: 24px;
  margin-bottom: 18px;
}

.legal-body li {
  margin-bottom: 10px;
}

.legal-body a {
  color: var(--neon-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-body a:hover {
  color: var(--neon-yellow);
}

/* Responsive */

@media (max-width: 960px) {
  .rooms-showcase {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .event-row {
    grid-template-columns: 100px 1fr;
    gap: 10px 16px;
  }

  .event-zone,
  .event-status {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .main-header .container {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .main-nav.open {
    max-height: 300px;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 14px;
    padding-top: 20px;
  }

  .hero {
    padding: 60px 0 100px;
  }

  section {
    padding: 70px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .legal-body {
    padding: 32px 24px;
  }
}

/* Utility */

.text-cyan { color: var(--neon-cyan); }
.text-magenta { color: var(--neon-magenta); }
.text-yellow { color: var(--neon-yellow); }
.text-lime { color: var(--neon-lime); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.floating {
  animation: float 4s ease-in-out infinite;
}
