/* ============================================================
   EZCASH Theme — main stylesheet
   Designed after ezcash113.casino
   ============================================================ */

/* Self-hosted fonts (variable woff2, Russian + Latin subsets) */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/unbounded-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/unbounded-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f7f8fc;
  --card: #ffffff;
  --text: #2b2b2b;
  --muted: #677191;
  --soft: #b1b7cd;
  --line: #e5e7f0;
  --blue: #1f6aed;
  --blue-light: #2b8ede;
  --purple: #8522c1;
  --orange: #ff6200;
  --green: #02c262;
  --radius: 10px;
  --radius-lg: 13px;
  --shadow: 0 6px 24px rgba(120, 130, 170, 0.10);
  --shadow-strong: 0 16px 38px rgba(120, 130, 170, 0.18);
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  --font-display: "Unbounded", "Manrope", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #1c2133;
  --card: #21273b;
  --text: #f4f6ff;
  --muted: #98a2c0;
  --soft: #7d87a5;
  --line: #333d57;
  --shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
  --shadow-strong: 0 18px 42px rgba(0, 0, 0, 0.42);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  overflow-y: scroll;
  transition: background-color 0.25s ease, color 0.25s ease;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

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

.shell {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1920px;
  margin: 0 auto;
  padding: 20px 20px 12px;
}

.site-header {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 45px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
  min-width: 214px;
}

.brand__mark {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(31, 106, 237, 0.18));
  transition: transform 0.25s ease;
}

.brand:hover .brand__mark {
  transform: translateY(-2px) rotate(-3deg);
}

.brand__text {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -1.8px;
  line-height: 1;
  color: var(--blue);
  white-space: nowrap;
}

[data-theme="dark"] .brand__text {
  color: #5b9bff;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  margin-left: 10px;
  min-width: 0;
}

.header-nav a {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.header-nav a:hover {
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.icon-btn:hover {
  border-color: var(--blue);
  background: rgba(31, 106, 237, 0.08);
  transform: translateY(-1px);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 10px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
}

.lang-btn .flag {
  width: 20px;
  height: 14px;
  border-radius: 3px;
  background: linear-gradient(to bottom, #fff 33%, #1f6aed 33% 66%, #e33 66%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 45px;
  padding: 0 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--login {
  background: var(--login, #2166d6);
}

.btn--register {
  background: var(--register, #8522c1);
}

.btn--hero {
  width: 100%;
  min-height: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(90deg, #c27028 0%, #ff6200 100%);
  font-size: 14px;
  font-weight: 600;
}

.btn--more {
  align-self: center;
  min-height: 45px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, #58adff 0%, #2b8ede 100%);
  box-shadow: 0 6px 16px rgba(43, 142, 222, 0.25);
  font-weight: 600;
}

.btn--more svg {
  width: 18px;
  height: 18px;
}

.header-burger {
  display: none;
}

/* ---------- Mobile menu ---------- */

.mobile-menu {
  position: fixed;
  inset: 70px 12px auto;
  z-index: 100;
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow-strong);
  border: 1px solid var(--line);
}

.mobile-menu.is-open {
  display: flex;
  animation: menu-in 0.22s ease both;
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu a {
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 700;
  background: var(--bg);
}

.mobile-menu .btn {
  width: 100%;
  margin-top: 4px;
}

/* ---------- Layout ---------- */

.page-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.layout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

.content-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

/* ---------- Categories ---------- */

.cats {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.cat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  height: 90px;
  padding: 0;
  border-radius: var(--radius-lg);
  color: var(--text);
}

.cat__body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 66px;
  padding: 0 8px 8px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

[data-theme="dark"] .cat__body {
  background: rgba(33, 39, 59, 0.82);
}

.cat:hover .cat__body {
  background: #fff;
  box-shadow: 0 8px 20px rgba(120, 130, 170, 0.14);
}

[data-theme="dark"] .cat:hover .cat__body {
  background: #2a3150;
}

.cat__icon {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--cat-from, #0080ff), var(--cat-to, #52a8ff));
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 4px 14px var(--cat-glow, rgba(0, 153, 255, 0.25));
  transition: transform 0.3s ease;
}

.cat:hover .cat__icon {
  transform: translateX(-50%) translateY(-4px) scaleX(-1);
}

.cat__icon svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
}

.cat__label {
  position: relative;
  z-index: 2;
  max-width: 100%;
  overflow: hidden;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.cat__line {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 40px;
  height: 2px;
  border-radius: 3px 3px 0 0;
  transform: translateX(-50%);
  background: var(--cat-line, #227eff);
}

/* ---------- Hero carousel ---------- */

.hero {
  position: relative;
  min-height: 174px;
  aspect-ratio: 2990 / 440;
  border-radius: var(--radius);
  overflow: hidden;
  background: #22140a;
  box-shadow: var(--shadow);
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease;
}

.hero-slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
}

.hero-slide__media {
  position: absolute;
  inset: 0;
}

.hero-slide__bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-slide__bg--small {
  display: none;
}

.hero-slide__overlay {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
  min-height: inherit;
  padding: 0 45px;
  color: #fff;
}

.hero-copy {
  max-width: 235px;
  text-shadow: 3px 3px 15px #000;
}

.hero-copy__title {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  line-height: 23px;
}

.hero-copy__text {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
}

.hero-side {
  width: 275px;
  flex: 0 0 auto;
  margin-left: auto;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: rgba(12, 18, 32, 0.12);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  text-align: center;
}

.countdown__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 55px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown__cell:last-child {
  border-right: 0;
}

.countdown__num {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.countdown__label {
  font-size: 11px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.7);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: #171717;
  transform: translateY(-50%);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: #fff;
}

.hero-arrow svg {
  width: 16px;
  height: 16px;
}

.hero-arrow--prev {
  left: 10px;
}

.hero-arrow--next {
  right: 10px;
}

.hero-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
}

.hero-dot {
  width: 24px;
  height: 24px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  background-clip: content-box;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.hero-dot.is-active {
  width: 36px;
  border-radius: 12px;
  background: #fff;
  background-clip: content-box;
}

/* ---------- Live wins ---------- */

.live {
  position: relative;
  display: flex;
  align-items: center;
  height: 100px;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.live__badge {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  background: linear-gradient(180deg, #67ff9e 0%, #12c95c 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-transform: uppercase;
  box-shadow: 4px 0 14px rgba(38, 208, 100, 0.22);
}

.live__viewport {
  display: flex;
  width: 100%;
  height: 100%;
  padding-left: 38px;
  overflow: hidden;
}

.live__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: live-marquee 42s linear infinite;
}

.live:hover .live__track {
  animation-play-state: paused;
}

@keyframes live-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.live__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 278px;
  padding: 0 24px;
  border-right: 1px solid var(--line);
}

.live__thumb {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: cover;
  background: var(--bg);
}

.live__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.live__name {
  overflow: hidden;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.live__game {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.live__amount {
  margin-left: auto;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

/* ---------- Games panel ---------- */

.games-panel {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.games-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: var(--radius);
  background: var(--bg);
}

.tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tab:hover {
  background: rgba(31, 106, 237, 0.08);
}

.tab.is-active {
  background: var(--blue);
  color: #fff;
}

.games-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex: 0 0 auto;
}

.games-search {
  position: relative;
  width: 250px;
}

.games-search svg {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 16px;
  height: 16px;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.games-search input {
  width: 100%;
  height: 40px;
  padding: 0 12px 0 36px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.games-search input::placeholder {
  color: var(--soft);
}

.games-search input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 106, 237, 0.12);
}

.games-provider {
  position: relative;
  width: 180px;
}

.games-provider svg {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 16px;
  height: 16px;
  color: var(--blue);
  transform: translateY(-50%);
  pointer-events: none;
}

.games-provider select {
  width: 100%;
  height: 40px;
  padding: 0 30px 0 36px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  appearance: none;
  outline: none;
  cursor: pointer;
}

.games-provider::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.games-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.games-head svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.game-card {
  position: relative;
  display: block;
  aspect-ratio: 278 / 160;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #2a3150, #4a5d8f);
  box-shadow: 0 2px 8px rgba(20, 25, 45, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.game-card:hover {
  z-index: 2;
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.game-card:hover img {
  transform: scale(1.06);
}

.game-card__meta {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 30px 10px 9px;
  background: linear-gradient(180deg, transparent, rgba(7, 10, 20, 0.86));
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.game-card:hover .game-card__meta,
.game-card:focus-visible .game-card__meta {
  opacity: 1;
  transform: translateY(0);
}

.game-card__title {
  overflow: hidden;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.game-card__provider {
  overflow: hidden;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.game-card__demo {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(8, 12, 24, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.game-card:hover .game-card__demo {
  opacity: 1;
}

.games-empty {
  grid-column: 1 / -1;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--muted);
  text-align: center;
}

/* ---------- Sidebar ---------- */

.sidebar {
  display: none;
  flex-direction: column;
  gap: 16px;
  width: 310px;
  flex: 0 0 auto;
}

.sidebar-card {
  display: block;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tournament-card {
  position: relative;
  min-height: 90px;
  padding: 16px 20px;
  background-image: linear-gradient(90deg, rgba(18, 10, 4, 0.78), rgba(18, 10, 4, 0.05)), url("../img/banner-tournament.webp");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.tournament-card__kicker {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.tournament-card__sum {
  font-size: 22px;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.tournament-card__left {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 4px 10px;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-size: 12px;
  font-weight: 800;
}

.chat-card {
  padding: 18px;
}

.chat-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.chat-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(45, 188, 255, 0.16);
  color: #10a7d5;
}

.chat-card__icon svg {
  width: 20px;
  height: 20px;
}

.chat-card__title {
  font-size: 17px;
  font-weight: 800;
}

.chat-card__online {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #54ed74;
  box-shadow: 0 0 0 4px rgba(84, 237, 116, 0.18);
}

.chat-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.chat-card__bubble {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bg);
}

.chat-card__bubble b {
  color: var(--text);
}

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.footer-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.footer-badges img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.footer-badges .anjouan {
  width: 48px;
  height: 48px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 20px;
}

.footer-nav a,
.footer-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-nav button:hover {
  color: var(--blue);
}

.footer-legal {
  color: var(--muted);
  font-size: 12px;
  line-height: 24px;
  text-align: left;
}

.footer-legal a {
  color: var(--text);
  font-weight: 700;
}

/* ---------- Custom logo ---------- */

.brand--custom {
  min-width: 214px;
}

.custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.custom-logo {
  width: auto;
  max-width: 190px;
  max-height: 56px;
  height: auto;
  object-fit: contain;
}

/* ---------- Post lists / pagination ---------- */

.post-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.post-item {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.post-item h2 {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.3;
}

.post-item h2 a {
  color: var(--text);
  text-decoration: none;
}

.post-item h2 a:hover {
  color: var(--blue);
}

.post-meta {
  margin: 0 0 10px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 600;
}

.post-thumbnail {
  margin: 0 0 20px;
  overflow: hidden;
  border-radius: var(--radius);
}

.post-thumbnail img {
  width: 100%;
  height: auto;
}

.post-more {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  font-weight: 800;
}

.page-links {
  margin-top: 24px;
  font-weight: 700;
}

.page-links a,
.page-links > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  margin-right: 4px;
  padding: 0 8px;
  border-radius: 8px;
  background: var(--bg);
  text-decoration: none;
}

.page-links > span {
  background: var(--blue);
  color: #fff;
}

.pagination,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 24px;
}

.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-links .page-numbers:hover {
  background: rgba(31, 106, 237, 0.1);
  color: var(--blue);
}

.nav-links .page-numbers.current {
  background: var(--blue);
  color: #fff;
}

.games-grid--archive {
  margin-top: 20px;
}

/* ---------- Generic content pages ---------- */

.page-card {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.page-card h1 {
  margin: 0 0 18px;
  font-size: 30px;
  line-height: 1.2;
}

.page-card h2 {
  margin: 28px 0 12px;
  font-size: 22px;
}

.page-card p,
.page-card li {
  color: var(--muted);
  line-height: 1.7;
}

.page-card a {
  color: #7fb2ff;
  text-decoration: underline;
}

.page-card img {
  height: auto;
  border-radius: var(--radius);
}

.page-card blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 4px solid var(--blue);
  border-radius: 0 8px 8px 0;
  background: var(--bg);
  color: var(--text);
}

/* ---------- Front page heading, SEO text, FAQ ---------- */

.front-title {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: var(--text);
}

.breadcrumbs {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  line-height: 1.4;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--soft);
  opacity: 0.65;
}

.breadcrumbs a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--blue);
}

.breadcrumbs span[aria-current="page"] {
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 60vw;
}

.seo-block,
.related-games {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 26px 28px;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.seo-block h2,
.related-games h2 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.25;
}

.seo-block h2:not(:first-child) {
  margin-top: 28px;
}

.seo-block h3 {
  margin: 22px 0 10px;
  font-size: 17px;
}

.seo-block p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.seo-block a {
  color: #7fb2ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.seo-block a:hover {
  color: #a8c9ff;
}

.seo-block__note {
  margin-top: 18px !important;
  color: var(--muted) !important;
  font-size: 12.5px !important;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.faq__question {
  position: relative;
  padding: 14px 44px 14px 16px;
  font-size: 14.5px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: var(--blue);
  font-size: 20px;
  line-height: 1;
}

.faq__item[open] .faq__question::after {
  content: "−";
}

.faq__answer {
  padding: 0 16px 14px;
}

.faq__answer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.provider-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.provider-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 50px;
  background: rgba(31, 106, 237, 0.08);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.provider-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 50px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.provider-chip:hover {
  border-color: var(--blue);
  color: var(--blue-light);
}

.seo-block .provider-chip {
  color: var(--text);
  text-decoration: none;
}

.seo-block .provider-chip:hover {
  color: var(--blue-light);
}

.page-card .provider-chip {
  text-decoration: none;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0 0;
}

.sitemap-section {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.sitemap-section h2 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.3;
}

.sitemap-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sitemap-section li {
  margin: 0 0 8px;
}

.sitemap-section li:last-child {
  margin-bottom: 0;
}

.sitemap-section a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.sitemap-section a:hover {
  color: var(--blue-light);
}

@media (max-width: 640px) {
  .sitemap-grid {
    grid-template-columns: 1fr;
  }
}

.term-description {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.term-description p {
  margin: 0 0 10px;
}

.related-games {
  padding: 24px 28px;
}

.related-games .games-grid {
  margin-top: 16px;
}

.related-games__more {
  margin: 16px 0 0;
}

/* ---------- Game and provider reviews ---------- */

.game-review {
  margin: 8px 0 24px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(31, 106, 237, 0.06);
}

.game-review h2 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.25;
}

.game-review p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.game-review p:last-child {
  margin-bottom: 0;
}

.review-links {
  margin: 14px 0 0 !important;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted) !important;
  font-size: 13px !important;
  line-height: 1.7;
}

.review-links a {
  color: #7fb2ff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.review-links a:hover {
  color: #a8c9ff;
}

.page-reviews {
  margin: 28px 0 0;
}

.page-reviews h2 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.25;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.review-card:hover {
  border-color: rgba(31, 106, 237, 0.55);
  transform: translateY(-2px);
}

.review-card h3 {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.35;
}

.review-card h3 a {
  color: var(--text);
  text-decoration: none;
}

.review-card h3 a:hover {
  color: var(--blue-light);
}

.review-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.review-card .review-card__meta {
  margin-top: auto;
  padding-top: 4px;
  font-size: 12.5px;
  font-weight: 800;
}

.review-card .review-card__meta a {
  color: #7fb2ff;
  text-decoration: none;
}

.review-card .review-card__meta a:hover {
  text-decoration: underline;
}

.search-form {
  display: flex;
  gap: 8px;
  margin: 16px 0 24px;
}

.search-form input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
}

.search-form input::placeholder {
  color: var(--soft);
}

.search-form .btn {
  min-height: 44px;
}

.search-count {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.footer-nav--secondary {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.footer-nav--secondary a {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
}

/* ---------- Responsive ---------- */

@media (min-width: 1350px) {
  .sidebar {
    display: flex;
  }
}

@media (min-width: 1400px) {
  .games-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .shell {
    padding: 20px;
  }
}

@media (min-width: 1700px) {
  .games-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 1339px) {
  .brand {
    min-width: 0;
  }

  .header-nav {
    margin-left: 14px;
    gap: 24px;
  }
}

@media (max-width: 1080px) {
  .header-nav {
    display: none;
  }

  .header-burger {
    display: inline-flex;
    margin-left: auto;
  }

  .header-actions .btn {
    min-height: 40px;
    padding: 0 16px;
    font-size: 14px;
  }

  .header-actions .lang-btn {
    display: none;
  }

  .games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .games-tools {
    width: 100%;
    margin-left: 0;
  }

  .games-toolbar {
    flex-wrap: wrap;
  }

  .games-search {
    flex: 1;
    width: auto;
  }

  .games-provider {
    width: 180px;
  }
}

@media (max-width: 1023px) {
  .shell {
    gap: 16px;
    padding: 12px 12px 20px;
  }

  .hero {
    aspect-ratio: auto;
    min-height: 0;
    background: #2a1608;
  }

  .hero-slide {
    position: relative;
    display: none;
    opacity: 1;
    visibility: visible;
  }

  .hero-slide.is-active {
    display: block;
  }

  .hero-slide__media {
    position: relative;
    inset: auto;
    aspect-ratio: 1340 / 400;
  }

  .hero-slide__bg--large {
    display: none;
  }

  .hero-slide__bg--small {
    display: block;
    background-size: cover;
  }

  .hero-slide__overlay {
    align-items: stretch;
    justify-content: center;
    height: auto;
    min-height: 0;
    padding: 12px;
    gap: 10px;
    background: linear-gradient(180deg, #3a1f0d 0%, #24120a 100%);
  }

  .hero-copy {
    display: none;
  }

  .hero-side {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin: 0;
  }

  .countdown {
    border-radius: 8px;
    border-width: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.18);
  }

  .countdown__cell {
    height: 40px;
    gap: 2px;
  }

  .countdown__num {
    font-size: 18px;
  }

  .countdown__label {
    font-size: 9px;
  }

  .btn--hero {
    min-height: 38px;
    height: 38px;
    font-size: 13px;
  }

  .hero-arrow,
  .hero-dots {
    display: none;
  }

  .live {
    display: none;
  }

  .cats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 8px;
  }

  .cat {
    height: 86px;
  }

  .cat__body {
    height: 66px;
  }

  .cat__icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
  }

  .cat__label {
    font-size: 15px;
  }
}

@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }

  .brand {
    gap: 10px;
  }

  .brand__mark {
    width: 42px;
    height: 42px;
  }

  .brand__text {
    display: none;
  }

  .site-header {
    height: auto;
    min-height: 46px;
    gap: 8px;
  }

  .header-actions {
    gap: 6px;
    min-width: 0;
  }

  .header-actions .btn {
    min-height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 12px;
    gap: 6px;
  }

  .header-actions .btn svg {
    width: 15px;
    height: 15px;
  }

  .header-actions .btn--login {
    display: inline-flex;
  }

  .icon-btn {
    width: 34px;
    height: 34px;
  }

  .games-panel {
    gap: 20px;
    padding: 12px;
  }

  .games-toolbar {
    padding: 6px;
  }

  .tab {
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }

  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .games-search,
  .games-provider {
    width: 100%;
    flex: 1 1 100%;
  }

  .games-head {
    font-size: 15px;
  }

  .site-footer {
    padding: 16px;
  }

  .footer-nav {
    gap: 8px 14px;
  }

  .footer-nav a,
  .footer-nav button {
    font-size: 13px;
  }

  .footer-legal {
    font-size: 11px;
    line-height: 20px;
    text-align: center;
  }

  .page-card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .hero-side {
    width: 100%;
  }

  .countdown__cell {
    height: 44px;
  }

  .countdown__num {
    font-size: 19px;
  }

  .countdown__label {
    font-size: 9px;
  }

  .btn--hero {
    min-height: 34px;
    height: 34px;
    font-size: 12px;
  }

  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-badges {
    gap: 10px;
  }
}

@media (max-width: 380px) {
  .brand__mark {
    width: 36px;
    height: 36px;
  }

  .header-actions {
    gap: 4px;
  }

  .header-actions .btn {
    padding: 0 8px;
    font-size: 11px;
  }

  .header-actions .btn svg {
    display: none;
  }

  .icon-btn {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 760px) {
  .front-title {
    font-size: 16px;
  }

  .seo-block,
  .related-games {
    padding: 18px 16px;
  }

  .seo-block h2,
  .related-games h2 {
    font-size: 18px;
  }

  .seo-block p {
    font-size: 14px;
  }

  .breadcrumbs span[aria-current="page"] {
    max-width: 46vw;
  }

  .search-form {
    flex-direction: column;
  }

  .search-form .btn {
    width: 100%;
  }
}

/* ---------- Affiliate landing ---------- */

.landing-main {
  padding-bottom: 8px;
}

.landing-layout {
  align-items: flex-start;
}

.landing-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.7fr);
  gap: 26px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(600px 260px at 8% 0%, rgba(31, 106, 237, 0.24), transparent 70%),
    radial-gradient(420px 240px at 100% 100%, rgba(133, 34, 193, 0.18), transparent 70%),
    var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.landing-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.landing-hero__kicker,
.section-head__kicker,
.telegram-banner__kicker,
.telegram-sidebar__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid rgba(142, 197, 255, 0.55);
  border-radius: 999px;
  background: rgba(31, 106, 237, 0.28);
  color: #dcecff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.landing-hero__title {
  margin: 0;
  max-width: 760px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.8px;
}

.landing-hero__lead {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.landing-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.landing-hero__cta {
  background: linear-gradient(135deg, #1f6aed 0%, #2b8ede 100%);
  box-shadow: 0 10px 24px rgba(31, 106, 237, 0.35);
}

.btn--ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--blue-light);
  color: var(--blue-light);
}

.landing-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.landing-hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--muted);
  font-size: 12px;
}

.landing-hero__facts strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.1;
}

.landing-hero__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 240px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background:
    radial-gradient(180px 180px at 50% 0%, rgba(255, 210, 84, 0.34), transparent 70%),
    linear-gradient(160deg, rgba(31, 106, 237, 0.34), rgba(133, 34, 193, 0.24));
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.landing-hero__card:hover {
  transform: translateY(-2px);
  border-color: rgba(142, 197, 255, 0.55);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

.landing-hero__card:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 3px;
}

.landing-hero__card-glow {
  position: absolute;
  inset: auto -20% -45% -20%;
  height: 60%;
  background: radial-gradient(closest-side, rgba(255, 180, 60, 0.4), transparent);
  filter: blur(18px);
}

.landing-hero__card-label {
  position: relative;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-hero__card-value {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1;
  color: #fff;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.landing-hero__card-text {
  position: relative;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 700;
}

.landing-hero__card-row {
  position: relative;
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.landing-hero__card-row span {
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.offers-section {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.4px;
}

.section-head p {
  max-width: 860px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.offer-card:hover {
  transform: translateY(-2px);
  border-color: rgba(43, 142, 222, 0.55);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.offer-card--featured {
  border-color: rgba(31, 106, 237, 0.7);
  background:
    radial-gradient(300px 140px at 0% 0%, rgba(31, 106, 237, 0.2), transparent 70%),
    rgba(255, 255, 255, 0.04);
}

.offer-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.offer-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: #1b56c4;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.offer-card--gold .offer-card__badge { background: #8a5a00; }
.offer-card--purple .offer-card__badge { background: #7420a8; }
.offer-card--green .offer-card__badge { background: #0e7a4b; }
.offer-card--cyan .offer-card__badge { background: #0f6f88; }
.offer-card--orange .offer-card__badge { background: #a94a0a; }
.offer-card--pink .offer-card__badge { background: #a31f63; }
.offer-card--violet .offer-card__badge { background: #5636b8; }
.offer-card--red .offer-card__badge { background: #a32a2a; }
.offer-card--teal .offer-card__badge { background: #0f6b6b; }

.offer-card__name {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.offer-card__offer {
  margin: 2px 0 0;
  font-size: 19px;
  line-height: 1.25;
}

.offer-card__details {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.btn--offer {
  align-self: flex-start;
  min-height: 38px;
  margin-top: 4px;
  padding: 0 15px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1f6aed, #2b8ede);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.btn--offer svg {
  width: 15px;
  height: 15px;
}

.telegram-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(43, 142, 222, 0.4);
  border-radius: 14px;
  background:
    radial-gradient(320px 160px at 0% 50%, rgba(43, 142, 222, 0.24), transparent 70%),
    rgba(31, 106, 237, 0.08);
}

.telegram-banner__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #2b8ede, #1f6aed);
  color: #fff;
}

.telegram-banner__icon svg {
  width: 26px;
  height: 26px;
}

.telegram-banner__text {
  flex: 1;
  min-width: 0;
}

.telegram-banner__text h3 {
  margin: 3px 0 3px;
  font-size: 17px;
  line-height: 1.3;
}

.telegram-banner__text p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.telegram-banner__button {
  flex: 0 0 auto;
  background: linear-gradient(135deg, #2b8ede, #1f6aed);
}

.landing-article h3 {
  margin: 24px 0 8px;
  font-size: 18px;
  line-height: 1.3;
}

.landing-article ul,
.landing-article ol {
  margin: 0 0 14px;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.7;
}

.landing-article li + li {
  margin-top: 5px;
}

.landing-sidebar .telegram-sidebar {
  padding: 18px;
  background:
    radial-gradient(260px 140px at 100% 0%, rgba(43, 142, 222, 0.28), transparent 70%),
    var(--card);
}

.telegram-sidebar__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.telegram-sidebar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2b8ede, #1f6aed);
  color: #fff;
}

.telegram-sidebar__icon svg {
  width: 17px;
  height: 17px;
}

.telegram-sidebar__label {
  padding: 3px 8px;
  font-size: 10px;
}

.telegram-sidebar__title {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
}

.telegram-sidebar p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.telegram-sidebar__button {
  width: 100%;
  min-height: 38px;
  background: linear-gradient(135deg, #2b8ede, #1f6aed);
  font-size: 13px;
}

.top-offers {
  padding: 16px;
}

.top-offers__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.top-offers__head a {
  color: var(--blue-light);
  font-size: 11px;
  text-decoration: none;
}

.top-offer {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}

.top-offer__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 24px;
  padding: 0 7px;
  border-radius: 7px;
  background: rgba(31, 106, 237, 0.18);
  color: var(--blue-light);
  font-size: 10px;
  font-weight: 900;
}

.top-offer__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.top-offer__body strong {
  font-size: 12.5px;
}

.top-offer__body small {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-offer__arrow {
  margin-left: auto;
  color: var(--muted);
}

.responsible-card {
  padding: 16px;
}

.responsible-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  margin-bottom: 8px;
  padding: 0 8px;
  border: 1px solid rgba(255, 98, 0, 0.5);
  border-radius: 7px;
  color: #ff9a5c;
  font-size: 11px;
  font-weight: 900;
}

.responsible-card strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.responsible-card p {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.responsible-card a {
  color: var(--blue-light);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.footer-disclosure {
  max-width: 980px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  text-align: center;
}

@media (max-width: 900px) {
  .landing-hero {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .landing-hero__card {
    min-height: 170px;
  }

  .offers-section {
    padding: 20px;
  }

  .offers-grid {
    grid-template-columns: 1fr;
  }

  .telegram-banner {
    flex-wrap: wrap;
  }

  .telegram-banner__button {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .landing-hero {
    padding: 20px 16px;
  }

  .landing-hero__title {
    font-size: 27px;
  }

  .landing-hero__facts {
    flex-direction: column;
    gap: 10px;
  }

  .offer-card {
    padding: 15px;
  }

  .offer-card__offer {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .live__track {
    animation: none;
    flex-wrap: wrap;
  }
}
