:root {
  --tg-ink: #061a1c;
  --tg-deep: #0a2e32;
  --tg-teal: #127a78;
  --tg-mint: #2ec4b6;
  --tg-foam: #a8e6df;
  --tg-gold: #d4a84b;
  --tg-gold-soft: #f0d9a0;
  --tg-cream: #e8f4f3;
  --tg-muted: #8aa8a6;
  --tg-line: rgba(168, 230, 223, 0.16);
  --tg-glass: rgba(10, 46, 50, 0.72);
  --tg-radius: 1.25rem;
  --tg-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --font-display: "Sora", sans-serif;
  --font-body: "Figtree", sans-serif;
  --nav-height: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--tg-cream);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(46, 196, 182, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 45% at 90% 5%, rgba(212, 168, 75, 0.14), transparent 50%),
    linear-gradient(165deg, #041416 0%, var(--tg-ink) 42%, #0c3538 100%);
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

a {
  color: var(--tg-mint);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover {
  color: var(--tg-gold-soft);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.age-banner {
  background: linear-gradient(90deg, #083338, #0d4548 50%, #083338);
  border-top: 1px solid var(--tg-line);
  border-bottom: 1px solid var(--tg-line);
  color: var(--tg-foam);
  font-size: 0.875rem;
  padding: 0.85rem 0;
  position: relative;
  z-index: 5;
}

.age-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-align: center;
}

.age-banner i {
  color: var(--tg-gold);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.site-header {
  position: relative;
  z-index: 40;
  border-bottom: 1px solid var(--tg-line);
  background: rgba(6, 26, 28, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.navbar-tg {
  min-height: var(--nav-height);
  padding: 0.85rem 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--tg-cream);
}

.brand-lockup:hover {
  color: var(--tg-cream);
  opacity: 0.92;
}

.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--tg-teal), #0a4f52);
  border: 1px solid rgba(212, 168, 75, 0.45);
  box-shadow: 0 8px 24px rgba(18, 122, 120, 0.35);
  flex-shrink: 0;
}

.brand-mark i {
  color: var(--tg-gold-soft);
  font-size: 1.2rem;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-tag {
  font-size: 0.72rem;
  color: var(--tg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}

.nav-toggle {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--tg-line);
  background: rgba(18, 122, 120, 0.18);
  color: var(--tg-cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(46, 196, 182, 0.22);
  border-color: rgba(46, 196, 182, 0.45);
  outline: none;
}

.nav-toggle[aria-expanded="true"] {
  background: rgba(46, 196, 182, 0.28);
  border-color: var(--tg-mint);
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link-tg {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--tg-cream);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  position: relative;
}

.nav-link-tg:hover,
.nav-link-tg:focus-visible {
  color: var(--tg-gold-soft);
  background: rgba(46, 196, 182, 0.1);
  outline: none;
}

.nav-link-tg.active {
  color: var(--tg-ink);
  background: linear-gradient(120deg, var(--tg-mint), #7ed9cf);
}

.nav-cta {
  margin-left: 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--tg-ink);
  background: linear-gradient(120deg, var(--tg-gold), #e8c56a);
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 10px 28px rgba(212, 168, 75, 0.28);
}

.nav-cta:hover {
  color: var(--tg-ink);
  filter: brightness(1.05);
}

.hero {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 10% auto auto -8%;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 196, 182, 0.18), transparent 68%);
  pointer-events: none;
  animation: floatGlow 9s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  right: -6%;
  bottom: -12%;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 75, 0.12), transparent 70%);
  pointer-events: none;
  animation: floatGlow 11s ease-in-out infinite reverse;
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tg-gold-soft);
  margin-bottom: 1.1rem;
  animation: riseIn 0.8s ease both;
}

.hero-kicker i {
  color: var(--tg-mint);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.35rem, 4.6vw, 3.85rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 1.15rem;
  color: #f4fffe;
  animation: riseIn 0.9s ease 0.08s both;
}

.hero-title span {
  background: linear-gradient(120deg, var(--tg-mint), var(--tg-gold-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--tg-foam);
  max-width: 34rem;
  margin: 0 0 1.85rem;
  opacity: 0.92;
  animation: riseIn 1s ease 0.16s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: riseIn 1.05s ease 0.24s both;
}

.btn-primary-tg {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--tg-ink);
  background: linear-gradient(120deg, var(--tg-mint), #6fd9cf);
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  border: none;
  box-shadow: 0 14px 32px rgba(46, 196, 182, 0.28);
}

.btn-primary-tg:hover {
  color: var(--tg-ink);
  filter: brightness(1.06);
}

.btn-ghost-tg {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--tg-cream);
  background: transparent;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--tg-line);
}

.btn-ghost-tg:hover {
  color: var(--tg-gold-soft);
  border-color: rgba(212, 168, 75, 0.45);
  background: rgba(212, 168, 75, 0.08);
}

.hero-visual {
  position: relative;
  animation: riseIn 1.1s ease 0.2s both;
  overflow: hidden;
  border-radius: calc(var(--tg-radius) + 0.35rem);
}

.hero-frame {
  position: relative;
  border-radius: calc(var(--tg-radius) + 0.35rem);
  overflow: hidden;
  border: 1px solid rgba(168, 230, 223, 0.22);
  box-shadow: var(--tg-shadow);
  background: linear-gradient(160deg, rgba(18, 122, 120, 0.25), rgba(6, 26, 28, 0.6));
}

.hero-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s ease;
}

.hero-visual:hover .hero-frame img {
  transform: scale(1.06);
}

.hero-orbit {
  position: absolute;
  inset: -8%;
  border: 1px dashed rgba(168, 230, 223, 0.22);
  border-radius: 50%;
  pointer-events: none;
  animation: spinSlow 28s linear infinite;
  z-index: -1;
}

@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 10, 12, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 90;
}

.mobile-nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(20rem, 88vw);
  height: 100%;
  max-height: 100dvh;
  background: linear-gradient(180deg, #0a2e32, #061a1c);
  border-left: 1px solid var(--tg-line);
  padding: 1.25rem 1.15rem 2rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.35s;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  overflow-y: auto;
  visibility: hidden;
  pointer-events: none;
}

.mobile-nav.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--tg-line);
}

.mobile-nav-close {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.7rem;
  border: 1px solid var(--tg-line);
  background: transparent;
  color: var(--tg-cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--tg-cream);
  padding: 0.85rem 0.95rem;
  border-radius: 0.85rem;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background: rgba(46, 196, 182, 0.14);
  color: var(--tg-gold-soft);
}

.mobile-nav .nav-cta {
  margin: 0.85rem 0.2rem 0;
  justify-content: center;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
}

.games-section {
  padding: 4.5rem 0 5rem;
  position: relative;
}

.section-heading {
  max-width: 40rem;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tg-gold-soft);
  margin-bottom: 0.85rem;
}

.section-kicker i {
  color: var(--tg-mint);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  letter-spacing: -0.03em;
  color: #f4fffe;
  margin: 0 0 0.85rem;
}

.section-lead {
  margin: 0;
  color: var(--tg-foam);
  opacity: 0.9;
}

.game-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: calc(var(--tg-radius) + 0.15rem);
  overflow: hidden;
  border: 1px solid rgba(168, 230, 223, 0.18);
  background: linear-gradient(165deg, rgba(12, 53, 56, 0.92), rgba(6, 26, 28, 0.96));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(46, 196, 182, 0.4);
  box-shadow: 0 24px 48px rgba(18, 122, 120, 0.22);
}

.game-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #083338;
}

.game-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.game-card:hover .game-media img {
  transform: scale(1.06);
}

.game-body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.25rem 1.25rem 1.4rem;
  flex: 1;
}

.game-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.game-title a {
  color: #f4fffe;
}

.game-title a:hover {
  color: var(--tg-gold-soft);
}

.game-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.88rem;
  color: var(--tg-muted);
}

.game-meta i {
  color: var(--tg-mint);
  font-size: 0.85rem;
}

.game-play {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--tg-ink);
  background: linear-gradient(120deg, var(--tg-mint), #6fd9cf);
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(46, 196, 182, 0.22);
}

.game-play:hover {
  color: var(--tg-ink);
  filter: brightness(1.06);
}

.content-section {
  padding: 4.75rem 0;
  position: relative;
}

.content-section-alt {
  background: linear-gradient(180deg, rgba(8, 51, 56, 0.55), rgba(6, 26, 28, 0.2));
  border-top: 1px solid var(--tg-line);
  border-bottom: 1px solid var(--tg-line);
}

.section-title.text-start {
  text-align: left;
}

.prose-block p {
  color: var(--tg-foam);
  margin: 0 0 1.1rem;
  opacity: 0.94;
}

.prose-block p:last-child {
  margin-bottom: 0;
}

.feature-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.3rem;
  border-radius: var(--tg-radius);
  border: 1px solid rgba(168, 230, 223, 0.16);
  background: rgba(6, 26, 28, 0.55);
}

.feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: linear-gradient(145deg, rgba(46, 196, 182, 0.25), rgba(18, 122, 120, 0.35));
  color: var(--tg-gold-soft);
  border: 1px solid rgba(212, 168, 75, 0.28);
}

.feature-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: #f4fffe;
}

.feature-item p {
  margin: 0;
  color: var(--tg-foam);
  font-size: 0.95rem;
  opacity: 0.9;
}

.step-panel {
  height: 100%;
  padding: 1.6rem 1.45rem;
  border-radius: var(--tg-radius);
  border: 1px solid rgba(168, 230, 223, 0.16);
  background: linear-gradient(165deg, rgba(12, 53, 56, 0.88), rgba(6, 26, 28, 0.94));
}

.step-num {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--tg-ink);
  background: linear-gradient(120deg, var(--tg-mint), #7ed9cf);
  font-size: 1.05rem;
}

.step-panel h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: #f4fffe;
}

.step-panel p {
  margin: 0 0 0.9rem;
  color: var(--tg-foam);
  font-size: 0.96rem;
  opacity: 0.92;
}

.step-panel p:last-child {
  margin-bottom: 0;
}

.value-tile {
  height: 100%;
  padding: 1.4rem 1.3rem;
  border-radius: var(--tg-radius);
  border: 1px solid rgba(168, 230, 223, 0.16);
  background: rgba(10, 46, 50, 0.65);
}

.value-tile i {
  color: var(--tg-gold);
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}

.value-tile h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #f4fffe;
}

.value-tile p {
  margin: 0;
  color: var(--tg-foam);
  font-size: 0.94rem;
  opacity: 0.9;
}

.disclaimer-section {
  padding: 4.5rem 0 5rem;
}

.disclaimer-panel {
  padding: 2.5rem 1.75rem;
  border-radius: calc(var(--tg-radius) + 0.35rem);
  border: 1px solid rgba(212, 168, 75, 0.28);
  background:
    radial-gradient(ellipse 70% 60% at 0% 0%, rgba(212, 168, 75, 0.1), transparent 55%),
    linear-gradient(165deg, rgba(12, 53, 56, 0.95), rgba(6, 26, 28, 0.98));
}

.disclaimer-card {
  height: 100%;
  padding: 1.5rem 1.4rem;
  border-radius: var(--tg-radius);
  border: 1px solid rgba(168, 230, 223, 0.16);
  background: rgba(6, 26, 28, 0.55);
}

.disclaimer-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.disclaimer-card-head i {
  color: var(--tg-gold-soft);
  font-size: 1.25rem;
}

.disclaimer-card-head h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  color: #f4fffe;
}

.disclaimer-card p {
  margin: 0 0 0.95rem;
  color: var(--tg-foam);
  font-size: 0.96rem;
  opacity: 0.92;
}

.disclaimer-card p:last-child {
  margin-bottom: 0;
}

.disclaimer-note {
  margin: 1.75rem 0 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--tg-gold-soft);
}

.site-footer {
  border-top: 1px solid var(--tg-line);
  background: linear-gradient(180deg, #061a1c, #041214);
  padding: 4rem 0 1.75rem;
  overflow-x: hidden;
}

.site-header,
main {
  overflow-x: hidden;
  max-width: 100%;
}

.footer-brand {
  margin-bottom: 1.15rem;
}

.footer-about {
  color: var(--tg-foam);
  font-size: 0.95rem;
  opacity: 0.9;
  margin: 0 0 1.35rem;
  max-width: 26rem;
}

.footer-aware-link {
  display: inline-block;
  line-height: 0;
  background: transparent;
  border: none;
  padding: 0;
}

.footer-aware-link img {
  width: 160px;
  height: auto;
  display: block;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #f4fffe;
  margin: 0 0 1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  color: var(--tg-foam);
  font-size: 0.92rem;
  opacity: 0.9;
}

.footer-links a:hover {
  color: var(--tg-gold-soft);
  opacity: 1;
}

.footer-disclaimer-box {
  margin-top: 1.25rem;
  padding: 1rem 1.05rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(212, 168, 75, 0.28);
  background: rgba(8, 51, 56, 0.65);
}

.footer-disclaimer-box p {
  margin: 0 0 0.55rem;
  font-size: 0.86rem;
  color: var(--tg-foam);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-disclaimer-box p:last-child {
  margin-bottom: 0;
}

.footer-disclaimer-box i {
  color: var(--tg-gold);
  margin-top: 0.15rem;
}

.footer-bottom {
  margin-top: 2.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--tg-line);
}

.footer-bottom p {
  margin: 0;
  text-align: center;
  font-size: 0.84rem;
  color: var(--tg-muted);
}

@media (max-width: 991.98px) {
  .nav-panel {
    display: none;
  }

  .games-section,
  .content-section,
  .disclaimer-section {
    padding: 3.5rem 0 3.75rem;
  }

  .disclaimer-panel {
    padding: 1.75rem 1.15rem;
  }

  .hero {
    padding: 3.25rem 0 4rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-visual {
    order: -1;
    max-width: 32rem;
    margin: 0 auto;
  }
}

@media (min-width: 992px) {
  .nav-toggle {
    display: none;
  }

  .mobile-nav,
  .mobile-nav-backdrop {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .age-banner {
    font-size: 0.78rem;
    padding: 0.9rem 0;
  }

  .brand-tag {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary-tg,
  .btn-ghost-tg {
    justify-content: center;
  }

  .site-footer {
    padding: 3.25rem 0 1.5rem;
  }
}

body.modal-lock {
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
}

.age-gate,
.age-block {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(4, 18, 20, 0.42);
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
}

.age-gate.is-open,
.age-block.is-open {
  display: flex;
}

.age-gate-card,
.age-block-card {
  width: min(26rem, 100%);
  padding: 1.75rem 1.5rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(168, 230, 223, 0.28);
  background: linear-gradient(165deg, rgba(12, 53, 56, 0.96), rgba(6, 26, 28, 0.98));
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.age-gate-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.9rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(46, 196, 182, 0.16);
  color: var(--tg-gold-soft);
  border: 1px solid rgba(212, 168, 75, 0.35);
}

.age-gate-card h2,
.age-block-card h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
  color: #f4fffe;
}

.age-gate-card p,
.age-block-card p {
  margin: 0 0 1.25rem;
  color: var(--tg-foam);
  font-size: 0.95rem;
}

.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.age-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 999px;
  border: none;
  padding: 0.8rem 1rem;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.age-btn:hover {
  filter: brightness(1.06);
}

.age-btn-yes {
  color: var(--tg-ink);
  background: linear-gradient(120deg, var(--tg-mint), #6fd9cf);
}

.age-btn-no {
  color: var(--tg-cream);
  background: transparent;
  border: 1px solid var(--tg-line);
}

.cookie-bar {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  width: auto;
  z-index: 1900;
  display: none;
  box-sizing: border-box;
}

.cookie-bar.is-open {
  display: block;
}

.cookie-bar-inner {
  max-width: 56rem;
  margin: 0 auto;
  padding: 1.1rem 1.2rem;
  border-radius: 1rem;
  border: 1px solid rgba(168, 230, 223, 0.22);
  background: rgba(6, 26, 28, 0.96);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-bar-inner p {
  margin: 0;
  flex: 1 1 16rem;
  color: var(--tg-foam);
  font-size: 0.9rem;
}

.cookie-bar-inner a {
  color: var(--tg-gold-soft);
  text-decoration: underline;
}

.cookie-bar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cookie-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  cursor: pointer;
  border: none;
}

.cookie-btn-accept {
  color: var(--tg-ink);
  background: linear-gradient(120deg, var(--tg-mint), #6fd9cf);
}

.cookie-btn-essential {
  color: var(--tg-cream);
  background: transparent;
  border: 1px solid var(--tg-line);
}

.page-hero {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--tg-line);
  background: radial-gradient(ellipse 70% 80% at 80% 0%, rgba(46, 196, 182, 0.14), transparent 55%);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  color: #f4fffe;
}

.page-hero p {
  margin: 0;
  max-width: 42rem;
  color: var(--tg-foam);
  opacity: 0.92;
}

.page-content {
  padding: 3.25rem 0 4.5rem;
}

.policy-content h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2rem 0 0.85rem;
  color: #f4fffe;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p,
.policy-content li {
  color: var(--tg-foam);
  opacity: 0.94;
}

.policy-content ul {
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}

.policy-content li {
  margin-bottom: 0.45rem;
}

.faq-item {
  border: 1px solid rgba(168, 230, 223, 0.16);
  border-radius: var(--tg-radius);
  background: rgba(6, 26, 28, 0.55);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1rem;
}

.faq-item h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.55rem;
  color: #f4fffe;
}

.faq-item p {
  margin: 0;
  color: var(--tg-foam);
  font-size: 0.96rem;
  opacity: 0.92;
}

.contact-panel {
  padding: 1.75rem 1.5rem;
  border-radius: var(--tg-radius);
  border: 1px solid rgba(168, 230, 223, 0.18);
  background: linear-gradient(165deg, rgba(12, 53, 56, 0.9), rgba(6, 26, 28, 0.95));
}

.contact-panel h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
  color: #f4fffe;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--tg-gold-soft);
}

.game-stage-wrap {
  padding: 2.5rem 0 1.5rem;
}

.game-stage {
  border-radius: calc(var(--tg-radius) + 0.25rem);
  border: 1px solid rgba(168, 230, 223, 0.22);
  background: linear-gradient(165deg, rgba(8, 51, 56, 0.95), rgba(4, 18, 20, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  padding: 1.5rem;
  overflow: hidden;
  position: relative;
}

.game-stage::before {
  content: "";
  position: absolute;
  inset: -20% auto auto 40%;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 196, 182, 0.18), transparent 70%);
  pointer-events: none;
}

.game-disclaimer {
  margin-top: 2rem;
  padding: 1.4rem 1.35rem;
  border-radius: var(--tg-radius);
  border: 1px solid rgba(212, 168, 75, 0.28);
  background: rgba(6, 26, 28, 0.7);
}

.game-disclaimer h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
  color: #f4fffe;
}

.game-disclaimer p {
  margin: 0 0 0.75rem;
  color: var(--tg-foam);
  font-size: 0.94rem;
}

.game-disclaimer p:last-child {
  margin-bottom: 0;
}

.slot-machine {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  margin: 0 auto;
  text-align: center;
}

.slot-hud {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.slot-stat {
  flex: 1;
  min-width: 8rem;
  padding: 0.75rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(168, 230, 223, 0.18);
  background: rgba(0, 0, 0, 0.25);
}

.slot-stat span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tg-muted);
}

.slot-stat strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--tg-gold-soft);
}

.slot-window {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 2px solid rgba(212, 168, 75, 0.45);
  background: linear-gradient(180deg, #031516, #0a2e32);
  box-shadow: inset 0 0 30px rgba(46, 196, 182, 0.15), 0 0 24px rgba(212, 168, 75, 0.15);
  margin-bottom: 1.25rem;
}

.slot-reel {
  height: 120px;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #04191b;
  border: 1px solid rgba(168, 230, 223, 0.2);
  position: relative;
}

.slot-reel-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.05s linear;
}

.slot-symbol {
  height: 120px;
  display: grid;
  place-items: center;
  font-size: 2.6rem;
  color: var(--tg-mint);
  text-shadow: 0 0 18px rgba(46, 196, 182, 0.55);
}

.slot-symbol.gold {
  color: var(--tg-gold-soft);
  text-shadow: 0 0 18px rgba(212, 168, 75, 0.55);
}

.slot-controls {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.slot-spin,
.game-action-btn {
  font-family: var(--font-display);
  font-weight: 700;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  cursor: pointer;
  color: var(--tg-ink);
  background: linear-gradient(120deg, var(--tg-mint), #6fd9cf);
  box-shadow: 0 0 24px rgba(46, 196, 182, 0.35);
}

.slot-spin:disabled,
.game-action-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.slot-message {
  margin-top: 1rem;
  min-height: 1.5rem;
  color: var(--tg-foam);
  font-family: var(--font-display);
  font-weight: 600;
}

.bj-table {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  margin: 0 auto;
}

.bj-felt {
  border-radius: 1.25rem;
  padding: 1.5rem 1.25rem 1.75rem;
  background:
    radial-gradient(ellipse at center, rgba(18, 122, 120, 0.35), transparent 60%),
    linear-gradient(160deg, #0b3d3a, #062422);
  border: 2px solid rgba(212, 168, 75, 0.4);
  box-shadow: 0 0 40px rgba(46, 196, 182, 0.12);
}

.bj-row {
  margin-bottom: 1.25rem;
}

.bj-label {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tg-muted);
  margin-bottom: 0.55rem;
}

.bj-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  min-height: 6.2rem;
}

.bj-card {
  width: 4.2rem;
  height: 6rem;
  border-radius: 0.55rem;
  background: linear-gradient(160deg, #f7fffe, #d7efec);
  color: #123;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.35rem 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  animation: cardIn 0.35s ease both;
}

.bj-card.red {
  color: #a33;
}

.bj-card.back {
  background: linear-gradient(145deg, #127a78, #0a4548);
  color: var(--tg-gold-soft);
  align-items: center;
  justify-content: center;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.bj-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.bj-message {
  text-align: center;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--tg-gold-soft);
  min-height: 1.5rem;
}

.roulette-wrap {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.roulette-wheel-box {
  width: min(18rem, 70vw);
  height: min(18rem, 70vw);
  margin: 0 auto 1.25rem;
  position: relative;
}

.roulette-wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 6px solid rgba(212, 168, 75, 0.55);
  background: conic-gradient(
    #0a2e32 0deg 18deg,
    #c0392b 18deg 36deg,
    #0a2e32 36deg 54deg,
    #c0392b 54deg 72deg,
    #0a2e32 72deg 90deg,
    #c0392b 90deg 108deg,
    #0a2e32 108deg 126deg,
    #c0392b 126deg 144deg,
    #0a2e32 144deg 162deg,
    #c0392b 162deg 180deg,
    #0a2e32 180deg 198deg,
    #c0392b 198deg 216deg,
    #0a2e32 216deg 234deg,
    #c0392b 234deg 252deg,
    #0a2e32 252deg 270deg,
    #c0392b 270deg 288deg,
    #0a2e32 288deg 306deg,
    #c0392b 306deg 324deg,
    #0a2e32 324deg 342deg,
    #d4a84b 342deg 360deg
  );
  box-shadow: 0 0 40px rgba(46, 196, 182, 0.25), inset 0 0 30px rgba(0, 0, 0, 0.35);
  transition: transform 4s cubic-bezier(0.12, 0.75, 0.12, 1);
}

.roulette-ball {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.85rem;
  height: 0.85rem;
  margin: -0.42rem 0 0 -0.42rem;
  border-radius: 50%;
  background: #f4fffe;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
  transform-origin: 0 0;
}

.roulette-center {
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  background: radial-gradient(circle, #1a6b63, #061a1c);
  border: 3px solid rgba(212, 168, 75, 0.5);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--tg-gold-soft);
  font-size: 1.4rem;
  z-index: 2;
}

.roulette-bets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.roulette-bet {
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid var(--tg-line);
  background: rgba(0, 0, 0, 0.25);
  color: var(--tg-cream);
  padding: 0.65rem 1rem;
  cursor: pointer;
}

.roulette-bet.is-active {
  border-color: rgba(212, 168, 75, 0.6);
  background: rgba(212, 168, 75, 0.18);
  color: var(--tg-gold-soft);
  box-shadow: 0 0 16px rgba(212, 168, 75, 0.25);
}

.roulette-message {
  margin-top: 1rem;
  min-height: 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--tg-foam);
}

.fg-hero {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.fg-hero::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 196, 182, 0.2), transparent 70%);
  pointer-events: none;
}

.fg-play-section {
  padding: 3.5rem 0;
}

.fg-play-card {
  border-radius: calc(var(--tg-radius) + 0.2rem);
  border: 1px solid rgba(168, 230, 223, 0.18);
  background: linear-gradient(165deg, rgba(12, 53, 56, 0.92), rgba(6, 26, 28, 0.96));
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.fg-play-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.fg-play-body {
  padding: 1.35rem 1.3rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.fg-play-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: #f4fffe;
}

.fg-play-body p {
  margin: 0;
  color: var(--tg-foam);
  font-size: 0.95rem;
  opacity: 0.92;
}

.fg-stage {
  margin-top: 0.85rem;
  padding: 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(168, 230, 223, 0.16);
  background: rgba(0, 0, 0, 0.28);
}

.fg-hud {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.fg-hud span {
  font-size: 0.8rem;
  color: var(--tg-muted);
}

.fg-hud strong {
  font-family: var(--font-display);
  color: var(--tg-gold-soft);
  margin-left: 0.35rem;
}

.fg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.fg-tile {
  aspect-ratio: 1;
  border-radius: 0.85rem;
  border: 1px solid rgba(168, 230, 223, 0.2);
  background: linear-gradient(160deg, #0a3336, #061a1c);
  color: var(--tg-mint);
  font-size: 1.25rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.fg-tile.is-lit {
  background: linear-gradient(160deg, #2ec4b6, #127a78);
  color: #041416;
  box-shadow: 0 0 22px rgba(46, 196, 182, 0.55);
  transform: scale(1.04);
}

.fg-crystals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.fg-crystal {
  min-height: 4.2rem;
  border-radius: 1rem;
  border: 1px solid rgba(168, 230, 223, 0.22);
  background: radial-gradient(circle at 30% 30%, rgba(46, 196, 182, 0.18), rgba(6, 26, 28, 0.9));
  color: var(--tg-foam);
  font-size: 1.4rem;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.fg-crystal.is-glow {
  box-shadow: 0 0 28px rgba(212, 168, 75, 0.45), inset 0 0 20px rgba(46, 196, 182, 0.35);
  transform: scale(1.03);
  color: var(--tg-gold-soft);
}

.fg-wave-track {
  position: relative;
  height: 3.2rem;
  border-radius: 999px;
  border: 1px solid rgba(168, 230, 223, 0.22);
  background: linear-gradient(90deg, #061a1c, #0c3538 50%, #061a1c);
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.fg-wave-track.is-success {
  box-shadow: 0 0 20px rgba(46, 196, 182, 0.45);
}

.fg-wave-track.is-miss {
  box-shadow: 0 0 20px rgba(192, 57, 43, 0.35);
}

.fg-wave-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  background: rgba(46, 196, 182, 0.28);
  border-left: 1px solid rgba(46, 196, 182, 0.55);
  border-right: 1px solid rgba(46, 196, 182, 0.55);
}

.fg-wave-marker {
  position: absolute;
  top: 50%;
  width: 1.1rem;
  height: 1.1rem;
  margin: -0.55rem 0 0 -0.55rem;
  border-radius: 50%;
  background: var(--tg-gold-soft);
  box-shadow: 0 0 16px rgba(212, 168, 75, 0.7);
  left: 8%;
}

.fg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.fg-msg {
  margin: 0.7rem 0 0;
  min-height: 1.35rem;
  font-size: 0.9rem;
  color: var(--tg-foam);
  font-family: var(--font-display);
  font-weight: 600;
}

.fg-simple-footer {
  border-top: 1px solid var(--tg-line);
  padding: 2rem 0;
  text-align: center;
  color: var(--tg-muted);
  font-size: 0.9rem;
}

.fg-simple-footer a {
  color: var(--tg-foam);
}

.fg-simple-footer a:hover {
  color: var(--tg-gold-soft);
}
