/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0a0a1a;
  --bg-secondary: #111128;
  --bg-card: #161636;
  --bg-card-hover: #1e1e48;
  --bg-sidebar: #0d0d24;
  --bg-header: rgba(10, 10, 26, 0.95);
  --bg-modal: #161636;
  --text-primary: #ffffff;
  --text-secondary: #a0a0c0;
  --text-muted: #6b6b8d;
  --accent-primary: #ff6b00;
  --accent-primary-hover: #ff8533;
  --accent-secondary: #8b5cf6;
  --accent-tertiary: #06b6d4;
  --accent-gold: #fbbf24;
  --gradient-hero-1: linear-gradient(135deg, #5b21b6 0%, #7c3aed 50%, #8b5cf6 100%);
  --gradient-hero-2: linear-gradient(135deg, #0d1b2a 0%, #1b2838 50%, #0d0d24 100%);
  --gradient-hero-3: linear-gradient(135deg, #1a0a2e 0%, #2d1b69 50%, #0d0d24 100%);
  --gradient-hero-4: linear-gradient(135deg, #0a1628 0%, #0d2847 50%, #0d0d24 100%);
  --border-color: rgba(139, 92, 246, 0.15);
  --border-color-light: rgba(255, 255, 255, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --sidebar-width: 240px;
  --header-height: 64px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-primary-hover);
}

img {
  max-width: 100%;
  display: block;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent-primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-color-light);
}

.btn--outline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

#loginBtn {
  color: #39ff14;
  border: none;
}

#loginBtn:hover {
  color: #50ff30;
  border: none;
}

#registerBtn {
  background: var(--gradient-hero-1);
  color: #39ff14;
  border: 1.5px solid #39ff14;
  border-radius: 50px;
}

#registerBtn:hover {
  background: var(--gradient-hero-1);
  color: #50ff30;
  border-color: #50ff30;
  box-shadow: 0 4px 20px rgba(57, 255, 20, 0.3);
}

.btn--social {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color-light);
  flex: 1;
}

.btn--social:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color);
}

.btn--sm {
  padding: 6px 16px;
  font-size: 12px;
}

.btn--lg {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

.btn--full {
  width: 100%;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--bg-header);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 100;
}

.header__left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__menu-btn {
  display: flex;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.header__menu-btn:hover {
  background: var(--bg-card);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.header__nav {
  display: flex;
  gap: 8px;
}

.header__nav-link {
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
}

.header__nav-link:hover,
.header__nav-link.active {
  color: #ffffff;
  background: none;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ===== SIDEBAR ===== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  z-index: 200;
  transform: translateX(-100%);
  transition: transform var(--transition);
}

.sidebar.open {
  transform: translateX(0);
}

.sidebar__overlay {
  display: none;
}

.sidebar.open .sidebar__overlay {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.sidebar__content {
  height: 100%;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-color-light);
  overflow-y: auto;
  padding: 0;
}

.sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color-light);
}

.sidebar__close {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
}

.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 8px;
}

.sidebar__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}

.sidebar__link:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

.sidebar__link.active {
  color: var(--text-primary);
  background: rgba(139, 92, 246, 0.15);
}

.sidebar__link--highlight {
  color: var(--accent-gold) !important;
  background: rgba(251, 191, 36, 0.08);
}

.sidebar__link--highlight:hover {
  background: rgba(251, 191, 36, 0.15) !important;
}

.sidebar__link .material-icons-round {
  font-size: 20px;
}

.sidebar__divider {
  height: 1px;
  background: var(--border-color-light);
  margin: 8px 16px;
}

/* ===== MAIN ===== */
.main {
  margin-left: 0;
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
}

/* ===== HERO ROW ===== */
.hero-row {
  display: flex;
  gap: 16px;
  padding: 16px;
  align-items: stretch;
}

/* ===== HERO CAROUSEL ===== */
.hero-carousel {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-xl);
  flex: 1;
  min-width: 0;
}

.hero-carousel__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px 60px;
  min-height: 340px;
  position: relative;
  overflow: hidden;
}

.hero-slide--welcome {
  background: var(--gradient-hero-1);
}

.hero-slide--welcome .hero-slide__label,
.hero-slide--welcome .hero-slide__title,
.hero-slide--welcome .hero-slide__sub,
.hero-slide--welcome .hero-slide__login {
  color: #ffffff;
}

.hero-slide--welcome .hero-slide__login a {
  color: #39ff14;
}

.hero-slide--welcome .hero-slide__amount {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: #ffffff;
  background-clip: unset;
  color: #ffffff;
}

.hero-slide--welcome .btn--primary {
  background: #39ff14;
  color: #3b0764;
}

.hero-slide--welcome .btn--primary:hover {
  background: #50ff30;
  color: #3b0764;
  box-shadow: 0 4px 20px rgba(57, 255, 20, 0.4);
}

.btn--welcome {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.5px;
  justify-content: center;
}

.btn__icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-slide--gambit {
  background: var(--gradient-hero-2);
}

.hero-slide--tournament {
  background: var(--gradient-hero-3);
}

.hero-slide--loyalty {
  background: var(--gradient-hero-4);
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-slide::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.hero-slide__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.hero-slide__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-secondary);
}

.hero-slide__amount {
  font-size: 56px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
}

.hero-slide__sub {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-slide__login {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-slide__login a {
  color: var(--accent-primary);
  font-weight: 600;
}

.hero-slide__visual {
  position: relative;
  z-index: 2;
}

.hero-slide__visual--welcome {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide__hero-img {
  max-height: 280px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.3));
}

.hero-rocket {
  font-size: 120px;
  filter: drop-shadow(0 0 40px rgba(255, 107, 0, 0.3));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

.hero-carousel__controls {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 0;
  background: var(--bg-primary);
  z-index: 10;
}

.hero-carousel__btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.hero-carousel__btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-carousel__dots {
  display: flex;
  gap: 8px;
}

.hero-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.hero-carousel__dot.active {
  background: #39ff14;
  width: 28px;
  border-radius: 5px;
}

/* ===== PROMO BANNERS ===== */
.promo-banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0 16px;
  margin-bottom: 24px;
}

.promo-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid var(--border-color-light);
}

.promo-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.promo-card--loyalty {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(22, 22, 54, 0.9) 100%);
}

.promo-card--gambit {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(22, 22, 54, 0.9) 100%);
}

.promo-card__icon {
  font-size: 36px;
  flex-shrink: 0;
}

.promo-card__title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.promo-card__text {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ===== CREATE ACCOUNT ===== */
.create-account {
  margin: 0;
  padding: 20px 24px;
  background: var(--gradient-hero-1);
  border-radius: var(--radius-xl);
  flex: 0 0 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.create-account__title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  text-align: center;
}

.create-account__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.create-account__fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.create-account__field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #39ff14;
  margin-bottom: 4px;
}

.create-account__field input,
.create-account__field select {
  width: 100%;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.25);
  color: #ffffff;
  font-size: 13px;
  transition: border-color 0.2s;
}

.create-account__field input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.create-account__field input:focus,
.create-account__field select:focus {
  outline: none;
  border-color: #39ff14;
}

.create-account__field select option {
  background: #1a1a3e;
  color: #ffffff;
}

.create-account__checkboxes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.create-account__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.create-account__checkbox a {
  color: #39ff14;
  text-decoration: underline;
}

.create-account__checkbox a:hover {
  color: #50ff30;
}

.create-account__checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: #39ff14;
}

.create-account__btn {
  align-self: center;
  margin-top: 2px;
  background: #39ff14;
  color: #3b0764;
  border: none;
}

.create-account__btn:hover {
  background: #50ff30;
  color: #3b0764;
  box-shadow: 0 4px 20px rgba(57, 255, 20, 0.4);
}

@media (max-width: 600px) {
  .create-account__fields {
    grid-template-columns: 1fr;
  }

  .create-account {
    padding: 24px 16px;
  }
}

/* ===== GAME CATEGORIES ===== */
.game-categories {
  padding: 0 16px;
  margin-bottom: 24px;
}

.category-tabs {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 20px 24px;
  justify-content: space-between;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  background: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
  min-width: 72px;
  font-family: inherit;
}

.category-tab__icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.category-tab__label {
  font-size: 11px;
  font-weight: 600;
  color: #3b0764;
  white-space: nowrap;
  text-align: center;
}

.category-tab:hover {
  background: rgba(139, 92, 246, 0.08);
}

.category-tab.active {
  background: rgba(139, 92, 246, 0.12);
}

/* ===== PROMO BANNER FULL ===== */
.promo-banner-full {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0 16px 24px;
  padding: 32px 40px;
  background: var(--gradient-hero-1);
  border-radius: var(--radius-xl);
  border: none;
  min-height: 160px;
}

.promo-banner-full__img img {
  width: 180px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.promo-banner-full__title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.promo-banner-full__text {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.promo-banner-full__btn {
  background: #39ff14;
  color: #3b0764;
  border: none;
}

.promo-banner-full__btn:hover {
  background: #50ff30;
  color: #3b0764;
  box-shadow: 0 4px 20px rgba(57, 255, 20, 0.4);
}

@media (max-width: 768px) {
  .promo-banner-full {
    flex-direction: column;
    padding: 24px 16px;
    gap: 12px;
    text-align: center;
  }

  .promo-banner-full__img img {
    width: 160px;
  }

  .promo-banner-full__text {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .promo-banner-full__btn {
    padding: 10px 24px;
    font-size: 13px;
    min-width: auto;
  }
}

/* ===== GAMES SECTION ===== */
.games-section {
  padding: 24px 16px;
  margin: 0 16px 24px;
  background: #ffffff;
  border-radius: var(--radius-xl);
}

.games-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.games-section__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: #3b0764;
}

.games-section__title .material-icons-round {
  color: var(--accent-primary);
}

.games-section__view-all {
  font-size: 14px;
  font-weight: 600;
  color: #3b0764;
}

.games-section__more {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.games-section__more .btn {
  background: #39ff14;
  color: #3b0764;
  border: none;
  font-weight: 700;
}

.games-section__more .btn:hover {
  background: #50ff30;
  color: #3b0764;
  box-shadow: 0 4px 20px rgba(57, 255, 20, 0.4);
}

/* ===== GAME GRID ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.game-card {
  border-radius: 0;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color-light);
  transition: all var(--transition);
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-color);
}

.game-card__thumb {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

/* Placeholder game thumbnails with gradients */
.game-card__thumb--1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.game-card__thumb--2 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.game-card__thumb--3 { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.game-card__thumb--4 { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.game-card__thumb--5 { background: linear-gradient(135deg, #fa709a, #fee140); }
.game-card__thumb--6 { background: linear-gradient(135deg, #a18cd1, #fbc2eb); }
.game-card__thumb--7 { background: linear-gradient(135deg, #fccb90, #d57eeb); }
.game-card__thumb--8 { background: linear-gradient(135deg, #e0c3fc, #8ec5fc); }
.game-card__thumb--9 { background: linear-gradient(135deg, #f5576c, #ff6f00); }
.game-card__thumb--10 { background: linear-gradient(135deg, #0ba360, #3cba92); }
.game-card__thumb--11 { background: linear-gradient(135deg, #6a11cb, #2575fc); }
.game-card__thumb--12 { background: linear-gradient(135deg, #fc5c7d, #6a82fb); }
.game-card__thumb--13 { background: linear-gradient(135deg, #ff9a9e, #fecfef); }
.game-card__thumb--14 { background: linear-gradient(135deg, #a1c4fd, #c2e9fb); }
.game-card__thumb--15 { background: linear-gradient(135deg, #d4fc79, #96e6a1); }
.game-card__thumb--16 { background: linear-gradient(135deg, #84fab0, #8fd3f4); }
.game-card__thumb--17 { background: linear-gradient(135deg, #cfd9df, #e2ebf0); }
.game-card__thumb--18 { background: linear-gradient(135deg, #ffecd2, #fcb69f); }
.game-card__thumb--19 { background: linear-gradient(135deg, #ff9a9e, #fad0c4); }
.game-card__thumb--20 { background: linear-gradient(135deg, #fbc2eb, #a6c1ee); }

.game-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-card__thumb::before {
  content: '🎰';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  opacity: 0.6;
}

.game-card__thumb:has(.game-card__img)::before {
  display: none;
}

.game-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--accent-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 3;
  letter-spacing: 0.5px;
}

.game-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 26, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity var(--transition);
}

.game-card:hover .game-card__overlay {
  opacity: 1;
}

.game-card__overlay .btn--primary {
  background: #39ff14;
  color: #3b0764;
  border: none;
}

.game-card__overlay .btn--primary:hover {
  background: #50ff30;
  color: #3b0764;
}

.game-card__overlay .btn--outline {
  background: transparent;
  color: #39ff14;
  border: 1.5px solid #39ff14;
}

.game-card__overlay .btn--outline:hover {
  color: #50ff30;
  border-color: #50ff30;
}

.game-card__info {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.game-card__name {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card__provider {
  font-size: 11px;
  color: var(--text-muted);
}

/* ===== INFO SECTION ===== */
.info-section {
  padding: 48px 16px;
  background: #1e1e4a;
  border-radius: var(--radius-xl);
  margin: 0 16px 24px;
}

.info-section__title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.info-section > p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 32px;
  line-height: 1.8;
}

.info-section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
}

.info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-color);
}

.info-card .material-icons-round {
  font-size: 32px;
  color: #39ff14;
  margin-bottom: 12px;
}

.info-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.info-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
  background: #e8e8e8;
  border-top: none;
  padding: 48px 24px 24px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 2fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer__brand .header__logo {
  margin-bottom: 12px;
}

.footer__tagline {
  font-size: 14px;
  color: #555555;
}

.footer__links {
  display: flex;
  gap: 40px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__col h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #3b0764;
}

.footer__col a {
  font-size: 13px;
  color: #555555;
}

.footer__col a:hover {
  color: #3b0764;
}

.footer__social h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #3b0764;
}

.footer__social-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid #cccccc;
  border-radius: var(--radius-sm);
  color: #555555;
  transition: all var(--transition);
}

.footer__social-link:hover {
  color: #3b0764;
  background: rgba(0, 0, 0, 0.05);
  border-color: #3b0764;
}

.footer__social-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.footer__badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  margin-bottom: 24px;
}

.footer__badge-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer__badge-img--wide {
  height: 32px;
}

.footer__badge {
  padding: 6px 16px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid #cccccc;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  color: #555555;
}

.footer__bottom {
  text-align: center;
}

.footer__bottom p {
  font-size: 12px;
  color: #777777;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

/* ===== MODAL ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.modal__content {
  position: relative;
  background: var(--bg-modal);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px;
  width: 90%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform var(--transition);
}

.modal.active .modal__content {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.modal__close:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

.modal__title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="text"],
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23a0a0c0' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.form-group--checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.form-group--checkbox input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--accent-primary);
}

.form-group--checkbox label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.form-group--checkbox label a {
  color: var(--accent-primary);
}

.modal__divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 13px;
}

.modal__divider::before,
.modal__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-color-light);
}

.modal__social {
  display: flex;
  gap: 12px;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--accent-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.4);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--accent-primary-hover);
  transform: translateY(-2px);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-secondary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .hero-row {
    flex-direction: column;
  }

  .create-account {
    flex: none;
    order: 1;
  }

  .hero-carousel {
    margin: 0;
    order: 0;
  }

  .hero-slide {
    padding: 32px 24px;
    min-height: 280px;
    flex-direction: column;
    text-align: center;
  }

  .hero-slide__visual {
    display: none;
  }

  .hero-slide__visual--welcome {
    display: flex;
    order: -1;
    margin-bottom: 16px;
  }

  .hero-slide__hero-img {
    max-height: 100px;
  }

  .hero-slide__amount {
    font-size: 42px;
  }

  .promo-banners {
    grid-template-columns: 1fr;
  }

  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer__links {
    flex-wrap: wrap;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 0 12px;
    gap: 8px;
  }

  .header__left {
    gap: 8px;
    min-width: 0;
    flex-shrink: 1;
  }

  .logo-img {
    height: 28px;
  }

  .header__nav {
    display: none;
  }

  #loginBtn {
    display: none;
  }

  #registerBtn {
    font-size: 12px;
    padding: 8px 16px;
    flex-shrink: 0;
  }

  .hero-slide {
    padding: 24px 16px;
    min-height: 240px;
  }

  .hero-slide__amount {
    font-size: 36px;
  }

  .hero-slide__title {
    font-size: 22px;
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .category-tabs {
    padding: 16px;
    gap: 8px;
    justify-content: flex-start;
  }

  .category-tab {
    min-width: calc(25% - 6px);
    padding: 10px 4px;
  }

  .category-tab__icon {
    width: 28px;
    height: 28px;
  }

  .category-tab__label {
    font-size: 10px;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.games-section,
.promo-banners,
.info-section {
  animation: fadeInUp 0.6s ease-out;
}

/* ===== STARFIELD BACKGROUND ===== */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 30% 65%, rgba(255,255,255,0.2), transparent),
    radial-gradient(1px 1px at 50% 10%, rgba(255,255,255,0.25), transparent),
    radial-gradient(1px 1px at 70% 40%, rgba(255,255,255,0.15), transparent),
    radial-gradient(1px 1px at 90% 80%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 15% 85%, rgba(255,255,255,0.2), transparent),
    radial-gradient(1px 1px at 45% 50%, rgba(255,255,255,0.15), transparent),
    radial-gradient(1px 1px at 75% 15%, rgba(255,255,255,0.25), transparent),
    radial-gradient(1px 1px at 85% 55%, rgba(255,255,255,0.2), transparent),
    radial-gradient(1px 1px at 25% 35%, rgba(255,255,255,0.15), transparent),
    radial-gradient(1px 1px at 55% 75%, rgba(255,255,255,0.2), transparent),
    radial-gradient(1px 1px at 5% 45%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 65% 90%, rgba(255,255,255,0.15), transparent),
    radial-gradient(1px 1px at 95% 25%, rgba(255,255,255,0.25), transparent),
    radial-gradient(1px 1px at 35% 95%, rgba(255,255,255,0.2), transparent),
    radial-gradient(2px 2px at 20% 50%, rgba(139,92,246,0.3), transparent),
    radial-gradient(2px 2px at 80% 70%, rgba(255,107,0,0.2), transparent),
    radial-gradient(2px 2px at 60% 30%, rgba(6,182,212,0.2), transparent);
}
