/* styles.css */
:root {
  --bg-main: #032a2b;
  --bg-card: #053738;
  --bg-card-alt: #074446;
  --bg-sidebar: #021f20;
  --accent-yellow: #ffcf3a;
  --accent-yellow-dark: #e6b833;
  --accent-red: #ff4b4b;
  --accent-green: #1ecf7b;
  --text-main: #f5f7f8;
  --text-muted: #9fb5b5;
  --text-dark: #6b8a8a;
  --border-radius-lg: 20px;
  --border-radius-md: 16px;
  --border-radius-sm: 12px;
  --transition-fast: 0.2s ease-out;
  --transition-base: 0.3s ease-out;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

/* Поддержка safe-area для iPhone X и новее */
@supports (padding: max(0px)) {
  .header {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .bottom-nav {
    padding-left: max(4px, env(safe-area-inset-left));
    padding-right: max(4px, env(safe-area-inset-right));
  }

  .container {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 60px; /* Отступ для фиксированной шапки на мобиле */
  padding-bottom: 100px; /* Отступ для bottom-nav на мобиле */
}

@media (min-width: 375px) {
  body {
    padding-top: 65px;
    padding-bottom: 120px;
  }
}

@media (min-width: 480px) {
  body {
    padding-top: 70px;
    padding-bottom: 140px;
  }
}

@media (min-width: 1024px) {
  body {
    padding-top: 0;
    padding-bottom: 0;
  }
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Предотвращение выхода медиа-элементов за пределы экрана */
video, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

/* Layout */
.layout {
  display: grid;
  grid-template-columns: auto 1fr;
  min-height: 100vh;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

@media (max-width: 1023px) {
  .layout {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .page {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
    box-sizing: border-box;
  }
}


@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 32px;
  }
}

/* Sidebar */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  background-color: var(--bg-sidebar);
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform var(--transition-base);
  overflow-y: auto;
  box-sizing: border-box;
}

@media (max-width: 1023px) {
  .sidebar {
    width: 100% !important;
    max-width: 100% !important;
    right: 0 !important;
  }
}

@media (min-width: 1024px) {
  .sidebar {
    right: auto;
    width: 280px;
    max-width: 280px;
  }
}

.sidebar--open {
  transform: translateX(0);
}

.sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar__logo {
  display: flex;
  align-items: center;
}

.sidebar__logo-img {
  height: 64px;
  width: auto;
}

@media (min-width: 480px) {
  .sidebar__header {
    padding: 44px 32px;
  }

  .sidebar__logo-img {
    height: 72px;
  }
}

@media (min-width: 1024px) {
  .sidebar__header {
    padding: 20px;
  }

  .sidebar__logo-img {
    height: 40px;
  }
}

.sidebar__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
  border-radius: 8px;
}

.sidebar__close svg {
  width: 36px;
  height: 36px;
}

@media (min-width: 480px) {
  .sidebar__close {
    width: 72px;
    height: 72px;
  }

  .sidebar__close svg {
    width: 40px;
    height: 40px;
  }
}

@media (min-width: 1024px) {
  .sidebar__close {
    width: 44px;
    height: 44px;
  }

  .sidebar__close svg {
    width: 24px;
    height: 24px;
  }
}

.sidebar__close:active {
  background-color: rgba(255, 255, 255, 0.05);
}

.sidebar__close:hover {
  color: var(--text-main);
}

.sidebar__nav {
  padding: 32px 0;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 32px 32px;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  text-align: left;
  min-height: 88px;
  -webkit-tap-highlight-color: transparent;
}

.sidebar-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

.sidebar-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.sidebar-item__icon svg {
  width: 36px;
  height: 36px;
}

.sidebar-item__label {
  font-size: 22px;
  font-weight: 600;
}

@media (min-width: 480px) {
  .sidebar__nav {
    padding: 36px 0;
  }

  .sidebar-item {
    padding: 36px 40px;
    gap: 28px;
    min-height: 100px;
  }

  .sidebar-item__icon {
    width: 42px;
    height: 42px;
  }

  .sidebar-item__icon svg {
    width: 42px;
    height: 42px;
  }

  .sidebar-item__label {
    font-size: 24px;
  }
}

@media (min-width: 1024px) {
  .sidebar__nav {
    padding: 16px 0;
  }

  .sidebar-item {
    padding: 14px 20px;
    gap: 12px;
    min-height: 48px;
  }

  .sidebar-item__icon {
    width: 20px;
    height: 20px;
  }

  .sidebar-item__icon svg {
    width: 20px;
    height: 20px;
  }

  .sidebar-item__label {
    font-size: 14px;
    font-weight: 400;
  }
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
  backdrop-filter: blur(4px);
}

.sidebar-overlay--visible {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 1024px) {
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    right: auto;
    width: 280px;
    max-width: 280px;
    height: 100vh;
    overflow-y: auto;
    transform: translateX(0);
  }

  .sidebar__close {
    display: none;
  }

  .sidebar-overlay {
    display: none;
  }

  .page {
    margin-left: 280px;
  }
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background-color: var(--bg-card);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  min-height: 60px;
  width: 100%;
}

@media (min-width: 1024px) {
  .header {
    position: sticky;
    left: auto;
    right: auto;
    width: auto;
  }
}

@media (min-width: 480px) {
  .header {
    padding: 14px 18px;
    min-height: 70px;
  }
}

@media (min-width: 768px) {
  .header {
    padding: 26px 24px;
    min-height: 110px;
  }
}

.header__left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.header__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--text-main);
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.header__burger svg {
  width: 20px;
  height: 20px;
}

@media (min-width: 480px) {
  .header__burger {
    width: 44px;
    height: 44px;
  }

  .header__burger svg {
    width: 22px;
    height: 22px;
  }
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo-img {
  height: 36px;
  width: auto;
  max-width: 180px;
}

@media (min-width: 480px) {
  .header__logo-img {
    height: 40px;
    max-width: 200px;
  }
}

@media (min-width: 1024px) {
  .header__logo {
    display: none;
  }
}

.header__nav {
  display: none;
  align-items: center;
  gap: 24px;
}

.header__nav-link {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.header__nav-link:hover {
  color: var(--text-main);
}

.header__nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background-color: var(--accent-red);
  color: white;
  font-size: 11px;
  font-weight: 600;
  border-radius: 10px;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .header__right {
    gap: 12px;
  }
}

.header__search {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.header__search svg {
  width: 22px;
  height: 22px;
}

@media (min-width: 768px) {
  .header__search {
    width: 48px;
    height: 48px;
  }

  .header__search svg {
    width: 24px;
    height: 24px;
  }
}

.header__search:hover {
  color: var(--text-main);
}

.header__lang {
  display: none;
  align-items: center;
  gap: 8px;
}

.header__lang-item {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.header__lang-item--active {
  color: var(--accent-yellow);
  background-color: rgba(255, 207, 58, 0.1);
}

@media (min-width: 768px) {
  .header {
    padding: 16px 24px;
  }

  .header__search {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .header__nav {
    display: flex;
  }

  .header__lang {
    display: flex;
  }

  .header__burger {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
  min-height: 40px; /* Минимальный размер для touch targets */
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 480px) {
  .btn {
    padding: 12px 24px;
    font-size: 15px;
    min-height: 44px;
  }
}

@media (min-width: 768px) {
  .btn {
    padding: 12px 24px;
    font-size: 14px;
    min-height: 44px;
  }
}

.btn-primary {
  background-color: var(--accent-yellow);
  color: #1a1a1a;
}

.btn-primary:hover {
  background-color: var(--accent-yellow-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 18px;
  font-size: 14px;
  min-height: 40px;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

@media (min-width: 480px) {
  .btn-secondary {
    padding: 12px 20px;
    font-size: 15px;
    min-height: 44px;
  }
}

@media (min-width: 768px) {
  .btn-secondary {
    padding: 12px 20px;
    font-size: 14px;
    min-height: 44px;
  }
}

.btn-download {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background-color: #000;
  color: var(--text-main);
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-size: 16px;
  min-height: 52px;
}

@media (min-width: 480px) {
  .btn-download {
    padding: 18px 28px;
    font-size: 17px;
    min-height: 56px;
  }
}

@media (min-width: 768px) {
  .btn-download {
    padding: 12px 20px;
    font-size: 14px;
    min-height: auto;
    gap: 8px;
  }
}

.btn-download:hover {
  background-color: #1a1a1a;
}

.btn-download__icon {
  width: auto;
  height: 100%;
  max-height: 40px;
  object-fit: contain;
  display: block;
}

@media (min-width: 480px) {
  .btn-download__icon {
    max-height: 44px;
  }
}

@media (min-width: 768px) {
  .btn-download__icon {
    max-height: 32px;
  }
}

/* Sections */
.section {
  padding: 48px 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

@media (max-width: 1023px) {
  .section {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
}

@media (min-width: 480px) {
  .section {
    padding: 56px 0;
  }
}

.section--visible {
  opacity: 1;
  transform: translateY(0);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 18px;
}

@media (min-width: 480px) {
  .section-header {
    margin-bottom: 32px;
    gap: 22px;
  }
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 24px;
    gap: 12px;
  }
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.2;
}

@media (min-width: 480px) {
  .section-header {
    margin-bottom: 32px;
  }

  .section-title {
    font-size: 40px;
  }
}

@media (min-width: 768px) {
  .section-title {
    font-size: 32px;
  }
}

.section-title__dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-red);
  border-radius: 50%;
}

.section-link {
  font-size: 21px;
  color: var(--accent-yellow);
  transition: color var(--transition-fast);
  white-space: nowrap;
  padding: 8px 0;
  font-weight: 600;
}

@media (min-width: 480px) {
  .section-link {
    font-size: 22px;
  }
}

@media (min-width: 768px) {
  .section-link {
    font-size: 14px;
  }
}

.section-link:hover {
  color: var(--accent-yellow-dark);
}

@media (min-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 32px;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: 0;
  min-height: 450px;
  overflow: visible;
  margin-top: 0;
}

@media (min-width: 480px) {
  .hero {
    min-height: 500px;
  }
}

@media (min-width: 768px) {
  .hero {
    height: 500px;
    min-height: auto;
    overflow: hidden;
  }
}

.hero__slider {
  position: relative;
  width: 100%;
  min-height: 450px;
}

@media (min-width: 480px) {
  .hero__slider {
    min-height: 500px;
  }
}

@media (min-width: 768px) {
  .hero__slider {
    height: 100%;
    min-height: auto;
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

.hero-slide--active {
  opacity: 1;
  visibility: visible;
}

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

.hero-slide__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(3, 42, 43, 0.7), rgba(3, 42, 43, 0.9));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 450px;
  text-align: center;
  padding: 40px 16px 60px;
}

@media (min-width: 480px) {
  .hero-content {
    min-height: 500px;
    padding: 50px 20px 70px;
  }
}

@media (min-width: 768px) {
  .hero-content {
    height: 100%;
    min-height: auto;
    padding: 40px 20px;
  }
}

.hero-label {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--accent-yellow);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 40px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 14px;
  line-height: 1.2;
  word-break: break-word;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.hero-content .btn {
  margin-top: 0;
  margin-bottom: 60px;
}

@media (min-width: 480px) {
  .hero-content {
    padding: 40px 20px;
  }

  .hero-label {
    font-size: 18px;
    letter-spacing: 3px;
  }

  .hero-title {
    font-size: 48px;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 22px;
    margin-bottom: 32px;
  }

  .hero-content .btn {
    margin-bottom: 70px;
  }
}

@media (min-width: 768px) {
  .hero-label {
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 10px;
  }

  .hero-title {
    font-size: 48px;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 20px;
    margin-bottom: 24px;
  }
}

@media (min-width: 768px) {
  .hero {
    height: 500px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 20px;
  }
}

@media (min-width: 1024px) {
  .hero {
    height: 600px;
  }

  .hero-title {
    font-size: 64px;
  }
}

.hero__dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
  padding: 8px;
}

@media (min-width: 480px) {
  .hero__dots {
    bottom: 50px;
  }
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  padding: 0;
  border: none;
  min-width: 32px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-dot::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: inherit;
  display: block;
}

.hero-dot:hover {
  transform: scale(1.2);
}

.hero-dot--active {
  background-color: var(--accent-yellow);
}

@media (min-width: 480px) {
  .hero__dots {
    bottom: 50px;
    gap: 12px;
  }

  .hero-dot {
    width: 12px;
    height: 12px;
  }

  .hero-dot::before {
    width: 12px;
    height: 12px;
  }
}

@media (min-width: 768px) {
  .hero__dots {
    bottom: 24px;
  }

  .hero-content .btn {
    margin-bottom: 0;
  }
}

/* Quick Navigation */
.quick-nav-section {
  padding: 20px 0;
}

.quick-nav {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 8px;
  margin: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  justify-content: center;
  flex-wrap: nowrap;
}

@media (min-width: 480px) {
  .quick-nav {
    padding: 8px 0;
    flex-wrap: wrap;
  }
}

.quick-nav::-webkit-scrollbar {
  display: none;
}

.quick-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 60px;
  padding: 8px 4px;
  background-color: var(--bg-card);
  border-radius: var(--border-radius-lg);
  transition: all var(--transition-fast);
  flex-shrink: 0;
  scroll-snap-align: start;
  -webkit-tap-highlight-color: transparent;
  min-height: 70px;
  justify-content: center;
}

.quick-nav__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--accent-yellow);
}

.quick-nav__icon svg {
  width: 24px;
  height: 24px;
}

.quick-nav__label {
  font-size: 10px;
  text-align: center;
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.2;
}

@media (min-width: 480px) {
  .quick-nav {
    gap: 8px;
    padding: 8px 0;
    margin: 0;
  }

  .quick-nav__item {
    min-width: 75px;
    padding: 10px 6px;
    gap: 8px;
    min-height: 80px;
  }

  .quick-nav__icon {
    width: 28px;
    height: 28px;
  }

  .quick-nav__icon svg {
    width: 28px;
    height: 28px;
  }

  .quick-nav__label {
    font-size: 11px;
  }
}

@media (min-width: 768px) {
  .quick-nav__item {
    min-width: 120px;
    padding: 16px 12px;
    gap: 8px;
    min-height: 100px;
  }

  .quick-nav__icon {
    width: 32px;
    height: 32px;
  }

  .quick-nav__label {
    font-size: 12px;
    font-weight: 500;
  }
}

.quick-nav__item:hover {
  background-color: var(--bg-card-alt);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}


@media (min-width: 768px) {
  .quick-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .quick-nav__item {
    min-width: 120px;
  }
}

/* Game Grid */
.game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 480px) {
  .game-grid {
    gap: 24px;
  }
}

@media (min-width: 768px) {
  .game-grid {
    gap: 16px;
  }
}

.game-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.game-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-lg);
}

.game-card__thumb {
  position: relative;
  width: 100%;
  padding-top: 75%;
  overflow: hidden;
}

.game-card__thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 6px;
  z-index: 1;
}

@media (min-width: 480px) {
  .game-card__badge {
    padding: 12px 18px;
    font-size: 15px;
  }
}

@media (min-width: 768px) {
  .game-card__badge {
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    font-size: 10px;
    border-radius: 4px;
  }
}

.game-card__badge--hot {
  background-color: var(--accent-red);
  color: white;
}

.game-card__badge--new {
  background-color: var(--accent-green);
  color: white;
}

.game-card__badge--instant {
  background-color: var(--accent-yellow);
  color: #1a1a1a;
}

.game-card__body {
  padding: 20px;
}

.game-card__title {
  font-size: 21px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 14px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game-card__meta {
  font-size: 19px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.game-card__btn {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: var(--accent-yellow);
  color: #1a1a1a;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  transition: background-color var(--transition-fast);
  min-height: 40px;
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 480px) {
  .game-card__body {
    padding: 22px;
  }

  .game-card__title {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .game-card__meta {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .game-card__btn {
    font-size: 15px;
    padding: 12px;
    min-height: 44px;
  }
}

@media (min-width: 768px) {
  .game-card__body {
    padding: 16px;
  }

  .game-card__title {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .game-card__meta {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .game-card__btn {
    font-size: 13px;
    padding: 10px;
    min-height: 40px;
  }
}

.game-card__btn:hover {
  background-color: var(--accent-yellow-dark);
}

.game-grid--instant .game-card {
  grid-column: span 1;
}

@media (min-width: 768px) {
  .game-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .game-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .game-grid--instant {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Super Wins */
.super-wins {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.super-wins__card {
  position: relative;
  padding: 28px;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-alt) 100%);
  border-radius: var(--border-radius-lg);
  border: 2px solid rgba(255, 207, 58, 0.2);
  text-align: center;
  min-width: 320px;
}

@media (min-width: 480px) {
  .super-wins {
    gap: 28px;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .super-wins__card {
    padding: 32px;
    min-width: auto;
  }
}

@media (min-width: 768px) {
  .super-wins {
    gap: 20px;
  }

  .super-wins__card {
    padding: 24px;
  }
}

.super-wins__banner {
  display: inline-block;
  padding: 14px 30px;
  background-color: var(--accent-yellow);
  color: #1a1a1a;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 20px;
  margin-bottom: 24px;
}

.super-wins__title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}

.super-wins__id {
  font-size: 19px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.super-wins__amount {
  font-size: 40px;
  font-weight: 900;
  color: var(--accent-green);
  margin-bottom: 32px;
}

@media (min-width: 480px) {
  .super-wins__banner {
    padding: 16px 32px;
    font-size: 21px;
    margin-bottom: 28px;
  }

  .super-wins__title {
    font-size: 28px;
    margin-bottom: 18px;
  }

  .super-wins__id {
    font-size: 20px;
    margin-bottom: 18px;
  }

  .super-wins__amount {
    font-size: 44px;
    margin-bottom: 36px;
  }
}

@media (min-width: 768px) {
  .super-wins__banner {
    padding: 6px 16px;
    font-size: 12px;
    margin-bottom: 16px;
  }

  .super-wins__title {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .super-wins__id {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .super-wins__amount {
    font-size: 28px;
    margin-bottom: 20px;
  }
}

@media (min-width: 768px) {
  .super-wins {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .super-wins {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Providers */
.providers {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 16px;
  margin: 0 -16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

@media (min-width: 480px) {
  .providers {
    gap: 14px;
    padding: 8px 0;
    margin: 0;
  }
}

@media (min-width: 768px) {
  .providers {
    gap: 12px;
  }
}

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

.provider-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 100px;
  padding: 16px 12px;
  background-color: var(--bg-card);
  border-radius: var(--border-radius-lg);
  transition: all var(--transition-fast);
  flex-shrink: 0;
  scroll-snap-align: start;
  -webkit-tap-highlight-color: transparent;
  min-height: 100px;
  justify-content: center;
}

@media (min-width: 480px) {
  .provider-btn {
    min-width: 110px;
    padding: 18px 14px;
    min-height: 110px;
  }
}

@media (min-width: 768px) {
  .provider-btn {
    min-width: 100px;
    padding: 16px 12px;
    min-height: 90px;
  }
}

@media (min-width: 480px) {
  .providers {
    gap: 12px;
    padding: 8px 0;
    margin: 0;
  }

  .provider-btn {
    min-width: 100px;
    padding: 16px 12px;
  }
}

.provider-btn:hover {
  background-color: var(--bg-card-alt);
  transform: translateY(-4px);
}

.provider-btn--active {
  background-color: rgba(255, 207, 58, 0.2);
  border: 2px solid var(--accent-yellow);
}

.provider-btn__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-card-alt);
  border-radius: 50%;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-yellow);
}

.provider-btn__label {
  font-size: 20px;
  color: var(--text-main);
  font-weight: 600;
}

@media (min-width: 480px) {
  .provider-btn__icon {
    width: 68px;
    height: 68px;
    font-size: 26px;
  }

  .provider-btn__label {
    font-size: 21px;
  }
}

@media (min-width: 768px) {
  .provider-btn__icon {
    width: 48px;
    height: 48px;
    font-size: 16px;
  }

  .provider-btn__label {
    font-size: 12px;
    font-weight: 400;
  }
}

@media (min-width: 768px) {
  .providers {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Sports */
.sports-subsection {
  margin-bottom: 48px;
}

@media (min-width: 480px) {
  .sports-subsection {
    margin-bottom: 56px;
  }
}

@media (min-width: 768px) {
  .sports-subsection {
    margin-bottom: 40px;
  }
}

.match-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 480px) {
  .match-grid {
    gap: 28px;
  }
}

@media (min-width: 768px) {
  .match-grid {
    gap: 16px;
  }
}

.match-card {
  padding: 24px;
  background-color: var(--bg-card);
  border-radius: var(--border-radius-lg);
}

@media (min-width: 480px) {
  .match-card {
    padding: 28px;
  }
}

@media (min-width: 768px) {
  .match-card {
    padding: 20px;
  }
}

.match-card__league {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 24px;
  text-align: center;
  font-weight: 600;
}

.match-card__teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team__name {
  font-size: 21px;
  font-weight: 600;
  color: var(--text-main);
  text-align: center;
  line-height: 1.3;
}

@media (min-width: 480px) {
  .team__name {
    font-size: 22px;
  }
}

@media (min-width: 768px) {
  .match-card__league {
    font-size: 12px;
    margin-bottom: 16px;
    font-weight: 400;
  }

  .team__name {
    font-size: 14px;
  }
}

.score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.score__value {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-main);
}

@media (min-width: 480px) {
  .score__value {
    font-size: 28px;
  }
}

@media (min-width: 768px) {
  .score__value {
    font-size: 20px;
  }
}

.score__status {
  font-size: 14px;
  color: var(--accent-red);
  text-transform: uppercase;
  font-weight: 600;
}

@media (min-width: 480px) {
  .score__status {
    font-size: 15px;
  }
}

@media (min-width: 768px) {
  .score__status {
    font-size: 10px;
    font-weight: 400;
  }
}

.match-card__odds {
  display: flex;
  gap: 8px;
}

.odds {
  flex: 1;
  padding: 20px 16px;
  background-color: var(--bg-card-alt);
  color: var(--text-main);
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 480px) {
  .odds {
    padding: 22px 18px;
    font-size: 24px;
    min-height: 66px;
  }
}

@media (min-width: 768px) {
  .odds {
    padding: 12px;
    font-size: 16px;
    min-height: 44px;
  }
}

.odds:hover {
  background-color: var(--accent-yellow);
  color: #1a1a1a;
  transform: translateY(-2px);
}

.odds--draw {
  background-color: rgba(255, 255, 255, 0.1);
}

.odds--large {
  font-size: 18px;
  padding: 16px;
}

.esports-banner {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  min-height: 300px;
}

.esports-banner__bg {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  background-image: url('img/cs.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 30px 16px;
}

.esports-banner__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(3, 42, 43, 0.85) 0%, rgba(3, 42, 43, 0.95) 100%);
  z-index: 0;
}

@media (min-width: 480px) {
  .esports-banner__bg {
    min-height: 300px;
    padding: 40px 24px;
  }
}


.esports-banner__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

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

.esports-banner__tournament {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-yellow);
  text-transform: uppercase;
}

.esports-banner__game {
  font-size: 24px;
  font-weight: 900;
  color: var(--text-main);
}

@media (min-width: 480px) {
  .esports-banner__game {
    font-size: 32px;
  }
}

.esports-banner__year {
  font-size: 12px;
  color: var(--text-muted);
}

.esports-banner__match {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.esports-banner__score {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
}

@media (min-width: 480px) {
  .esports-banner__score {
    font-size: 24px;
  }
}

.esports-banner__info {
  font-size: 12px;
  color: var(--text-muted);
}

.esports-banner__teams {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
}

@media (min-width: 480px) {
  .esports-banner__teams {
    font-size: 18px;
  }
}

.esports-banner__odds {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

@media (min-width: 768px) {
  .match-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .esports-banner__bg {
    padding: 60px 40px;
  }
}

/* Jackpot */
.jackpot-section {
  padding: 0;
}

.jackpot {
  position: relative;
  min-height: 400px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

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

.jackpot__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(3, 42, 43, 0.8), rgba(3, 42, 43, 0.95));
}

.jackpot__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  padding: 40px 16px;
  text-align: center;
}

.jackpot__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 207, 58, 0.2);
  border-radius: 50%;
  color: var(--accent-yellow);
  margin-bottom: 20px;
}

.jackpot__title {
  font-size: 24px;
  font-weight: 900;
  color: var(--accent-yellow);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.jackpot__amount {
  font-size: 36px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 24px;
}

@media (min-width: 480px) {
  .jackpot__content {
    min-height: 400px;
    padding: 60px 20px;
  }

  .jackpot__icon {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
  }

  .jackpot__title {
    font-size: 32px;
    margin-bottom: 16px;
    letter-spacing: 2px;
  }

  .jackpot__amount {
    font-size: 48px;
    margin-bottom: 32px;
  }
}

@media (min-width: 768px) {
  .jackpot {
    min-height: 500px;
  }

  .jackpot__content {
    min-height: 500px;
  }

  .jackpot__title {
    font-size: 40px;
  }

  .jackpot__amount {
    font-size: 64px;
  }
}

/* SEO Section */
.section--seo {
  background-color: var(--bg-card);
  padding: 60px 0;
  opacity: 1 !important;
  transform: none !important;
}

/* Mobile-first стили для SEO контейнера */
.seo-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 16px;
  background-color: var(--bg-card-alt);
  border-radius: var(--border-radius-lg);
}

@media (min-width: 480px) {
  .seo-container {
    padding: 52px 32px;
  }
}

/* Мобильная версия - уменьшенные размеры */
.seo-container h1 {
  font-size: 24px !important;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.3;
}

.seo-container h2 {
  font-size: 22px !important;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 32px;
  margin-bottom: 18px;
  line-height: 1.3;
}

.seo-container h3 {
  font-size: 20px !important;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 28px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.seo-container p {
  font-size: 16px !important;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.seo-container strong {
  font-size: 17px !important;
  font-weight: 600;
  color: var(--text-main);
}

.seo-container ul,
.seo-container ol {
  margin-left: 20px;
  margin-bottom: 18px;
}

.seo-container li {
  font-size: 16px !important;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.6;
}

@media (min-width: 480px) {
  .seo-container h1 {
    font-size: 28px !important;
    margin-bottom: 24px;
  }

  .seo-container h2 {
    font-size: 26px !important;
    margin-top: 36px;
    margin-bottom: 20px;
  }

  .seo-container h3 {
    font-size: 24px !important;
    margin-top: 32px;
    margin-bottom: 18px;
  }

  .seo-container p {
    font-size: 17px !important;
    margin-bottom: 18px;
    line-height: 1.7;
  }

  .seo-container strong {
    font-size: 18px !important;
  }

  .seo-container ul,
  .seo-container ol {
    margin-left: 24px;
    margin-bottom: 20px;
  }

  .seo-container li {
    font-size: 17px !important;
    margin-bottom: 14px;
    line-height: 1.7;
  }
}

.seo-container ul li {
  list-style: disc;
}

.seo-container ol li {
  list-style: decimal;
}

.seo-container a {
  color: var(--accent-yellow);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.seo-container a:hover {
  color: var(--accent-yellow-dark);
}

.seo-container table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 40px 0;
  font-size: 24px !important;
  display: table;
  table-layout: fixed;
  box-sizing: border-box;
}

.seo-container table thead {
  display: none;
}

.seo-container table tbody {
  display: block;
  width: 100%;
}

.seo-container table tr {
  display: block;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  background-color: var(--bg-card);
  overflow: hidden;
}

.seo-container table th,
.seo-container table td {
  display: block;
  padding: 12px;
  text-align: left;
  border: none;
}

.seo-container table th {
  background-color: var(--bg-card-alt);
  color: var(--text-main);
  font-weight: 700;
  font-size: 16px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px;
  padding-bottom: 10px;
}

.seo-container table td {
  color: var(--text-muted);
  font-size: 14px !important;
  padding: 12px;
  padding-top: 10px;
  line-height: 1.6;
}

.seo-container table td strong {
  font-size: 15px !important;
  color: var(--text-main);
  font-weight: 600;
}

@media (min-width: 480px) {
  .seo-container table {
    margin: 28px 0;
    font-size: 15px !important;
  }

  .seo-container table th {
    font-size: 17px !important;
    padding: 14px;
    padding-bottom: 12px;
  }

  .seo-container table td {
    font-size: 15px !important;
    padding: 14px;
    padding-top: 12px;
  }

  .seo-container table td strong {
    font-size: 16px !important;
  }
}

@media (min-width: 768px) {
  .seo-container table {
    display: table;
    margin: 32px 0;
    font-size: 16px !important;
  }

  .seo-container table thead {
    display: table-header-group;
  }

  .seo-container table tbody {
    display: table-row-group;
  }

  .seo-container table tr {
    display: table-row;
    margin-bottom: 0;
    border: none;
    border-radius: 0;
    background-color: transparent;
  }

  .seo-container table th,
  .seo-container table td {
    display: table-cell;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .seo-container table th {
    background-color: var(--bg-card);
    color: var(--text-main);
    font-weight: 600;
    font-size: 16px !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    padding: 16px 20px;
  }

  .seo-container table td {
    color: var(--text-muted);
    font-size: 15px !important;
    padding: 16px 20px;
    line-height: 1.7;
  }

  .seo-container table td strong {
    font-size: 16px !important;
    color: var(--text-main);
    font-weight: 600;
  }

  .seo-container table tbody tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.02);
  }

  .seo-container table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
  }
}

@media (min-width: 768px) {
  .seo-container table {
    margin: 24px 0;
    font-size: 14px !important;
  }

  .seo-container table th,
  .seo-container table td {
    padding: 12px;
  }

  .seo-container table th {
    font-size: 14px !important;
  }

  .seo-container table td {
    font-size: 14px !important;
  }
}

@media (min-width: 768px) {
  .seo-container {
    padding: 60px;
  }

  .seo-container h1 {
    font-size: 36px !important;
    margin-bottom: 32px;
  }

  .seo-container h2 {
    font-size: 32px !important;
    margin-top: 40px;
    margin-bottom: 24px;
  }

  .seo-container h3 {
    font-size: 26px !important;
    margin-top: 32px;
    margin-bottom: 16px;
  }

  .seo-container p {
    font-size: 16px !important;
    margin-bottom: 16px;
    line-height: 1.8;
  }

  .seo-container strong {
    font-size: 17px !important;
  }

  .seo-container ul,
  .seo-container ol {
    margin-left: 24px;
    margin-bottom: 16px;
  }

  .seo-container li {
    font-size: 16px !important;
    margin-bottom: 8px;
    line-height: 1.8;
  }
}

/* Scroll offset для SEO разделов */
.seo-container h2[id],
.seo-container h3[id] {
  scroll-margin-top: 140px;
}

@media (min-width: 480px) {
  .seo-container h2[id],
  .seo-container h3[id] {
    scroll-margin-top: 150px;
  }
}

@media (min-width: 768px) {
  .seo-container h2[id],
  .seo-container h3[id] {
    scroll-margin-top: 100px;
  }
}

/* FAQ Accordion */
.faq-item {
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  background-color: var(--bg-card);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px;
  background-color: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  color: var(--text-main);
  font-size: 26px !important;
  font-weight: 600;
  transition: all var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
  min-height: 72px;
}

.faq-question span {
  flex: 1;
  padding-right: 16px;
}

.faq-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
  color: var(--accent-yellow);
}

.faq-item--active .faq-icon {
  transform: rotate(180deg);
}

.faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 20px;
}

.faq-item--active .faq-answer {
  max-height: 500px;
  padding: 0 20px 24px;
}

.faq-answer p {
  font-size: 24px !important;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 2;
}

@media (min-width: 480px) {
  .faq-item {
    margin-bottom: 24px;
  }

  .faq-question {
    padding: 28px 24px;
    font-size: 28px !important;
    min-height: 80px;
  }

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

  .faq-answer {
    padding: 0 24px;
  }

  .faq-item--active .faq-answer {
    padding: 0 24px 28px;
  }

  .faq-answer p {
    font-size: 26px !important;
  }
}

@media (min-width: 768px) {
  .faq-item {
    margin-bottom: 16px;
  }

  .faq-question {
    padding: 20px 24px;
    font-size: 18px !important;
    min-height: auto;
  }

  .faq-icon {
    width: 20px;
    height: 20px;
  }

  .faq-answer {
    padding: 0 24px;
  }

  .faq-item--active .faq-answer {
    padding: 0 24px 20px;
  }

  .faq-answer p {
    font-size: 16px !important;
    line-height: 1.8;
  }
}

/* Footer */
.footer {
  background-color: var(--bg-sidebar);
  padding: 40px 0 100px;
  margin-top: auto;
}

@media (min-width: 1024px) {
  .footer {
    padding: 60px 0 20px;
  }
}

.footer__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer__col {
  display: flex;
  flex-direction: column;
}

.footer__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__link {
  font-size: 20px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  padding: 14px 0;
  min-height: 52px;
  display: flex;
  align-items: center;
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 480px) {
  .footer__title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .footer__list {
    gap: 20px;
  }

  .footer__link {
    font-size: 22px;
    padding: 16px 0;
    min-height: 56px;
  }
}

@media (min-width: 768px) {
  .footer__title {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .footer__list {
    gap: 12px;
  }

  .footer__link {
    font-size: 14px;
    padding: 0;
    min-height: auto;
  }
}

.footer__link:hover {
  color: var(--accent-yellow);
}

.footer__payments {
  margin-bottom: 48px;
}

.footer__payments .footer__title {
  text-align: center;
  margin-bottom: 24px;
}

@media (min-width: 480px) {
  .footer__payments {
    margin-bottom: 52px;
  }

  .footer__payments .footer__title {
    margin-bottom: 28px;
  }
}

@media (min-width: 768px) {
  .footer__payments {
    margin-bottom: 40px;
  }

  .footer__payments .footer__title {
    margin-bottom: 20px;
  }
}

.payments {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

@media (min-width: 480px) {
  .payments {
    gap: 18px;
  }
}

@media (min-width: 768px) {
  .payments {
    gap: 12px;
  }
}

.payment-icon {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-card);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

@media (min-width: 480px) {
  .payment-icon {
    width: 72px;
    height: 72px;
    font-size: 12px;
  }
}

@media (min-width: 768px) {
  .payment-icon {
    width: 60px;
    height: 60px;
    font-size: 10px;
  }
}

.payment-icon:hover {
  background-color: var(--bg-card-alt);
  transform: scale(1.1);
}

.payment-icon__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  border-radius: 50%;
}

.footer__social {
  margin-bottom: 40px;
}

.footer__social .footer__title {
  text-align: center;
  margin-bottom: 20px;
}

.social {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.social__item {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-card);
  border-radius: 50%;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.social__item:hover {
  background-color: var(--accent-yellow);
  color: #1a1a1a;
  transform: scale(1.1);
}

.social__icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.footer__licenses {
  margin-bottom: 48px;
}

.footer__licenses .footer__title {
  text-align: center;
  margin-bottom: 24px;
}

@media (min-width: 480px) {
  .footer__licenses {
    margin-bottom: 52px;
  }

  .footer__licenses .footer__title {
    margin-bottom: 28px;
  }
}

@media (min-width: 768px) {
  .footer__licenses {
    margin-bottom: 40px;
  }

  .footer__licenses .footer__title {
    margin-bottom: 20px;
  }
}

.licenses {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (min-width: 480px) {
  .licenses {
    gap: 22px;
  }
}

@media (min-width: 768px) {
  .licenses {
    gap: 16px;
  }
}

.license-icon {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-card);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

@media (min-width: 480px) {
  .license-icon {
    width: 72px;
    height: 72px;
    font-size: 12px;
  }
}

@media (min-width: 768px) {
  .license-icon {
    width: 60px;
    height: 60px;
    font-size: 10px;
  }
}

.license-icon--age {
  background-color: var(--accent-red);
  color: white;
}

.footer__copy {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copy p {
  font-size: 14px;
  color: var(--text-muted);
}

@media (min-width: 480px) {
  .footer__copy {
    padding-top: 28px;
  }

  .footer__copy p {
    font-size: 15px;
  }
}

@media (min-width: 768px) {
  .footer__copy {
    padding-top: 20px;
  }

  .footer__copy p {
    font-size: 12px;
  }
}

@media (min-width: 768px) {
  .footer__content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer__content {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
  background-color: var(--bg-sidebar);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  min-height: 60px;
}

.bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 4px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  flex: 1;
  max-width: 70px;
  min-height: 50px;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  border-radius: 8px;
}

.bottom-nav__item:active {
  background-color: rgba(255, 255, 255, 0.05);
}

.bottom-nav__item:hover,
.bottom-nav__item--active {
  color: var(--accent-yellow);
}

.bottom-nav__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.bottom-nav__icon svg {
  width: 24px;
  height: 24px;
}

.bottom-nav__label {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

@media (min-width: 375px) {
  .bottom-nav {
    padding: 10px 6px calc(10px + env(safe-area-inset-bottom));
    min-height: 65px;
  }

  .bottom-nav__item {
    gap: 5px;
    padding: 8px 6px;
    min-height: 55px;
    max-width: 75px;
  }

  .bottom-nav__icon {
    width: 26px;
    height: 26px;
  }

  .bottom-nav__icon svg {
    width: 26px;
    height: 26px;
  }

  .bottom-nav__label {
    font-size: 11px;
  }
}

@media (min-width: 480px) {
  .bottom-nav {
    padding: 12px 6px calc(12px + env(safe-area-inset-bottom));
    min-height: 70px;
  }

  .bottom-nav__item {
    gap: 6px;
    padding: 10px 6px;
    min-height: 60px;
    max-width: 80px;
  }

  .bottom-nav__icon {
    width: 28px;
    height: 28px;
  }

  .bottom-nav__icon svg {
    width: 28px;
    height: 28px;
  }

  .bottom-nav__label {
    font-size: 12px;
  }
}

@media (min-width: 768px) {
  .bottom-nav__icon {
    width: 24px;
    height: 24px;
  }

  .bottom-nav__label {
    font-size: 10px;
  }
}

@media (min-width: 1024px) {
  .bottom-nav {
    display: none;
  }
}

