:root {
  --ink: #101828;
  --body: #28323f;
  --muted: #667085;
  --line: #d9dee7;
  --soft: #f5f7fa;
  --blue: #2463d4;
  --blue-dark: #184ba8;
  --cyan: #07a9c8;
  --pink: #cf287d;
  --gold: #d88900;
  --white: #fff;
  --content: 1120px;
  --reading: 850px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--body);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0;
}

img { display: block; max-width: 100%; height: auto; }
a { color: #086bb8; text-underline-offset: 3px; }
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: -80px;
  z-index: 1000;
  padding: 9px 14px;
  border-radius: 4px;
  color: #fff;
  background: #111;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid #e4e7ec;
}

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

.brand {
  min-width: 0;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  white-space: nowrap;
}

.site-nav a {
  color: #344054;
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--blue); }

.menu-button {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.menu-button span {
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.hero {
  padding: 48px 0 28px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--blue-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1, h2, h3 {
  color: #0f1720;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  margin: 0 0 22px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.16;
}

h2 {
  margin: 2.2rem 0 .8rem;
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  line-height: 1.28;
}

h3 {
  margin: 1.65rem 0 .45rem;
  font-size: 1.16rem;
  line-height: 1.35;
}

p { margin: 0 0 1.1rem; }
ul, ol { margin: .55rem 0 1.35rem; padding-left: 1.4rem; }
li + li { margin-top: .4rem; }

.hero-logo {
  width: min(286px, 72vw);
  aspect-ratio: 1;
  margin: 0 auto 22px;
  border-radius: 8px;
}

.hero-summary {
  max-width: 720px;
  margin: 0 auto 14px;
  color: #475467;
}

.affiliate-note {
  max-width: 760px;
  margin: 12px auto 10px;
  color: #667085;
  font-size: .83rem;
}

.game-links {
  width: min(100%, 980px);
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 10px;
}

.game-button {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 6px;
  color: #fff;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .12);
}

.game-button:hover { filter: brightness(.94); }
.game-button.bonu7 { background: var(--blue); }
.game-button.mmy { background: var(--cyan); }
.game-button.bonu1 { background: var(--pink); }

.app-details { padding: 8px 0 30px; }
.details-table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.details-table { width: 100%; border-collapse: collapse; }
.details-table th,
.details-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.details-table tr:last-child th,
.details-table tr:last-child td { border-bottom: 0; }
.details-table thead th { color: #344054; background: var(--soft); }
.details-table tbody th { width: 28%; color: #344054; }

.gallery { padding: 12px 0 42px; }
.carousel { position: relative; overflow: hidden; }
.carousel-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  transition: transform .28s ease;
}
.carousel-slide { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #f2f4f7; }
.carousel-slide img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; object-position: top; }
.carousel-arrow, .carousel-dots { display: none; }

.article-content {
  border-top: 1px solid #e4e7ec;
  background: #fff;
}

.content-shell,
.legal-shell {
  width: min(var(--reading), calc(100% - 32px));
  margin-inline: auto;
}

.content-shell { padding: 32px 0 54px; }
.content-shell section,
.legal-shell section { scroll-margin-top: 90px; }
.content-shell section + section,
.legal-shell section + section { border-top: 1px solid #eaecf0; }

.legal-page { min-height: 64vh; }
.legal-shell { padding: 44px 0 58px; }
.legal-shell > h1 { margin-bottom: 8px; }
.guide-meta { margin: 0 0 22px; color: var(--muted); font-size: .87rem; }
.legal-logo {
  width: min(250px, 66vw);
  aspect-ratio: 1;
  margin: 10px auto 24px;
  border-radius: 8px;
}
.legal-shell .game-links { margin-bottom: 28px; }
.legal-shell > section:last-of-type { margin-bottom: 10px; }

.site-footer {
  padding: 28px 20px 22px;
  border-top: 1px solid var(--line);
  background: #f8f9fb;
  text-align: center;
}

.site-footer nav {
  width: min(var(--content), 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}
.site-footer a { color: #175fab; font-size: .89rem; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.copyright { margin: 18px 0 0; color: var(--muted); font-size: .85rem; }

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--blue);
  font-size: 1.4rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s;
}
.back-to-top[data-visible="true"] { opacity: 1; pointer-events: auto; transform: translateY(0); }

@media (max-width: 1040px) {
  .header-inner { min-height: 66px; }
  .brand { font-size: 1.12rem; }
  .brand img { width: 38px; height: 38px; }
  .menu-button { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 10px 16px 18px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 10px 24px rgba(16, 24, 40, .08);
  }
  .site-nav[data-open="true"] { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .site-nav a { padding: 10px 8px; border-bottom: 1px solid #f0f1f3; }
}

@media (max-width: 767px) {
  body { font-size: 16px; line-height: 1.65; }
  .hero { padding-top: 34px; }
  h1 { font-size: 2rem; }
  .game-links { grid-template-columns: 1fr; }
  .game-button { min-height: 46px; }
  .carousel-track { display: flex; gap: 0; }
  .carousel-slide { min-width: 100%; border: 0; }
  .carousel-slide img { width: min(100%, 420px); margin-inline: auto; border: 1px solid var(--line); border-radius: 6px; }
  .carousel-arrow {
    position: absolute;
    top: 46%;
    z-index: 2;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 6px;
    color: #fff;
    background: rgba(16, 24, 40, .82);
    font-size: 1.8rem;
    cursor: pointer;
  }
  .carousel-arrow.previous { left: 8px; }
  .carousel-arrow.next { right: 8px; }
  .carousel-dots { display: flex; justify-content: center; gap: 8px; padding-top: 14px; }
  .carousel-dot { width: 11px; height: 11px; padding: 0; border: 1px solid var(--blue); border-radius: 50%; background: #fff; }
  .carousel-dot[aria-current="true"] { background: var(--blue); }
  .details-table th, .details-table td { padding: 10px 12px; }
  .details-table tbody th { width: 38%; }
  .legal-shell { padding-top: 34px; }
}

@media (max-width: 390px) {
  .header-inner, .hero, .app-details, .gallery, .content-shell, .legal-shell { width: min(100% - 24px, var(--content)); }
  .brand span { max-width: 190px; overflow: hidden; text-overflow: ellipsis; }
  .site-nav[data-open="true"] { grid-template-columns: 1fr; }
  h1 { font-size: 1.78rem; }
}

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