:root {
  --bg: #fff6cf;
  --bg-alt: #ffd4e7;
  --surface: #fffef7;
  --surface-strong: #ffffff;
  --surface-tint: #fff8ff;
  --ink: #23163c;
  --muted: #5d507b;
  --line: #f3b6cb;
  --accent: #ff4d8d;
  --accent-2: #ffad1f;
  --accent-3: #6657ff;
  --accent-4: #1fd6b5;
  --shadow: rgba(35, 22, 60, 0.12);
  --shadow-strong: rgba(35, 22, 60, 0.2);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 77, 141, 0.24), transparent 26%),
    radial-gradient(circle at top right, rgba(102, 87, 255, 0.18), transparent 30%),
    radial-gradient(circle at 20% 80%, rgba(31, 214, 181, 0.16), transparent 22%),
    linear-gradient(180deg, var(--bg) 0%, #fff9f1 100%);
  background-attachment: fixed;
}

main {
  flex: 1 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.shell {
  width: min(var(--width), calc(100% - 28px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(255, 247, 225, 0.88);
  border-bottom: 1px solid rgba(243, 182, 203, 0.75);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 14px 18px 12px 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2) 58%, var(--accent-4));
  box-shadow: 0 12px 26px rgba(255, 77, 141, 0.28);
  position: relative;
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__eyebrow {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.brand__name {
  font-size: 20px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 14px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
}

.nav a {
  font-size: 14px;
  color: var(--muted);
}

.nav .nav__cta {
  padding: 10px 14px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--accent-3), var(--accent));
  box-shadow: 0 10px 24px rgba(102, 87, 255, 0.22);
}

.hero {
  padding: 30px 0 12px;
}

.hero__stage {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 16%, rgba(31, 214, 181, 0.2), transparent 18%),
    radial-gradient(circle at 84% 18%, rgba(255, 173, 31, 0.18), transparent 20%),
    radial-gradient(circle at 50% 0%, rgba(255, 77, 141, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,247,252,0.96));
  border: 1px solid rgba(243, 182, 203, 0.78);
  box-shadow: 0 22px 56px var(--shadow);
}

.hero__spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(6px);
  opacity: 0.9;
}

.hero__orb--a {
  top: 26px;
  right: 58px;
  width: 108px;
  height: 108px;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.85), rgba(31, 214, 181, 0.55) 55%, rgba(31, 214, 181, 0.12));
}

.hero__orb--b {
  top: 86px;
  right: 168px;
  width: 66px;
  height: 66px;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.85), rgba(102, 87, 255, 0.52) 58%, rgba(102, 87, 255, 0.1));
}

.hero__orb--c {
  top: 124px;
  left: 54px;
  width: 78px;
  height: 78px;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.9), rgba(255, 173, 31, 0.58) 56%, rgba(255, 173, 31, 0.1));
}

.hero h1 {
  margin: 0 0 14px;
  max-width: none;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.93;
}

.hero p {
  margin: 0;
  max-width: none;
  color: var(--muted);
  font: 400 18px/1.65 "Trebuchet MS", Verdana, sans-serif;
}

.hero__copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  width: 100%;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__chips span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(102, 87, 255, 0.12);
  color: var(--accent-3);
  font: 700 12px/1 "Trebuchet MS", Verdana, sans-serif;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__rail {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.hero-thumb {
  appearance: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-height: 176px;
  border-radius: 24px;
  text-align: left;
  background: linear-gradient(180deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
  box-shadow: 0 18px 36px rgba(35, 22, 60, 0.18);
}

.hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease, filter 180ms ease;
}

.hero-thumb:hover img,
.hero-thumb:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1.06);
}

.hero-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 11, 46, 0.04), rgba(19, 11, 46, 0.72));
}

.hero-thumb__badge,
.hero-thumb__meta {
  position: absolute;
  z-index: 1;
}

.hero-thumb__badge {
  top: 12px;
  right: 12px;
  padding: 9px 14px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  font: 800 12px/1 "Trebuchet MS", Verdana, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-thumb__meta {
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: grid;
  gap: 4px;
  color: white;
}

.hero-thumb__meta strong {
  font-size: 18px;
  line-height: 1.05;
}

.hero-thumb__meta span {
  font: 700 12px/1.35 "Trebuchet MS", Verdana, sans-serif;
  color: rgba(255, 255, 255, 0.86);
}

.hero__note {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(243, 182, 203, 0.72);
}

.hero__note h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.hero__note p {
  margin: 0;
  font-size: 15px;
  max-width: 74ch;
}

.section {
  padding: 18px 0;
}

.section__box {
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(243, 182, 203, 0.78);
  box-shadow: 0 16px 42px var(--shadow);
  border-radius: 22px 16px 28px 16px;
  padding: 24px;
}

.section__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 18px;
}

.section__header h2 {
  margin: 0;
  font-size: 30px;
}

.section__header p {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
  font: 400 15px/1.6 "Trebuchet MS", Verdana, sans-serif;
}

.guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.guide__item {
  padding: 18px;
  border-radius: 20px 12px 18px 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,248,255,0.96));
  border: 1px solid rgba(243, 182, 203, 0.72);
}

.guide__item strong {
  display: block;
  margin-bottom: 8px;
  font: 700 15px/1.4 "Trebuchet MS", Verdana, sans-serif;
}

.guide__item p {
  margin: 0;
  color: var(--muted);
  font: 400 14px/1.6 "Trebuchet MS", Verdana, sans-serif;
}

.games {
  display: grid;
  gap: 22px;
}

.game-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 22px;
  padding: 20px;
  border-radius: 28px 22px 30px 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,244,252,0.96));
  border: 1px solid rgba(243, 182, 203, 0.78);
  box-shadow: 0 18px 42px rgba(102, 87, 255, 0.08);
}

.game-card__media {
  appearance: none;
  border: 0;
  cursor: pointer;
  padding: 0;
  min-height: 250px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(35, 22, 60, 0.08);
  background: linear-gradient(135deg, rgba(255, 77, 141, 0.18), rgba(255, 173, 31, 0.16));
  box-shadow: 0 20px 42px rgba(35, 22, 60, 0.16);
}

.game-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease, filter 180ms ease;
}

.game-card__media:hover img,
.game-card__media:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1.08);
}

.game-card__overlay {
  position: absolute;
  inset: auto 16px 16px 16px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(24, 10, 52, 0.2), rgba(24, 10, 52, 0.82));
  color: white;
}

.game-card__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 14px 30px rgba(255, 77, 141, 0.28);
  font: 800 16px/1 "Trebuchet MS", Verdana, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.game-card__hint {
  text-align: right;
  font: 700 12px/1.35 "Trebuchet MS", Verdana, sans-serif;
  color: rgba(255, 255, 255, 0.9);
}

.game-card__body {
  display: grid;
  gap: 14px;
}

.game-card__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.game-card h3 {
  margin: 6px 0 0;
  font-size: 34px;
}

.game-card__eyebrow {
  display: inline-flex;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(31, 214, 181, 0.12);
  color: #0e9b82;
  font: 800 11px/1 "Trebuchet MS", Verdana, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.game-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font: 700 12px/1 "Trebuchet MS", Verdana, sans-serif;
}

.game-card__meta span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 77, 141, 0.1);
  color: var(--accent);
}

.rating {
  min-width: 118px;
  text-align: right;
}

.rating__score {
  font: 800 24px/1 "Trebuchet MS", Verdana, sans-serif;
  color: var(--accent-3);
}

.rating__stars {
  margin-top: 4px;
  color: var(--accent-2);
  font-size: 16px;
  letter-spacing: 2px;
}

.game-card p {
  margin: 0;
  color: var(--muted);
  font: 400 15px/1.7 "Trebuchet MS", Verdana, sans-serif;
}

.game-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}

.button {
  appearance: none;
  border: 0;
  cursor: pointer;
  padding: 13px 18px;
  border-radius: 18px 999px 18px 999px;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  font: 800 14px/1 "Trebuchet MS", Verdana, sans-serif;
  box-shadow: 0 14px 28px rgba(102, 87, 255, 0.24);
}

.button--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(243, 182, 203, 0.84);
  box-shadow: none;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid rgba(243, 182, 203, 0.84);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,247,252,0.96));
  padding: 14px 16px;
}

.faq summary {
  cursor: pointer;
  font: 700 15px/1.45 "Trebuchet MS", Verdana, sans-serif;
}

.faq p {
  margin: 10px 0 0;
  color: var(--muted);
  font: 400 14px/1.65 "Trebuchet MS", Verdana, sans-serif;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.about__panel {
  padding: 18px;
  border-radius: 12px 24px 16px 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,248,255,0.96));
  border: 1px solid rgba(243, 182, 203, 0.76);
}

.about__panel h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.about__panel p,
.about__panel li {
  color: var(--muted);
  font: 400 14px/1.7 "Trebuchet MS", Verdana, sans-serif;
}

.about__panel ul {
  margin: 0;
  padding-left: 20px;
}

.footer {
  padding: 18px 0 34px;
  margin-top: auto;
}

.footer__box {
  padding: 20px 24px;
  border-radius: 14px 28px 14px 24px;
  background: linear-gradient(135deg, #27135c, #4720a2 46%, #ff4d8d);
  color: #eff9f2;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.footer__box p,
.footer__box li,
.footer__box a {
  color: rgba(239, 249, 242, 0.84);
  font: 400 14px/1.7 "Trebuchet MS", Verdana, sans-serif;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.cookie {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: min(360px, calc(100% - 24px));
  padding: 16px;
  border-radius: 16px 24px 16px 20px;
  background: rgba(35, 22, 60, 0.94);
  color: white;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.25);
  z-index: 40;
}

.cookie p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.84);
  font: 400 13px/1.65 "Trebuchet MS", Verdana, sans-serif;
}

.cookie__actions {
  display: flex;
  gap: 10px;
}

.cookie__actions button {
  flex: 1;
  padding: 10px 12px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font: 700 13px/1 "Trebuchet MS", Verdana, sans-serif;
}

.cookie__actions .accept {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
}

.cookie__actions .decline {
  background: rgba(255,255,255,0.12);
  color: white;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(7, 14, 10, 0.7);
  z-index: 50;
}

.modal.is-open {
  display: grid;
}

.modal__dialog {
  width: min(1180px, 100%);
  background: #08110d;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 26px 80px rgba(0,0,0,0.35);
}

.modal__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  color: white;
  background: linear-gradient(135deg, #27135c, #ff4d8d);
  font: 700 14px/1 "Trebuchet MS", Verdana, sans-serif;
}

.modal__bar button {
  appearance: none;
  border: 0;
  background: rgba(255,255,255,0.12);
  color: white;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 18px;
}

.modal__frame {
  aspect-ratio: 16 / 9;
  background: #000;
}

.modal__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 980px) {
  .about,
  .footer__grid,
  .game-card {
    grid-template-columns: 1fr;
  }

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

  .hero__rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rating {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(var(--width), calc(100% - 18px));
  }

  .topbar__inner,
  .section__header,
  .game-card__top {
    display: block;
  }

  .hero__stage,
  .section__box,
  .footer__box {
    padding: 18px;
  }

  .hero h1 {
    max-width: none;
  }

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

  .game-card__media {
    min-height: 240px;
  }
}
