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

:root {
  --bg-primary: #0b0b12;
  --bg-secondary: #151528;
  --card-bg: rgba(255, 215, 0, 0.06);
  --accent-red: #dc2626;
  --accent-gold: #f59e0b;
  --glow: rgba(245, 158, 11, 0.5);
  --gradient: linear-gradient(135deg, #dc2626, #f59e0b);
  --text-primary: #f8fafc;
  --text-secondary: #a1a1aa;
  
  --spacing-desktop: 100px;
  --spacing-tablet: 70px;
  --spacing-mobile: 50px;
  --max-width: 1400px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: radial-gradient(circle at 50% 0%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
                    url('images/subtle-oriental-pattern-bg.png');
  background-blend-mode: overlay;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 5%;
}

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

/* Typography Enhancements */
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 18px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--glow);
}

.btn-secondary {
  background: var(--card-bg);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.btn-secondary:hover {
  background: rgba(245, 158, 11, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--glow);
}

/* Glassmorphism & Cards */
.glass-panel {
  background: rgba(21, 21, 40, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 215, 0, 0.08);
  border-radius: 20px;
}

.card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255, 215, 0, 0.05);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(245, 158, 11, 0.1);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 11, 18, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}

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

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--accent-gold);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent-gold);
}

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

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Legal Disclaimer Banner */
.legal-banner {
  background: var(--bg-secondary);
  text-align: center;
  padding: 8px 20px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-banner strong {
  color: var(--accent-gold);
}

/* Hero Section */
.hero {
  padding-top: 150px;
  padding-bottom: var(--spacing-desktop);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 90%;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-legal-note {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: rgba(220, 38, 38, 0.1);
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.hero-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.85);
  transition: transform 0.5s ease;
}

.hero-visual:hover img {
  transform: scale(1.02);
}

/* Game Section */
.game-section {
  position: relative;
  z-index: 10;
}

.game-wrapper {
  max-width: 1300px; /* Massive size as requested */
  width: 90%;
  margin: 0 auto;
  background: var(--bg-secondary);
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  position: relative;
}

.game-wrapper::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: var(--gradient);
  z-index: -1;
  border-radius: 22px;
  opacity: 0.5;
  filter: blur(10px);
}

.game-frame-container {
  width: 100%;
  height: 800px;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

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

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(220, 38, 38, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.feature-icon img {
  width: 30px;
  height: 30px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

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

/* Stats Section */
.stats-section {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.stat-item h4 {
  font-size: 3rem;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

/* CTA Banner */
.cta-banner {
  background: var(--gradient);
  border-radius: 20px;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('images/abstract-lantern-pattern.png');
  opacity: 0.1;
  pointer-events: none;
}

.cta-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.cta-banner p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 2;
}

.cta-banner .btn {
  background: #fff;
  color: var(--accent-red);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
}

.cta-banner .btn:hover {
  background: var(--bg-primary);
  color: var(--accent-gold);
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  padding: 4rem 0 2rem 0;
  border-top: 1px solid rgba(245, 158, 11, 0.2);
}

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

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 1rem;
  max-width: 400px;
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

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

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

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

.footer-legal-strict {
  background: rgba(220, 38, 38, 0.05);
  border: 1px solid rgba(220, 38, 38, 0.2);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 2rem;
}

.footer-legal-strict h5 {
  color: var(--accent-red);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-legal-strict p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Inner Pages Header */
.page-header {
  padding: 180px 0 80px 0;
  text-align: center;
  background: linear-gradient(to bottom, rgba(220, 38, 38, 0.05), transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

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

/* Content Blocks for Inner Pages */
.content-block {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-secondary);
}

.content-block h2 {
  color: #fff;
  margin: 2rem 0 1rem 0;
  font-size: 1.8rem;
}

.content-block h3 {
  color: #fff;
  margin: 1.5rem 0 0.8rem 0;
  font-size: 1.3rem;
}

.content-block p {
  margin-bottom: 1.2rem;
}

.content-block ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.content-block li {
  margin-bottom: 0.5rem;
}

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

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

.form-group label {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
}

.form-control {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  transition: all 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.05);
}

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

/* Responsible Gaming specific */
.rg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

/* Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content p {
    margin: 0 auto 2rem auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .game-wrapper {
    width: 95%;
  }
  .game-frame-container {
    height: 600px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section-spacing {
    padding: var(--spacing-tablet) 0;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .header-cta {
    display: none;
  }
  .hero {
    padding-top: 120px;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .game-wrapper {
    width: 100%;
    border-radius: 12px;
  }
  .game-frame-container {
    height: 500px;
  }
  .rg-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .section-spacing {
    padding: var(--spacing-mobile) 0;
  }
  .game-frame-container {
    height: 400px;
  }
}