/* CSS Variables */
:root {
  --bg-main: #061b0c;
  --bg-panel: #0c2614;
  --bg-panel-soft: #12301c;
  --accent: #35b44a;
  --accent-hover: #46c85a;
  --accent-gold: #f2c25b;
  --text-main: #f5f7f2;
  --text-muted: #a6b3a3;
  --border-soft: rgba(255, 255, 255, 0.08);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-main: 0 18px 40px rgba(0, 0, 0, 0.6);
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.4);
  --transition-fast: 0.18s ease-out;
  --transition-normal: 0.3s ease-out;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}

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

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

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

ul {
  list-style: none;
}

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

.section {
  padding: 60px 0;
}

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

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-main);
}

.section-link {
  color: var(--accent);
  font-size: 14px;
  transition: color var(--transition-fast);
}

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

.section-header__actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.section-footer {
  text-align: center;
  margin-top: 40px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(53, 180, 74, 0.4);
}

.btn-secondary {
  background: var(--bg-panel);
  color: var(--text-main);
  border: 1px solid var(--border-soft);
}

.btn-secondary:hover {
  background: var(--bg-panel-soft);
  border-color: var(--accent);
}

.btn-hero {
  padding: 16px 40px;
  font-size: 18px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-lg);
  margin-top: 30px;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 10px 20px;
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

/* Header */
.header {
  background: rgba(12, 38, 20, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
}

.header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  gap: 20px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.main {
  padding-top: 150px;
}

/* Breadcrumbs */
.breadcrumbs {
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border-soft);
  padding: 12px 0;
  position: relative;
  z-index: 10;
}

.breadcrumbs__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.breadcrumbs__link {
  color: var(--text-muted);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.breadcrumbs__link:hover {
  color: var(--accent-gold);
}

.breadcrumbs__separator {
  color: var(--text-muted);
  opacity: 0.5;
}

.breadcrumbs__current {
  color: var(--accent-gold);
  font-weight: 600;
}

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

.header__burger,
.header__search {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.header__burger.is-active {
  border-radius: 50%;
  background: var(--bg-panel-soft);
}

.header__burger:hover,
.header__search:hover {
  background: var(--bg-panel-soft);
}

.header__burger {
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  align-items: center;
  position: relative;
}

.header__burger span {
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all var(--transition-fast);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.header__burger span:nth-child(1) {
  transform: translate(-50%, calc(-50% - 6px));
}

.header__burger span:nth-child(2) {
  transform: translate(-50%, -50%);
}

.header__burger span:nth-child(3) {
  transform: translate(-50%, calc(-50% + 6px));
}

.header__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 1;
  min-width: 0;
  max-width: 140px;
}

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

.header__right {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 15px 20px;
  border-top: 1px solid var(--border-soft);
  overflow-x: auto;
  scrollbar-width: none;
}

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

.nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 14px;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.nav-item:hover {
  color: var(--accent);
  background: var(--bg-panel-soft);
}

.nav-item svg {
  flex-shrink: 0;
}

/* Hero */
.hero {
  position: relative;
  min-height: 500px;
  margin-top: 20px;
  margin-bottom: 40px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero__banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.hero__banner-desktop {
  display: block !important;
}

.hero__banner-mobile {
  display: none !important;
}

@media (max-width: 768px) {
  .hero__banner-desktop {
    display: none !important;
  }
  
  .hero__banner-mobile {
    display: block !important;
  }
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(6, 27, 12, 0.7) 0%, rgba(12, 38, 20, 0.6) 50%, rgba(18, 48, 28, 0.7) 100%);
  z-index: 2;
}

.hero__content {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 20px;
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
}

.hero__text {
  max-width: 600px;
  position: relative;
  z-index: 4;
}

.hero__label {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(242, 194, 91, 0.2);
  color: var(--accent-gold);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero__title {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero__title-large {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-main);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero__title-small {
  font-size: 24px;
  color: var(--text-main);
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero__stats {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: var(--bg-panel);
  padding: 25px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  min-width: 250px;
  z-index: 4;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-soft);
}

.stat-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stat-item__label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-item__value {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-gold);
}

/* Mini Game */
.mini-game {
  background: var(--bg-panel-soft);
  padding: 60px 20px;
}

.mini-game__wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-main);
  border: 1px solid var(--border-soft);
}

.mini-game__header {
  text-align: center;
  margin-bottom: 30px;
}

.mini-game__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 15px;
}

.mini-game__timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 18px;
  color: var(--accent-gold);
}

.timer-label {
  color: var(--text-muted);
}

.timer-value {
  font-weight: 700;
  font-size: 24px;
  color: var(--accent-gold);
}

.mini-game__instructions {
  background: linear-gradient(135deg, rgba(53, 180, 74, 0.15) 0%, rgba(242, 194, 91, 0.15) 100%);
  border-radius: var(--radius-lg);
  padding: 25px;
  margin-bottom: 25px;
  border: 1px solid var(--border-soft);
  text-align: center;
  transition: opacity var(--transition-normal), transform var(--transition-normal), max-height var(--transition-normal);
  overflow: hidden;
}

.mini-game__instructions.hidden {
  opacity: 0;
  max-height: 0;
  padding: 0;
  margin-bottom: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

.instructions__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.instructions__icon {
  font-size: 48px;
  animation: bounce 2s ease-in-out infinite;
  line-height: 1;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.instructions__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-gold);
  margin: 0;
}

.instructions__text {
  font-size: 16px;
  color: var(--text-main);
  line-height: 1.6;
  margin: 0;
  max-width: 500px;
}

.instructions__hint {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
}

.mini-game__area {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(53, 180, 74, 0.1) 0%, rgba(242, 194, 91, 0.1) 100%);
  border-radius: var(--radius-lg);
  margin-bottom: 30px;
  overflow: hidden;
}

.mini-game__score {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  z-index: 10;
}

.score-label {
  color: var(--text-muted);
}

.score-value {
  font-weight: 700;
  font-size: 28px;
  color: var(--accent-gold);
}

.mini-game__coin {
  position: relative;
  width: 120px;
  height: 120px;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.1s ease-out;
  z-index: 5;
}

.mini-game__coin:active {
  transform: scale(0.9);
}

.mini-game__coin.disabled {
  pointer-events: none;
  opacity: 0.5;
}

.coin-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(242, 194, 91, 0.5));
  animation: coinFloat 3s ease-in-out infinite;
  transition: transform 0.2s ease-out;
}

.mini-game__coin:active .coin-image {
  transform: scale(1.2) rotate(360deg);
  filter: drop-shadow(0 15px 40px rgba(242, 194, 91, 0.8));
}

.coin-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(242, 194, 91, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: coinGlow 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes coinFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}

@keyframes coinGlow {
  0%, 100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.mini-game__particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-gold);
  pointer-events: none;
  animation: particleFloat 1s ease-out forwards;
  text-shadow: 0 2px 10px rgba(242, 194, 91, 0.8);
}

@keyframes particleFloat {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-100px) scale(1.5);
  }
}

.mini-game__controls {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* Game Popup */
.game-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.game-popup.active {
  display: flex;
}

.game-popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.game-popup__content {
  position: relative;
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-main);
  border: 2px solid var(--accent-gold);
  animation: popupAppear 0.3s ease-out;
  z-index: 1;
}

@keyframes popupAppear {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.game-popup__close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-panel-soft);
  border: 1px solid var(--border-soft);
  border-radius: 50%;
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.game-popup__close:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(90deg);
}

.game-popup__icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  animation: coinFloat 2s ease-in-out infinite;
}

.game-popup__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(242, 194, 91, 0.6));
}

.game-popup__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 15px;
}

.game-popup__message {
  font-size: 20px;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: 600;
}

.game-popup__bonus {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 30px;
  line-height: 1.4;
  text-shadow: 0 2px 10px rgba(242, 194, 91, 0.3);
}

/* Filters */
.filters {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filters__search {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 12px 45px 12px 15px;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 14px;
  transition: all var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(53, 180, 74, 0.1);
}

.filters__search svg {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.filters__dropdowns {
  display: flex;
  gap: 10px;
}

.filter-dropdown {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 14px;
  transition: all var(--transition-fast);
}

.filter-dropdown:hover {
  background: var(--bg-panel-soft);
  border-color: var(--accent);
}

.filter-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
}

.filter-chips::-webkit-scrollbar {
  height: 4px;
}

.filter-chips::-webkit-scrollbar-track {
  background: var(--bg-panel);
}

.filter-chips::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 2px;
}

.chip {
  display: inline-block;
  padding: 8px 16px;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  color: var(--text-muted);
  font-size: 13px;
  white-space: nowrap;
  transition: all var(--transition-fast);
  text-decoration: none;
  cursor: pointer;
}

.chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.chip-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.chip-active:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

/* Games Carousel */
.games-carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 10px;
}

.games-carousel::-webkit-scrollbar {
  height: 6px;
}

.games-carousel::-webkit-scrollbar-track {
  background: var(--bg-panel);
  border-radius: 3px;
}

.games-carousel::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

.games-carousel__track {
  display: flex;
  gap: 20px;
  padding-bottom: 10px;
}

.game-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: linear-gradient(135deg, var(--bg-panel) 0%, var(--bg-panel-soft) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: row;
  height: 130px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  position: relative;
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(53, 180, 74, 0) 0%, rgba(53, 180, 74, 0.05) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
  z-index: 1;
}

.game-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 40px rgba(53, 180, 74, 0.4), 0 0 0 1px rgba(53, 180, 74, 0.3);
  border-color: var(--accent);
}

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

.game-card__image {
  position: relative;
  width: 170px;
  flex-shrink: 0;
  overflow: hidden;
  z-index: 2;
}

.game-card__image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 100%);
  pointer-events: none;
  z-index: 1;
}

.game-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.game-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
}

.game-card__badge--new {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #fff;
}

.game-card__badge--exclusive {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #ffd700 100%);
  color: var(--bg-main);
}

.game-card__title {
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
  background: linear-gradient(135deg, rgba(12, 38, 20, 0.8) 0%, rgba(18, 48, 28, 0.9) 100%);
  position: relative;
  z-index: 2;
  transition: color var(--transition-normal);
}

.game-card:hover .game-card__title {
  color: var(--accent-gold);
}

/* Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 50%;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.carousel-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.1);
}

/* Jackpots */
.jackpots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.jackpot-card {
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.jackpot-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--accent-gold);
}

.jackpot-card__image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.jackpot-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jackpot-card__content {
  padding: 20px;
}

.jackpot-card__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-main);
}

.jackpot-card__amount {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent-gold);
}

/* Live Casino */
.live-casino-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.live-card {
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.live-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--accent);
}

.live-card__image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.live-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Providers */
.providers {
  background: var(--bg-panel);
  padding: 60px 0;
}

.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 30px;
  align-items: center;
}

.provider-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--bg-panel-soft);
  border-radius: var(--radius-md);
  opacity: 0.6;
  transition: all var(--transition-fast);
  filter: grayscale(0.3);
}

.provider-logo:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.05);
}

.provider-logo img {
  max-width: 120px;
  max-height: 60px;
  object-fit: contain;
}

/* SEO Text */
.seo-text {
  background: var(--bg-panel-soft);
  padding: 60px 20px;
}

.seo-text__inner {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-panel);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-main);
}

.seo-text__inner h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 25px;
  color: var(--text-main);
  line-height: 1.3;
}

.seo-text__inner h2 {
  font-size: 28px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--accent-gold);
  line-height: 1.4;
}

.seo-text__inner h3 {
  font-size: 24px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--accent-gold);
}

.seo-text__inner p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.seo-text__inner ul,
.seo-text__inner ol {
  margin: 20px 0;
  padding-left: 30px;
  color: var(--text-muted);
}

.seo-text__inner li {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 10px;
}

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

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

.seo-text__inner strong {
  color: var(--text-main);
  font-weight: 600;
}

.seo-text__inner table.seo-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  background: var(--bg-panel-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.seo-text__inner table.seo-table thead {
  background: var(--bg-panel);
  border-bottom: 2px solid var(--accent);
}

.seo-text__inner table.seo-table th {
  padding: 16px 20px;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.seo-text__inner table.seo-table td {
  padding: 16px 20px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-soft);
}

.seo-text__inner table.seo-table tbody tr:last-child td {
  border-bottom: none;
}

.seo-text__inner table.seo-table tbody tr {
  transition: background-color var(--transition-fast);
}

.seo-text__inner table.seo-table tbody tr:hover {
  background: rgba(53, 180, 74, 0.05);
}

.seo-text__inner table.seo-table td:first-child {
  font-weight: 600;
  color: var(--text-main);
  min-width: 180px;
}

@media (max-width: 768px) {
  .seo-text__inner table.seo-table {
    display: block;
    border-radius: var(--radius-md);
  }
  
  .seo-text__inner table.seo-table thead {
    display: none;
  }
  
  .seo-text__inner table.seo-table tbody {
    display: block;
  }
  
  .seo-text__inner table.seo-table tbody tr {
    display: block;
    margin-bottom: 15px;
    background: var(--bg-panel);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-soft);
    padding: 0;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  }
  
  .seo-text__inner table.seo-table tbody tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background: var(--bg-panel);
  }
  
  .seo-text__inner table.seo-table tbody tr:last-child {
    margin-bottom: 0;
  }
  
  .seo-text__inner table.seo-table td {
    display: block;
    padding: 12px 15px;
    font-size: 14px;
    line-height: 1.6;
    border-bottom: none;
    text-align: left;
    white-space: normal;
  }
  
  .seo-text__inner table.seo-table td:first-child {
    font-weight: 700;
    color: var(--accent-gold);
    font-size: 15px;
    padding-bottom: 8px;
    padding-top: 15px;
    border-bottom: 1px solid var(--border-soft);
    margin-bottom: 8px;
    min-width: auto;
  }
  
  .seo-text__inner table.seo-table td:last-child {
    padding-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .seo-text__inner table.seo-table tbody tr {
    margin-bottom: 12px;
  }
  
  .seo-text__inner table.seo-table td {
    padding: 10px 12px;
    font-size: 13px;
  }
  
  .seo-text__inner table.seo-table td:first-child {
    font-size: 14px;
    padding-top: 12px;
    padding-bottom: 6px;
  }
  
  .seo-text__inner table.seo-table td:last-child {
    padding-bottom: 12px;
  }
}

/* Floating Sidebar */
.floating-sidebar {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

@media (max-width: 768px) {
  .floating-sidebar {
    right: 10px;
  }
}

.floating-btn {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 50%;
  color: var(--text-main);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-card);
  opacity: 0.5;
  pointer-events: none;
}

.floating-btn--top {
  opacity: 0.5;
}

.floating-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.1);
  color: #fff;
}

.floating-btn svg {
  width: 24px;
  height: 24px;
}

/* Footer */
.footer {
  background: var(--bg-panel);
  border-top: 1px solid var(--border-soft);
}

.footer__top {
  padding: 60px 0 40px;
}

.footer__main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer__brand img {
  margin-bottom: 20px;
}

.footer__ratings {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.rating-badge {
  padding: 6px 12px;
  background: var(--bg-panel-soft);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-gold);
}

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

.footer__columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

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

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__social {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-soft);
}

.lang-select {
  padding: 10px 15px;
  background: var(--bg-panel-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 14px;
  cursor: pointer;
}

.footer__bottom {
  background: var(--bg-main);
  padding: 30px 0;
  border-top: 1px solid var(--border-soft);
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__age {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.footer__text {
  flex: 1;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  min-width: 200px;
}

.footer__scroll-top {
  padding: 10px 20px;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 14px;
  transition: all var(--transition-fast);
}

.footer__scroll-top:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section.is-visible {
  animation: fadeInUp 0.6s ease-out;
}

/* Mobile Menu */
.header__burger.is-active span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.header__burger.is-active span:nth-child(2) {
  opacity: 0;
  transform: translate(-50%, -50%);
}

.header__burger.is-active span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 768px) {
  .main {
    padding-top: 70px;
  }
  
  .breadcrumbs {
    padding: 10px 0;
  }
  
  .breadcrumbs__nav {
    font-size: 13px;
  }
  
  .header__logo {
    max-width: 130px;
  }
  
  .header__logo img {
    max-width: 100%;
  }
  
  .header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-panel);
    flex-direction: column;
    padding: 20px;
    border-top: 1px solid var(--border-soft);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    align-items: center;
  }
  
  .header__nav.is-open {
    display: flex;
  }
  
  .nav-item {
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 12px;
    text-align: center;
  }
  
  .nav-item svg {
    margin-right: 8px;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    min-height: 450px;
  }
  
  .hero__stats {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    flex-direction: row;
    flex-wrap: wrap;
    min-width: auto;
    margin-top: 30px;
  }
  
  .stat-item {
    flex: 1;
    min-width: 150px;
    border-bottom: none;
    border-right: 1px solid var(--border-soft);
    padding-right: 15px;
    padding-bottom: 0;
  }
  
  .stat-item:last-child {
    border-right: none;
  }
  
  .footer__main {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .floating-sidebar {
    right: 10px;
  }
  
  .floating-btn {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 768px) {
  .mini-game {
    padding: 40px 15px;
  }
  
  .mini-game__wrapper {
    padding: 30px 20px;
  }
  
  .mini-game__title {
    font-size: 22px;
  }
  
  .mini-game__area {
    min-height: 250px;
  }
  
  .mini-game__coin {
    width: 100px;
    height: 100px;
  }
  
  .game-popup__content {
    padding: 30px 20px;
  }
  
  .game-popup__title {
    font-size: 24px;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .hero {
    min-height: 400px;
  }
  
  .hero__content {
    padding: 40px 15px;
  }
  
  .hero__title-large {
    font-size: 42px;
  }
  
  .hero__title-small {
    font-size: 18px;
  }
  
  .hero__stats {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    flex-direction: column;
    margin-top: 30px;
  }
  
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-soft);
    padding-right: 0;
    padding-bottom: 15px;
  }
  
  .header__nav {
    justify-content: flex-start;
    gap: 15px;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
  }
  
  .games-carousel .game-card {
    flex: 0 0 280px;
    height: 100px;
  }
  
  .game-card {
    height: 100px;
  }
  
  .game-card__image {
    width: 120px;
  }
  
  .game-card__title {
    padding: 12px;
    font-size: 13px;
  }
  
  .jackpots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .jackpot-card__image {
    aspect-ratio: 2.5 / 3;
  }
  
  .jackpot-card__content {
    padding: 15px;
  }
  
  .jackpot-card__title {
    font-size: 15px;
  }
  
  .jackpot-card__amount {
    font-size: 22px;
  }
  
  .live-casino-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .live-card__image {
    aspect-ratio: 2.5 / 3;
  }
  
  .providers-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .footer__columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .seo-text__inner {
    padding: 30px 20px;
  }
  
  .seo-text__inner h1 {
    font-size: 28px;
  }
  
  .seo-text__inner h2 {
    font-size: 22px;
    margin-top: 30px;
  }
  
  .seo-text__inner h3 {
    font-size: 20px;
  }
  
  .floating-sidebar {
    right: 5px;
  }
  
  .floating-btn {
    width: 40px;
    height: 40px;
  }
  
  .floating-btn svg {
    width: 20px;
    height: 20px;
  }
  
  .header__nav {
    display: none;
  }
  
  .header__nav.is-open {
    display: flex;
  }
}

@media (max-width: 480px) {
  .main {
    padding-top: 65px;
  }
  
  .breadcrumbs {
    padding: 8px 0;
  }
  
  .breadcrumbs__nav {
    font-size: 12px;
    gap: 6px;
  }
  
  .header__top {
    padding: 12px 15px;
  }
  
  .header__logo {
    max-width: 120px;
  }
  
  .header__logo img {
    height: 30px;
    max-width: 100%;
  }
  
  .btn {
    padding: 10px 16px;
    font-size: 12px;
  }
  
  .header__right {
    gap: 8px;
    flex-shrink: 1;
  }
  
  .header__right .btn {
    padding: 8px 12px;
    font-size: 11px;
    white-space: nowrap;
  }
  
  .header__logo {
    max-width: 100px;
    flex-shrink: 1;
  }
  
  .hero {
    min-height: 350px;
  }
  
  .hero__title-large {
    font-size: 32px;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
  }
  
  .games-carousel .game-card {
    flex: 0 0 260px;
    height: 90px;
  }
  
  .game-card {
    height: 90px;
  }
  
  .game-card__image {
    width: 100px;
  }
  
  .game-card__title {
    padding: 10px;
    font-size: 12px;
  }
  
  .jackpots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .jackpot-card {
    max-width: 100%;
  }
  
  .jackpot-card__image {
    aspect-ratio: 2 / 3;
  }
  
  .jackpot-card__content {
    padding: 15px;
  }
  
  .jackpot-card__title {
    font-size: 14px;
    margin-bottom: 8px;
  }
  
  .jackpot-card__amount {
    font-size: 20px;
  }
  
  .live-casino-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .live-card {
    max-width: 100%;
  }
  
  .live-card__image {
    aspect-ratio: 2 / 3;
  }
  
  .providers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .filter-chips {
    gap: 8px;
  }
  
  .chip {
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .filters {
    flex-direction: column;
  }
  
  .filters__search {
    min-width: 100%;
  }
}

