/* CSS Variables */
:root {
  --clr-primary: #6a4fff;
  --clr-accent: #ff3d8a;
  --clr-bg: #0a0818;
  --clr-surface: #13102b;
  --clr-surface2: #1e1a3d;
  --clr-text-body: #e8e4ff;
  --clr-text-muted: #8a85b8;
  --clr-success: #22d48f;
  --clr-border: #2e2855;
  --clr-gradient: linear-gradient(135deg, #6a4fff 0%, #ff3d8a 100%);

  --font-display: "Barlow Condensed", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --font-ui: "Rajdhani", sans-serif;

  --transition: all 0.3s ease;
  --nav-height: 76px;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--clr-bg);
  color: var(--clr-text-body);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.03"/></svg>');
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Typography */
h1,
h2,
h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
}

.h2-wrap {
  margin-bottom: 24px;
  position: relative;
}

.h2-wrap.center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

.h2-title {
  font-size: 44px;
  font-weight: 700;
  color: var(--clr-text-body);
  margin-bottom: 8px;
  text-align: left;
}

.center .h2-title {
  text-align: center;
}

.h2-accent {
  height: 4px;
  width: 40px;
  background: var(--clr-gradient);
  margin-bottom: 16px;
  border-radius: 2px;
}

.h2-subtitle {
  font-size: 18px;
  color: var(--clr-text-muted);
  max-width: 600px;
  margin-inline: auto;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 80px 0;
}

.bg-surface {
  background-color: var(--clr-surface);
}

.bg-base {
  background-color: var(--clr-bg);
}

/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 50px;
}

.btn-primary {
  background: var(--clr-gradient);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(106, 79, 255, 0.4);
}

.btn-primary:hover {
  filter: brightness(1.15);
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(255, 61, 138, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--clr-text-body);
  border: 1px solid var(--clr-primary);
  border-radius: 8px;
}

.btn-outline:hover {
  background: var(--clr-gradient);
  border-color: transparent;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  transition: var(--transition);
  background: transparent;
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.navbar.scrolled {
  background: var(--clr-bg);
  border-bottom: 1px solid var(--clr-border);
  box-shadow: 0 4px 20px rgba(10, 8, 24, 0.8);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  z-index: 101;
}
.logo span {
  color: var(--clr-primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  color: var(--clr-text-body);
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--clr-accent);
}

.nav-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 101;
}

/* S1: Page Hero (No CTA) */
.page-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-height);
  text-align: center;
  padding: 80px 0;
}

.page-hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 8, 24, 0.75);
  z-index: -1;
}

.page-hero-content {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-hero h1 {
  font-size: 64px;
  font-weight: 800;
  font-style: italic;
  line-height: 1.1;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  color: var(--clr-text-muted);
  max-width: 640px;
}

/* S2 & S4: Split Sections */
.split-section {
  display: grid;
  gap: 60px;
  align-items: center;
}

.split-text-left {
  grid-template-columns: 55% 1fr;
}

.split-img-left {
  grid-template-columns: 42% 1fr;
}

.split-content p {
  font-size: 16px;
  color: var(--clr-text-muted);
  margin-bottom: 24px;
  line-height: 1.75;
}

.split-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  aspect-ratio: 4/3;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.split-image:hover img {
  transform: scale(1.05);
}

/* S3: Mission & Vision */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.mv-card {
  background: var(--clr-surface2);
  border: 1px solid var(--clr-border);
  border-radius: 16px;
  padding: 40px;
  position: relative;
}

.mv-card::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: -1px;
  width: 4px;
  background: var(--clr-gradient);
  border-radius: 4px;
}

.mv-label {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: block;
}

.mv-title {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 600;
  color: var(--clr-text-body);
  margin-bottom: 16px;
  text-transform: none;
}

.mv-desc {
  font-size: 16px;
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin-bottom: 0;
}

/* S4: Licensing Specifics */
#licensing {
  position: relative;
  z-index: 1;
}

#licensing::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(106, 79, 255, 0.06) 0%,
    transparent 60%
  );
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
}

.license-block {
  padding: 24px 0;
  border-bottom: 1px solid var(--clr-border);
}

.license-block:last-of-type {
  border-bottom: none;
  padding-bottom: 32px;
}

.license-block h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--clr-text-body);
  margin-bottom: 8px;
  text-transform: none;
}

.license-block p {
  margin-bottom: 0;
  font-size: 15px;
}

.license-badges-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* S5: Trust Badges (Float Style) */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 32px;
}

.trust-badge-float {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.trust-badge-float .icon {
  width: 48px;
  height: 48px;
  background: rgba(106, 79, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary);
  margin-bottom: 16px;
}

.trust-badge-float h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--clr-text-body);
  margin-bottom: 12px;
  text-transform: none;
}

.trust-badge-float p {
  font-size: 15px;
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

/* S6: Responsible Gaming */
.rg-body {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
  font-size: 16px;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
  max-width: 860px;
  margin-inline: auto;
}

.tool-block {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 12px;
  padding: 28px;
  text-align: left;
}

.tool-block h4 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  color: var(--clr-text-body);
  margin-bottom: 12px;
}

.tool-block p {
  font-size: 15px;
  color: var(--clr-text-muted);
  margin-bottom: 0;
}

.age-notice {
  text-align: center;
  font-size: 14px;
  color: var(--clr-text-muted);
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
}

/* S7: By the Numbers */
.stats-strip {
  background: var(--clr-surface);
  padding: 72px 0;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.stats-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 140px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  background: var(--clr-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 15px;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--clr-border);
}

/* S8: FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-left: 3px solid var(--clr-primary);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--clr-text-body);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  font-size: 20px;
  transition: transform 0.3s;
  color: var(--clr-primary);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

.faq-answer p {
  color: var(--clr-text-muted);
  font-size: 15px;
}

/* S9: Final CTA */
.final-cta {
  background: var(--clr-gradient);
  text-align: center;
}

.final-cta h2 {
  font-size: 52px;
  font-style: italic;
  color: #fff;
  margin-bottom: 16px;
}

.final-cta p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 600px;
  margin-inline: auto;
}

.btn-white {
  background: #fff;
  color: var(--clr-primary);
  border-radius: 50px;
}
.btn-white:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.legal-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 24px;
  display: block;
}

/* Footer */
.footer {
  background: var(--clr-bg);
  padding: 60px 0 24px;
  border-top: 1px solid var(--clr-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--clr-text-muted);
  font-size: 14px;
  margin-top: 16px;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--clr-text-muted);
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--clr-primary);
}

.footer-bottom {
  border-top: 1px solid var(--clr-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--clr-text-muted);
}

.license-badge {
  background: var(--clr-surface2);
  border: 1px solid var(--clr-border);
  padding: 4px 12px;
  border-radius: 20px;
  font-family: var(--font-ui);
  font-weight: 600;
  color: var(--clr-success);
  display: inline-block;
}

/* Responsive Breakpoints */
@media (max-width: 1023px) {
  .h2-title {
    font-size: 38px;
  }
  .page-hero h1 {
    font-size: 48px;
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .split-img-left .split-image {
    order: -1;
  }

  .stats-container {
    justify-content: center;
  }
  .stat-divider {
    display: none;
  }
  .stat-item {
    flex: 1 1 25%;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .section-pad {
    padding: 48px 0;
  }
  .h2-title {
    font-size: 30px;
  }

  /* Navbar Mobile */
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--clr-bg);
    padding: 24px;
    border-bottom: 1px solid var(--clr-border);
    gap: 24px;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    text-align: center;
    gap: 20px;
  }

  .nav-actions {
    flex-direction: column;
    width: 100%;
  }

  .nav-actions .btn {
    width: 100%;
  }

  .hamburger {
    display: block;
  }

  /* Content Mobile */
  .page-hero {
    min-height: 300px;
  }
  .page-hero h1 {
    font-size: 36px;
  }
  .page-hero p {
    font-size: 15px;
  }

  .split-image {
    max-height: 240px;
  }

  .mv-grid {
    grid-template-columns: 1fr;
  }
  .mv-card {
    padding: 32px 24px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .stats-strip {
    padding: 48px 0;
  }
  .stat-num {
    font-size: 40px;
  }
  .stat-item {
    flex: 1 1 45%;
  }

  .final-cta h2 {
    font-size: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
