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

:root {
  font-size: 62.5%;
  --g21d-primary: #880E4F;
  --g21d-bg: #1E1E1E;
  --g21d-panel: #2a1830;
  --g21d-card: #261f38;
  --g21d-text: #fff7fb;
  --g21d-muted: #d4c7d8;
  --g21d-accent: #8470FF;
  --g21d-soft: #FF91A4;
  --g21d-coral: #FF8A80;
  --g21d-line: rgba(255, 145, 164, .22);
  --g21d-shadow: 0 1.4rem 3.8rem rgba(0, 0, 0, .42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--g21d-text);
  background: radial-gradient(circle at top left, rgba(132,112,255,.32), transparent 34rem), linear-gradient(155deg, #160c18 0%, var(--g21d-bg) 48%, #310723 100%);
  line-height: 1.5rem;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.g21d-page { max-width: 430px; margin: 0 auto; min-height: 100vh; position: relative; background: rgba(12,10,14,.45); }
.g21d-container { width: min(100% - 2.8rem, 402px); margin: 0 auto; }
.g21d-wrapper { padding-top: 7.4rem; }
.g21d-grid { display: grid; gap: 1.2rem; }
.g21d-header { position: fixed; top: 0; left: 50%; transform: translateX(-50%); width: min(100%, 430px); z-index: 1000; background: rgba(30,30,30,.94); backdrop-filter: blur(1.6rem); border-bottom: .1rem solid var(--g21d-line); }
.g21d-topbar { min-height: 6.4rem; display: flex; align-items: center; gap: .8rem; padding: .8rem 1.2rem; }
.g21d-brand { display: flex; align-items: center; gap: .8rem; min-width: 0; flex: 1; }
.g21d-logo { width: 3.2rem; height: 3.2rem; border-radius: 1rem; box-shadow: 0 0 0 .2rem rgba(255,145,164,.18); }
.g21d-brand-text { font-size: 1.8rem; font-weight: 900; letter-spacing: -.04rem; white-space: nowrap; color: var(--g21d-soft); }
.g21d-actions { display: flex; gap: .6rem; align-items: center; }
.g21d-btn { border: 0; min-height: 4.4rem; padding: 1rem 1.35rem; border-radius: 99rem; font-weight: 900; font-size: 1.25rem; color: #fff; cursor: pointer; background: linear-gradient(135deg, var(--g21d-primary), var(--g21d-accent)); box-shadow: 0 .8rem 2.2rem rgba(136,14,79,.35); transition: transform .2s ease, filter .2s ease; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; }
.g21d-btn:hover, .g21d-btn:focus-visible { transform: translateY(-.1rem) scale(1.02); filter: brightness(1.08); }
.g21d-btn-alt { background: linear-gradient(135deg, var(--g21d-coral), var(--g21d-soft)); color: #240915; }
.g21d-btn-ghost { background: rgba(255,255,255,.08); border: .1rem solid var(--g21d-line); box-shadow: none; color: var(--g21d-text); }
.g21d-menu-btn { width: 4.4rem; min-width: 4.4rem; padding: 0; border-radius: 1.4rem; background: rgba(132,112,255,.2); }
.g21d-mobile-menu { position: fixed; top: 6.4rem; right: 1rem; left: 1rem; max-width: 410px; margin: 0 auto; z-index: 9999; display: none; padding: 1.2rem; border: .1rem solid var(--g21d-line); border-radius: 1.8rem; background: rgba(23,14,27,.98); box-shadow: var(--g21d-shadow); }
.g21d-mobile-menu.g21d-menu-open { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.g21d-mobile-menu a { min-height: 4.4rem; display: flex; align-items: center; gap: .7rem; padding: 1rem; border-radius: 1.2rem; background: rgba(255,255,255,.06); color: var(--g21d-muted); font-size: 1.25rem; font-weight: 700; }
.g21d-mobile-menu a.g21d-active { color: var(--g21d-soft); background: rgba(255,145,164,.15); }
.g21d-desktop-nav { display: none; }

.g21d-hero { padding: 1.4rem 0 2rem; }
.g21d-kicker { display: inline-flex; align-items: center; gap: .6rem; padding: .65rem 1rem; border-radius: 99rem; background: rgba(255,145,164,.12); color: var(--g21d-soft); font-weight: 800; font-size: 1.18rem; border: .1rem solid var(--g21d-line); }
.g21d-title { font-size: clamp(2.6rem, 8vw, 3.8rem); line-height: 1.05; margin: 1.3rem 0 .9rem; letter-spacing: -.12rem; }
.g21d-lead { color: var(--g21d-muted); font-size: 1.45rem; line-height: 2.25rem; margin: 0 0 1.4rem; }
.g21d-cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.2rem 0; }
.g21d-text-link { color: var(--g21d-soft); font-weight: 900; border-bottom: .2rem solid rgba(255,145,164,.45); cursor: pointer; }
.g21d-internal { color: #c9c0ff; font-weight: 800; text-decoration: underline; text-decoration-thickness: .15rem; text-underline-offset: .25rem; }
.g21d-card { background: linear-gradient(160deg, rgba(255,255,255,.075), rgba(255,255,255,.035)); border: .1rem solid var(--g21d-line); border-radius: 2rem; padding: 1.5rem; box-shadow: 0 1rem 2.4rem rgba(0,0,0,.2); }
.g21d-card h2, .g21d-card h3 { line-height: 1.2; margin: 0 0 1rem; }
.g21d-card h2 { font-size: 2rem; color: #fff; }
.g21d-card h3 { font-size: 1.55rem; color: var(--g21d-soft); }
.g21d-card p, .g21d-card li { font-size: 1.38rem; line-height: 2.15rem; color: var(--g21d-muted); }
.g21d-card ul, .g21d-card ol { padding-left: 1.8rem; margin: .8rem 0; }
.g21d-section { padding: 1rem 0; }
.g21d-section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin: .8rem 0 1.2rem; }
.g21d-section-head h2 { margin: 0; font-size: 2.15rem; line-height: 1.15; }
.g21d-pill { padding: .5rem .85rem; border-radius: 99rem; color: #2b0717; background: var(--g21d-soft); font-weight: 900; font-size: 1.1rem; }

.g21d-carousel { position: relative; overflow: hidden; border-radius: 2.2rem; border: .1rem solid var(--g21d-line); box-shadow: var(--g21d-shadow); min-height: 18.8rem; background: #120814; }
.g21d-slide { display: none; position: relative; cursor: pointer; }
.g21d-slide.g21d-slide-active { display: block; animation: g21dFade .5s ease; }
.g21d-slide img { width: 100%; height: 18.8rem; object-fit: cover; opacity: .88; }
.g21d-slide-caption { position: absolute; inset: auto 1.2rem 1.2rem; padding: 1rem; border-radius: 1.4rem; background: rgba(0,0,0,.58); backdrop-filter: blur(.8rem); }
.g21d-slide-caption strong { font-size: 1.55rem; color: #fff; display: block; }
.g21d-slide-caption span { font-size: 1.15rem; color: var(--g21d-muted); }
.g21d-dots { display: flex; justify-content: center; gap: .6rem; margin: 1rem 0 0; }
.g21d-dots button { width: .9rem; height: .9rem; border-radius: 50%; border: 0; background: rgba(255,255,255,.28); }
.g21d-dots button.g21d-active { background: var(--g21d-soft); transform: scale(1.35); }
@keyframes g21dFade { from { opacity: .45; transform: scale(1.02); } to { opacity: 1; transform: scale(1); } }

.g21d-game-category { margin-bottom: 1.4rem; }
.g21d-game-category h3 { margin: .4rem 0 1rem; font-size: 1.7rem; color: var(--g21d-soft); text-transform: capitalize; }
.g21d-game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.g21d-game { min-width: 0; text-align: center; cursor: pointer; }
.g21d-game img { width: 5.8rem; height: 5.8rem; object-fit: cover; margin: 0 auto .55rem; border-radius: 1.5rem; border: .1rem solid rgba(255,255,255,.18); background: #111; box-shadow: 0 .7rem 1.5rem rgba(0,0,0,.3); }
.g21d-game span { display: block; font-size: 1.05rem; line-height: 1.3rem; color: #f8eefa; font-weight: 800; overflow-wrap: anywhere; }
.g21d-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
.g21d-stat { padding: 1.2rem; border-radius: 1.6rem; background: rgba(132,112,255,.14); border: .1rem solid rgba(132,112,255,.28); }
.g21d-stat strong { display: block; color: var(--g21d-soft); font-size: 2rem; line-height: 1.1; }
.g21d-stat span { color: var(--g21d-muted); font-size: 1.15rem; }
.g21d-mini-list { display: grid; gap: .8rem; }
.g21d-mini-item { display: flex; align-items: center; gap: 1rem; padding: 1rem; border-radius: 1.4rem; background: rgba(255,255,255,.055); }
.g21d-mini-item img { width: 4.8rem; height: 4.8rem; border-radius: 1.2rem; object-fit: cover; }
.g21d-mini-item strong { font-size: 1.35rem; color: #fff; }
.g21d-mini-item span { font-size: 1.12rem; color: var(--g21d-muted); display: block; }
.g21d-payment-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.g21d-payment { padding: .9rem 1rem; border-radius: 1.2rem; background: rgba(255,255,255,.08); font-weight: 900; color: #fff; font-size: 1.2rem; }
.g21d-review { border-left: .35rem solid var(--g21d-soft); padding-left: 1rem; margin: 1rem 0; }
.g21d-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 2rem; height: 2rem; padding: 0 .55rem; border-radius: 99rem; background: var(--g21d-coral); color: #240915; font-size: 1rem; font-weight: 900; }

.g21d-footer { margin-top: 2rem; padding: 2rem 1.4rem 8.8rem; background: linear-gradient(180deg, rgba(136,14,79,.32), rgba(12,8,13,.96)); border-top: .1rem solid var(--g21d-line); }
.g21d-footer-logo { display: flex; align-items: center; gap: .8rem; font-size: 1.8rem; font-weight: 900; color: var(--g21d-soft); }
.g21d-footer-logo img { width: 3rem; height: 3rem; border-radius: .9rem; }
.g21d-footer p { color: var(--g21d-muted); font-size: 1.28rem; line-height: 2rem; }
.g21d-footer-links { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.2rem 0; }
.g21d-footer-links a { padding: .75rem .9rem; border-radius: 99rem; background: rgba(255,255,255,.07); color: var(--g21d-muted); font-weight: 700; font-size: 1.08rem; }
.g21d-promo-links { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 1.2rem 0; }
.g21d-copy { font-size: 1.1rem; color: #a9a9a9; }
.g21d-bottom-nav { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); width: min(100%, 430px); height: 6.2rem; z-index: 1000; display: flex; justify-content: space-around; align-items: center; background: #880E4F; border-top: .1rem solid rgba(255,255,255,.16); box-shadow: 0 -1rem 2.8rem rgba(0,0,0,.38); }
.g21d-bottom-nav button, .g21d-bottom-nav a { min-width: 6rem; min-height: 6rem; border: 0; background: transparent; color: rgba(255,255,255,.78); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; font-size: 1.05rem; font-weight: 800; cursor: pointer; transition: transform .18s ease, color .18s ease; position: relative; }
.g21d-bottom-nav i, .g21d-bottom-nav .material-icons, .g21d-bottom-nav ion-icon { font-size: 2.3rem; line-height: 1; }
.g21d-bottom-nav .g21d-active { color: #fff; transform: translateY(-.3rem); }
.g21d-bottom-nav .g21d-active::before { content: ''; position: absolute; top: .25rem; width: 3.2rem; height: .3rem; border-radius: 99rem; background: var(--g21d-soft); }
.g21d-bottom-nav button:active, .g21d-bottom-nav a:active { transform: scale(.92); color: var(--g21d-coral); }

.g21d-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 1.4rem; font-size: 1.18rem; }
.g21d-table th, .g21d-table td { padding: .9rem; border-bottom: .1rem solid rgba(255,255,255,.1); text-align: left; }
.g21d-table th { color: #fff; background: rgba(132,112,255,.2); }
.g21d-table td { color: var(--g21d-muted); }
.g21d-alert { padding: 1rem; border-radius: 1.4rem; background: rgba(255,138,128,.12); border: .1rem solid rgba(255,138,128,.28); color: #ffe4e1; font-weight: 700; }

@media (min-width: 769px) {
  .g21d-page { box-shadow: 0 0 0 .1rem rgba(255,255,255,.08), var(--g21d-shadow); }
  .g21d-bottom-nav { display: none; }
  .g21d-footer { padding-bottom: 2.4rem; }
  .g21d-desktop-nav { display: flex; gap: .8rem; padding: 0 1.2rem 1rem; overflow-x: auto; }
  .g21d-desktop-nav a { flex: 0 0 auto; padding: .8rem 1rem; border-radius: 99rem; background: rgba(255,255,255,.06); color: var(--g21d-muted); font-size: 1.15rem; font-weight: 800; }
  .g21d-desktop-nav a.g21d-active { color: var(--g21d-soft); background: rgba(255,145,164,.14); }
}

@media (max-width: 768px) {
  main { padding-bottom: 8rem; }
}

@media (max-width: 360px) {
  .g21d-topbar { gap: .5rem; padding-inline: .8rem; }
  .g21d-brand-text { font-size: 1.55rem; }
  .g21d-btn { padding-inline: .95rem; font-size: 1.12rem; }
  .g21d-game-grid { grid-template-columns: repeat(3, 1fr); }
}
