/* =========================================================================
   Ice Fishing Game — responsive stylesheet (mobile-first, no external deps)
   ========================================================================= */

:root {
  --ink: #071a2f;
  --ink-2: #0e2a48;
  --ink-3: #16395e;
  --slate: #47617d;
  --body: #22384f;
  --muted: #647e97;
  --line: #dce9f4;
  --ice: #f2fbff;
  --ice-2: #e3f4fd;
  --white: #ffffff;
  --cyan: #12b8e6;
  --cyan-d: #0891b2;
  --teal: #2ee6c5;
  --fish: #ff7a45;
  --fish-d: #e85f26;
  --gold: #ffc247;
  --green: #16b364;
  --red: #e5484d;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --sh: 0 1px 2px rgba(7, 26, 47, .06), 0 8px 24px rgba(7, 26, 47, .07);
  --sh-lg: 0 2px 6px rgba(7, 26, 47, .07), 0 18px 48px rgba(7, 26, 47, .12);
  --wrap: 1200px;
  --grad: linear-gradient(135deg, #12b8e6 0%, #2ee6c5 55%, #7ef2d8 100%);
  --grad-cta: linear-gradient(135deg, #ff7a45 0%, #ff9f2e 100%);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
          "Noto Sans", "Noto Sans Arabic", "Noto Sans Devanagari", sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--ice);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-d); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.22; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: 1.85rem; }
h2 { font-size: 1.4rem; margin-top: 0; }
h3 { font-size: 1.13rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-inline-start: 1.25em; }
li { margin-bottom: .45em; }
strong { color: var(--ink); }
small { font-size: .85rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }

.skip {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
  clip-path: inset(50%); white-space: nowrap; z-index: 200;
}
.skip:focus {
  position: static; width: auto; height: auto; clip: auto; clip-path: none;
  display: inline-block; background: var(--ink); color: #fff; padding: 10px 16px;
  border-radius: 0 0 var(--r) 0; margin: 0 auto;
}

/* ------------------------------- header --------------------------------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-in { display: flex; align-items: center; gap: 10px; min-height: 62px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand span { font-size: 1.02rem; line-height: 1.1; }
.brand b { display: block; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan-d); font-weight: 700; }

.nav-desk { display: none; margin-inline-start: auto; }
.nav-desk ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-desk a {
  display: block; padding: 8px 11px; border-radius: var(--r-sm); font-size: .92rem;
  font-weight: 600; color: var(--ink-2);
}
.nav-desk a:hover { background: var(--ice-2); text-decoration: none; }

.head-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }

.lang-btn {
  display: flex; align-items: center; gap: 6px; background: var(--ice-2);
  border: 1px solid var(--line); color: var(--ink); font: inherit; font-size: .88rem;
  font-weight: 700; padding: 8px 11px; border-radius: 999px; cursor: pointer;
}
.lang-btn:hover { background: #fff; }

.burger {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 38px;
  background: var(--ice-2); border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; inset-inline: 0; height: 2px; background: var(--ink);
}
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

.scrim { position: fixed; inset: 0; background: rgba(7, 26, 47, .45); z-index: 100; }
.scrim[hidden] { display: none; }

/* language panel */
.lang-panel {
  position: fixed; inset: 0; z-index: 120; background: rgba(7, 26, 47, .55);
  display: none; padding: 16px; overflow: auto;
}
.lang-panel[hidden] { display: none; }
.lang-panel.open { display: block; }
.lang-box {
  background: #fff; border-radius: var(--r-lg); max-width: 640px; margin: 8vh auto; padding: 20px;
  box-shadow: var(--sh-lg);
}
.lang-box h2 { font-size: 1.15rem; }
.lang-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 14px; }
.lang-grid a {
  display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: var(--r-sm);
  border: 1px solid var(--line); color: var(--ink-2); font-size: .92rem; font-weight: 600;
}
.lang-grid a:hover { background: var(--ice-2); text-decoration: none; border-color: var(--cyan); }
.lang-grid a[aria-current="true"] { background: var(--ice-2); border-color: var(--cyan); color: var(--cyan-d); }

/* mobile drawer */
.drawer {
  position: fixed; inset-block: 0; inset-inline-end: 0; width: min(86vw, 340px); z-index: 110;
  background: #fff; box-shadow: var(--sh-lg); transform: translateX(100%);
  transition: transform .25s ease; padding: 18px; overflow: auto;
}
[dir="rtl"] .drawer { transform: translateX(-100%); }
.drawer.open { transform: translateX(0); }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer a { display: block; padding: 11px 8px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-weight: 600; }

/* -------------------------------- hero ---------------------------------- */
.hero { position: relative; background: linear-gradient(160deg, #062241 0%, #0d3b63 45%, #10527e 100%); color: #fff; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 400px at 78% 12%, rgba(46, 230, 197, .28), transparent 60%),
              radial-gradient(700px 360px at 10% 90%, rgba(18, 184, 230, .3), transparent 60%);
  pointer-events: none;
}
.hero-in { position: relative; z-index: 2; display: grid; gap: 22px; padding-block: 30px 34px; }
.hero h1 { color: #fff; font-size: 2rem; margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero p { color: #d6ecfb; font-size: 1.02rem; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22); color: #fff; font-size: .74rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
  margin-bottom: 14px;
}
.hero-media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); border: 1px solid rgba(255, 255, 255, .18); }
.hero-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 16px 0 0; padding: 0; }
.chips li {
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px; padding: 6px 12px; font-size: .82rem; font-weight: 700; color: #eaf7ff;
}
.chips li b { color: var(--teal); }

/* ------------------------------- buttons -------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 800; font-size: .96rem;
  border: 1px solid transparent; cursor: pointer; text-align: center; line-height: 1.2;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--grad-cta); color: #2a1000; box-shadow: 0 8px 22px rgba(255, 122, 69, .35); }
.btn-ice { background: var(--grad); color: #00303d; box-shadow: 0 8px 22px rgba(18, 184, 230, .3); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 6px; }

@media (max-width: 620px) {
  .brand span { font-size: .95rem; }
  .brand b { display: none; }
  .head-actions .btn-primary { display: none; }
  .lang-btn { padding: 7px 9px; font-size: .8rem; }
  .lang-btn .lang-name { display: none; }
  .head-in { min-height: 56px; }
}
@media (max-width: 380px) {
  .brand span { display: none; }
}

/* ------------------------------ breadcrumb ------------------------------- */
.crumbs { font-size: .82rem; color: var(--muted); padding-block: 12px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li::after { content: "/"; margin-inline-start: 6px; color: var(--line); }
.crumbs li:last-child::after { content: ""; }
.crumbs a { color: var(--muted); }

/* -------------------------------- layout -------------------------------- */
.main-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; padding-block: 6px 34px; }
.toc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px;
  box-shadow: var(--sh);
}
.toc h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--slate); margin-bottom: 10px; }
.toc ol { margin: 0; padding-inline-start: 1.1em; font-size: .9rem; }
.toc a { color: var(--ink-2); }
.toc li { margin-bottom: 4px; }

.card, .prose { min-width: 0; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 20px; box-shadow: var(--sh); margin-bottom: 20px;
}
.card > h2:first-child, .card > h3:first-child { margin-top: 0; }
.narrow { max-width: 820px; }

.prose h2 { margin-top: 1.7em; padding-top: .35em; border-top: 1px solid var(--line); }
.prose > h2:first-child { border-top: 0; margin-top: 0; }
.prose h3 { margin-top: 1.3em; color: var(--ink-2); }

.meta-line { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .84rem; color: var(--muted); margin: 0 0 12px; }
.meta-line b { color: var(--ink-2); }

.badge18 {
  display: inline-block; background: var(--ink); color: #fff; font-size: .68rem; font-weight: 800;
  letter-spacing: .1em; padding: 3px 8px; border-radius: 6px; vertical-align: middle;
}

/* -------------------------------- tables --------------------------------- */
.tbl-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 4px 0 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.tbl-wrap table:has(caption) { min-width: 480px; }
caption { text-align: start; font-size: .84rem; color: var(--muted); padding: 12px 14px 4px; }
th, td { padding: 11px 14px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--ice-2); color: var(--ink); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbfeff; }
td b { color: var(--ink); }
.tbl-note { font-size: .8rem; color: var(--muted); margin-top: 8px; }

/* rating stars */
.stars { color: var(--gold); font-size: .95rem; letter-spacing: 1px; white-space: nowrap; }
.score-pill {
  display: inline-block; background: var(--grad); color: #00303d; font-weight: 800; font-size: .85rem;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}

/* -------------------------- casino rating table -------------------------- */
.rank-list { list-style: none; margin: 0; padding: 0; }
.rank-item {
  display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: start;
  border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: 14px;
  margin-bottom: 12px; box-shadow: var(--sh);
}
.rank-num {
  display: flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border-radius: var(--r-sm); background: var(--ice-2); color: var(--cyan-d); font-weight: 900; font-size: 1.15rem;
}
.rank-item:first-child .rank-num { background: var(--grad); color: #00303d; }
.rank-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.rank-name { font-size: 1.05rem; font-weight: 800; color: var(--ink); }
.rank-name:hover { color: var(--cyan-d); }
.rank-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px 14px; margin: 10px 0; font-size: .86rem; }
.rank-grid div { border-inline-start: 2px solid var(--ice-2); padding-inline-start: 9px; }
.rank-grid span { display: block; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; }
.rank-grid b { color: var(--ink); font-weight: 700; }
.rank-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

/* ------------------------------- pros/cons ------------------------------- */
.pc { display: grid; gap: 14px; }
.pc > div { border-radius: var(--r); padding: 14px 16px; }
.pc .p { background: #eafaf1; border: 1px solid #c6efd9; }
.pc .c { background: #fdeeee; border: 1px solid #f7cfcf; }
.pc h3 { font-size: .95rem; margin-bottom: 8px; }
.pc ul { margin: 0; padding-inline-start: 1.15em; font-size: .92rem; }

/* --------------------------------- FAQ ----------------------------------- */
.faq { border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer; padding: 15px 44px 15px 18px; font-weight: 700; color: var(--ink);
  position: relative; font-size: .98rem; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; inset-inline-end: 18px; top: 12px; font-size: 1.3rem;
  color: var(--cyan-d); font-weight: 700;
}
[dir="rtl"] .faq summary { padding: 15px 18px 15px 44px; }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 18px 16px; font-size: .95rem; }

/* -------------------------------- reviews -------------------------------- */
.reviews { display: grid; gap: 12px; }
.review { border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: 14px 16px; box-shadow: var(--sh); }
.review-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.review b { color: var(--ink); font-size: .96rem; }
.review .ctx { font-size: .8rem; color: var(--muted); }
.review p { margin: 0; font-size: .93rem; }

/* ------------------------------- link grid ------------------------------- */
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.link-grid a {
  display: block; border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: 14px 16px;
  font-weight: 700; color: var(--ink-2); font-size: .95rem; box-shadow: var(--sh);
}
.link-grid a:hover { border-color: var(--cyan); text-decoration: none; color: var(--cyan-d); }
.link-grid small { display: block; font-weight: 500; color: var(--muted); font-size: .82rem; margin-top: 3px; }

/* ------------------------------ author box ------------------------------- */
.author { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; margin-block: 18px; }
.author .av { width: 56px; height: 56px; border-radius: 50%; background: var(--grad); color: #00303d; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.2rem; }
.author p { margin: 0 0 .4em; font-size: .9rem; }
.author .who { font-weight: 800; color: var(--ink); }

/* -------------------------------- figures -------------------------------- */
.figure { margin: 0 0 18px; }
.figure img { border-radius: var(--r); border: 1px solid var(--line); width: 100%; }
.figure figcaption { font-size: .82rem; color: var(--muted); margin-top: 7px; }
.img-row { display: grid; gap: 12px; grid-template-columns: 1fr; }

/* -------------------------------- footer --------------------------------- */
.site-foot { background: var(--ink); color: #a9c6dd; font-size: .88rem; padding-block: 34px 26px; margin-top: 20px; }
.site-foot h2, .site-foot h3 { color: #fff; font-size: 1rem; }
.site-foot a { color: #cfe6f7; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 6px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 24px; padding-top: 16px; font-size: .8rem; color: #8fb1cb; }
.rg-logos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rg-logos span { border: 1px solid rgba(255, 255, 255, .2); border-radius: 6px; padding: 4px 9px; font-size: .72rem; font-weight: 700; color: #dceaf6; }

/* --------------------------- sticky play bar (mobile) --------------------- */
.sticky-play { display: none; }

/* ------------------------------- cookie bar ------------------------------ */
.cookie {
  position: fixed; inset-inline: 12px; bottom: 12px; z-index: 130; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--sh-lg); padding: 14px 16px; display: none; gap: 12px; align-items: center;
  flex-wrap: wrap; font-size: .88rem;
}
.cookie.show { display: flex; }
.cookie .btn { margin-inline-start: auto; }

/* ------------------------------- lang portal ----------------------------- */
.portal { min-height: 100vh; display: grid; place-items: center; padding: 24px; text-align: center; }
.portal-box { background: #fff; border-radius: var(--r-xl); padding: 26px 22px; box-shadow: var(--sh-lg); max-width: 700px; }
.portal-box h1 { font-size: 1.5rem; }
.portal-box .lang-grid { margin-top: 18px; }
.portal-note { font-size: .8rem; color: var(--muted); margin-top: 16px; }

/* --------------------------------- misc ---------------------------------- */
.note-box { border-inline-start: 4px solid var(--cyan); background: var(--ice-2); border-radius: 0 var(--r) var(--r) 0; padding: 12px 16px; font-size: .92rem; margin: 0 0 16px; }
.kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; list-style: none; margin: 0 0 18px; padding: 0; }
.kpi li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; box-shadow: var(--sh); }
.kpi span { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.kpi b { font-size: 1.05rem; color: var(--ink); }
.vis-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.updated { font-size: .8rem; color: var(--muted); }
.aff-note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }

/* ------------------------------ breakpoints ------------------------------ */
@media (min-width: 700px) {
  h1 { font-size: 2.3rem; }
  h2 { font-size: 1.55rem; }
  .hero h1 { font-size: 2.6rem; }
  .hero-in { padding-block: 44px 48px; }
  .btn { padding: 13px 24px; }
  .img-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1000px) {
  body { font-size: 17.5px; }
  .nav-desk { display: block; }
  .burger { display: none; }
  .hero-in { grid-template-columns: 1.05fr .95fr; align-items: center; padding-block: 54px 60px; }
  .main-grid { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
  .side { position: sticky; top: 82px; }
  .foot-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr); }
  .pc { grid-template-columns: 1fr 1fr; }
  .card { padding: 26px; }
}

@media (min-width: 1200px) {
  .wrap { padding-inline: 24px; }
  .main-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 34px; }
}

@media print {
  .site-head, .cookie, .btn, .site-foot { display: none !important; }
  body { background: #fff; }
  .card, .tbl-wrap { box-shadow: none; }
}

@media (max-width: 780px) {
  .sticky-play {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 120; display: flex; gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 18px rgba(9, 30, 51, .12);
  }
  .sticky-play .btn { flex: 1 1 0; min-width: 0; justify-content: center; text-align: center; padding: 12px 8px; font-size: .9rem; }
  body.has-sticky { padding-bottom: 74px; }
  .cookie { bottom: 74px; }
}
