/* Variables */
:root {
  --base-bg: #0b0f14;
  --sec-bg: #111827;
  --surface: rgba(255, 255, 255, 0.05);
  
  --primary: #22c55e;
  --secondary: #3b82f6;
  --highlight: #f97316;
  
  --white-line: #f8fafc;
  --dark-turf: #065f46;
  
  --text-pri: #f9fafb;
  --text-sec: #cbd5f5;
  
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --max-width: 1320px;
  --container-pad: 32px;
  --section-space: 120px;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Ambient Background Light / Stadium Feel */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 85% 30%, rgba(34, 197, 94, 0.08) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* Typography */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-pri);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h1 { font-size: 4rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

p {
  color: var(--text-sec);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: var(--section-space) 0;
}

/* Header (Stadium Navbar) */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 15, 20, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(11, 15, 20, 0.95);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-pri);
  letter-spacing: -0.5px;
}

.logo-icon {
  color: var(--primary);
  font-size: 1.75rem;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-sec);
  position: relative;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-pri);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
  background: var(--primary);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 30px;
  height: 2px;
  background: var(--text-pri);
  transition: 0.3s;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 16px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white-line);
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
  filter: brightness(1.1);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-pri);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Hero Section (Match Entry Moment) */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: -1;
  background-image: linear-gradient(to right, var(--base-bg) 40%, transparent 100%), 
                    url('images/stadium-hero-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.6;
}

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

.hero-tag {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(249, 115, 22, 0.1);
  color: var(--highlight);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title-highlight {
  color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin-top: 2rem;
}

.hero-disclaimer {
  display: block;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(203, 213, 245, 0.6);
}

/* Main Game Section */
.game-section {
  position: relative;
  z-index: 10;
  background: linear-gradient(180deg, transparent, var(--sec-bg), transparent);
}

.game-header {
  text-align: center;
  margin-bottom: 40px;
}

.game-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: 20px;
  padding: 16px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 
              0 0 40px rgba(34, 197, 94, 0.1);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-container::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  z-index: -1;
  border-radius: 22px;
  opacity: 0.3;
  animation: pulse-glow 3s infinite alternate;
}

.game-container:hover {
  transform: scale(1.01);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 
              0 0 60px rgba(59, 130, 246, 0.2);
}

.game-iframe-wrapper {
  width: 100%;
  height: 700px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--base-bg);
}

.game-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--secondary);
  margin-bottom: 24px;
}

/* Internal Pages Structure */
.page-hero {
  padding: 180px 0 100px;
  background: linear-gradient(to bottom, rgba(11, 15, 20, 0.9), var(--base-bg)), url('images/stadium-lights-bg.webp');
  background-size: cover;
  background-position: center;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
}

.text-block {
  background: var(--surface);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 40px;
}

.text-block h2 {
  color: var(--white-line);
  font-size: 1.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 15px;
  margin-bottom: 25px;
}

.text-block ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--text-sec);
  margin-bottom: 1.5rem;
}

.text-block li {
  margin-bottom: 10px;
}

/* Contact Form */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-pri);
}

.form-control {
  width: 100%;
  padding: 16px;
  background: rgba(11, 15, 20, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-pri);
  font-family: var(--font-main);
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
.footer {
  background: var(--sec-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 80px 0 40px;
  margin-top: 60px;
}

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

.footer-brand p {
  margin-top: 20px;
  font-size: 0.95rem;
}

.footer-title {
  color: var(--white-line);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-sec);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(203, 213, 245, 0.6);
  font-size: 0.9rem;
}

.legal-icons {
  display: flex;
  gap: 15px;
  font-size: 1.5rem;
  color: var(--text-sec);
}