/* Base theme (Rubik, dark neon fruit-slot vibe) */
@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;700&display=swap");

:root {
  --bg: #0a0a0f;
  --surface: #11121a;
  --surface-2: #181a24;
  --text: #e8f0ff;
  --muted: #a9b2c7;
  --accent-1: #ff3cac; /* neon pink */
  --accent-2: #4cc9f0; /* neon blue */
  --success: #2dd4bf;
  --warning: #f59e0b;
  --danger: #ef4444;
  --ring: rgba(76, 201, 240, 0.5);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-1: 0 6px 18px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 10px 30px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: Rubik, system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji";
  display: flex;
  flex-direction: column;
  background: radial-gradient(
      1200px 1200px at 80% -20%,
      rgba(76, 201, 240, 0.2),
      transparent
    ),
    linear-gradient(180deg, #0a0a0f 0%, #0b0c13 100%), var(--page-bg, none);
  color: var(--text);
  line-height: 1.55;
}
main {
  flex: 1;
}
.no-scroll {
  overflow: hidden;
}

/* Backgrounds */
body.bg-index {
  background-image: linear-gradient(180deg, #0a0a0f 0%, #0b0c13 100%);
  background-size: auto, auto, cover;
  background-position: center top;
}
body.bg-alt {
  --page-bg: url("../images/bg-fruit2.png");
  background-image: radial-gradient(
      1200px 1200px at 80% -20%,
      rgba(76, 201, 240, 0.2),
      transparent
    ),
    linear-gradient(180deg, #0a0a0f 0%, #0b0c13 100%), var(--page-bg);
  background-size: auto, auto, cover;
  background-position: center top;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 15, 0.7);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
}
.brand-img {
  width: 80px;
  height: 80px;
  width: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.nav {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--text);
  opacity: 0.9;
  font-weight: 600;
  letter-spacing: 0.2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    180deg,
    rgba(24, 26, 36, 0.6),
    rgba(24, 26, 36, 0.35)
  );
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.nav a:hover {
  opacity: 1;
  border-color: rgba(76, 201, 240, 0.35);
  color: var(--accent-2);
  text-decoration: none;
}
.nav a[aria-current="page"] {
  border-color: rgba(255, 60, 172, 0.45);
  color: white;
  box-shadow: 0 6px 18px rgba(255, 60, 172, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.nav a:focus {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* Burger */
.burger {
  display: none;
  width: 44px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(17, 18, 26, 0.6);
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  flex-direction: column;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.burger.is-open span:nth-child(2) {
  opacity: 0;
}
.burger.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  color: white;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 10px 24px rgba(255, 60, 172, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  border: none;
  cursor: pointer;
}
.btn:hover {
  filter: brightness(1.06);
}
.btn:focus {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}
.btn-ghost:hover {
  border-color: rgba(76, 201, 240, 0.45);
  color: var(--accent-2);
}

/* Hero */
.hero {
  padding: 56px 0 24px;
}
.hero .panel {
  background: linear-gradient(
    180deg,
    rgba(17, 18, 26, 0.7),
    rgba(17, 18, 26, 0.4)
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  padding: 24px;
  align-items: center;
}
.hero h1 {
  font-size: 36px;
  line-height: 1.15;
  margin: 0 0 10px;
}
.hero p.lead {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 18px;
}
.hero .media {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 240px;
  background: linear-gradient(
    135deg,
    rgba(255, 60, 172, 0.15),
    rgba(76, 201, 240, 0.15)
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.hero .media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sections */
.section {
  padding: 36px 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card {
  background: linear-gradient(
    180deg,
    rgba(17, 18, 26, 0.7),
    rgba(17, 18, 26, 0.4)
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 18px;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(76, 201, 240, 0.35);
  box-shadow: 0 12px 28px rgba(76, 201, 240, 0.18);
}
.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.card p {
  margin: 0;
  color: var(--muted);
}

/* Split section */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: center;
  margin-top: 28px;
}
.split .media {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(255, 60, 172, 0.15),
    rgba(76, 201, 240, 0.15)
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.split .media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-col h2 {
  margin: 0 0 10px;
  font-size: 28px;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}
.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(76, 201, 240, 0.12);
  color: var(--accent-2);
  border: 1px solid rgba(76, 201, 240, 0.35);
  font-weight: 600;
  font-size: 12px;
}

/* Steps */
.steps {
  margin-top: 28px;
}
.steps h2 {
  margin: 0 0 12px;
  font-size: 28px;
}
.steps-list {
  counter-reset: step;
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.steps-list li {
  background: linear-gradient(
    180deg,
    rgba(17, 18, 26, 0.7),
    rgba(17, 18, 26, 0.4)
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 14px;
}
.steps-list h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
.steps-list p {
  margin: 0;
  color: var(--muted);
}
.cta-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

/* FAQ */
.faq {
  margin-top: 28px;
}
.faq h2 {
  margin: 0 0 12px;
  font-size: 28px;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.qa {
  background: linear-gradient(
    180deg,
    rgba(17, 18, 26, 0.7),
    rgba(17, 18, 26, 0.4)
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 16px;
}
.qa h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
.qa p {
  margin: 0;
  color: var(--muted);
}

/* CTA banner */
.cta-banner {
  margin-top: 28px;
}
.cta-banner-inner {
  border-radius: var(--radius);
  padding: 20px;
  background: linear-gradient(
    90deg,
    rgba(255, 60, 172, 0.08),
    rgba(76, 201, 240, 0.08)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-1);
}
.cta-banner-inner h2 {
  margin: 0 0 8px;
  font-size: 28px;
}
.cta-banner-inner p {
  margin: 0 0 10px;
  color: var(--muted);
}

/* Responsible 18+ strip */
.age-strip {
  margin: 24px 0 0;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  background: linear-gradient(
    90deg,
    rgba(239, 68, 68, 0.15),
    rgba(255, 60, 172, 0.12)
  );
  border: 1px solid rgba(239, 68, 68, 0.35);
}
.age-strip strong {
  color: #ff9ab3;
}

/* Footer */
footer.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 10, 15, 0.6);
  margin-top: 36px;
}
.site-footer .inner {
  padding: 22px 20px;
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 16px;
  align-items: center;
}
.footer-meta {
  display: grid;
  gap: 8px;
}
.footer-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--muted);
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(24, 26, 36, 0.4);
}
.footer-nav a:hover {
  color: var(--accent-2);
  border-color: rgba(76, 201, 240, 0.35);
  text-decoration: none;
}
.footer-nav a[aria-current="page"] {
  color: white;
  border-color: rgba(255, 60, 172, 0.45);
}
.rg-logos {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  justify-self: end;
}
.rg-logos a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px; /* unified box width for all logos */
  height: 32px; /* unified box height for all logos */
}
.rg-logos img {
  height: 100%;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* avoid distortion, keep inside the box */
  opacity: 0.9;
  filter: saturate(0.9);
}
.rg-logos a:hover img {
  opacity: 1;
  filter: saturate(1);
}

/* Responsive */
@media (max-width: 920px) {
  .hero .panel {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .burger {
    display: inline-flex;
  }
  .nav {
    position: absolute;
    top: 60px;
    right: 20px;
    left: 20px;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    background: rgba(10, 10, 15, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow-2);
    display: none;
    margin-top: 80px;
  }
  .nav.is-open {
    display: flex;
  }
  .footer-nav {
    justify-content: flex-start;
  }
  .site-footer .inner {
    grid-template-columns: 1fr;
  }
}

/* Responsive adjustments for logo boxes */
@media (max-width: 480px) {
  .rg-logos {
    gap: 12px;
  }
  .rg-logos a {
    width: 96px;
    height: 28px;
  }
  .buttons, .cta-row {
    display: flex;
    align-items: center;
    flex-direction: column !important;
  }
  .buttons .btn, .cta-row .btn, .cta-row .btn-ghost  {
    width: 100%;
  }
}
