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

body {
  font-family: "Arial", sans-serif;
  background: linear-gradient(135deg, #0a0a23 0%, #1a1a3e 50%, #2d1b69 100%);
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* 18+ Age Warning Sticky Bar */
.age-warning {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, #ff6b35, #f7931e);
  color: #000;
  text-align: center;
  padding: 8px 0;
  font-weight: bold;
  font-size: 14px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(255, 107, 53, 0.5);
}

/* Navigation */
.navbar {
  background: #1a1a3e;
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: fixed;
  top: 38px;
  left: 0;
  right: 0;
  z-index: 999;
  border-bottom: 2px solid #00d4ff;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  font-size: 1.6rem;
  font-weight: bold;
  background: linear-gradient(45deg, #00d4ff, #ff6b35, #f7931e);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 4px;
}

.logo-img {
  width: 30px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-link:hover {
  background: linear-gradient(45deg, #00d4ff, #ff6b35);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
  transform: translateY(-2px);
}

.nav-link.active {
  background: linear-gradient(45deg, #00d4ff, #ff6b35);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #00d4ff;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url("ino.jpg") center/cover;
  position: relative;
  padding-top: 140px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #00d4ff, #ff6b35, #f7931e);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
  }

  to {
    text-shadow: 0 0 40px rgba(0, 212, 255, 0.8),
      0 0 60px rgba(255, 107, 53, 0.3);
  }
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #ffffff;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(45deg, #00d4ff, #ff6b35);
  color: #000;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: all 0.6s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.5);
}

/* Features Section */
.features {
  padding: 5rem 0;
  background: #1a1a3e;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
  border-color: #00d4ff;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  color: #00d4ff;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Game Showcase */
.game-showcase {
  padding: 5rem 0;
  background: #1a1a3e;
  position: relative;
}

.game-showcase::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1a1a3e;
}

.game-showcase .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.game-showcase h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  background: linear-gradient(45deg, #00d4ff, #ff6b35);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.game-image {
  max-width: 600px;
  width: 100%;
  border-radius: 20px;
  margin: 2rem 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* About Section */
.about {
  padding: 5rem 0;
  background: #1a1a3e;
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about h2 {
  color: #00d4ff;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.about h3 {
  color: #ff6b35;
  margin: 2rem 0 1rem 0;
  font-size: 1.8rem;
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.9);
  padding: 3rem 0;
  border-top: 2px solid #00d4ff;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-link {
  color: #00d4ff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.footer-link:hover {
  background: rgba(0, 212, 255, 0.1);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.footer-text {
  text-align: center;
  color: #cccccc;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  color: #888;
}

.age-badges {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.age-badge {
  background: #ff6b35;
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: bold;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    top: 60px;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 75px;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }

  .age-badges {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 1rem;
  }

  .hero {
    padding-top: 120px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .container {
    padding: 0 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

/**/
:root {
  --rg-z: 2147483646;
  --rg-scrim: rgba(0, 0, 0, 0.6);
  --rg-bg: #ffffff;
  --rg-fg: #0f172a;
  /* slate-900 */
  --rg-muted: #475569;
  /* slate-600 */
  --rg-primary: #1e3a8a;
  /* indigo-900 */
  --rg-primary-contrast: #ffffff;
  --rg-ring: #93c5fd;
  /* light blue outline */
  --rg-border: #e2e8f0;
  /* slate-200 */
  --rg-ok: #16a34a;
  /* green-600 */
}

html.rg-modal-open,
body.rg-modal-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

#rg-modal {
  position: fixed;
  inset: 0;
  z-index: var(--rg-z);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vw;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--rg-fg);
}

#rg-modal * {
  box-sizing: border-box;
}

#rg-modal .rg-backdrop {
  position: absolute;
  inset: 0;
  background: var(--rg-scrim);
  backdrop-filter: blur(2px);
}

#rg-modal .rg-shell {
  position: relative;
  width: min(720px, 100%);
  background: var(--rg-bg);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  border: 1px solid var(--rg-border);
  padding: clamp(16px, 3vw, 28px);
  display: grid;
  gap: 16px;
}

#rg-modal .rg-header {
  display: grid;
  gap: 10px;
}

#rg-modal .rg-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--rg-primary);
  color: var(--rg-primary-contrast);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .5px;
  box-shadow: 0 8px 24px rgba(30, 58, 138, .35);
}

#rg-modal .rg-title {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  font-weight: 800;
  color: var(--rg-fg);
}

#rg-modal .rg-subtitle {
  margin: 0;
  color: var(--rg-muted);
  line-height: 1.55;
}

#rg-modal .rg-list {
  margin: 0;
  padding-left: 18px;
  color: var(--rg-fg);
}

#rg-modal .rg-list li {
  margin: 6px 0;
}

#rg-modal .rg-remember {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  user-select: none;
  cursor: pointer;
  color: var(--rg-muted);
}

#rg-modal .rg-remember input {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

#rg-modal .rg-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

#rg-modal .rg-btn {
  appearance: none;
  border: 1px solid var(--rg-border);
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .2s ease;
}

#rg-modal .rg-btn:focus {
  outline: 3px solid var(--rg-ring);
  outline-offset: 1px;
}

#rg-modal .rg-btn--primary {
  background: var(--rg-primary);
  color: var(--rg-primary-contrast);
  border-color: transparent;
}

#rg-modal .rg-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(30, 58, 138, .35);
}

#rg-modal .rg-btn--ghost {
  background: transparent;
  color: var(--rg-muted);
}

#rg-modal .rg-btn--ghost:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

#rg-modal .rg-note {
  margin: 0;
  font-size: 12px;
  color: var(--rg-muted);
  border-top: 1px dashed var(--rg-border);
  padding-top: 10px;
}

/* Small screens */
@media (max-width: 420px) {
  #rg-modal {
    padding: 16px;
  }

  #rg-modal .rg-actions {
    grid-template-columns: 1fr;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: no-preference) {
  #rg-modal .rg-shell {
    animation: rg-pop .18s ease-out both;
  }

  @keyframes rg-pop {
    from {
      transform: translateY(6px) scale(.98);
      opacity: 0;
    }

    to {
      transform: translateY(0) scale(1);
      opacity: 1;
    }
  }
}

/*===========================*/
/* === Slotly Footer — responsive polished (phones & tablets) === */
.slotly-footer {
  --rg-bg: #ffffff;
  --rg-fg: #0f172a;
  /* slate-900 */
  --rg-muted: #475569;
  /* slate-600 */
  --rg-border: #e2e8f0;
  /* slate-200 */
  --rg-primary: #1e3a8a;
  /* indigo-900 */
  --rg-ring: #93c5fd;
  --rg-chip: #f1f5f9;
  /* slate-100 */
  --rg-shadow: 0 20px 60px rgba(0, 0, 0, .12);

  background: #1a1a3e;
  color: var(--rg-fg);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.slotly-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 28px 20px calc(34px + env(safe-area-inset-bottom));
  background: #1a1a3e;
}

.slotly-surface {
  background: var(--rg-bg);
  border: 1px solid var(--rg-border);
  border-radius: 16px;
  box-shadow: var(--rg-shadow);
  padding: clamp(16px, 2.6vw, 28px);
}

/* ── Top row ─────────────────────────────────────────────── */
.slotly-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rg-border);
}

.slotly-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--rg-primary);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .5px;
  box-shadow: 0 8px 24px rgba(30, 58, 138, .35);
}

.slotly-title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.2;
  text-wrap: balance;
}

.slotly-subtitle {
  margin: 6px 0 0 0;
  color: var(--rg-muted);
  line-height: 1.55;
}

.slotly-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.slotly-nav a {
  background: var(--rg-chip);
  border: 1px solid var(--rg-border);
  border-radius: 12px;
  padding: 10px 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  text-decoration: none;
  color: var(--rg-fg);
  transition: transform .08s ease, box-shadow .2s ease;
  line-height: 1;
}

.slotly-nav a:focus {
  outline: 3px solid var(--rg-ring);
  outline-offset: 2px;
}

.slotly-nav a:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

/* ── Middle row ──────────────────────────────────────────── */
.slotly-mid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding-top: 16px;
}

.slotly-disclaimer p {
  margin: 8px 0;
}

.slotly-lic {
  color: var(--rg-muted);
}

.slotly-iap {
  font-weight: 700;
}

.slotly-help {
  margin: 12px 0 0 18px;
  padding-left: 0;
  color: var(--rg-fg);
}

.slotly-help li {
  margin: 6px 0;
}

.slotly-help a {
  color: #0b5fff;
  text-decoration: none;
}

.slotly-help a:hover {
  text-decoration: underline;
}

.slotly-badges {
  display: grid;
  grid-auto-flow: row;
  gap: 10px;
  align-content: start;
}

.slotly-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--rg-chip);
  border: 1px solid var(--rg-border);
  border-radius: 14px;
  padding: 10px 12px;
  min-width: 160px;
  font-weight: 800;
}

/* ── Bottom row ─────────────────────────────────────────── */
.slotly-bottom {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--rg-border);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}

.slotly-copy {
  font-weight: 600;
}

.slotly-meta {
  color: var(--rg-muted);
  font-size: 14px;
}

/* focus/links */
.slotly-footer a,
.slotly-footer button {
  -webkit-tap-highlight-color: transparent;
}

.slotly-footer a:focus-visible {
  outline: 3px solid var(--rg-ring);
  outline-offset: 2px;
}

/* ── Tablet (1024↓) ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .slotly-wrap {
    padding: 26px 18px calc(30px + env(safe-area-inset-bottom));
  }

  .slotly-top {
    grid-template-columns: 80px 1fr;
  }

  .slotly-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .slotly-nav a {
    padding: 10px 12px;
  }

  .slotly-mid {
    grid-template-columns: 1fr 280px;
  }

}

/* ── Small Tablet / Large Phone (768↓) ──────────────────── */
@media (max-width: 768px) {

  .slotly-subtitle,
  .slotly-help li,
  .slotly-meta {
    font-size: 15px;
  }

  .slotly-mid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .slotly-badge {
    width: 56px;
    height: 56px;
    font-size: 16px;
  }

  .slotly-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
  }

  .slotly-nav a {
    background: var(--rg-chip);
    border: 1px solid var(--rg-border);
    border-radius: 12px;
    padding: 12px;
    justify-content: center;
    text-align: center;
  }

  .slotly-chip {
    min-width: 140px;
    padding: 8px 10px;
  }
}

/* ── Phones (600↓) ──────────────────────────────────────── */
@media (max-width: 600px) {
  .slotly-wrap {
    padding: 22px 16px calc(26px + env(safe-area-inset-bottom));
  }

  .slotly-top {
    grid-template-columns: auto 1fr;
    gap: 14px;
  }

  .slotly-title {
    font-size: 20px;
  }

  .slotly-subtitle {
    font-size: 14px;
  }

  .slotly-nav {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .slotly-nav a {
    min-height: 44px;
    padding: 12px;
  }

  .slotly-badges {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
    margin: 0 -4px;
    padding-left: 4px;
  }

  .slotly-badges::-webkit-scrollbar {
    height: 6px;
  }

  .slotly-badges::-webkit-scrollbar-thumb {
    background: var(--rg-border);
    border-radius: 999px;
  }

  .slotly-chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
    min-width: 132px;
    padding: 10px;
  }

  .slotly-bottom {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .slotly-copy,
  .slotly-meta {
    font-size: 14px;
  }
}

/* ── Small Phones (380↓) ────────────────────────────────── */
@media (max-width: 380px) {
  .slotly-chip {
    min-width: 116px;
    padding: 8px;
  }

  .slotly-help li,
  .slotly-subtitle {
    font-size: 13.5px;
  }
}

/*================================*/
/* === HOTFIX: mobile overflow guard === */

html {
  overflow-x: clip;
}

@supports not (overflow: clip) {
  html {
    overflow-x: hidden;
  }
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

.nav-container>* {
  min-width: 0;
}

.footer-bottom>* {
  min-width: 0;
}

.hero h1,
.hero p,
.footer-text,
.copyright,
.age-badge,
.footer-link {
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

@media (max-width: 768px) {
  .nav-menu {
    left: 0;
    transform: translateX(-100%);
    will-change: transform;
  }

  .nav-menu.active {
    transform: translateX(0);
  }
}

.age-badges {
  flex-wrap: wrap;
  row-gap: .5rem;
}

@media (max-width: 420px) {
  .age-badges {
    justify-content: center;
  }
}

.slotly-badges {
  margin: 0;
  padding-inline: 4px;
}

.slotly-footer,
.slotly-wrap,
.slotly-surface {
  overflow-x: clip;
}

@media (max-width: 760px) {

  .container,
  .nav-container {
    padding-inline: 16px;
  }
}

@media (max-width: 360px) {
  .age-badge {
    padding: 0.4rem 0.7rem;
    font-size: .85rem;
  }
}