@font-face {
    font-family: "Roboto Regular";
    src: url(/assets/Roboto-Regular.woff2) format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto Bold";
    src: url(/assets/Roboto-Bold.woff2) format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body {
    background-color: hsl(172 85% 8% / 1);
    font-family: "Roboto Regular", sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

* {
    box-sizing: border-box;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 10px 0; /* Changed 'auto' to '0' */
}

.header {
    display: grid;
    grid-template-columns: auto 1fr;
    background-color: hsl(172 85% 8% / 1);
    box-shadow: 0 0 .625rem hsl(172deg 85% 8% / 50%);
    grid-template-areas:
        "logo top"
        "bottom bottom";
    padding-bottom: .5rem;
    padding-left: .5rem;
    padding-right: .5rem;
}

.header__logo {
    display: flex;
    grid-area: logo;
}

.header__logo-link {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    min-width: max-content;
    padding: .5rem;
    margin: 0 .5rem;
}

.header__top {
    min-height: 3rem;
    align-items: center;
    display: flex;
    grid-area: top;
}

.header__events {
    display: flex;
    flex-grow: 1;
    max-width: -moz-fit-content;
    max-width: fit-content;
    min-width: 0;
}

.header__event {
    align-items: center;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    margin-right: .5rem;
}

.header__event img {
    object-fit: contain;
    max-height: 2rem;
    width: 2rem;
}

.header__event:first-child img {
    margin-left: .25rem;
}

.header__controls {
    align-items: center;
    display: flex;
    gap: .5rem;
    padding: .25rem;
    margin-left: auto;
    margin-right: -.5rem;
}

.key {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: auto;
    border-radius: 8px;
    position: relative;
    background-color: hsl(172 85% 13% / 1);
    transition: background-color .1s, color .1s;
    max-width: 10rem;
    color: hsl(0 0% 100% / 1);
    text-transform: uppercase;
    gap: .25rem;
    min-height: 2rem;
    min-width: 2rem;
    white-space: nowrap;
    text-decoration: none;
    font-size: .875rem;
    line-height: 1rem;
}

.key:hover {
    background-color: hsl(173, 85%, 18%);
}

.key.key--bonus {
    text-align: center;
    padding: .25rem;
}

.key--bonus span {
    align-items: center;
    display: flex;
    font-weight: 700;
    justify-content: center;
    font-size: .5rem;
    height: .75rem;
    line-height: .5625rem;
    min-width: .75rem;
    border-radius: .5rem;
    background-color: hsl(288 91% 45% / 1);
    padding-left: 3px;
    padding-right: 3px;
    right: 3px;
    position: absolute;
    top: 3px;
    z-index: 50;
    color: hsl(0 0% 100% / 1);
}

.key--bonus svg {
    fill: rgb(255 255 255);
    font-size: 1rem;
    height: 1em;
    max-width: 100%;
    width: auto;
    transform-origin: center center;
    transition: transform .2s ease;
}

.key--bonus:hover svg {
    animation: btn-bonus-svg-tilt .5s ease forwards;
}

@keyframes btn-bonus-svg-tilt {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-12deg);
    }

    50% {
        transform: rotate(12deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.key--accent {
    background-color: hsl(288 91% 45% / 1);
    padding: .25rem 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.key--accent:hover {
    background-color: hsl(288, 80%, 52%);
}

.key--primary {
    padding: .25rem 1rem;
}

.header__bottom {
    color: hsl(0 0% 100% / 1);
    -moz-column-gap: 1rem;
    column-gap: 1rem;
    display: flex;
    grid-area: bottom;
    padding: .25rem;
    background-color: hsl(172 85% 10% / 1);
    border-radius: 8px;
}

.header__menu {
    align-items: center;
    display: flex;
    min-width: 0;
    -moz-column-gap: .75rem;
    column-gap: .75rem;
}

.header__menu-item {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    height: 2rem;
    border-radius: 8px;
    padding: .25rem .5rem;
    transition: opacity .2s;
    color: hsl(0 0% 100% / 1);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
    font-weight: 700;
    font-size: .875rem;
    letter-spacing: .1px;
    transition: color .2s;
}

.header__menu-item:hover {
    background-color: hsl(172 85% 13% / 1);
}

/* Mobile menu toggle (hamburger) — visible only on desktop in layout, styled on mobile */
.header__menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 0;
    background: hsl(172 85% 13% / 1);
    border-radius: 8px;
    color: hsl(0 0% 100% / 1);
    cursor: pointer;
}

.header__menu-toggle-bar {
    display: block;
    width: 1.25rem;
    height: 2px;
    margin: 0 auto;
    background: currentColor;
    border-radius: 1px;
    transition: transform .2s, opacity .2s;
}

.header--menu-open .header__menu-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header--menu-open .header__menu-toggle-bar:nth-child(2) {
    opacity: 0;
}

.header--menu-open .header__menu-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Нижняя мобильная плашка (скрыта на десктопе) */
.mobdock {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    background: hsl(0 0% 100% / 1);
    box-shadow: 0 -2px 12px hsl(0 0% 0% / 0.08);
    padding: 0.35rem 0.25rem calc(0.35rem + env(safe-area-inset-bottom, 0));
    justify-content: space-around;
    align-items: stretch;
    gap: 0.125rem;
}

.mobdock__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    min-width: 0;
    padding: 0.25rem 0.125rem;
    text-decoration: none;
    color: hsl(0 0% 35% / 1);
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    -webkit-tap-highlight-color: transparent;
}

.mobdock__item:active {
    opacity: 0.85;
}

.mobdock__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mobdock__label {
    font-size: 0.6rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* Mobile menu overlay */
.header__mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    top: 105px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: hsl(172 85% 6% / 0.97);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, visibility .25s;
}

.header__mobile-menu-inner {
    padding: 1rem;
    padding-top: 4rem;
}

.header__mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.header__mobile-nav-item {
    padding: 0.75rem 1rem;
    color: hsl(0 0% 100% / 1);
    text-decoration: none;
    text-transform: uppercase;
    font-size: .875rem;
    font-weight: 700;
    border-radius: 8px;
}

.header__mobile-nav-item:hover {
    background: hsl(172 85% 13% / 1);
}

.main {
    padding: 1.5rem .75rem 0;
}

/* Banner carousel */
.topslider {
    position: relative;
    overflow: hidden;
    min-height: 12rem;
    background: linear-gradient(135deg, hsl(172 85% 10% / 1) 0%, hsl(260 50% 12% / 1) 100%);
    border-radius: 8px;
    margin: 0 .5rem .5rem;
    height: 248px;
    --banner-current: 0;
    z-index: 0;
}


.topslider__track {
    display: flex;
    width: 400%;
    min-height: 12rem;
    height: 100%;
    transition: transform .4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(calc(-25% * var(--banner-current)));
}

.topslider__slide {
    flex: 0 0 25%;
    width: 25%;
    min-height: 12rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 3rem 2.5rem 1.5rem;
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    position: relative;
    z-index: 0;
}

.topslider__slide::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    max-width: 600px;
    width: 100%;
    background: linear-gradient(to right, hsl(0 0% 0% / 1) 0%, hsl(0 0% 0% / 1) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.topslider__content {
    flex: auto;
    max-width: 37.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: .5rem 2rem .5rem 3.5rem;
    border-radius: 8px;
    position: relative;
    z-index: 2;
}

.topslider__title {
    margin: 0 0 .5rem;
    font-family: "Roboto Bold", sans-serif;
    font-size: 1.5rem;
    line-height: 1.25;
    color: hsl(0 0% 100% / 1);
    text-transform: uppercase;
    letter-spacing: .02em;
}

.topslider__text {
    margin: 0 0 1rem;
    font-size: .9375rem;
    line-height: 1.4;
    color: hsl(0 0% 100% / 0.9);
}

.topslider__btn:hover {
    background: hsl(288 80% 52% / 1);
}

.topslider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 4.5rem;
    padding: 0;
    border: 0;
    background-color: rgba(0, 0, 0, .2);
    color: hsl(0 0% 100% / 0.9);
    cursor: pointer;
    transition: background .2s, color .2s;
    z-index: 2;
}

.topslider__arrow:hover {
    background: hsl(0 0% 100% / 0.25);
    color: hsl(0 0% 100% / 1);
}

.topslider__arrow--prev {
    left: 0;
    border-radius: 0 8px 8px 0;
}

.topslider__arrow--next {
    right: 0;
    border-radius: 8px 0 0 8px;
}

.topslider__arrow svg {
    display: block;
    margin: 0 auto;
}

.topslider__dots {
    position: absolute;
    bottom: .75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: .5rem;
    z-index: 2;
}

.topslider__dot {
    width: .5rem;
    height: .5rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: hsl(0 0% 100% / 0.35);
    cursor: pointer;
    transition: background .2s;
}

.topslider__dot:hover {
    background: hsl(0 0% 100% / 0.5);
}

.topslider__dot--active {
    background: hsl(0 0% 100% / 1);
}

.navpanel {
    display: flex;
    gap: .5rem;
    padding: 2rem .5rem .5rem;
    margin-top: 3rem;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    scrollbar-color: hsl(172 85% 10% / 1) hsl(172 85% 13% / 1);
    /* horizontal scroller: JS eases the wheel and adds drag momentum */
    cursor: grab;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

.navpanel::-webkit-scrollbar {
    display: none;
}

.navpanel.is-dragging {
    cursor: grabbing;
    user-select: none;
    -webkit-user-select: none;
}

.navpanel .navpanel__item {
    -webkit-user-drag: none;
}


.navpanel__item {
    align-items: flex-end;
    display: flex;
    min-width: 18.75rem;
    height: 6.25rem;
    width: calc(-0.8rem + 20vw);
    padding: 1rem;
    margin-right: 0.5rem;
    background-image: linear-gradient(90deg, hsl(171 63% 20% / 1) 50%, hsl(170 70% 12% / 1));
    border-radius: 8px;
    color: hsl(0 0% 100% / 1);
    text-decoration: none;
    transition: background .2s, transform .15s;
    position: relative;
}

.navpanel__item:hover {
    background: hsl(172 45% 28%);
}

.navpanel__item img {
    order: 0;
    align-self: flex-end;
    width: 7.5rem;
    height: 7.5rem;
    object-fit: contain;
    position: absolute;
    bottom: 0;
    right: 0;
    object-fit: scale-down;
}

.navpanel__item h3 {
    order: 1;
    margin: 0;
    font-size: .9375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.section-title {
    margin-bottom: 0;
    color: hsl(0 0% 100% / 1);
}

/* Content section: TOC, paragraphs, table, lists */
.editorial {
    max-width: 72rem;           /* wide editorial column, small page edges */
    margin: 0 auto;
    padding: 1.5rem .5rem 2rem;
    color: hsl(0 0% 95% / 1);
}

/* Editorial images. Sources are mostly PORTRAIT phone screenshots (576x1072):
   max-height keeps them inside the fold and centred instead of running the full
   column height. Landscape images are unaffected - they hit max-width first. */
.editorial img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 70vh;
    margin: 1.25rem auto;
    border-radius: 10px;
    border: 1px solid hsl(172 85% 20% / 1);
}

/* ...but the TOC bullet is chrome, not an editorial image */
.editorial .chapters img {
    display: inline-block;
    width: 20px;
    height: 20px;
    max-height: none;
    margin: 0;
    border: 0;
    border-radius: 0;
}

/* Breadcrumb bar (every non-home page) */
.pathnav {
    max-width: 72rem;
    margin: 0 auto;
    padding: .75rem .5rem 0;
    font-size: .8125rem;
    color: hsl(0 0% 70% / 1);
}

.pathnav a {
    color: hsl(172 70% 65% / 1);
    text-decoration: none;
}

.pathnav a:hover {
    text-decoration: underline;
}

.pathnav__sep {
    margin: 0 .4rem;
    color: hsl(0 0% 45% / 1);
}

.pathnav__current {
    color: hsl(0 0% 85% / 1);
}

/* Wide tables scroll inside their own box, never the page */
.wide-table {
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

.editorial h1 {
    margin: 0 0 1rem;
    font-family: "Roboto Bold", sans-serif;
    font-size: 1.75rem;
    color: hsl(0 0% 100% / 1);
}

.editorial h2 {
    margin: 1.5rem 0 .75rem;
    font-family: "Roboto Bold", sans-serif;
    font-size: 1.25rem;
    color: hsl(172 60% 75% / 1);
    scroll-margin-top: 1rem;
}

.editorial p {
    margin: 0 0 1rem;
    line-height: 1.6;
    font-size: .9375rem;
}

.editorial code {
    padding: .15rem .4rem;
    background: hsl(172 85% 12% / 1);
    border-radius: 4px;
    font-size: .875em;
}

.editorial a {
    color: hsl(172 70% 65% / 1);
    text-decoration: none;
}

.editorial a:hover {
    color: hsl(172 75% 80% / 1);
    text-decoration: underline;
}

.editorial a:focus-visible {
    outline: 2px solid hsl(172 75% 55% / 1);
    outline-offset: 2px;
}

.editorial li {
  line-height: 1.3;
  margin-bottom: 5px;
}

.chapters {
    margin-bottom: 1.5rem;
    padding: 0;
    background: hsl(172 85% 12% / 1);
    border-radius: 8px;
    border: 1px solid hsl(172 85% 18% / 1);
}

.chapters__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    font-weight: 400;
}

.chapters__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 1rem 1.25rem;
    border: 0;
    background: transparent;
    color: hsl(0 0% 100% / 1);
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
}

.chapters__toggle:hover {
    color: hsl(172 75% 85% / 1);
}

.chapters__icon {
    flex-shrink: 0;
    transition: transform .2s ease;
}

.chapters.chapters--collapsed .chapters__icon {
    transform: rotate(-90deg);
}

.chapters__body {
    overflow: hidden;
    transition: max-height .25s ease;
}

.chapters.chapters--collapsed .chapters__body {
    max-height: 0 !important;
}

.chapters__list {
    margin: 0;
    padding: 0 1.25rem 1rem 1.5rem;
    list-style: none;
    counter-reset: none;
}

.chapters__list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: .5rem;
}

.chapters__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: hsl(192 85% 55%);
    font-weight: 700;
    font-size: 1rem;
}

.chapters__list a {
    color: hsl(172 70% 75% / 1);
    text-decoration: none;
}

.chapters__list a:hover {
    text-decoration: underline;
    color: hsl(172 75% 85% / 1);
}

.editorial__table-wrap {
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border: 1px solid hsl(172 85% 18% / 1);
}

.content-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9375rem;
}

.content-table th,
.content-table td {
    padding: .6rem .75rem;
    text-align: left;
    border-bottom: 1px solid hsl(172 85% 18% / 1);
}

.content-table thead th {
    background: hsl(172 85% 14% / 1);
    color: hsl(0 0% 100% / 1);
    font-weight: 700;
}

.content-table tbody tr:hover {
    background: hsl(172 85% 14% / 0.5);
}

.content-table tbody td {
    color: hsl(0 0% 90% / 1);
}

.navpanel.top-sports {
    margin-top: 1rem;
    padding-top: 0;
}

.top-sports .navpanel__item {
    min-width: 179px;
    width: 179px;
    background: linear-gradient(180deg, hsl(172 85% 10% / 1) 0, hsl(172 85% 13% / 1)) padding-box, linear-gradient(to right, hsl(173deg 22% 66% / 20%) 0, hsl(172deg 85% 13% / 20%)) border-box;
    padding: .5rem 1rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background .2s, box-shadow .2s, transform .15s;
}

.top-sports .navpanel__item:hover {
    background: linear-gradient(180deg, hsl(172 45% 24% / 1) 0, hsl(172 50% 20% / 1)) padding-box, linear-gradient(to right, hsl(173deg 22% 66% / 25%) 0, hsl(172deg 85% 13% / 25%)) border-box;
    box-shadow: 0 4px 12px hsl(0 0% 0% / 0.2), 0 2px 0 0 hsl(172 60% 45% / 0.2), inset 0 -10px 20px hsl(172 55% 50% / 0.25), inset 0 -2px 0 0 hsl(172 70% 58% / 0.5);
}

.top-sports .navpanel__item:hover svg {
    fill: rgb(204 212 211);
}

.top-sports .navpanel__item:hover h3 {
    color: rgb(204 212 211);
}

.top-sports .navpanel__item svg {
    fill: rgb(181 197 195);
    flex-shrink: 0;
    height: 32px;
    width: 32px;
    margin-bottom: .5rem;
}

.top-sports .navpanel__item h3 {
    font-size: .75rem;
}

.endbar {
    margin-top: 2rem;
    padding: 1rem .5rem 1.5rem;
    background: hsl(172 85% 8% / 1);
    color: hsl(172 12% 74% / 1);
}

.regbadges {
    --columns: 12;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: .5rem;
    margin: 0 auto;
}

.foot-certs__container {
    grid-column: span 2;
    align-items: center;
    display: flex;
    gap: .5rem;
    border-radius: 8px;
    justify-content: center;
    background-color: hsl(172 85% 10% / 1);
    padding: .75rem;
}

.foot-certs__container--full-width {
    grid-column: span 8;
    flex-basis: auto;
    flex-grow: 0;
}

.cert-copy {
    padding: .25rem 0;
}

.cert-copy p {
    margin: 0;
}

.endbar__tile {
    padding: .75rem;
}

.endbar__legal {
    gap: .5rem;
}

.footer-copyright,
.endbar__copyright {
    margin: 0;
}

.footer-cookie {
    margin: 0;
}

.footer-cookie__text {
    display: block;
    margin: 0;
}

.footer-cookie__link {
    color: hsl(0 0% 100% / 1);
    text-decoration: none;
}

.footer-cookie__link:hover {
    text-decoration: underline;
}

.social-set li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.social-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.social-item__icon .sign__svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

.social-item:hover {
    background-color: hsl(172 60% 45% / 1);
    color: hsl(0 0% 100% / 1);
}

.foot-certs__img {
    height: 3.75rem;
    -o-object-fit: contain;
    object-fit: contain;
}

.foot-certs__container--full-width p {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    color: hsl(172 12% 74% / 1);
    font-size: .75rem;
    line-height: .875rem;
    word-break: break-word;
}

.foot-matrix__element {
    display: flex;
    flex-direction: column;
    justify-content: center;
    --columns: 10;
    border-radius: 8px;
    grid-column: auto / span var(--columns);
    min-height: 0;
    color: hsl(172 12% 74% / 1);
    font-size: .75rem;
    line-height: .875rem;
}

.endbar__actions {
    --columns: 2;
    display: flex;
    flex-direction: column;
    row-gap: .5rem;
    grid-column: auto / span var(--columns);
    min-height: 0;
}

.endbar__additional {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: .5rem;
}

.social-set {
    flex-grow: 5;
    align-items: center;
    -moz-column-gap: .5rem;
    column-gap: .5rem;
    display: flex;
    justify-content: center;
    border-radius: 8px;
    background-color: hsl(172 85% 10% / 1);
    list-style: none;
    padding: .75rem;
    margin: 0;
}

.social-item {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
    background-color: hsl(208 32% 92% / 1);
    transition: background-color .1s, color .1s;
    min-height: 2rem;
    min-width: 2rem;
    color: hsl(0 0% 0% / 1);
}

.sign__svg {
    fill: rgb(0, 0, 0);
    height: 1em;
    max-width: 100%;
    width: auto;
}
.endbar__min-ages {
    display: flex;
    flex-grow: 1;
    flex-wrap: wrap;
    gap: .5rem;
}

.endbar__tile {
    display: flex;
    justify-content: center;
    background-color: hsl(172 85% 10% / 1);
    color: hsl(0 0% 100% / 1);
    padding: .5rem;
    border-radius: 8px;
    flex-grow: 1;
}
.endbar__min-age {
    padding: .75rem;
}
.age-note__text {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.25rem;
    line-height: 1.5rem;
}
.endbar__action {
    background-color: hsl(172 85% 13% / 1);
    border-radius: 8px;
    transition: background-color .1s, color .1s;
    color: hsl(0 0% 100% / 1);
    width: 100%;
    text-transform: uppercase;
    text-decoration: none;
}

.button__container {
    align-items: center;
    align-self: stretch;
    display: flex;
    flex: auto;
    justify-content: center;
    min-width: 0;
    white-space: nowrap;
    gap: .25rem;
    min-height: 2rem;
    min-width: 2rem;
    text-align: center;
    padding: .25rem 1rem;
}
.caption {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: .875rem;
    line-height: 1rem;
}
.foot-wallets {
    background-color: hsl(172 85% 10% / 1);
    color: hsl(0 0% 100% / 1);
    border-radius: 8px;
    padding: .75rem;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    scrollbar-color: hsl(172 85% 10% / 1) hsl(172 85% 13% / 1);
    margin-top: 0.75em;
}
.foot-wallets__container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}
.foot-wallets__container.navpanel {
    margin: 0;
}
.foot-wallets__img {
    flex: 0 0 auto;
    width: 3.5rem;
    height: 1.875rem;
    -o-object-fit: contain;
    object-fit: contain;
}
/* Mobile breakpoint */
@media (max-width: 920px) {
    body {
        --mobile-bar-height: 56px;
    }

    .foot-wallets__container {
        gap: .5rem;
    }

    .foot-wallets__img {
        width: 2.75rem;
        height: 1.5rem;
    }

    .header {
        grid-template-areas:
            "logo top";
        grid-template-rows: auto;
        padding-bottom: 0;
    }

    .header__top {
        justify-content: flex-end;
    }

    .header__events {
        display: none;
    }

    .header__controls .key--bonus {
        display: none;
    }

    .header__controls {
        margin-left: 0;
    }

    /* Плашка замість смуги з бургером */
    .header__bottom {
        display: none;
    }

    .header__menu {
        display: none;
    }

    .header__menu-toggle {
        display: none;
    }

    /* Оверлей над контентом, над плашкою знизу */
    .header__mobile-menu {
        display: block;
        top: 0;
        bottom: var(--mobile-bar-height, 56px);
        z-index: 95;
    }

    .mobdock {
        display: flex;
        min-height: var(--mobile-bar-height);
    }

    .main {
        padding-bottom: calc(var(--mobile-bar-height, 56px) + 1rem);
    }

    .header--menu-open .header__mobile-menu {
        opacity: 1;
        visibility: visible;
    }

    body.header--menu-open {
        overflow: hidden;
    }
    .section-title {
        display: none;
    }
    .navpanel.top-sports {
        display: none;
    }
  .regbadges {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .topslider {
        min-height: 10rem;
        margin-left: .5rem;
        margin-right: .5rem;
    }

    .topslider__track {
        min-height: 10rem;
    }

    .topslider__slide {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 1.25rem 2.5rem 2.25rem 1rem;
    }

    .topslider__content {
        max-width: none;
    }

    .topslider__title {
        font-size: 1.2rem;
    }

    .topslider__media {
        display: none;
    }

    .topslider__arrow {
        width: 2rem;
        height: 2rem;
    }

    .topslider__arrow--prev {
        display: none;
    }

    .topslider__arrow--next {
        display: none;
    }

    .navpanel__item {
        width: calc(50% - .25rem);
    }

    .topslider__content {
        flex: none;
        padding: 0;
        margin: 0;
    }

    .foot-certs__container,
    .foot-certs__container--full-width {
        grid-column: span 1;
    }

    .foot-matrix__element {
        grid-column: span 1 !important;
    }
}

@media (max-width: 414px) {
    .header__logo-link {
        padding: 0;
        margin: 0;
    }

    .header__logo-img {
        width: 120px;
        height: 24px;
    }

    .key {
        max-width: 7rem;
        font-size: .74rem;
    }

    .navpanel__item {
        width: 100%;
    }

    .main {
        padding: 0.5rem 0.5rem calc(var(--mobile-bar-height, 56px) + 1rem);
    }

    /* .main 8px + .editorial 14px = 22px side gutter, so prose never hugs the edge */
    .editorial,
    .pathnav {
        padding-left: 0.875rem;
        padding-right: 0.875rem;
    }
}

.askset {
    margin: 20px auto;
    border-radius: 16px;
    color: #f5f5f5;
}
.askset h2 {
    margin-bottom: 10px;
}
.qa-item {
    margin-bottom: 15px;
}
.qa-question {
    position: relative;
    font-weight: 400;
    font-size: 18px;
    color: #f5f5f5;
    padding: 20px 60px 20px 10px;
    border: 1px solid #af00d8;
    border-radius: 16px;
    background: radial-gradient(500px at left, #292B27, #9747ff);
    overflow: hidden;
    cursor: pointer;
    font-size: 20px;
    padding: 30px 100px 30px 15px;
    position: relative;
    width: 100%;
    text-align: left;
}

.ask-text {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    border-radius: 0 0 8px 8px;
    padding: 0 10px;
    color: #f5f5f5;
}
.qa-item.active .ask-text {
    max-height: 1000px;
    padding: 10px 20px;
    margin-bottom: 5px;
}

table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-container {
    width: 100%;
    overflow-x: auto; /* Adds the horizontal scrollbar */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    margin-bottom: 20px;
}

td, th {
    border: 1px solid;
    padding: .5em;
    white-space: nowrap; /* Prevents text from stacking vertically in tiny columns */
}

.mid-cta {
  margin: 30px 0 40px;
  text-align: left;
}

.start-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1;
  transition: all .3s ease;
}

.start-btn.keyrole {
  background: #d3e512;
  color: #292b27;
}

.start-btn.keyrole:hover {
  /* Moves the shadow down and makes it dark/transparent */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px); /* Optional: lifts the button slightly */
}

.mid-cta.center {
  text-align: center;
}

.content-list {
    margin: 1.5rem 0;
    padding-left: 0; /* Remove default padding to use custom alignment */
    list-style: none; /* Hide default bullets/numbers */
}

.content-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: hsl(0 0% 90% / 1);
}

/* Custom Bulleted List */
.content-list--bulleted li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em; /* Aligns with the first line of text */
    width: 6px;
    height: 6px;
    background-color: hsl(172 70% 65% / 1);
    border-radius: 50%;
    box-shadow: 0 0 8px hsl(172 70% 65% / 0.4);
}

/* Custom Numbered List */
.content-list--numbered {
    counter-reset: custom-counter;
}

.content-list--numbered li {
    counter-increment: custom-counter;
}

.content-list li:last-child {
    margin-bottom: 0;
}

.content-list--numbered li::before {
    content: counter(custom-counter) ".";
    position: absolute;
    left: 0;
    color: hsl(172 70% 65% / 1);
    font-weight: 700;
    font-family: "Roboto Bold", sans-serif;
    font-size: 0.9em;
}

/* Desktop specific adjustments for tables */
@media (min-width: 921px) {
    .editorial__table-wrap, 
    .table-container {
        overflow-x: visible; /* No scroll needed on desktop */
    }

    table, 
    .content-table {
        display: table; /* Reset from 'block' to default table behavior */
        width: 100%;    /* Force it to stretch the full width of the container */
        table-layout: auto; /* Allows columns to adjust to content size */
    }

    td, th {
        white-space: normal; /* Allows text to wrap on desktop so columns don't get too wide */
    }
}

.nav_group {
    order: 1;
    margin: 0;
    font-size: .9375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0;
    color: #ffffff;
}
/* ---- leaf overrides ---- */
@media (min-width: 921px){
  .header__menu{ overflow-x:auto; scrollbar-width:none; }
  .header__menu::-webkit-scrollbar{ display:none; }
}
.hero-figure{ margin:0 0 1.25rem; }
.hero-figure img{ margin:0 auto; max-width:100%; height:auto; display:block; border-radius:10px; }
@media (min-width: 921px){
  .navpanel:not(.top-sports){ overflow-x:visible; cursor:default; gap:.625rem; padding-top:1.5rem; margin-top:2rem; }
  .navpanel:not(.top-sports) .navpanel__item{ flex:1 1 0; min-width:0; width:auto; height:4.75rem; margin-right:0; padding:.75rem .875rem; }
  .navpanel:not(.top-sports) .navpanel__item img{ width:5.25rem; height:5.25rem; }
  .navpanel:not(.top-sports) .nav_group{ font-size:.8125rem; max-width:55%; line-height:1.15; }
}
.cert-copy{ text-align:center; }
.foot-menu{
  display:flex; flex-wrap:wrap; justify-content:center; gap:.25rem 1.25rem;
  margin-bottom:.625rem; padding-bottom:.625rem; border-bottom:1px solid hsl(172 60% 18% / 1);
}
.foot-menu a{ color:hsl(0 0% 100% / .82); text-decoration:none; font-size:.8125rem; font-weight:700; }
.foot-menu a:hover{ color:hsl(288 80% 75% / 1); }
.endnote{ margin:0 0 .25rem; font-size:.8125rem; font-weight:700; color:hsl(0 0% 100% / .9); }
.foot-terms{ margin:0 auto; max-width:46rem; font-size:.75rem; line-height:1.45; color:hsl(172 14% 66% / 1); }
/* ---- interactive widgets (leaf-specific set) ----------------------------- */
.widget{ background:hsl(172 85% 11% / 1); border:1px solid hsl(172 85% 19% / 1);
  border-radius:12px; padding:1.05rem 1.2rem; margin:1.6rem 0; }
.widget p{ margin:0; }
.chipbar{ display:flex; flex-wrap:wrap; gap:.4rem; }
.chipbar button{ font:inherit; cursor:pointer; border-radius:999px;
  border:1px solid hsl(172 85% 26% / 1); background:hsl(172 85% 8% / 1);
  color:hsl(0 0% 100% / .86); padding:.42rem .95rem; line-height:1.2; }
.chipbar button:hover{ border-color:hsl(288 80% 60% / 1); }
.chipbar button:focus-visible{ outline:2px solid hsl(288 91% 75% / 1); outline-offset:2px; }
.chipbar button.is-active{ background:hsl(288 91% 45% / 1); border-color:hsl(288 91% 45% / 1); color:#fff; font-weight:700; }
.meter{ height:8px; border-radius:999px; background:hsl(172 85% 7% / 1);
  border:1px solid hsl(172 85% 20% / 1); overflow:hidden; margin:.85rem 0 .6rem; }
.meter i{ display:block; height:100%; border-radius:999px;
  background:linear-gradient(90deg,hsl(172 70% 45%),hsl(288 80% 60%)); transition:width .28s ease; }
.widget__out{ font-size:.95rem; color:hsl(172 14% 82% / 1); }
.widget__out b{ color:hsl(172 70% 72% / 1); }

/* code card — promo code, copy to clipboard */
.code-card{ max-width:36rem; border-style:dashed; border-color:hsl(288 91% 50% / 1); }
.code-card__main{ display:flex; align-items:center; gap:.65rem; flex-wrap:wrap; }
.code-card__label{ font-size:.74rem; text-transform:uppercase; letter-spacing:.1em;
  color:hsl(288 60% 82% / 1); flex:1 1 100%; }
.code-card__value{ font-family:"Roboto Bold",monospace; font-size:1.05rem; letter-spacing:.16em;
  color:#fff; background:hsl(172 85% 7% / 1); border:1px solid hsl(172 85% 26% / 1);
  border-radius:8px; padding:.5rem .9rem; user-select:all; }
.code-card__copy{ background:hsl(288 91% 45% / 1); color:#fff; border:0; border-radius:8px;
  padding:.5rem 1.05rem; cursor:pointer; font:inherit; font-weight:700; white-space:nowrap; }
.code-card__copy:hover{ background:hsl(288 80% 52% / 1); }
.code-card__copy:focus-visible{ outline:2px solid hsl(288 91% 75% / 1); outline-offset:2px; }
.code-card__copy.is-copied{ background:hsl(150 60% 35% / 1); }
.code-card__facts{ list-style:none; margin:.9rem 0 .6rem; padding:0; display:grid; gap:.3rem;
  font-size:.92rem; color:hsl(172 14% 84% / 1); }
.code-card__facts b{ color:hsl(172 70% 72% / 1); }
.code-card__hint{ font-size:.85rem; color:hsl(172 20% 72% / 1); }
@media (max-width:420px){ .code-card__value, .code-card__copy{ width:100%; text-align:center; } }

/* tier picker — bonus ladder */
.tier-picker__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:.55rem; margin:.9rem 0 .7rem; }
.tier-picker__cell{ background:hsl(172 85% 8% / 1); border:1px solid hsl(172 85% 20% / 1);
  border-radius:9px; padding:.55rem .6rem; }
.tier-picker__k{ display:block; font-size:.72rem; text-transform:uppercase; letter-spacing:.06em;
  color:hsl(172 18% 66% / 1); margin-bottom:.15rem; }
.tier-picker__cell b{ font-size:1rem; color:#fff; }
@media (max-width:560px){ .tier-picker__grid{ grid-template-columns:repeat(2,1fr); } }

/* spin split — cumulative free spins */
.spin-split__marks{ display:flex; justify-content:space-between; font-size:.75rem;
  color:hsl(172 18% 66% / 1); margin-top:-.25rem; }

/* payout clock */
.payout-clock__legend{ display:flex; justify-content:space-between; font-size:.75rem;
  color:hsl(172 18% 66% / 1); }

/* verdict flip — strengths vs weak points */
.verdict-flip__list{ margin:.9rem 0 0; padding-left:1.15rem; display:none; }
.verdict-flip__list.is-active{ display:block; }
.verdict-flip__list li{ margin:.3rem 0; }

/* fixit — login troubleshooter */
.fixit__q{ font-weight:700; margin-bottom:.6rem; }
.fixit__a{ margin-top:.85rem !important; font-size:.95rem; color:hsl(172 14% 84% / 1); }

/* stepper — walk-through instructions.
   Only the active step is rendered, so the <ol> marker would restart at 1 on every
   step; each <li> therefore carries an explicit value="N" ordinal. */
.stepper__list{ margin:0 0 .9rem; padding-left:1.6rem; }
.stepper__list li{ display:none; margin:0; }
.stepper__list li.is-active{ display:list-item; }
.stepper__list li::marker{ color:hsl(288 80% 68% / 1); font-weight:700; }
.stepper__nav{ display:flex; align-items:center; gap:.6rem; }
.stepper__nav button{ font:inherit; cursor:pointer; border-radius:8px; border:0;
  background:hsl(172 60% 30% / 1); color:#fff; padding:.42rem 1rem; font-weight:700; }
.stepper__nav button:disabled{ opacity:.4; cursor:default; }
.stepper__nav button:focus-visible{ outline:2px solid hsl(288 91% 75% / 1); outline-offset:2px; }
.stepper__count{ margin-left:auto; font-size:.85rem; color:hsl(172 18% 70% / 1); }

/* checklist */
.checklist__list{ list-style:none; margin:.8rem 0 .7rem; padding:0; display:grid; gap:.4rem; }
.checklist__list button{ width:100%; text-align:left; font:inherit; cursor:pointer;
  background:hsl(172 85% 8% / 1); border:1px solid hsl(172 85% 20% / 1); border-radius:9px;
  color:hsl(0 0% 100% / .88); padding:.5rem .8rem .5rem 2.2rem; position:relative; }
.checklist__list button::before{ content:"○"; position:absolute; left:.8rem; color:hsl(172 30% 55% / 1); }
.checklist__list button.is-done{ border-color:hsl(150 55% 35% / 1); color:hsl(150 40% 78% / 1); }
.checklist__list button.is-done::before{ content:"●"; color:hsl(150 60% 50% / 1); }
.checklist__list button:focus-visible{ outline:2px solid hsl(288 91% 75% / 1); outline-offset:2px; }
.gotop{ position:fixed; right:16px; bottom:72px; z-index:80; display:none;
  width:44px; height:44px; border-radius:50%; border:0; cursor:pointer;
  background:hsl(288 91% 45% / 1); color:#fff; font-size:1.2rem; }
.gotop.show{ display:block; }
@media (min-width:921px){ .gotop{ bottom:24px; } }

/* in-page table of contents */
.chapters{ margin:.35rem 0 1.5rem; padding:1rem 1.25rem; border:1px solid hsl(172 85% 20% / 1);
  border-left:3px solid hsl(288 91% 55% / 1); border-radius:10px;
  background:hsl(172 85% 11% / 1); }
.chapters .chapters__title{ margin:0 0 .6rem; font-size:.95rem; text-transform:uppercase;
  letter-spacing:.07em; color:hsl(288 60% 82% / 1); }
/* Single column at every width (user directive) — a wrapped entry then simply
   takes two lines instead of leaving a blank slot beside it. */
.chapters__list{ margin:0; padding:0; list-style:none; }
.chapters__list li{ margin:0 0 .45rem; padding-left:1.5rem; position:relative; }
.chapters__list li:last-child{ margin-bottom:0; }
.chapters__list a{ color:hsl(0 0% 100% / .88); text-decoration:none;
  border-bottom:1px solid transparent; }
.chapters__list a:hover, .chapters__list a:focus-visible{ color:hsl(288 80% 80% / 1);
  border-bottom-color:currentColor; }
html{ scroll-behavior:smooth; }
main.editorial h2{ scroll-margin-top:1rem; }
