:root {
  --primary-bg: #09111D;
  --secondary-bg: #121D31;
  --surface: #182640;
  --neon-blue: #42BFFF;
  --electric-cyan: #6EE7FF;
  --city-purple: #8A6DFF;
  --neon-pink: #FF5FD1;
  --city-gold: #FFD36A;
  --white-glow: #F5F8FF;
  --primary-text: #F5F8FF;
  --secondary-text: #C7D2E7;
  --muted-text: #8D98B4;
  --border: rgba(255, 255, 255, 0.10);
  --font-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.3s ease;
}

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

body {
  background-color: var(--primary-bg);
  color: var(--primary-text);
  font-family: var(--font-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  opacity: 1 !important; /* Enforcing 100% image visibility rule */
  filter: none !important; /* No color tints or blurs */
}

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

a:hover, a:focus {
  color: var(--neon-blue);
  outline: none;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--electric-cyan);
  outline-offset: 2px;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.section-padding {
  padding: 100px 0;
}

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

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--white-glow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title span {
  color: var(--neon-blue);
  text-shadow: 0 0 10px rgba(66, 191, 255, 0.5);
}

.section-desc {
  color: var(--secondary-text);
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(9, 17, 29, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  padding: 1.25rem 0;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white-glow);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 8px rgba(66, 191, 255, 0.4);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--secondary-text);
}

.nav-link:hover {
  color: var(--white-glow);
  text-shadow: 0 0 8px var(--neon-blue);
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-blue), var(--electric-cyan));
  color: var(--primary-bg);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  display: inline-block;
  box-shadow: 0 4px 15px rgba(66, 191, 255, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(66, 191, 255, 0.6);
  transform: translateY(-2px);
  color: var(--primary-bg);
}

.btn-secondary {
  background: transparent;
  color: var(--electric-cyan);
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--electric-cyan);
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  display: inline-block;
}

.btn-secondary:hover {
  background: rgba(110, 231, 255, 0.1);
  box-shadow: 0 0 15px rgba(110, 231, 255, 0.2);
  transform: translateY(-2px);
  color: var(--white-glow);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--white-glow);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding-top: 120px; /* offset for header */
  background: var(--primary-bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-layout {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  flex: 1;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--white-glow);
  text-transform: uppercase;
}

.hero-title span {
  color: var(--neon-blue);
  text-shadow: 0 0 15px rgba(66, 191, 255, 0.4);
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--secondary-text);
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image-container {
  flex: 1;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
}

/* The hero image is strictly 100% visible, no overlays */
.hero-image-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Game Section */
.game-section {
  background-color: var(--secondary-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.game-container-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.game-frame-wrapper {
  width: 80%;
  max-width: 1200px;
  aspect-ratio: 16 / 9;
  background: var(--primary-bg);
  border: 1px solid var(--neon-blue);
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(66, 191, 255, 0.15);
  overflow: hidden;
}

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

/* Stats Section */
.stats-section {
  background: var(--primary-bg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-card {
  background: var(--surface);
  padding: 2.5rem 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--neon-blue);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(-5px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--city-gold);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 15px rgba(255, 211, 106, 0.3);
}

.stat-label {
  font-size: 1rem;
  color: var(--secondary-text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Rewards Section */
.rewards-section {
  background: var(--secondary-bg);
}

.rewards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.reward-card {
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.reward-card:hover {
  transform: translateY(-5px);
  border-color: var(--city-purple);
  box-shadow: 0 10px 30px rgba(138, 109, 255, 0.15);
}

.reward-image {
  width: 100%;
  height: 240px;
}

/* Completely untouched, un-overlayed image */
.reward-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reward-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.reward-title {
  font-size: 1.5rem;
  color: var(--white-glow);
  margin-bottom: 1rem;
  font-weight: 700;
}

.reward-desc {
  color: var(--secondary-text);
  margin-bottom: 1.5rem;
  flex: 1;
}

/* About Section */
.about-section {
  background: var(--primary-bg);
  text-align: center;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface);
  padding: 3rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.about-content p {
  font-size: 1.2rem;
  color: var(--secondary-text);
}

/* FAQ Section */
.faq-section {
  background: var(--secondary-bg);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  border-radius: 4px;
  overflow: hidden;
}

.faq-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: var(--surface);
  color: var(--white-glow);
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  text-align: left;
  transition: var(--transition);
}

.faq-btn:hover {
  background: #1c2e4d;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--neon-blue);
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--neon-pink);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--surface);
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--secondary-text);
}

/* Internal Pages Structure */
.page-header {
  padding: 150px 0 60px;
  background: var(--secondary-bg);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-title {
  font-size: 3rem;
  color: var(--white-glow);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-content {
  padding: 80px 0;
  background: var(--primary-bg);
}

.content-block {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface);
  padding: 3rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.content-block h2 {
  color: var(--white-glow);
  margin: 2rem 0 1rem;
  font-size: 1.8rem;
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block p {
  color: var(--secondary-text);
  margin-bottom: 1.5rem;
}

.content-block ul {
  color: var(--secondary-text);
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.content-block ul li {
  margin-bottom: 0.5rem;
  list-style-type: disc;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  color: var(--white-glow);
  font-weight: 500;
}

.form-control {
  background: var(--primary-bg);
  border: 1px solid var(--border);
  color: var(--primary-text);
  padding: 1rem;
  border-radius: 4px;
  font-family: var(--font-base);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--neon-blue);
  box-shadow: 0 0 10px rgba(66, 191, 255, 0.2);
  outline: none;
}

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

.form-status {
  display: none;
  padding: 1rem;
  border-radius: 4px;
  text-align: center;
  font-weight: 600;
}

.form-status.success {
  display: block;
  background: rgba(110, 231, 255, 0.1);
  color: var(--electric-cyan);
  border: 1px solid var(--electric-cyan);
}

/* Footer */
.footer {
  background-color: var(--primary-bg);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  display: block;
  margin-bottom: 1rem;
}

.footer-desc {
  color: var(--muted-text);
  font-size: 0.95rem;
  max-width: 350px;
}

.footer-links-container {
  display: flex;
  justify-content: flex-end;
  gap: 4rem;
}

.footer-col h4 {
  color: var(--white-glow);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

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

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

.footer-contact-info {
  color: var(--muted-text);
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-disclaimer {
  color: var(--muted-text);
  font-size: 0.85rem;
  max-width: 600px;
}

.footer-copyright {
  color: var(--muted-text);
  font-size: 0.85rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(24, 38, 64, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-text {
  color: var(--secondary-text);
  font-size: 0.95rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title { font-size: 3rem; }
  .game-frame-wrapper { width: 90%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links-container { justify-content: flex-start; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--surface);
    flex-direction: column;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-menu.active { display: flex; }
  .mobile-menu-btn { display: flex; }
  
  .hero-layout { flex-direction: column; text-align: center; gap: 2rem; }
  .hero-desc { margin: 0 auto 2rem auto; }
  .hero-buttons { justify-content: center; }
  
  /* Mobile: Game appears before decorative content (handled via structure if possible or order) */
  .game-frame-wrapper { width: 100%; border-radius: 0; border-left: none; border-right: none; }
  
  .rewards-grid { grid-template-columns: 1fr; }
  
  .footer-links-container { flex-direction: column; gap: 2rem; }
  .cookie-content { flex-direction: column; text-align: center; }
}