:root {
  --bg: #eef4f8;
  --ink: #102033;
  --muted: #5b6b7c;
  --header: #0d2137;
  --accent: #14b8a6;
  --accent-2: #0ea5e9;
  --card: #071525;
  --play: #0f766e;
  --chip: #155e75;
  --line: #d5e2ec;
  --max: 760px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Segoe UI", Arial, sans-serif; color: var(--ink); background: #fff; }
a { color: #0f766e; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }

.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 12px 16px; background: var(--header); color: #fff;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand__mark { font-weight: 900; font-size: 22px; letter-spacing: -0.04em; line-height: 1; }
.brand__mark span { color: var(--accent); }
.brand__sub { display: block; margin-top: 2px; font-size: 10px; letter-spacing: 0.14em; color: #b7c9d6; }
.dice { width: 42px; height: 34px; }
.topbar__actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 40px; height: 40px; border: 0; background: transparent; color: var(--accent); cursor: pointer; }
.icon-btn svg { width: 22px; height: 22px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 22px 16px 48px; background: linear-gradient(#f7fbfd, #fff 180px); }
h1 { font-size: 30px; line-height: 1.2; margin: 8px 0 18px; letter-spacing: -0.03em; }
h2 { font-size: 26px; margin: 36px 0 14px; }
h3 { font-size: 20px; margin: 22px 0 8px; }
.lead, p { font-size: 16px; line-height: 1.55; }

.byline {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  padding: 14px 0 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px;
}
.byline__person, .byline__date { display: flex; gap: 10px; align-items: center; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%;
  object-fit: cover; background: #d7ebe8; flex: 0 0 auto;
}
.byline small { display: block; color: var(--muted); }
.byline strong { font-size: 15px; }

.section-title { display: flex; align-items: center; gap: 8px; }
.dot { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #99f6e4, #0f766e); }

.list { display: grid; gap: 18px; width: min(100%, 440px); margin: 0 auto; }
.card {
  position: relative; background: #fff; color: var(--ink); border-radius: 8px;
  padding: 42px 14px 12px; text-align: center;
  border: 1px solid #c5d2de;
  box-shadow: 0 6px 16px rgba(16, 32, 51, .06);
}
.card__num {
  position: absolute; left: 12px; top: -12px; width: 32px; height: 32px; border-radius: 6px;
  background: #dbe7ef; color: #334155; font-weight: 700; font-size: 16px; display: grid; place-items: center;
}
.badges { position: absolute; top: 8px; left: 52px; right: 10px; display: flex; justify-content: space-between; gap: 8px; }
.badge { font-size: 10px; font-weight: 700; letter-spacing: .03em; padding: 4px 7px; border-radius: 4px; }
.badge--gold { background: #e8eef3; color: #475569; }
.badge--hot { background: #e7f3f5; color: #0f766e; }
.logo-anim { position: relative; width: 168px; height: 56px; margin: 4px auto 6px; overflow: hidden; border-radius: 6px; }
.card__logo { width: 168px; height: 56px; object-fit: cover; margin: 0; border-radius: 6px; background: #111; animation: logoPulse 2.8s ease-in-out infinite; }
.logo-anim__shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: logoShine 2.8s ease-in-out infinite;
}
@keyframes logoShine { 0% { transform: translateX(-120%); } 55%, 100% { transform: translateX(120%); } }
@keyframes logoPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
.card__title { margin: 4px 0; font-size: 16px; font-weight: 650; color: var(--ink); }
.card__title span { display: inline-block; animation: letterWave 1.8s ease-in-out infinite; }
@keyframes letterWave {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-4px); color: #0f766e; }
}
.card h3 { margin: 4px 0; font-size: 16px; font-weight: 650; color: var(--ink); }
.card .bonus { margin: 0; font-weight: 700; font-size: 15px; }
.card .extra { margin: 4px 0 0; color: #526272; font-size: 14px; }
.card .min { margin: 2px 0 10px; color: #7b8794; font-size: 13px; }
.stars {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: #334155; border: 1px solid #e2eaf0; border-radius: 999px; padding: 6px 14px; font-weight: 700;
}
.stars span { color: #64748b; letter-spacing: 1px; }
.terms { margin: 10px 0; font-size: 13px; }
.terms a { color: #64748b; }
.pays { display: flex; justify-content: center; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.pay {
  min-width: 42px; height: 24px; padding: 0 6px; border-radius: 4px; background: #fff; color: #64748b;
  border: 1px solid #e2eaf0; font-size: 11px; font-weight: 700; display: grid; place-items: center;
}
.play, .review {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: min(100%, 360px); margin: 0 auto; text-decoration: none; border-radius: 8px; font-weight: 700;
}
.play { background: #0f766e; color: #fff; min-height: 40px; font-size: 16px; width: min(100%, 280px); }
.review { margin-top: 6px; background: transparent; color: #64748b; min-height: 34px; }
.license { margin: 10px 0 0; font-size: 12px; line-height: 1.45; color: #7b8794; }

.toc, .panel, .faq details, .bonus-row { background: #f4fafb; border: 1px solid var(--line); border-radius: 10px; }
.toc { padding: 8px 14px; margin: 28px 0; }
.toc summary, .faq summary { cursor: pointer; font-weight: 800; padding: 10px 0; }
.toc ol { margin: 0 0 12px; padding-left: 18px; }
.toc a { color: #134e4a; }
.panel { padding: 14px 16px; margin: 12px 0; }
.bonus-row {
  display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px; margin: 10px 0;
}
.bonus-row a.btn {
  background: var(--play); color: #fff; text-decoration: none; border-radius: 8px; padding: 10px 12px; font-weight: 800; white-space: nowrap;
}
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; }
th, td { border-bottom: 1px solid var(--line); text-align: left; padding: 8px 6px; vertical-align: top; }
th { background: #e6f4f6; }
.faq details { padding: 4px 14px; margin: 8px 0; }
.note { background: #ecfeff; border-left: 4px solid var(--accent); padding: 12px 14px; }
.columns { display: grid; gap: 12px; }
@media (min-width: 700px) { .columns { grid-template-columns: 1fr 1fr; } }

footer { background: #0d2137; color: #d5e4ee; padding: 28px 16px 40px; }
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; gap: 18px; }
footer a { color: #99f6e4; }
footer h2 { color: #fff; font-size: 18px; margin: 0 0 8px; }
.age { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 2px solid #fff; border-radius: 50%; font-weight: 800; margin-right: 8px; }

.drawer, .search-pop { position: fixed; inset: 0; background: rgba(8, 20, 32, .5); z-index: 30; display: none; }
.drawer.is-open, .search-pop.is-open { display: block; }
.drawer nav, .search-pop form { background: #fff; margin-left: auto; width: min(320px, 86vw); height: 100%; padding: 18px; }
.search-pop form { margin: 70px auto 0; height: auto; width: min(520px, 92vw); border-radius: 12px; }
.search-pop input { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.drawer a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); color: #102033; text-decoration: none; font-weight: 650; }

@media (max-width: 640px) {
  h1 { font-size: 26px; }
  .byline { grid-template-columns: 1fr; }
  .bonus-row { flex-direction: column; align-items: flex-start; }
}
