:root {
  color-scheme: light;
  --canvas: #f4f7fd;
  --surface: #fff;
  --raised: #edf4ff;
  --line: #d7e3f5;
  --text: #10244a;
  --muted: #445979;
  --accent: #0844c8;
  --ink: #fff;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--canvas);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.6; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.14; letter-spacing: -.025em; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
a { color: var(--accent); text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.wrap { width: min(calc(100% - 3rem), 75rem); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; padding: .7rem; background: var(--canvas); transform: translateY(-200%); }
.skip:focus { transform: none; z-index: 2; }
.site-header {
  --text: #fff;
  --muted: #edf4ff;
  --line: #ffffff66;
  --raised: #ffffff21;
  --accent: #fff;
  --ink: #0844c8;
  background: #0844c8;
  border-bottom: 1px solid #0737a7;
}
.header-layout { min-height: 76px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(.75rem, 2vw, 2rem); }
.logo { display: block; width: clamp(5.5rem, 10vw, 8rem); }
.logo img { display: block; width: 100%; height: auto; }
.menu, .account, .hero-actions { display: flex; align-items: center; gap: .5rem; }
.menu { justify-content: center; }
.menu a, .account a, .button, .hero-link, .menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: .5rem;
  text-decoration: none;
  font-weight: 650;
}
.menu a { color: var(--muted); padding: .45rem .6rem; font-size: .875rem; white-space: nowrap; }
.menu a:hover, .menu a:focus-visible { color: var(--text); background: var(--raised); }
.menu-toggle { display: none; border: 1px solid var(--line); background: transparent; color: var(--text); font: inherit; padding: .35rem .65rem; cursor: pointer; }
.account a, .button, .hero-link { padding: .6rem 1rem; }
.button, .account a:last-child { color: var(--ink); background: var(--accent); }
.button:hover { background: #0639aa; }
.site-header .account a:last-child:hover, .hero .button:hover { background: #e5efff; }
.site-header a:focus-visible, .site-header button:focus-visible, .hero a:focus-visible { outline-color: white; }
.hero-link, .account a:first-child { color: var(--text); border: 1px solid var(--line); }
.hero-link:hover, .account a:first-child:hover { background: var(--raised); }
.hero {
  --text: #fff;
  --muted: #edf4ff;
  --accent: #fff;
  --ink: #0844c8;
  --line: #ffffff66;
  --raised: #ffffff21;
  color: var(--text);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: stretch;
  overflow: hidden;
  margin-block: clamp(1rem, 3vw, 2.5rem) clamp(2rem, 5vw, 4rem);
  background: linear-gradient(112deg, #082558 12%, #0c3a9b 68%, #125add);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  box-shadow: 0 14px 34px #0a369332;
}
.hero-copy { align-self: center; padding: clamp(1.5rem, 5vw, 4rem); }
.hero h1 { max-width: 17ch; font-size: clamp(2rem, 4.4vw, 4.1rem); font-weight: 750; line-height: 1.06; letter-spacing: -.055em; text-wrap: balance; }
.hero h1 em { color: #b9d9ff; font-style: normal; }
.hero p { margin-block: 1.2rem 1.5rem; max-width: 43ch; color: var(--muted); }
.hero-actions { flex-wrap: wrap; }
.hero-art {
  display: grid;
  place-items: center;
  min-height: 18rem;
  overflow: hidden;
  background:
    repeating-radial-gradient(ellipse at center, transparent 0 30px, #e0eeff33 31px 32px, transparent 33px 53px),
    radial-gradient(ellipse at center, #76b5ff85, transparent 72%);
}
.hero-emblem {
  width: min(72%, 20rem);
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid #b8d9ff;
  border-radius: 1.25rem;
  background: linear-gradient(145deg, #235bbe, #0a2c74);
  box-shadow: 0 18px 48px #061b4f91, inset 0 1px #e5f3ff55;
}
.hero-emblem img { display: block; width: 100%; height: auto; }
.content { display: grid; grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr); align-items: start; gap: 1.5rem; }
.content h2, .registration-section h2, .article-panel h2 { margin-bottom: .8rem; }
.section-intro { max-width: 66ch; color: var(--muted); margin-bottom: 1.2rem; }
.games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.games article, .guide, .registration-section, .article-panel { border: 1px solid var(--line); background: var(--surface); border-radius: 1rem; }
.games article { padding: 1.1rem; border-top: 3px solid var(--category); box-shadow: 0 4px 14px #123c8310; scroll-margin-top: 1rem; }
.games article:last-child:nth-child(odd) { grid-column: 1 / -1; }
#sports { --category: #175ce2; }
#live-casino { --category: #0941ac; }
#e-games { --category: #4169d4; }
#crash-game { --category: #246ebd; }
#fish-hunter { --category: #167da9; }
.game-copy p, details p { margin-top: .5rem; color: var(--muted); }
.guide { padding: 0 1rem; }
details { padding-block: .85rem; }
details + details { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 650; }
summary::marker { color: var(--accent); }
.account-checklist, .registration-section ol, .article-panel ol { padding-inline-start: 1.3rem; color: var(--muted); }
li + li { margin-top: .35rem; }
article:target, details:target { outline: 2px solid var(--accent); outline-offset: -3px; }
.registration-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
  padding: clamp(1.1rem, 4vw, 2rem);
  margin-block: clamp(2rem, 5vw, 4rem);
  background: var(--raised);
}
.registration-section ol { margin-block: 0; }
.registration-section .button, .article-panel > .button { margin-top: 1rem; }
.article-panel { max-width: 78ch; margin-bottom: 1.25rem; padding: clamp(1.1rem, 4vw, 2.5rem); overflow-wrap: anywhere; }
.article-panel p { color: var(--muted); }
.article-panel > h3 { margin-top: 1.5rem; margin-bottom: .45rem; }
.article-panel p + p { margin-top: .75rem; }
.article-panel section { margin-top: 2rem; }
.article-panel [id] { scroll-margin-top: 1rem; }
.article-panel > h2:not(:first-child) { margin-top: 1.5rem; }
.article-panel .guide { background: var(--raised); }
.editorial-panel { margin-inline: auto; }
.guide-page { max-width: 84ch; }
.guide-page h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin-bottom: .9rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; list-style: none; padding: 0; margin-block: 1rem; color: var(--muted); }
.breadcrumb li + li { margin-top: 0; }
.breadcrumb li + li::before { content: "/"; margin-inline-end: .65rem; }
.guide-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.guide-links a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .65rem; background: var(--raised); border-radius: .45rem; }
.format-list dt { font-weight: 700; }
.format-list dd { margin: .2rem 0 1rem; color: var(--muted); }
.offline-status { padding: .7rem .8rem; margin-top: 1rem; border-inline-start: 3px solid var(--accent); background: var(--raised); }
.offline-status[data-state="error"] { border-color: #a42b43; }
.site-footer { background: #eaf2ff; border-top: 1px solid var(--line); margin-top: clamp(2rem, 5vw, 4rem); padding-block: 2rem; }
.footer-columns { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 1.25rem; padding-bottom: 1.5rem; }
.footer-columns .logo { margin-bottom: .65rem; }
.footer-columns h2 { font-size: 1rem; margin-bottom: .5rem; }
.footer-columns nav a { display: block; padding-block: .25rem; }
.footer-columns p, .copyright, .seo-credit { color: var(--muted); }
.copyright, .seo-credit { font-size: .875rem; }
.seo-credit { border-top: 1px solid var(--line); padding-top: .8rem; }
@media (max-width: 920px) {
  .header-layout { padding-block: .55rem; min-height: 64px; }
  .menu { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); padding-top: .35rem; }
  .menu a { white-space: normal; text-align: center; }
  .menu-toggle:not([hidden]) { display: inline-flex; justify-self: end; }
  .menu-toggle:not([hidden])[aria-expanded="false"] + .menu { display: none; }
  .account { grid-column: 3; grid-row: 1; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 2rem); }
  .hero, .content { grid-template-columns: 1fr; }
  .hero { border-radius: 1rem; }
  .hero h1 { max-width: 20ch; }
  .hero-art { min-height: 8rem; }
  .hero-emblem { width: min(48%, 13rem); padding: 1rem; }
  .registration-section { grid-template-columns: 1fr; }
  .footer-columns { grid-template-columns: 1fr 1fr; }
  .footer-columns > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .header-layout { gap: .45rem; }
  .account a, .menu-toggle { padding-inline: .55rem; font-size: .875rem; }
  .hero-copy { padding: 1.25rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .games { grid-template-columns: 1fr; }
  .hero-art { min-height: 7rem; }
}
