:root {
  --ink: #172236;
  --body: #1b1b1b;
  --muted: #667085;
  --line: #d9dde3;
  --blue: #326cf0;
  --cyan: #18cedd;
  --magenta: #ec0796;
  --powder: #5dbad5;
  --white: #ffffff;
  --content: 1240px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--body);
  background: var(--white);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

img { display: block; max-width: 100%; height: auto; }
a { color: #086fc2; }
button, a { font: inherit; -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid #ffbf21;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -70px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 4px;
  color: #fff;
  background: #111;
}

.skip-link:focus { top: 12px; }

.container,
.header-inner,
.hero,
.app-details,
.gallery,
.content-shell {
  width: min(var(--content), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e4e6ea;
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  color: var(--ink);
  font-size: 1.68rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  color: #263047;
  font-size: 1rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: #0876c9; }

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 30px;
  height: 3px;
  margin: 5px auto;
  border-radius: 2px;
  background: #0876c9;
}

.hero {
  padding: 10px 0 7px;
  text-align: center;
}

.hero h1 {
  margin: 0 auto 12px;
  color: #061011;
  font-family: "Purple Purse", Georgia, serif;
  font-size: clamp(2rem, 3.25vw, 2.35rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-logo {
  width: min(300px, 48vw);
  aspect-ratio: 1;
  margin: 0 auto 26px;
  border-radius: 22px;
  object-fit: cover;
}

.game-links {
  display: grid;
  gap: 12px;
}

.game-button {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 18px;
  color: #fff;
  background: var(--blue);
  font-weight: 700;
  text-decoration: none;
  transition: filter 160ms ease, transform 160ms ease;
}

.game-button:hover,
.game-button:focus-visible {
  color: #fff;
  filter: brightness(.94);
  transform: translateY(-1px);
}

.game-button.bonu1 { background: var(--cyan); color: #071216; }
.game-button.mmy { background: var(--magenta); }
.game-button.bonu7 { background: var(--powder); color: #071216; }
.legal-game-links { margin: 20px auto 28px; }

.affiliate-note {
  margin: 6px auto 10px;
  color: #626b78;
  font-size: .78rem;
}

.app-details { padding: 0; }

.details-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

.details-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  table-layout: fixed;
  color: #6c6c6c;
}

.details-table th,
.details-table td {
  height: 50px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}

.details-table th { width: 42%; font-weight: 700; }

.gallery {
  margin-top: 18px;
  overflow: hidden;
  background: #050505;
}

.carousel { position: relative; overflow: hidden; }
.carousel-track { display: flex; transition: transform .4s ease; }

.carousel-slide {
  flex: 0 0 33.333%;
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 720 / 1600;
  border-right: 1px solid #302d2d;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 70px;
  transform: translateY(-50%);
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 4rem;
  line-height: 1;
  text-shadow: 0 1px 5px #000;
  cursor: pointer;
}

.carousel-arrow.previous { left: 0; }
.carousel-arrow.next { right: 0; }
.carousel-dots { display: none; }

.article-content { padding: 34px 0 20px; }
.content-shell section { margin: 0 0 30px; }

.content-shell h2 {
  margin: 0 0 5px;
  color: #061011;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.content-shell p,
.content-shell li { font-size: 1.05rem; }
.content-shell ul { padding-left: 24px; }
.content-shell h3,
.legal-shell h3 {
  margin: 24px 0 6px;
  color: #111820;
  font-size: 1.14rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.legal-page { padding: 32px 0 12px; }

.legal-shell {
  width: min(1040px, calc(100% - 40px));
  margin-inline: auto;
}

.legal-shell h1 {
  margin: 0 0 14px;
  color: #061011;
  font-family: "Purple Purse", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0;
}

.legal-shell h2 {
  margin: 30px 0 6px;
  color: #061011;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  line-height: 1.25;
  letter-spacing: 0;
}

.legal-shell p,
.legal-shell li { font-size: 1.02rem; line-height: 1.7; }
.legal-logo { width: min(300px, 60vw); margin: 0 auto 18px; border-radius: 22px; }
.guide-meta { margin: -6px 0 20px; color: var(--muted); font-size: .92rem !important; }

.download-cta {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin: 20px auto 28px;
  border-radius: 18px;
  color: #fff;
  background: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.site-footer {
  margin-top: 20px;
  padding: 34px 16px 46px;
  border-top: 1px solid var(--line);
  color: #4c5667;
  text-align: center;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-bottom: 10px;
}

.site-footer a { text-decoration: none; }
.copyright { margin: 0; }

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 50;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: #0878ca;
  font-size: 1.6rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
}

.back-to-top[data-visible="true"] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 767px) {
  html { scroll-padding-top: 78px; }
  .header-inner { width: 100%; min-height: 78px; padding: 0 20px; }
  .brand { font-size: 1.35rem; }
  .menu-button { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
  }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav a { padding: 12px 8px; border-bottom: 1px solid #eef0f2; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero { width: calc(100% - 24px); padding-top: 16px; }
  .hero h1 { font-size: clamp(1.7rem, 7.2vw, 2rem); }
  .hero-logo { width: min(84%, 310px); margin-top: 10px; }
  .game-button { min-height: 50px; border-radius: 22px; }
  .app-details { width: calc(100% - 24px); }
  .details-table { min-width: 0; }
  .details-table th,
  .details-table td { height: auto; padding: 10px 8px; font-size: .88rem; overflow-wrap: anywhere; }
  .details-table th { width: 38%; }
  .gallery { width: calc(100% - 24px); }
  .carousel { padding-top: 28px; background: #fff; }
  .carousel-slide { flex-basis: 100%; border: 0; }
  .carousel-dots {
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 14px;
  }
  .carousel-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #d0d0d0; }
  .carousel-dot[aria-current="true"] { background: #000; }
  .carousel-arrow { width: 44px; font-size: 3rem; }
  .article-content { padding-top: 30px; }
  .content-shell { width: calc(100% - 28px); }
  .content-shell h2 { font-size: clamp(1.55rem, 6.2vw, 1.9rem); }
  .content-shell p,
  .content-shell li { font-size: 1rem; line-height: 1.62; }
  .legal-page { padding-top: 28px; }
  .legal-shell { width: calc(100% - 28px); }
  .legal-shell h1 { font-size: 1.85rem; }
  .legal-shell h2 { margin-top: 32px; font-size: 1.55rem; }
  .back-to-top { right: 18px; bottom: 22px; width: 42px; height: 42px; }
}

@media (max-width: 380px) {
  .brand { font-size: 1.22rem; }
  .hero h1 { font-size: 1.62rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
