:root {
  --top: #05414a;
  --sub: #0a626a;
  --page: #0c6b74;
  --hero: #132f31;
  --pill: #12505a;
  --pill-2: #1b5f69;
  --red: #ff4b4b;
  --red-2: #e93a3a;
  --green: #2e9344;
  --green-2: #37a84f;
  --ink: #0d4a52;
  --ink-2: #1f4f55;
  --muted: #5d7f84;
  --line: #d9e6e8;
  --white: #ffffff;
  --radius: 14px;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0; min-height: 100vh;
  display: flex; flex-direction: column;
  font-family: var(--font); font-size: 17px; line-height: 1.75;
  color: var(--ink-2); background: var(--page);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.wrap { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 24px; }
.flag { display: inline-block; flex: none; width: 24px; height: 16px; border-radius: 3px; object-fit: cover; }
.chev { display: inline-block; width: 8px; height: 8px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
[aria-expanded="true"] > .chev { margin-top: 4px; transform: rotate(-135deg); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 34px; border-radius: 999px;
  font-size: 17px; font-weight: 700; text-transform: uppercase; white-space: nowrap; color: #fff;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--red { background: var(--red); box-shadow: 0 10px 26px rgba(255, 75, 75, .35); }
.btn--red:hover { background: var(--red-2); }
.btn--green { background: var(--green); }
.btn--green:hover { background: var(--green-2); }
.btn--dark { background: var(--pill-2); }
.btn--dark:hover { background: #24707b; }

.header { position: sticky; top: 0; z-index: 60; background: var(--top); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 100px; }
.logo { display: inline-flex; flex: none; }
.logo img { width: 164px; height: auto; }
.nav { display: flex; align-items: center; gap: 2px; padding: 4px 10px; margin: 0 auto; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.nav > a, .dd__btn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; font-size: 18px; text-transform: uppercase; color: #fff; white-space: nowrap; transition: color .2s, background .2s; }
.nav > a:hover, .dd__btn:hover { background: rgba(255, 255, 255, .07); }
.nav > a.is-active { color: #7fe3a0; }
.dd { position: relative; }
.dd__menu {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 70; min-width: 240px; margin: 0; padding: 8px; list-style: none;
  border-radius: 16px; background: #0b4f58; box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
}
.dd__menu[hidden] { display: none; }
.dd__menu a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; font-size: 15px; color: #fff; }
.dd__menu a:hover, .dd__menu a.is-active { background: rgba(255, 255, 255, .1); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.header__actions .btn { min-height: 62px; padding: 0 40px; font-size: 18px; }
.lang .dd__btn { height: 62px; padding: 0 22px; background: var(--pill-2); font-weight: 700; }
.lang .dd__menu { left: auto; right: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; min-width: 420px; max-height: 70vh; overflow-y: auto; }
.lang .dd__menu[hidden] { display: none; }
.burger { display: none; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--pill-2); color: #fff; }
.burger svg { width: 24px; height: 24px; }

.subbar { background: var(--sub); }
.subbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 100px; }
.subnav { display: flex; flex-wrap: wrap; gap: 6px 64px; padding-left: 30px; }
.subnav a { font-size: 18px; text-transform: uppercase; color: #fff; transition: color .2s; }
.subnav a:hover { color: #9be7b6; }
.app-pill { display: inline-flex; align-items: center; gap: 22px; height: 60px; padding: 0 26px; border-radius: 999px; background: var(--top); color: #fff; font-size: 20px; }
.app-pill__icons { display: inline-flex; align-items: center; gap: 14px; }
.app-pill svg { width: 24px; height: 24px; }
.app-pill:hover { background: #063840; }

.hero { position: relative; overflow: hidden; background: var(--hero); }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; min-height: 550px; }
.hero__text { position: relative; z-index: 2; padding: 60px 0 64px; }
.rating { display: flex; align-items: center; gap: 14px; }
.rating b { font-size: 34px; font-weight: 600; color: #fff; }
.rating__icons { display: inline-flex; gap: 8px; }
.rating__icons svg { width: 30px; height: 36px; }
.rating__label { margin: 4px 0 0; font-size: 16px; text-transform: uppercase; color: #fff; }
.hero__title { margin: 30px 0 34px; font-size: 62px; font-weight: 800; line-height: 1.15; text-transform: uppercase; color: #fff; }
.hero .btn { min-width: 340px; min-height: 60px; font-size: 19px; }
.hero__terms { margin: 16px 0 0; font-size: 13px; color: #fff; }
.hero__img { position: absolute; right: 0; bottom: 0; height: 100%; width: 50%; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: left bottom; }

.sports { background: linear-gradient(180deg, #ffffff, #e9f3f4); border-bottom: 1px solid var(--line); }
.sports__list { display: grid; grid-template-columns: repeat(6, 1fr); margin: 0; padding: 0; list-style: none; }
.sports__list li + li { border-left: 1px solid #b9d3d6; }
.sports__list a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 30px 10px 26px; color: var(--ink); text-align: center; transition: background .2s; }
.sports__list a:hover { background: rgba(12, 107, 116, .06); }
.sports__list svg { width: 46px; height: 46px; color: #0b7a85; }
.sports__list span { font-size: 18px; font-weight: 600; line-height: 1.2; text-transform: uppercase; }

.main { flex: 1 0 auto; padding: 0 0 70px; }
.content {
  max-width: 1550px; margin: 0 auto; padding: 36px 26px 44px; background: var(--white);
  font-size: 18px; line-height: 1.85; color: var(--ink-2); overflow-wrap: break-word;
}
.content > :first-child { margin-top: 0; }
.content h1, .content h2, .content h3, .content h4, .content h5, .content h6 { color: var(--ink); font-weight: 800; line-height: 1.2; }
.content h1 { font-size: 44px; margin: 0 0 22px; text-transform: uppercase; }
.content h2 { font-size: 44px; margin: 40px 0 18px; text-transform: uppercase; }
.content h3 { font-size: 28px; margin: 32px 0 12px; }
.content h4 { font-size: 22px; margin: 26px 0 10px; }
.content h5, .content h6 { font-size: 19px; margin: 20px 0 8px; }
.content p { margin: 0 0 20px; }
.content a { color: #0b7a85; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.content a:hover { color: var(--red); }
.content strong, .content b { color: var(--ink); font-weight: 700; }
.content mark { padding: 0 4px; border-radius: 4px; background: #ffe2e2; color: var(--ink); }
.content small { font-size: 15px; color: var(--muted); }
.content ul, .content ol { margin: 0 0 22px; padding-left: 30px; }
.content li { margin-bottom: 10px; }
.content li > ul, .content li > ol { margin: 10px 0 0; }
.content ul li::marker { color: var(--ink); }
.content ol li::marker { color: var(--red); font-weight: 700; }
.content img { display: block; max-width: 100%; height: auto; margin: 30px auto; border-radius: var(--radius); }
.content figure { margin: 30px 0; }
.content figure img { margin: 0 auto; }
.content figcaption { margin-top: 8px; font-size: 14px; text-align: center; color: var(--muted); }
.content table {
  display: block; width: 100%; max-width: 100%; margin: 30px 0; overflow-x: auto;
  border-collapse: collapse; border-radius: var(--radius); border: 1px solid var(--line);
  font-size: 16px; -webkit-overflow-scrolling: touch;
}
.content thead, .content tbody, .content tfoot { display: table; width: 100%; min-width: 560px; }
.content tr { display: table-row; }
.content caption { padding: 0 0 10px; font-size: 14px; color: var(--muted); text-align: left; }
.content th { padding: 14px 18px; text-align: left; font-weight: 700; background: var(--top); color: #fff; }
.content td { padding: 13px 18px; border-top: 1px solid var(--line); vertical-align: top; }
.content tbody tr:nth-child(even) { background: #f3f8f9; }
.content blockquote { margin: 30px 0; padding: 22px 28px; border-left: 5px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0; background: #eef6f7; font-style: italic; color: var(--ink); }
.content blockquote p:last-child { margin-bottom: 0; }
.content hr { height: 1px; margin: 40px 0; border: 0; background: var(--line); }
.content code { padding: 2px 7px; border-radius: 6px; background: #eef6f7; font-size: .9em; color: var(--ink); }
.content pre { margin: 30px 0; padding: 18px; overflow-x: auto; border-radius: var(--radius); background: var(--top); color: #fff; }
.content pre code { padding: 0; background: none; color: inherit; }
.content iframe, .content video { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; margin: 30px 0; border: 0; border-radius: var(--radius); }
.content dl { margin: 0 0 22px; }
.content dt { font-weight: 700; color: var(--ink); }
.content dd { margin: 0 0 10px 18px; }
.content details { margin: 0 0 10px; padding: 18px 22px; border-radius: var(--radius); background: #eef6f7; }
.content summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.content details[open] summary { margin-bottom: 10px; }
.content details > :last-child { margin-bottom: 0; }
.content .updated { margin: 34px 0 0; font-size: 15px; color: var(--muted); }
.content .cta { display: flex; justify-content: center; margin: 26px 0 0; }
.content .cta .btn { min-width: 320px; min-height: 64px; font-size: 20px; color: #fff; text-decoration: none; }

.footer { margin-top: auto; padding: 48px 0 36px; background: var(--top); color: #b7d3d6; font-size: 15px; text-align: center; }
.footer .logo { justify-content: center; }
.footer .logo img { width: 150px; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 30px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 16px; text-transform: uppercase; color: #fff; }
.footer__nav--small { margin-top: 10px; font-size: 14px; text-transform: none; color: #b7d3d6; }
.footer__nav a:hover { color: #9be7b6; }
.footer__orgs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.footer__orgs a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: 14px; font-weight: 600; color: #fff; transition: background .2s; }
.footer__orgs a::after { content: "↗"; font-size: 12px; }
.footer__orgs a:hover { background: rgba(255, 255, 255, .14); }
.footer__warn { display: flex; align-items: center; justify-content: center; gap: 14px; max-width: 920px; margin: 24px auto 0; font-size: 15px; font-weight: 600; color: #fff; text-align: left; }
.age { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 2px solid var(--red); border-radius: 50%; font-size: 14px; font-weight: 700; color: #fff; }
.footer__copy { max-width: 920px; margin: 16px auto 0; }

.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 74; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: #fff; font-size: 22px; font-weight: 700; box-shadow: 0 10px 24px rgba(255, 75, 75, .35); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, visibility .3s, transform .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(360px, 90vw); padding: 18px; overflow-y: auto; background: var(--top); transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.drawer__top img { width: 130px; }
.drawer__close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--pill-2); color: #fff; font-size: 18px; }
.drawer__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.drawer__actions .btn { min-height: 46px; padding: 0 10px; font-size: 14px; }
.drawer__nav { margin: 0 0 16px; padding: 0; list-style: none; }
.drawer__nav a { display: block; padding: 12px 10px; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 16px; text-transform: uppercase; color: #fff; }
.drawer__nav a.is-active { color: #7fe3a0; }
.drawer__label { margin: 18px 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #9fc4c8; }
.drawer__langs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0; padding: 0; list-style: none; }
.drawer__langs a { display: flex; align-items: center; gap: 8px; padding: 9px 8px; border-radius: 10px; font-size: 14px; color: #fff; }
.drawer__langs a.is-active { background: rgba(255, 255, 255, .12); }
.overlay { position: fixed; inset: 0; z-index: 85; background: rgba(0, 0, 0, .55); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.menu-open { overflow: hidden; }
.menu-open .drawer { transform: none; visibility: visible; }
.menu-open .overlay { opacity: 1; visibility: visible; }

.error-page { flex: 1 0 auto; display: grid; place-items: center; padding: 80px 24px; background: var(--hero); text-align: center; color: #fff; }
.error-page .error-page__code { margin: 0; font-size: 150px; font-weight: 800; line-height: 1; color: var(--red); }
.error-page h1 { margin: 16px 0 10px; font-size: 36px; text-transform: uppercase; }
.error-page p { max-width: 520px; margin: 0 auto 28px; color: #b7d3d6; }

@media (max-width: 1500px) {
  .nav > a, .dd__btn { padding: 10px 11px; font-size: 16px; }
  .header__actions .btn { padding: 0 24px; font-size: 16px; }
  .header__inner { gap: 14px; }
  .nav { padding: 4px 6px; }
  .lang .dd__btn { padding: 0 16px; }
  .header__actions { gap: 8px; }
  .hero__title { font-size: 52px; }
}
@media (max-width: 1280px) {
  .nav, .header__actions .btn, .header__actions .lang { display: none; }
  .header__actions { margin-left: auto; }
  .burger { display: grid; }
  .header__inner { height: 80px; }
  .subnav { gap: 6px 40px; padding-left: 0; }
  .hero__title { font-size: 44px; }
}
@media (max-width: 900px) {
  .subbar__inner { min-height: 64px; }
  .subnav { gap: 6px 24px; }
  .subnav a { font-size: 15px; }
  .app-pill { height: 46px; gap: 14px; padding: 0 18px; font-size: 16px; }
  .hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .hero__text { padding: 40px 24px 0; }
  .hero__img { position: relative; width: 100%; height: auto; }
  .hero__img img { height: auto; object-fit: contain; }
  .hero__title { font-size: 38px; }
  .sports__list { grid-template-columns: repeat(3, 1fr); }
  .sports__list li:nth-child(4) { border-left: 0; }
  .sports__list li:nth-child(n+4) { border-top: 1px solid #b9d3d6; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .header__inner { height: 68px; gap: 10px; }
  .logo img { width: 124px; }
  .burger { width: 46px; height: 46px; }
  .subbar__inner { flex-wrap: wrap; justify-content: center; padding: 10px 0; }
  .subnav { justify-content: center; gap: 4px 18px; }
  .subnav a { font-size: 13.5px; }
  .hero__text { padding: 30px 16px 0; }
  .rating b { font-size: 26px; }
  .rating__icons svg { width: 22px; height: 28px; }
  .rating__label { font-size: 13px; }
  .hero__title { margin: 20px 0 24px; font-size: 29px; }
  .hero .btn { width: 100%; min-width: 0; }
  .sports__list a { padding: 18px 6px 16px; }
  .sports__list svg { width: 36px; height: 36px; }
  .sports__list span { font-size: 13px; }
  .content { padding: 26px 16px 34px; font-size: 16.5px; line-height: 1.75; }
  .content h1 { font-size: 28px; }
  .content h2 { font-size: 27px; margin-top: 34px; }
  .content h3 { font-size: 21px; }
  .content h4 { font-size: 18px; }
  .content .cta .btn { width: 100%; min-width: 0; min-height: 58px; font-size: 18px; }
  .footer__nav { gap: 6px 18px; font-size: 14px; }
  .footer__warn { font-size: 14px; }
  .to-top { right: 14px; bottom: 14px; width: 46px; height: 46px; }
  .error-page .error-page__code { font-size: 100px; }
}
@media (max-width: 380px) {
  .hero__title { font-size: 25px; }
  .sports__list span { font-size: 11.5px; }
  .app-pill { gap: 10px; padding: 0 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
