/* ==========================================================================
   jan111game.net

   A deliberately different build from every sibling guide site.

   1. LIGHT ARTICLE ON A COLOURED FIELD. Every previous site in this family was
      dark end to end. Here the reading surface stays white for contrast over
      long text, but it sits as a card on a soft green field, between a deep
      green masthead and a deep green footer, with gold as the single accent.
      The three colours are sampled from the Jan111 banner itself (#04281c,
      #e8a918), so the chrome and the hero belong to each other.

   2. ZERO JAVASCRIPT. There is no script file and no <script> tag on any page.
      The contents block is a native <details>, navigation is plain links, and
      the publish year is baked in at build time. Nothing blocks, nothing
      hydrates, nothing shifts. This is the fastest shape a content site can
      take, and it is why there is no scroll-spy rail or app bar here.

   3. NO STICKY SIDEBAR AND NO BOTTOM BAR. One readable column and a slim
      sticky masthead. The home page carries one hero banner, directly below
      the CTA buttons; it is the LCP candidate there and is preloaded with
      fetchpriority="high". Every other image on the site is below the fold
      and stays lazy. Inner pages have no hero, so their LCP is the heading.

   The page is built around QUESTION-SHAPED headings, each answered in a bolded
   first line, because this is a YMYL subject and the pages that win it are the
   ones that answer plainly and show who is answering.
   ========================================================================== */

:root {
  /* The reading surface. --bg stays white: the article card, the FAQ rows and
     the outline button all sit on it, and every text pair was gated on it. */
  --bg:     #ffffff;
  --bg-2:   #f5f8f8;
  --bg-3:   #e8eff0;
  --line:   #d5dfe0;

  /* The field the article card floats on, and the deep green of the masthead
     and footer, both sampled from the Jan111 banner. */
  --field:     #eaf2ee;
  --field-top: #d6e7dd;
  --deep:      #04281c;
  --deep-2:    #0a4a35;

  /* Gold accent, also sampled from the banner. Used on dark green only --
     never as text on white, where it would not reach AA. */
  --gold:     #e8a918;
  --gold-2:   #f6d479;
  --on-gold:  #04281c;

  /* Light text for use on --deep. */
  --on-deep:     #ffffff;
  --on-deep-2:   #cfe3d9;
  --on-deep-dim: #a9c3b8;

  /* deep teal, dark enough to carry white text and to sit on white */
  --brand:     #0a6f66;
  --brand-2:   #075e56;
  --brand-dim: #9fcfc9;

  /* ochre secondary, named "emerald" so the contrast gate keeps working */
  --emerald:   #8a5200;
  --emerald-2: #724400;

  --silver: #4a5c60;

  --on-brand:   #ffffff;
  --on-emerald: #ffffff;

  --ink:   #0d1a1c;
  --body:  #2f4347;
  --muted: #566d72;

  --pad:  clamp(16px, 4vw, 26px);
  /* How far left of the article column the logo sits. 0 = flush with the h1. */
  --logo-nudge: 44px;
  --r:    8px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  /* One painted gradient, no extra element and no pseudo-element stacking
     games: the wash fades out over the first 420px and the flat field carries
     on below it. */
  background-color: var(--field);
  background-image: linear-gradient(180deg, var(--field-top) 0, rgba(214,231,221,0) 420px);
  background-repeat: no-repeat;
  color: var(--body);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand); color: var(--on-brand);
  padding: 10px 16px; font-weight: 700;
}
.skip:focus { left: 0; }

/* The wrap IS the reading measure: header, article and footer share one
   left edge and one right edge at every width. Nothing is centred
   independently, so nothing can drift out of line. */
.wrap { width: 100%; max-width: 760px; margin-inline: auto; padding-inline: var(--pad); }

/* ---------- header ------------------------------------------------------- */

.top {
  position: sticky; top: 0; z-index: 30;
  background: var(--deep);
  border-bottom: 2px solid var(--gold);
}
.top .wrap { max-width: none; display: flex; align-items: center; gap: 14px; min-height: 58px; flex-wrap: wrap; }
/* The lockup is half raster, half text: the gold "Jan111" is an image cut from
   the brand artwork, but "Online Casino" is live text. It used to be baked into
   the logo file at a size that left it a blur; as text it is sharp at every DPR
   and every zoom level, and it costs nothing to ship. */
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; flex: 0 0 auto; text-decoration: none; }
.brand img { width: 124px; height: auto; }
.brand-sub {
  align-self: stretch; margin-top: 1px;
  font-size: .53rem; font-weight: 700; line-height: 1;
  letter-spacing: .3em; text-indent: .3em; /* indent cancels the trailing track */
  text-transform: uppercase; text-align: center;
  color: var(--on-deep-2);
}

.nav { margin-left: auto; }

/* The logo lines up with the article's left edge rather than the page corner,
   so it sits directly above the h1. The right-hand side of the bar still runs
   to the page edge, which keeps the nav and the Download button in the right
   corner. The calc resolves to the centred column's text edge; max() drops it
   back to the normal gutter on screens narrower than the column.
   --logo-nudge offsets it slightly left of the h1; set it to 0 to align them. */
@media (min-width: 720px) {
  .top .wrap,
  .foot .wrap { padding-left: max(var(--pad), calc((100% - 760px) / 2 + var(--pad) - var(--logo-nudge))); }
}
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a {
  display: block; padding: 7px 11px; border-radius: var(--r);
  color: var(--on-deep-2); text-decoration: none; font-size: .93rem; font-weight: 600;
}
.nav a:hover { background: rgba(255,255,255,.1); color: var(--on-deep); }
.nav a[aria-current="page"] { color: var(--gold); background: rgba(232,169,24,.13); }

/* Gold rather than teal, so the one action in the masthead reads as the one
   action in the masthead. Dark green text on gold clears AA comfortably. */
.top .btn { margin-left: 14px; padding: 8px 16px; font-size: .92rem; }
.top .btn-go { background: var(--gold); color: var(--on-gold); }
.top .btn-go:hover { background: var(--gold-2); color: var(--on-gold); }
.top :focus-visible { outline-color: var(--gold); }
@media (max-width: 719px) {
  .top .wrap { padding-block: 9px; }
  .nav { margin-left: 0; order: 3; width: 100%; }
  /* One scrolling row, not a wrapped block: nowrap is what makes overflow-x
     do anything, and it keeps the masthead to a fixed two rows on a phone. */
  .nav ul { gap: 2px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .nav ul::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }
  .top .btn { margin-left: auto; }
}

/* ---------- document ----------------------------------------------------- */

/* The article is a white card on the green field. Full-bleed on phones, where
   a margin would only cost reading width; an inset card with a soft shadow
   once there is room beside the 760px column. */
main.wrap { background: var(--bg); }
@media (min-width: 812px) {
  main.wrap {
    /* max-width stays 760px: the masthead's logo offset is calculated from
       that number, so widening the card here would break the alignment. */
    margin-block: 26px 0;
    border: 1px solid var(--line); border-radius: 14px;
    box-shadow: 0 2px 22px rgba(4,40,28,.08);
  }
}

.doc { padding-block: 28px 8px; }

.kicker {
  display: inline-block; margin: 0 0 10px;
  color: var(--brand); font-size: .74rem; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 1.2rem + 3vw, 2.7rem);
  line-height: 1.14; letter-spacing: -.021em;
  color: var(--ink); font-weight: 800;
}
.lede { margin: 0 0 22px; font-size: 1.12rem; line-height: 1.6; color: var(--silver); }

h2 {
  margin: 44px 0 12px; scroll-margin-top: 76px;
  font-size: clamp(1.28rem, 1.06rem + .85vw, 1.6rem);
  line-height: 1.25; letter-spacing: -.012em;
  color: var(--ink); font-weight: 800;
}
h3 { margin: 26px 0 8px; font-size: 1.05rem; color: var(--ink); font-weight: 700; }
p { margin: 0 0 17px; }
strong { color: var(--ink); font-weight: 700; }

/* the bolded one-line answer that follows a question heading */
.answer {
  margin: 0 0 17px; padding: 11px 15px;
  border-left: 4px solid var(--brand);
  background: var(--bg-2);
  color: var(--ink); font-weight: 600;
}

.doc ul, .doc ol { margin: 0 0 18px; padding-left: 22px; }
.doc li { margin: 0 0 7px; }

/* ---------- contents (native details, no JS) ----------------------------- */

.toc { margin: 0 0 26px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.toc > summary {
  padding: 12px 16px; cursor: pointer; list-style: none;
  font-weight: 700; color: var(--ink); font-size: .95rem;
}
.toc > summary::-webkit-details-marker { display: none; }
.toc > summary::after { content: " +"; color: var(--brand); font-weight: 800; }
.toc[open] > summary::after { content: " \2212"; }
.toc ol { margin: 0; padding: 0 16px 14px 34px; columns: 2; column-gap: 24px; }
@media (max-width: 620px) { .toc ol { columns: 1; } }
.toc li { margin: 0 0 5px; font-size: .92rem; }
.toc a { color: var(--brand-2); text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* ---------- callouts ------------------------------------------------------ */

.note {
  margin: 0 0 22px; padding: 14px 17px;
  border: 1px solid var(--line); border-left: 4px solid var(--emerald);
  border-radius: 0 var(--r) var(--r) 0; background: #fffdf8;
}
.note.warn { border-left-color: #b3261e; background: #fff8f7; }
.note > :last-child { margin-bottom: 0; }

/* ---------- tables -------------------------------------------------------- */

.tw { margin: 0 0 24px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
caption { padding: 10px 14px; text-align: left; color: var(--muted); font-size: .82rem; border-bottom: 1px solid var(--line); }
th, td { padding: 10px 14px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--bg-3); color: var(--ink); font-size: .77rem; letter-spacing: .05em; text-transform: uppercase; border-top: 0; }
tbody th { color: var(--ink); font-weight: 700; }
tbody tr:nth-child(even) td, tbody tr:nth-child(even) th { background: #fafcfc; }

/* ---------- steps --------------------------------------------------------- */

ol.steps { counter-reset: s; list-style: none; margin: 0 0 24px; padding: 0; }
ol.steps li {
  counter-increment: s; position: relative;
  margin: 0 0 9px; padding: 11px 15px 11px 48px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2);
}
ol.steps li::before {
  content: counter(s); position: absolute; left: 13px; top: 11px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand); color: var(--on-brand);
  font-size: .8rem; font-weight: 800; display: grid; place-items: center;
}

ul.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 24px; padding: 0; }
ul.chips li {
  margin: 0; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg-2); font-size: .85rem; color: var(--silver);
}

/* ---------- FAQ ----------------------------------------------------------- */

.faq { margin: 0 0 24px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.faq details { border-top: 1px solid var(--line); background: var(--bg); }
.faq details:first-child { border-top: 0; }
.faq summary {
  padding: 13px 42px 13px 16px; position: relative; cursor: pointer;
  color: var(--ink); font-weight: 700; font-size: .97rem; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 16px; top: 19px;
  width: 8px; height: 8px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(45deg);
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 23px; }
.faq summary:hover { background: var(--bg-2); }
.faq details > div { padding: 0 16px 14px; }
.faq details > div > :last-child { margin-bottom: 0; }

/* ---------- CTA ----------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border: 2px solid transparent; border-radius: var(--r);
  font-weight: 800; font-size: 1rem; line-height: 1.2; text-decoration: none;
}
.btn-go { background: var(--brand); color: var(--on-brand); }
.btn-go:hover { background: var(--brand-2); color: var(--on-brand); }
.btn-line { background: var(--bg); border-color: var(--brand); color: var(--brand); }
.btn-line:hover { background: var(--bg-2); color: var(--brand-2); }

.cta { margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.cta .btn { flex: 1 1 200px; }
.cta .fine { flex: 1 1 100%; margin: 2px 0 0; font-size: .8rem; color: var(--muted); line-height: 1.5; }

.endcta {
  margin: 42px 0 8px; padding: 24px;
  border: 0; border-radius: 12px;
  background: linear-gradient(135deg, var(--deep) 0%, var(--deep-2) 100%);
  color: var(--on-deep-2);
}
.endcta h2 { margin-top: 0; color: var(--on-deep); }
.endcta a:not(.btn) { color: var(--gold-2); }
.endcta .btn-go { background: var(--gold); color: var(--on-gold); }
.endcta .btn-go:hover { background: var(--gold-2); color: var(--on-gold); }
.endcta .btn-line { background: transparent; border-color: var(--gold); color: var(--gold); }
.endcta .btn-line:hover { background: rgba(232,169,24,.14); color: var(--gold-2); border-color: var(--gold-2); }
.endcta .fine { color: var(--on-deep-dim); }
.endcta :focus-visible { outline-color: var(--gold); }

/* ---------- figures ------------------------------------------------------- */

figure { margin: 0 0 24px; }
/* App captures are 440px inside a 708px column, so without this they hang off
   the left edge. Images already as wide as the column are unaffected. */
figure img { border: 1px solid var(--line); border-radius: var(--r); margin-inline: auto; }

/* The one hero on the site: the home page banner, seated under the CTA pair.
   width/height are on the <img>, so it reserves its box before it arrives and
   contributes nothing to CLS. */
.hero { margin: 4px 0 26px; }
.hero img {
  width: 100%; border: 0; border-radius: 12px;
  box-shadow: 0 3px 16px rgba(4,40,28,.16);
}
figcaption { margin-top: 8px; font-size: .84rem; color: var(--muted); line-height: 1.5; text-align: center; }
.shots { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 620px) { .shots { grid-template-columns: 1fr 1fr; } }
.shots figcaption { grid-column: 1 / -1; margin-top: 0; }

/* ---------- reviews ------------------------------------------------------- */

.quotes { display: grid; grid-template-columns: 1fr; gap: 13px; margin: 0 0 24px; }
@media (min-width: 760px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { margin: 0; padding: 15px 17px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.quote .stars { margin: 0 0 8px; color: var(--emerald); letter-spacing: .12em; font-size: .9rem; }
.quote blockquote { margin: 0 0 10px; padding: 0; font-style: italic; color: var(--body); }
/* A pull quote is a figure too, but its attribution reads as text, not a label. */
.quote figcaption { margin: 0; font-size: .85rem; text-align: left; }
.quote figcaption b { display: block; color: var(--ink); font-style: normal; }

/* ---------- guide cards --------------------------------------------------- */

.cards { display: grid; grid-template-columns: 1fr; gap: 15px; margin: 0 0 24px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
.cards article { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--bg); }
.cards img { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); }
.cards .body { padding: 14px 16px 16px; }
.cards h3 { margin: 0 0 6px; font-size: 1.01rem; }
.cards h3 a { color: var(--ink); text-decoration: none; }
.cards h3 a:hover { color: var(--brand); }
.cards p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.55; }

/* ---------- next / prev --------------------------------------------------- */

.hop { display: grid; grid-template-columns: 1fr; gap: 11px; margin: 32px 0 0; }
@media (min-width: 620px) { .hop { grid-template-columns: 1fr 1fr; } }
.hop a {
  padding: 13px 15px; border: 1px solid var(--line); border-left: 4px solid var(--brand);
  border-radius: 0 var(--r) var(--r) 0; background: var(--bg-2);
  color: var(--ink); text-decoration: none; font-weight: 700;
}
.hop a span { display: block; margin-bottom: 2px; font-size: .71rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hop a:hover { border-left-color: var(--emerald); color: var(--brand); }

/* ---------- footer -------------------------------------------------------- */

.foot { margin-top: 52px; border-top: 3px solid var(--gold); background: var(--deep); }
.foot .wrap { max-width: none; padding-block: 30px 24px; }
@media (min-width: 812px) { .foot { margin-top: 44px; } }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.7fr 1fr 1fr; gap: 32px; } }
.foot-brand { margin-bottom: 14px; }
.foot-brand img { width: 170px; height: auto; }
.foot-brand .brand-sub { font-size: .66rem; }
.foot p { font-size: .87rem; color: var(--on-deep-2); line-height: 1.6; }
.foot h2 { margin: 0 0 10px; font-size: .73rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 0 0 6px; }
.foot li a { color: var(--on-deep-2); font-size: .89rem; text-decoration: none; }
.foot li a:hover { color: var(--on-deep); text-decoration: underline; }
.foot a { color: var(--gold-2); }
.foot :focus-visible { outline-color: var(--gold); }
.foot-end {
  margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.16);
  display: flex; flex-wrap: wrap; gap: 9px 16px; align-items: center; justify-content: space-between;
  font-size: .82rem; color: var(--on-deep-dim); line-height: 1.6;
}
.foot-end b { color: var(--on-deep); }
.foot-end p { margin: 0; }
.age { padding: 3px 11px; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold); font-weight: 800; font-size: .76rem; }

@media print {
  .top, .cta, .endcta, .toc { display: none !important; }
  body { font-size: 11pt; }
}
