/* ===========================
   VEGABET NAVBAR
=========================== */
.navbar {
  width: 100%;
  background: var(--site-bg);
  position: sticky;
  top: 0;
  z-index: 2000;
}

#app-header {
  position: sticky;
  top: 0;
  z-index: 2000;
}

#app-header .navbar {
  position: relative;
  top: auto;
}

.navbar-top {
  width: calc(100% - 14px);
  height: 54px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #000d24;
  border-radius: 7px;
  margin: 6px 7px 3px;
  overflow: hidden;
}

.navbar-logo {
  font-family: 'Rajdhani', 'Inter', sans-serif;
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  text-transform: uppercase;
}

.navbar-logo span { color: #f5a100; }

.navbar-logo sup {
  color: #f5a100;
  font-size: 14px;
  margin-left: 2px;
  margin-top: -24px;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-menu::-webkit-scrollbar { display: none; }

.main-menu a {
  color: #eef4ff;
  font-family: 'Rajdhani', 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  padding: 0 14px;
  line-height: 1;
  position: relative;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  height: 33px;
  /* border-left kaldÄ±rÄ±ldÄ± */
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.main-menu a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #f5a100;
  opacity: 0;
}

.main-menu a:hover {
  color: #ffffff;
  background: #16243d;
}

.main-menu a.active-page {
  color: #0b0b0b;
  background: #f5a100;
  text-shadow: none;
  border-left-color: rgba(0, 0, 0, 0.12);
}

.main-menu a.active-page::before { opacity: 0; }

.main-menu a:hover::before { opacity: 1; }

.navbar-bottom {
  width: calc(100% - 14px);
  min-height: 34px;
  background: #2a3348;
  padding: 0 8px 0 115px;
  justify-content: flex-start;
  border-radius: 7px;
  margin: 0 7px 6px;
  overflow: hidden;
}

.navbar-bottom a { transform: none; }

.badge.special {
  background: #53b659;
  color: #fff;
  font-size: 9px;
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: 4px;
  font-weight: 700;
  vertical-align: top;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.send-btn,
.menu-dot-btn {
  width: 36px;
  height: 30px;
  border-radius: 5px;
  background: #0fb53d;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.bonus-btn {
  background: #0fb53d;
  color: #fff;
  border-radius: 5px;
  padding: 7px 14px;
  font-weight: 700;
  border: none;
  font-size: 13px;
}

.login-btn,
.register-btn {
  background: transparent;
  color: #fff;
  border-radius: 5px;
  padding: 7px 10px;
  font-weight: 700;
  font-size: 12px;
  border: none;
}

.register-btn {
  background: #f7a51d;
  color: #161616;
}

.login-btn { border-bottom: 1px solid #f7a51d; }

.lang-btn {
  background: transparent;
  color: #d9e1f3;
  border: none;
  padding: 7px 8px;
  font-size: 12px;
  font-weight: 700;
}

.clock {
  background: #22314f;
  color: #ffffff;
  padding: 7px 10px;
  border-radius: 5px;
  font-family: 'Rajdhani', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
}

.lang-select {
  background: #232b3e;
  color: #fff;
  border-radius: 6px;
  border: none;
  padding: 6px 10px;
  font-weight: 600;
  margin-right: 8px;
}

.navbar + .main { padding-top: 0; }

@media (max-width: 1200px) {
  .navbar-logo { font-size: 30px; }
  .main-menu a { font-size: 14px; }
}

@media (max-width: 768px) {
  .navbar-top { height: 50px; }
  .navbar-logo { font-size: 24px; }
  .header-actions .bonus-btn,
  .header-actions .clock,
  .header-actions .menu-dot-btn,
  .header-actions .send-btn { display: none; }
  .main-menu a { font-size: 12px; }
}

/* ===========================
   QUICK HUB
=========================== */
.quick-hub {
  position: relative;
  margin: 30px 0 45px;
  padding: 12px 8px 10px;
  background: transparent;
  border-top: 0;
  border-bottom: 0;
}

.quick-hub-track {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}

.quick-hub-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.quick-hub-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  color: #fff;
  background: radial-gradient(circle at 30% 25%, #223f72 0%, #0e2244 55%, #091631 100%);
  border: 2px solid #ff5b2a;
  box-shadow: 0 0 0 3px rgba(25, 44, 79, 0.95), inset 0 0 14px rgba(0,0,0,0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-hub-item:hover .quick-hub-icon {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 0 3px rgba(25, 44, 79, 0.95), 0 8px 20px rgba(0,0,0,0.4), inset 0 0 14px rgba(0,0,0,0.45);
}

.quick-hub-label {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.2px;
}

@media (max-width: 1200px) {
  .quick-hub-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 14px;
  }
}

@media (max-width: 680px) {
  .quick-hub-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-hub-icon {
    width: 82px;
    height: 82px;
    font-size: 35px;
  }
}

/* ===========================
   QUICK HUB STORY MODAL
=========================== */
.story-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.story-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.story-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 6, 20, 0.72);
  backdrop-filter: blur(8px);
}

.story-shell {
  position: relative;
  width: min(980px, 95vw);
  margin: 42px auto 0;
  min-height: 640px;
}

.story-progress {
  position: absolute;
  top: 16px;
  left: 120px;
  right: 120px;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  z-index: 3;
}

.story-progress-seg {
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  overflow: hidden;
}

.story-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  background: rgba(255,255,255,0.85);
}

.story-progress-fill.done {
  width: 100%;
}

.story-progress-fill.active {
  animation: storyProgressFill linear forwards;
}

.story-close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(12, 22, 44, 0.75);
  color: #fff;
  font-size: 18px;
  z-index: 4;
}

.story-stage {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 22px;
  align-items: center;
  padding-top: 50px;
}

.story-card {
  border-radius: 14px;
  background: linear-gradient(160deg, #1a2a46 0%, #0f1a31 100%);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.story-main {
  min-height: 680px;
}

.story-side {
  min-height: 540px;
  opacity: 0.75;
  transform: scale(0.9);
}

.story-head {
  display: flex;
  justify-content: center;
  gap: 10px;
  color: #b5c7eb;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.story-title {
  text-align: center;
  color: #fff;
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 10px;
}

.story-side .story-title {
  font-size: 30px;
}

.story-visual {
  flex: 1;
  min-height: 340px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: radial-gradient(circle at 35% 30%, #5d2a0f 0%, #2a0f0a 46%, #100e1b 100%);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 170px;
}

.story-side .story-visual {
  min-height: 250px;
  font-size: 120px;
}

.story-prize-lbl {
  text-align: center;
  color: #c9d4ea;
  font-size: 25px;
}

.story-prize {
  text-align: center;
  color: #ffb33b;
  font-size: 60px;
  font-weight: 800;
  margin: 4px 0 14px;
}

.story-side .story-prize {
  font-size: 46px;
}

.story-cta {
  height: 52px;
  border-radius: 10px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(180deg, #ff7e44 0%, #ff4b3f 100%);
}

.story-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 74px;
  border-radius: 14px;
  z-index: 4;
  font-size: 48px;
  color: #1a2336;
  background: rgba(255,255,255,0.9);
}

.story-nav-left { left: -6px; }
.story-nav-right { right: -6px; }

@media (max-width: 980px) {
  .story-shell { width: 96vw; min-height: auto; }
  .story-stage { grid-template-columns: 1fr; }
  .story-side { display: none; }
  .story-main { min-height: 620px; }
  .story-title { font-size: 34px; }
  .story-prize { font-size: 48px; }
  .story-nav-left { left: 8px; }
  .story-nav-right { right: 8px; }
}

@keyframes storyProgressFill {
  from { width: 0; }
  to { width: 100%; }
}

/* ===========================
   FEATURED EVENTS
=========================== */
.featured-events {
  background: transparent;
  margin-top: 20px;
  padding: 0 0 12px;
}
.featured-events-title {
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.3px;
  margin: 0 8px 8px;
}
.featured-events-viewport {
  overflow: hidden;
  width: 100%;
  padding: 0 14px;
  position: relative;
  isolation: isolate;
}
.featured-events-viewport::before,
.featured-events-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30px;
  pointer-events: none;
  z-index: 2;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.featured-events-viewport::before {
  left: 0;
  background: linear-gradient(90deg, rgba(8, 15, 30, 0.5) 0%, rgba(8, 15, 30, 0.16) 58%, rgba(8, 15, 30, 0) 100%);
}
.featured-events-viewport::after {
  right: 0;
  background: linear-gradient(270deg, rgba(8, 15, 30, 0.5) 0%, rgba(8, 15, 30, 0.16) 58%, rgba(8, 15, 30, 0) 100%);
}
.featured-events-track {
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: max-content;
  transition: transform 0.65s ease;
  will-change: transform;
}
.event-box {
  background: #0f1b37;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  flex: 0 0 calc((100vw - 52px) / 3);
  min-width: 0;
  min-height: 132px;
  padding: 10px 12px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.event-header {
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #dce6ff;
  border-bottom: 1px dashed rgba(255,255,255,0.12);
  padding-bottom: 8px;
}
.event-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
}
.event-match-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}
.team {
  font-weight: 700;
  font-size: 12px;
  text-align: center;
}
.event-date {
  color: #ffb300;
  font-size: 11px;
  text-align: center;
}
.odds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-top: auto;
}
.odds a {
  background: #232b3e;
  color: #ffffff;
  border-radius: 6px;
  padding: 6px 4px;
  font-weight: 700;
  font-size: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.odds a:nth-child(2) {
  color: #ffffff;
}

.odds a:hover {
  background: #f5a100;
  color: #101726;
  transform: translateY(-1px);
}

.odds a:hover b {
  color: #101726;
}

.odds a:hover:nth-child(2) {
  color: #ffffff;
}
.odds a b {
  color: #ffb300;
  font-size: 13px;
  margin-top: 0;
}

/* ===========================
   CATEGORY SHOWCASE
=========================== */
.category-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 0.8fr 0.8fr;
  gap: 5px;
  width: calc(100% - 4px);
  max-width: 1800px;
  margin: 16px auto 26px;
  background: transparent;
  border: 0;
  align-items: start;
  justify-items: stretch;
}

.showcase-slot {
  grid-column: 1;
  grid-row: 1;
}

.showcase-sport {
  grid-column: 1;
  grid-row: 2;
}

.showcase-live {
  grid-column: 2;
  grid-row: 1;
}

.showcase-live-sports {
  grid-column: 2;
  grid-row: 2;
}

.showcase-games {
  grid-column: 3;
  grid-row: 1;
}

.showcase-vip {
  grid-column: 3;
  grid-row: 2;
}

.showcase-bonus {
  grid-column: 4;
  grid-row: 1 / span 2;
  align-self: stretch;
}

.showcase-telegram {
  grid-column: 5;
  grid-row: 1 / span 2;
  align-self: stretch;
  min-width: calc(100% + 18px);
}

.showcase-card {
  min-height: auto;
  border-radius: 0;
  padding: 13px;
  box-sizing: border-box;
  background: transparent;
  border: 0;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  overflow: visible;
  position: relative;
  transition: transform 0.2s ease;
}

.showcase-card::after {
  content: '';
  position: absolute;
  inset: 13px;
  border-radius: 18px;
  background: rgba(0,0,0,0);
  transition: background 0.2s ease;
  pointer-events: none;
  z-index: 3;
}

.showcase-card:hover {
  transform: none;
}

.showcase-card:hover::after {
  background: rgba(0,0,0,0.14);
}

.showcase-img {
  width: 100%;
  aspect-ratio: 2.6 / 1;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  align-self: stretch;
  margin-top: 0;
  display: block;
  border-radius: 18px;
  filter: drop-shadow(0 17px 24px rgba(0,0,0,0.42)) drop-shadow(0 4px 7px rgba(255,200,60,0.18));
  transform-origin: center center;
  transition: transform 0.2s ease, filter 0.2s ease;
  position: relative;
  z-index: 2;
  animation: showcaseImgGlow 3.6s ease-in-out infinite;
}

.showcase-bonus .showcase-img,
.showcase-telegram .showcase-img {
  flex: 1 1 auto;
  height: 100%;
  min-height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

.showcase-bonus .showcase-img {
  background: linear-gradient(135deg, #df2941 0%, #bf1833 100%);
}

.showcase-telegram .showcase-img {
  background: linear-gradient(135deg, #39c4ff 0%, #2976ff 100%);
}

.showcase-card:hover .showcase-img {
  transform: none;
  filter: drop-shadow(0 19px 28px rgba(0,0,0,0.44)) drop-shadow(0 6px 8px rgba(255,200,60,0.2));
}

.showcase-title {
  display: none;
}

/* ===========================
   FEATURED CATALOG
=========================== */
.section.featured-catalog {
  max-width: none;
  padding: 0.4rem 6px 1rem;
}

.catalog-block {
  margin-bottom: calc(0.85rem + 35px);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.catalog-card {
  position: relative;
  aspect-ratio: auto;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  background-color: #111;
  display: flex;
  align-items: flex-end;
  padding: 0;
  isolation: isolate;
}

.catalog-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.catalog-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(6, 10, 20, 0.72) 0%, rgba(6, 10, 20, 0.18) 48%, rgba(6, 10, 20, 0.02) 100%),
    radial-gradient(70% 85% at 80% 30%, rgba(255,255,255,0.16), rgba(255,255,255,0) 68%);
}

.catalog-name {
  display: none;
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 8px;
}

.catalog-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 14px;
  background: rgba(7, 14, 28, 0.22);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.catalog-overlay-title {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0,0,0,0.45);
}

.catalog-actions {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.catalog-btn {
  height: 32px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.catalog-btn.play {
  background: #f5a100;
  color: #111;
}

.catalog-btn.demo {
  border: 1px solid rgba(255,255,255,0.65);
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.catalog-card:hover .catalog-overlay {
  opacity: 1;
}

.catalog-card:hover .catalog-img {
  transform: scale(1.03);
  filter: blur(3px) brightness(0.62);
}

.catalog-card:hover .catalog-name,
.catalog-card:hover .catalog-badge {
  opacity: 0;
}

.catalog-badge {
  position: absolute;
  top: 0;
  right: 8px;
  z-index: 2;
  background: #7b4bb9;
  color: #fff;
  padding: 2px 5px;
  font-size: 8px;
  font-weight: 700;
  transform: rotate(45deg) translate(14px, -8px);
  transform-origin: top right;
}


@media (max-width: 1200px) {
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

.showcase-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 2;
  text-shadow: 0 3px 8px rgba(0,0,0,0.55);
}

@keyframes showcaseImgGlow {
  0%, 100% {
    filter: drop-shadow(0 12px 16px rgba(0,0,0,0.42)) drop-shadow(0 3px 4px rgba(255,200,60,0.16));
  }
  50% {
    filter: drop-shadow(0 14px 18px rgba(0,0,0,0.48)) drop-shadow(0 5px 6px rgba(255,200,60,0.3));
  }
}

@media (max-width: 1100px) {
  .category-showcase {
    grid-template-columns: repeat(3, minmax(0, 1fr)) 0.86fr 0.86fr;
    gap: 4px;
    width: calc(100% - 10px);
    max-width: none;
    margin: 12px auto 18px;
  }

  .showcase-slot { grid-column: 1; grid-row: 1; }
  .showcase-live { grid-column: 2; grid-row: 1; }
  .showcase-games { grid-column: 3; grid-row: 1; }
  .showcase-sport { grid-column: 1; grid-row: 2; }
  .showcase-live-sports { grid-column: 2; grid-row: 2; }
  .showcase-vip { grid-column: 3; grid-row: 2; }
  .showcase-bonus {
    grid-column: 4;
    grid-row: 1 / span 2;
    align-self: stretch;
  }

  .showcase-telegram {
    grid-column: 5;
    grid-row: 1 / span 2;
    align-self: stretch;
  }

  .showcase-bonus .showcase-img,
  .showcase-telegram .showcase-img {
    flex: none;
    height: 100%;
    min-height: 100%;
    aspect-ratio: auto;
  }
}

@media (max-width: 768px) {
  .category-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 6px);
    margin: 8px auto 12px;
    gap: 4px;
  }

  .showcase-slot { grid-column: 1; grid-row: 1; }
  .showcase-live { grid-column: 2; grid-row: 1; }
  .showcase-sport { grid-column: 1; grid-row: 2; }
  .showcase-live-sports { grid-column: 2; grid-row: 2; }
  .showcase-games { grid-column: 1; grid-row: 3; }
  .showcase-vip { grid-column: 1; grid-row: 4; }
  .showcase-bonus {
    grid-column: 2;
    grid-row: 3;
    align-self: start;
  }
  .showcase-telegram {
    grid-column: 2;
    grid-row: 4;
    align-self: start;
  }

  .showcase-img {
    width: 100%;
    aspect-ratio: 2.58 / 1;
    max-height: none;
  }

  .showcase-bonus .showcase-img {
    aspect-ratio: 1 / 1;
    height: auto;
    min-height: 0;
  }

  .showcase-telegram .showcase-img {
    aspect-ratio: 1 / 1;
    height: auto;
    min-height: 0;
  }
}

@media (max-width: 1100px) {
  .event-box { flex-basis: calc((100vw - 44px) / 2); }
  .featured-events-title { font-size: 16px; }
}

@media (max-width: 768px) {
  .featured-events-viewport { padding: 0 10px; }
  .featured-events-track { gap: 10px; }
  .event-box { flex-basis: calc(100vw - 30px); }
}

/* ===========================
   MAIN CATEGORIES
=========================== */
.main-categories {
  display: flex;
  justify-content: center;
  gap: 32px;
  background: #10182b;
  padding: 28px 0 18px 0;
  border-bottom: 1.5px solid #1a2236;
}
.category {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #161e2f;
  border-radius: 14px;
  padding: 18px 28px 12px 28px;
  min-width: 120px;
  box-shadow: 0 2px 12px #0002;
  color: #fff;
  font-weight: 700;
  font-size: 1.08rem;
  transition: background 0.2s, transform 0.2s;
}
.category img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  margin-bottom: 2px;
}
.category:hover {
  background: #232b3e;
  transform: translateY(-4px) scale(1.04);
  color: #ffb300;
}
/* ===========================
   RESET & VARIABLES
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --site-bg: #00081b;
  --bg-base: var(--site-bg);
  --bg-surface: #111120;
  --bg-card: #16162a;
  --bg-card-hover: #1e1e38;
  --accent: #c89b3c;
  --accent-light: #f0c050;
  --accent-glow: rgba(200,155,60,0.35);
  --purple: #7c3aed;
  --purple-light: #a855f7;
  --purple-glow: rgba(124,58,237,0.4);
  --green: #10b981;
  --red: #ef4444;
  --text-primary: #f0f0f8;
  --text-secondary: #9090b0;
  --text-muted: #555575;
  --border: rgba(255,255,255,0.07);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --header-h: 68px;
  --transition: 0.22s ease;
  --font-main: 'Inter', sans-serif;
  --font-display: 'Rajdhani', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  background: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input { font-family: inherit; }

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }

/* ===========================
   HEADER
=========================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(9,9,15,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: background var(--transition);
}

.header.scrolled {
  background: rgba(9,9,15,0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.header-inner {
  max-width: 1600px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1.5rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.hamburger:hover { background: var(--bg-card); }
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-icon {
  font-size: 1.8rem;
  color: var(--accent);
  filter: drop-shadow(0 0 8px var(--accent-glow));
  line-height: 1;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-primary);
}
.logo-accent { color: var(--accent); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 0.5rem;
}
.main-nav::-webkit-scrollbar { display: none; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: var(--bg-card);
}
.nav-link.active { color: var(--accent); }
.nav-link.nav-highlight {
  color: var(--purple-light);
}
.nav-icon { font-size: 0.9rem; }

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.social-links {
  display: flex;
  gap: 0.4rem;
}
.social-btn {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.social-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(200,155,60,0.1);
}

.btn-login {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-card);
  transition: all var(--transition);
}
.btn-login:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-register {
  padding: 0.5rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  box-shadow: 0 4px 15px var(--purple-glow);
  transition: all var(--transition);
}
.btn-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px var(--purple-glow);
}

/* ===========================
   SIDEBAR
=========================== */
.sidebar {
  position: fixed;
  top: 0; left: -280px;
  width: 280px;
  height: 100vh;
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  z-index: 1100;
  transition: left 0.3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.sidebar.open { left: 0; }

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.sidebar-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
}
.sidebar-close:hover { color: var(--text-primary); background: var(--bg-card-hover); }

.sidebar-nav {
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.sidebar-link {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.sidebar-link:hover, .sidebar-link.active {
  background: var(--bg-card);
  color: var(--text-primary);
}
.sidebar-link.active { color: var(--accent); border-left: 3px solid var(--accent); }

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1050;
  backdrop-filter: blur(4px);
}
.sidebar-overlay.visible { display: block; }

/* ===========================
   MAIN
=========================== */
.main {
  padding-top: var(--header-h);
}

/* ===========================
   TICKER
=========================== */
.ticker-wrap {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  height: 40px;
  overflow: hidden;
}
.ticker-label {
  flex-shrink: 0;
  padding: 0 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red);
  background: rgba(239,68,68,0.1);
  border-right: 1px solid var(--border);
  height: 100%;
  display: flex; align-items: center;
  gap: 0.3rem;
}
.ticker-content {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  gap: 3rem;
  animation: tickerScroll 35s linear infinite;
  font-size: 0.78rem;
  color: var(--text-secondary);
  padding-left: 2rem;
}
.ticker-item { display: inline-flex; align-items: center; gap: 0.5rem; }
.ticker-name { color: var(--accent); font-weight: 600; }
.ticker-game { color: var(--text-secondary); }
.ticker-amount { color: var(--green); font-weight: 700; }

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===========================
   HERO SLIDER
=========================== */
.hero-slider {
  position: relative;
  height: 560px;
  margin: 6px 8px 0;
  border-radius: 6px;
  overflow: hidden;
}

.hero-slides { height: 100%; }

.hero-slide {
  position: absolute;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 6%;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* animated bg particles */
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(124,58,237,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(200,155,60,0.1) 0%, transparent 40%);
  pointer-events: none;
}

.hero-content {
  max-width: 540px;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  background: rgba(200,155,60,0.15);
  border: 1px solid rgba(200,155,60,0.3);
  color: var(--accent-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-hero-primary {
  padding: 0.75rem 2rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent), #e8a820);
  color: #000;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: all var(--transition);
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--accent-glow);
}

.btn-hero-secondary {
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}
.btn-hero-secondary:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.12);
}

.hero-visual {
  position: relative;
  width: 380px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* floating cards animation */
.floating-cards { position: relative; width: 220px; height: 220px; }
.fcard {
  position: absolute;
  width: 80px; height: 110px;
  background: linear-gradient(145deg, #fff, #e8e8e8);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  font-weight: 900;
  color: #222;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  animation: floatCard 3s ease-in-out infinite;
}
.fcard-1 { top: 10px; left: 20px; animation-delay: 0s; color: #111; }
.fcard-2 { top: 0; left: 80px; animation-delay: 0.4s; color: var(--red); }
.fcard-3 { top: 60px; left: 120px; animation-delay: 0.8s; color: var(--red); }
.fcard-4 { top: 80px; left: 30px; animation-delay: 1.2s; color: #111; }

@keyframes floatCard {
  0%,100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-12px) rotate(5deg); }
}

.trophy-animation, .roulette-visual {
  font-size: 8rem;
  animation: floatBig 3s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(200,155,60,0.5));
}
.roulette-visual { animation-name: spinBig; }

@keyframes floatBig {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-15px) scale(1.05); }
}
@keyframes spinBig {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.coin-rain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Slider controls */
.slider-controls {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2;
}
.slider-prev, .slider-next {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  line-height: 1;
}
.slider-prev:hover, .slider-next:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}
.slider-dots { display: flex; gap: 0.5rem; }
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: all var(--transition);
  cursor: pointer;
}
.dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ===========================
   STATS BAR
=========================== */
.stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  border-right: 1px solid var(--border);
  flex: 1;
  max-width: 280px;
  transition: background var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--bg-card); }
.stat-icon { font-size: 1.6rem; }
.stat-val {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}
.stat-lbl {
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===========================
   SECTIONS
=========================== */
.section {
  max-width: 1600px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}
.see-all {
  font-size: 0.85rem;
  color: var(--purple-light);
  font-weight: 600;
  transition: color var(--transition);
}
.see-all:hover { color: var(--accent); }

/* ===========================
   PROVIDERS
=========================== */
.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}
.provider-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
}
.provider-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3), 0 0 0 1px var(--accent-glow);
}
.provider-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.provider-count {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===========================
   GAME TABS
=========================== */
.game-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.game-tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.tab-btn:hover { color: var(--text-primary); background: var(--bg-card); }
.tab-btn.active {
  color: var(--accent);
  background: rgba(200,155,60,0.1);
  border-color: rgba(200,155,60,0.3);
}

/* ===========================
   GAMES GRID
=========================== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.6rem;
}

/* Wrapper */
.game-item {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.game-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(.22,.68,0,1.2);
  width: 100%;
  aspect-ratio: 1 / 1;
}
.game-card:hover {
  transform: translateY(-5px) scale(1.04);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 18px 40px rgba(0,0,0,0.65), 0 0 24px var(--purple-glow);
}
.game-card:hover .game-overlay { opacity: 1; }
.game-card:hover .game-info    { opacity: 1; }

.game-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
}
.game-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  opacity: 0;
  transition: opacity 0.18s ease;
  z-index: 3;
}
.btn-play {
  padding: 0.5rem 1.6rem;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--accent), #e8a820);
  color: #000;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 3px 12px rgba(200,155,60,0.55);
}
.btn-play:hover { transform: scale(1.07); box-shadow: 0 5px 18px rgba(200,155,60,0.7); }
.btn-demo {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.8);
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
}

/* Game name â inside card, bottom, only on hover */
.game-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 0.65rem 0.55rem;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 55%, transparent);
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
  z-index: 2;
}
.game-name {
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
  line-height: 1.3;
}
.game-provider {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Badge â top RIGHT corner like reference */
.game-badge {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  left: auto;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  z-index: 4;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
.badge-hot { background: var(--red); color: #fff; }
.badge-new { background: var(--green); color: #fff; }
.badge-live { background: var(--purple); color: #fff; }

.load-more-wrap {
  text-align: center;
  margin-top: 2rem;
}
.btn-load-more {
  padding: 0.75rem 2.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--bg-card);
  transition: all var(--transition);
}
.btn-load-more:hover {
  border-color: var(--purple);
  color: var(--purple-light);
  background: rgba(124,58,237,0.1);
}

/* ===========================
   TOP SHOWCASE (ABOVE WINNERS)
=========================== */
.dual-showcase {
  max-width: 1840px;
  margin: 0 auto;
  padding: 0 0 1.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.showcase-box {
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: radial-gradient(95% 110% at 10% 0%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 44%), #1d2436;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35) inset;
  min-height: 640px;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
}

.showcase-box-left {
  background:
    radial-gradient(60% 95% at 100% 0%, rgba(192,158,67,0.16) 0%, rgba(192,158,67,0) 65%),
    linear-gradient(135deg, #202736 0%, #1b2233 100%);
}

.showcase-box-right {
  background:
    radial-gradient(60% 95% at 8% 0%, rgba(225,79,201,0.13) 0%, rgba(225,79,201,0) 65%),
    linear-gradient(135deg, #202736 0%, #1b2233 100%);
}

.showcase-head {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.showcase-head h3 {
  margin: 0;
  color: #f4f5fa;
  font-size: 31px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-family: 'Rajdhani', 'Inter', sans-serif;
}

.showcase-head-icon {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  transform: translateY(3px);
}

.showcase-head-icon i {
  display: inline-block;
  width: 7px;
  border-radius: 3px;
}

.showcase-head-icon i:nth-child(1) { height: 20px; }
.showcase-head-icon i:nth-child(2) { height: 30px; }
.showcase-head-icon i:nth-child(3) { height: 40px; }
.bars-yellow i { background: #ffe100; }
.bars-pink i { background: #ff3fb9; }

.showcase-main-grid {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 18px;
  padding: 0 26px 22px;
  margin-top: 38px;
}

.showcase-main-card {
  position: relative;
  flex: 0 0 25%;
  max-width: 172px;
  text-align: center;
}

.showcase-main-card:nth-child(1) {
  transform: translateY(10px) scale(0.9);
  filter: brightness(0.85);
  z-index: 1;
}

.showcase-main-card:nth-child(2) {
  transform: translateY(-8px) scale(1.05);
  z-index: 3;
}

.showcase-main-card:nth-child(3) {
  transform: translateY(10px) scale(0.9);
  filter: brightness(0.85);
  z-index: 1;
}

.showcase-main-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  margin: 0 auto 12px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.45);
  transition: transform 0.22s ease, filter 0.22s ease;
}

.showcase-play-emblem {
  position: absolute;
  left: 50%;
  top: 36%;
  transform: translate(-50%, -50%) scale(0.88);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 5;
  pointer-events: auto;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.showcase-play-emblem::before {
  content: '';
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #ffffff;
  margin-left: 4px;
}

.showcase-main-card:hover img {
  filter: brightness(0.55);
  transform: scale(1.02);
}

.showcase-main-card:hover .showcase-play-emblem {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.showcase-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 126px;
  height: 34px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.01em;
  font-family: 'Rajdhani', 'Inter', sans-serif;
  margin-bottom: 8px;
}

.showcase-pill.yellow {
  color: #151515;
  background: linear-gradient(180deg, #ffe928 0%, #ffd500 100%);
}

.showcase-pill.pink {
  color: #ffffff;
  background: linear-gradient(180deg, #ff53ca 0%, #ff239f 100%);
}

.showcase-main-card p {
  margin: 0;
  color: #cfd4e3;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  font-family: 'Rajdhani', 'Inter', sans-serif;
}

.showcase-mini-row {
  position: relative;
  isolation: isolate;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(17, 24, 39, 0.45);
  overflow: hidden;
  padding: 16px 18px 14px;
  margin-top: auto;
}

.showcase-box-left .showcase-mini-row::before,
.showcase-box-left .showcase-mini-row::after,
.showcase-box-right .showcase-mini-row::before,
.showcase-box-right .showcase-mini-row::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30px;
  pointer-events: none;
  z-index: 2;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.showcase-box-left .showcase-mini-row::before {
  left: 0;
  background: linear-gradient(90deg, rgba(30, 38, 55, 0.9) 0%, rgba(30, 38, 55, 0) 100%);
}

.showcase-box-left .showcase-mini-row::after {
  right: 0;
  background: linear-gradient(270deg, rgba(30, 38, 55, 0.9) 0%, rgba(30, 38, 55, 0) 100%);
}

.showcase-box-right .showcase-mini-row::before {
  left: 0;
  background: linear-gradient(90deg, rgba(41, 31, 54, 0.9) 0%, rgba(41, 31, 54, 0) 100%);
}

.showcase-box-right .showcase-mini-row::after {
  right: 0;
  background: linear-gradient(270deg, rgba(41, 31, 54, 0.9) 0%, rgba(41, 31, 54, 0) 100%);
}

.showcase-mini-track {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: max-content;
  animation: showcaseTicker 22s ease-in-out infinite;
}

@keyframes showcaseTicker {
  0%, 16% { transform: translateX(0); }
  32%, 48% { transform: translateX(-16.666%); }
  64%, 80% { transform: translateX(-33.333%); }
  100% { transform: translateX(-50%); }
}

.showcase-mini-item {
  text-align: center;
  flex: 0 0 102px;
}

.showcase-mini-item img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 6px;
  border: 2px solid rgba(255,255,255,0.14);
}

.showcase-box-left .showcase-mini-item img,
.showcase-box-right .showcase-mini-item img {
  border-radius: 11px;
}

.showcase-mini-item span {
  display: block;
  color: #aeb5c8;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 1px;
}

.showcase-mini-item strong {
  color: #e9edf8;
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
  font-family: 'Rajdhani', 'Inter', sans-serif;
}

/* ===========================
   WINNERS
=========================== */
.winners-section {
  background: transparent;
  max-width: none;
  width: 100%;
  padding: 2.3rem 0 2.8rem;
}

.bets-shell {
  max-width: 1840px;
  margin: 0 auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.bets-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.95rem;
  padding: 0 0.2rem;
}

.bets-title {
  margin: 0;
  color: #f1f6ff;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.bets-page-size {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.bets-page-size select {
  appearance: none;
  min-width: 58px;
  height: 34px;
  padding: 0 2rem 0 0.8rem;
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #1b2739;
  color: #f1f6ff;
  font-size: 0.92rem;
  font-weight: 700;
}

.bets-page-size::after {
  content: 'â¾';
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-48%);
  color: #f1f6ff;
  font-size: 0.7rem;
  pointer-events: none;
}

.winner-tabs.bets-tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding: 0 0.2rem;
}

.wtab {
  padding: 0.72rem 1.05rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #a8b5cb;
  background: #162235;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.wtab:hover {
  color: #ffffff;
  background: #1c2a40;
}

.wtab.active {
  background: linear-gradient(180deg, #5b9cff 0%, #4c84ea 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(76, 132, 234, 0.26);
}

.bets-table-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 3px;
}

.bets-table-scroll::-webkit-scrollbar {
  height: 6px;
}

.bets-table-scroll::-webkit-scrollbar-thumb {
  background: rgba(133, 156, 194, 0.28);
  border-radius: 999px;
}

.bets-head-row,
.bets-row {
  min-width: 1020px;
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(0, 1.5fr) 80px 1.15fr 0.9fr 1.1fr;
  align-items: center;
  gap: 14px;
}

.bets-list-viewport {
  position: relative;
  isolation: isolate;
  min-width: 1020px;
  overflow: hidden;
}

.bets-list-viewport::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42px;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0, 8, 27, 0) 0%, rgba(0, 8, 27, 0.22) 42%, rgba(0, 8, 27, 0.94) 100%);
}

.bets-head-row {
  padding: 0 0.9rem 0.7rem;
  color: #dce7fb;
  font-size: 0.92rem;
  font-weight: 700;
}

.winners-list.bets-list {
  min-width: 1020px;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transform: translateY(0);
}

.winners-list.bets-list.is-ticking {
  will-change: transform;
}

.bets-row {
  position: relative;
  flex: 0 0 auto;
  padding: 0.82rem 0.7rem;
  border-radius: 8px;
  background: linear-gradient(180deg, #1f2b3b 0%, #1c2838 100%);
  border: 1px solid rgba(255,255,255,0.04);
  color: #eef4ff;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.24s ease, filter 0.24s ease, transform 0.24s ease;
  animation: betsRowFadeIn 0.28s ease both;
}

.bets-row.is-emerging {
  opacity: 0.38;
  filter: saturate(0.72) blur(1.15px);
  transform: none;
}

.bets-row.is-departing {
  border-color: rgba(255, 78, 78, 0.34);
  box-shadow: inset 3px 0 0 #ff4b4b;
}

.bets-row.is-departing::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4b4b;
  box-shadow: 0 0 0 4px rgba(255, 75, 75, 0.16);
}

.bets-game,
.bets-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.bets-game-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #2c3747 0%, #262f3d 100%);
  border: 1px solid rgba(255,255,255,0.05);
}

.bets-game-icon::before {
  content: '777';
  color: rgba(255,255,255,0.16);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  font-family: 'Rajdhani', 'Inter', sans-serif;
}

.bets-game-name,
.bets-user-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bets-game-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #f0f4fb;
}

.bets-avatar {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  position: relative;
  border-radius: 50%;
  background: linear-gradient(180deg, #2b384b 0%, #1d2838 100%);
  border: 2px solid #4d92ff;
  box-shadow: 0 0 0 2px rgba(19, 32, 53, 0.95);
}

.bets-avatar::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #edf4ff;
  transform: translateX(-50%);
}

.bets-avatar::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 14px;
  height: 8px;
  border-radius: 8px 8px 4px 4px;
  background: #edf4ff;
  transform: translateX(-50%);
}

.bets-user-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f0f4fb;
}

.bets-time,
.bets-multiplier {
  font-size: 0.95rem;
  font-weight: 700;
  color: #cbd7ec;
}

.bets-stake,
.bets-payout {
  display: inline-flex;
  align-items: baseline;
  gap: 0.38rem;
  font-family: 'Rajdhani', 'Inter', sans-serif;
  font-weight: 800;
}

.bets-stake-value,
.bets-payout-value {
  font-size: 1.12rem;
  line-height: 1;
}

.bets-stake-value {
  color: #f7ac1d;
}

.bets-payout-value {
  color: #a7b3c8;
}

.bets-payout.positive .bets-payout-value {
  color: #f7ac1d;
}

.bets-currency {
  color: #7f8ea8;
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1;
}

@keyframes betsRowFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===========================
   PROMOTIONS
=========================== */
.promo-section {
  max-width: none;
  width: 100%;
  padding: 2.4rem 0 2.8rem;
}

.promo-section .section-header,
.promo-section .promo-grid {
  max-width: 1840px;
  margin-left: auto;
  margin-right: auto;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.promo-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.promo-card-1 { background: linear-gradient(135deg, #1a0a2e, #4a1d6b); }
.promo-card-2 { background: linear-gradient(135deg, #0a1f0a, #1a4a1a); }
.promo-card-3 { background: linear-gradient(135deg, #1a1a0a, #4a3a00); }
.promo-card-4 { background: linear-gradient(135deg, #0a1a2e, #0a3a4a); }

.promo-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.promo-badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  background: rgba(255,255,255,0.12);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
}
.promo-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.promo-content p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.promo-content strong { color: var(--accent-light); }

.btn-promo {
  display: inline-block;
  padding: 0.55rem 1.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all var(--transition);
}
.btn-promo:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

/* ===========================
   LIVE SUPPORT FLOAT
=========================== */
.live-support {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 8px 24px var(--purple-glow);
  z-index: 500;
  transition: all var(--transition);
  animation: pulse 2.5s ease-in-out infinite;
}
.live-support:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 32px var(--purple-glow);
  animation: none;
}
.ls-icon { font-size: 1.1rem; }

@keyframes pulse {
  0%,100% { box-shadow: 0 8px 24px var(--purple-glow); }
  50% { box-shadow: 0 8px 32px rgba(124,58,237,0.7); }
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--site-bg);
  border-top: 1px solid rgba(89, 118, 182, 0.22);
  padding: 14px 24px 16px;
}

.footer-strip-top {
  max-width: 1440px;
  margin: 0 auto;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(120, 143, 192, 0.24);
}

.footer-social-mini {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-mini {
  width: 18px;
  height: 18px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #d6e4ff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(194, 213, 255, 0.26);
  transition: all 0.2s ease;
}

.social-mini:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.footer-lang-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d3ddf5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-clock-mini {
  padding: 2px 5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.lang-dot {
  width: 10px;
  height: 7px;
  border-radius: 1px;
  background: linear-gradient(180deg, #e4002b 0%, #b90021 100%);
}

.footer-link-columns {
  max-width: 1440px;
  margin: 14px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 24px;
}

.footer-col h4 {
  margin-bottom: 8px;
  color: #ebf2ff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  color: #aebfdf;
  font-size: 9px;
  line-height: 1.85;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: #fff; }

.footer-partner-title {
  max-width: 1440px;
  margin: 22px auto 8px;
  text-align: center;
  font-size: 9px;
  font-weight: 800;
  color: #dce7ff;
  letter-spacing: 0.11em;
}

.footer-license-card {
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 14px;
  border-top: 1px solid rgba(120, 143, 192, 0.24);
  border-bottom: 1px solid rgba(120, 143, 192, 0.2);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.footer-license-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-top-color: rgba(183, 201, 236, 0.45);
  border-bottom-color: rgba(183, 201, 236, 0.4);
}

.footer-license-logo {
  width: 145px;
  height: 92px;
  object-fit: contain;
  border-radius: 12px;
  flex-shrink: 0;
}

.footer-license-card p {
  margin: 0;
  color: #c8d6f5;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 600;
}

.footer-providers-title {
  max-width: 1440px;
  margin: 8px auto 10px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #ffffff;
}

.footer-providers-title::before,
.footer-providers-title::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(140, 163, 209, 0.28);
}

.footer-providers-title span {
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 48px;
  line-height: 1;
  color: #eef5ff;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.18);
}

.footer-provider-image-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 0 16px;
}

.footer-provider-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.footer-payments-panel {
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 0 10px;
}

.payment-label {
  text-align: center;
  color: #d4e0ff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.11em;
  margin-bottom: 10px;
}

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.pay-icon {
  padding: 6px 10px;
  border-radius: 2px;
  border: 1px solid rgba(186, 203, 240, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #afc0e4;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(120, 143, 192, 0.24);
}
.footer-bottom p {
  font-size: 8px;
  color: #a5b4d8;
  font-weight: 600;
}
.age-badge {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid #d85f7a;
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  font-weight: 800;
  flex-shrink: 0;
}

/* ===========================
   MODAL
=========================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.show, .modal-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.modal-overlay.show .auth-modal, .modal-overlay.open .auth-modal {
  transform: translateY(0) scale(1);
}
.modal {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 100000;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
}
.auth-modal {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: 90%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  z-index: 100001;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
}

.login-modal {
  max-width: 410px !important;
}

.register-modal {
  max-width: 520px !important;
}
.modal-close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.modal-close:hover { color: var(--text-primary); background: var(--bg-card-hover); }
.modal-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.modal-tabs {
  display: flex;
  gap: 0;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 3px;
  margin-bottom: 1.5rem;
}
.modal-tab {
  flex: 1;
  padding: 0.5rem;
  border-radius: calc(var(--radius-sm) - 2px);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.modal-tab.active {
  background: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}
.form-input {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-input:focus { border-color: var(--purple); }
.forgot-pass {
  display: block;
  text-align: right;
  font-size: 0.78rem;
  color: var(--purple-light);
  margin-bottom: 1.25rem;
}
.btn-modal-primary {
  width: 100%;
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition);
  box-shadow: 0 4px 15px var(--purple-glow);
  margin-bottom: 1rem;
}
.btn-modal-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--purple-glow);
}
.or-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.or-divider::before, .or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.btn-modal-google {
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all var(--transition);
}
.btn-modal-google:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255,255,255,0.2);
}
.hidden { display: none !important; }

/* ===========================
   REGISTER FORM EXTRAS
=========================== */
.register-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
  margin-bottom: 1rem;
}
.reg-full { grid-column: 1 / -1; }
.req { color: var(--red); font-size: 0.75rem; }

.phone-wrap { display: flex; gap: 0.5rem; }
.phone-code { flex: 0 0 110px; }
.phone-number { flex: 1; }

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.checkbox-input { display: none; }
.checkbox-custom {
  width: 18px; height: 18px;
  border-radius: 4px;
  border: 2px solid var(--border);
  background: var(--bg-card);
  flex-shrink: 0;
  margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.checkbox-input:checked + .checkbox-custom {
  background: var(--purple);
  border-color: var(--purple);
}
.checkbox-input:checked + .checkbox-custom::after {
  content: 'â';
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}
.link-inline { color: var(--purple-light); text-decoration: underline; }
.register-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.75rem;
}

/* ===========================
   PAGE HERO
=========================== */
.page-hero {
  background: var(--phbg, var(--bg-surface));
  position: relative;
  padding: 4rem 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  min-height: 200px;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(124,58,237,0.12) 0%, transparent 60%),
              radial-gradient(circle at 80% 30%, rgba(200,155,60,0.08) 0%, transparent 50%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-icon { font-size: 3rem; margin-bottom: 0.75rem; }
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.page-hero-sub { font-size: 1rem; color: var(--text-secondary); max-width: 500px; }

.live-badge-float {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 50px;
  color: #fca5a5;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.live-dot-anim {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: livePulseRed 1.2s ease-in-out infinite;
}
@keyframes livePulseRed {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(239,68,68,0.6); }
  50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(239,68,68,0); }
}

/* ===========================
   FILTER BAR
=========================== */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.filter-left { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.filter-right { flex-shrink: 0; }

.search-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.875rem;
  transition: border-color var(--transition);
}
.search-box:focus-within { border-color: var(--purple); }
.search-box input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.85rem;
  width: 180px;
}
.search-box input::placeholder { color: var(--text-muted); }

.filter-select-ui {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 0.82rem;
  outline: none;
  cursor: pointer;
}
.filter-select-ui option { background: var(--bg-card); }

.filter-chips {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.chip {
  padding: 0.4rem 0.875rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.chip:hover { color: var(--text-primary); border-color: rgba(255,255,255,0.2); }
.chip.active {
  background: rgba(124,58,237,0.15);
  color: var(--purple-light);
  border-color: rgba(124,58,237,0.4);
}

.game-count {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ===========================
   GAME ROW (horizontal scroll)
=========================== */
.game-row-section {
  margin-bottom: 0.75rem;
}
.games-row-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}
.games-row {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0.2rem 0.2rem 0.4rem;
  flex: 1;
}
.games-row::-webkit-scrollbar { display: none; }
.games-row .game-item {
  flex: 0 0 200px;
  width: 200px;
}
.games-row .game-card {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
}

.row-icon { margin-right: 0.3rem; }

.row-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
  font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.18s ease;
  z-index: 2;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.row-arrow:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.28);
  color: #fff;
  transform: scale(1.08);
}
.row-arrow-left { margin-right: 0.5rem; }
.row-arrow-right { margin-left: 0.5rem; }

/* ===========================
   LIVE STATS BAR
=========================== */
.live-stats-bar {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(239,68,68,0.06);
  border-bottom: 1px solid rgba(239,68,68,0.15);
}
.lstat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  border-right: 1px solid rgba(239,68,68,0.1);
  flex: 1;
}
.lstat:last-child { border-right: none; }
.lstat-icon { font-size: 1.5rem; }
.lstat-val { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--red); }
.lstat-lbl { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

/* ===========================
   LIVE TABLES GRID
=========================== */
.live-tables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.live-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}
.live-table-card:hover { transform: translateY(-4px); border-color: var(--red); box-shadow: 0 8px 24px rgba(239,68,68,0.15); }
.lt-thumb {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
}
.lt-live-dot {
  position: absolute;
  top: 0.5rem; left: 0.5rem;
  display: flex; align-items: center; gap: 0.3rem;
  padding: 0.2rem 0.5rem;
  background: rgba(239,68,68,0.9);
  border-radius: 50px;
  font-size: 0.62rem;
  font-weight: 700;
  color: #fff;
}
.lt-players {
  position: absolute;
  bottom: 0.5rem; right: 0.5rem;
  padding: 0.2rem 0.5rem;
  background: rgba(0,0,0,0.7);
  border-radius: 50px;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.8);
}
.lt-info { padding: 0.875rem; }
.lt-name { font-weight: 700; font-size: 0.88rem; margin-bottom: 0.2rem; }
.lt-provider { font-size: 0.7rem; color: var(--text-muted); margin-bottom: 0.6rem; }
.lt-limits { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--text-secondary); }

/* ===========================
   CRASH SHOWCASE
=========================== */
.crash-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}
.crash-mult-card {
  padding: 1.5rem 1.25rem;
  border-right: 1px solid var(--border);
  text-align: center;
  transition: background var(--transition);
}
.crash-mult-card:last-child { border-right: none; }
.crash-mult-card:hover { background: var(--bg-card); }
.crash-game-name { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 0.5rem; }
.crash-mult {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  transition: color 0.3s;
}
.crash-players { font-size: 0.72rem; color: var(--text-muted); margin-bottom: 1rem; }
.btn-play-crash {
  display: block;
  width: 100%;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  transition: all var(--transition);
}
.btn-play-crash:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(124,58,237,0.4); }

/* ===========================
   SPORTS PAGE
=========================== */
.sport-tabs {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
  margin-bottom: 1.25rem;
}
.sport-tabs::-webkit-scrollbar { display: none; }
.sport-tab {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  white-space: nowrap;
  transition: all var(--transition);
  cursor: pointer;
}
.sport-tab:hover { color: var(--text-primary); }
.sport-tab.active { background: rgba(16,185,129,0.12); color: var(--green); border-color: rgba(16,185,129,0.3); }
.tab-count {
  display: inline-block;
  padding: 0.1rem 0.4rem;
  background: rgba(239,68,68,0.2);
  color: var(--red);
  border-radius: 50px;
  font-size: 0.65rem;
  margin-left: 0.3rem;
}

.matches-list { display: flex; flex-direction: column; gap: 0.75rem; }
.match-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all var(--transition);
}
.match-card:hover { background: var(--bg-card-hover); border-color: rgba(255,255,255,0.12); }
.match-live { border-left: 3px solid var(--red); }
.match-left { flex: 1; }
.match-league { font-size: 0.72rem; color: var(--text-muted); margin-bottom: 0.4rem; display: flex; align-items: center; gap: 0.5rem; }
.live-tag {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  background: rgba(239,68,68,0.15);
  color: var(--red);
  border-radius: 50px;
  font-size: 0.62rem;
  font-weight: 700;
}
.match-teams { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.35rem; }
.team-name { font-weight: 700; font-size: 0.92rem; }
.match-vs { font-size: 0.75rem; color: var(--text-muted); padding: 0 0.25rem; }
.match-score {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(200,155,60,0.1);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-sm);
}
.match-time { font-size: 0.75rem; color: var(--text-secondary); }
.match-odds { display: flex; gap: 0.5rem; flex-shrink: 0; }
.odds-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.5rem 0.875rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  min-width: 60px;
}
.odds-btn:hover, .odds-btn.selected {
  background: rgba(200,155,60,0.12);
  border-color: var(--accent);
}
.odds-btn.selected { box-shadow: 0 0 0 1px var(--accent); }
.odds-label { font-size: 0.62rem; color: var(--text-muted); font-weight: 600; }
.odds-val { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--text-primary); }
.btn-more-odds {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  flex-shrink: 0;
  transition: all var(--transition);
}
.btn-more-odds:hover { color: var(--purple-light); border-color: rgba(124,58,237,0.3); }

/* ===========================
   TOURNAMENTS PAGE
=========================== */
.tournaments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.tournament-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
}
.tournament-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.t-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1rem;
}
.t-name { font-weight: 700; font-size: 1rem; margin-bottom: 0.75rem; }
.t-prize { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--accent); }
.t-prize-lbl { font-size: 0.72rem; color: var(--text-muted); margin-bottom: 1rem; }
.t-meta { display: flex; justify-content: center; gap: 1.25rem; font-size: 0.78rem; color: var(--text-secondary); margin-bottom: 1.25rem; }
.btn-join {
  display: block; width: 100%;
  padding: 0.7rem;
  border-radius: var(--radius-sm);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all var(--transition);
  opacity: 0.9;
}
.btn-join:hover { opacity: 1; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,0.3); }

.leaderboard-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.lb-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.lb-table th { padding: 0.875rem 1.25rem; text-align: left; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); background: rgba(255,255,255,0.02); border-bottom: 1px solid var(--border); }
.lb-table td { padding: 0.875rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.04); color: var(--text-secondary); }
.lb-table tr:last-child td { border-bottom: none; }
.lb-table tr:hover td { background: rgba(255,255,255,0.02); }
.lb-top td { color: var(--text-primary); font-weight: 600; }

/* ===========================
   PROMOTIONS PAGE
=========================== */
.promotions-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.promo-full-card {
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.promo-full-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,0.5); }
.promo-full-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  background: rgba(255,255,255,0.12);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
  width: fit-content;
}
.promo-full-icon { font-size: 2.5rem; margin-bottom: 0.875rem; }
.promo-full-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.promo-full-desc { font-size: 0.88rem; color: rgba(255,255,255,0.7); line-height: 1.6; margin-bottom: 0.5rem; flex: 1; }
.promo-full-detail { font-size: 0.72rem; color: rgba(255,255,255,0.4); margin-bottom: 1.25rem; line-height: 1.6; }
.btn-promo-full {
  display: block; width: 100%;
  padding: 0.7rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  transition: all var(--transition);
}
.btn-promo-full:hover { background: var(--accent); border-color: var(--accent); color: #000; }

/* ===========================
   RESPONSIVE
=========================== */

/* --- Tablet landscape & small desktop (â¤1100px) --- */
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .social-links { display: none; }
  .dual-showcase { grid-template-columns: 1fr; gap: 16px; }
  .showcase-box { min-height: 580px; padding-top: 10px; }
  .showcase-head h3 { font-size: 34px; }
  .showcase-main-card:nth-child(1),
  .showcase-main-card:nth-child(3) { transform: translateY(6px) scale(0.94); }
  .showcase-main-card img { border-radius: 20px; }
  .showcase-pill { font-size: 29px; min-width: 130px; height: 34px; }
  .showcase-main-card p { font-size: 22px; }
  .showcase-mini-item strong { font-size: 17px; }
  .footer { padding: 12px 24px 14px; }
  .footer-link-columns { padding: 0 16px; gap: 18px; }
  .footer-provider-image-wrap { padding: 10px 0 14px; }
  .hero-slide { padding: 2.5rem 5%; }
  .hero-title { font-size: 2.4rem; }
  .hero-visual { width: 280px; }
  .section { padding: 2.5rem 1.5rem; }
}

/* --- Tablet portrait (â¤768px) --- */
@media (max-width: 768px) {
  :root { --header-h: 58px; }

  /* Header */
  .header-inner { padding: 0 1rem; gap: 0.75rem; }
  .logo-text { font-size: 1.2rem; }
  .logo-icon { font-size: 1.4rem; }
  .btn-login { padding: 0.42rem 0.9rem; font-size: 0.8rem; }
  .btn-register { padding: 0.42rem 1rem; font-size: 0.8rem; }

  /* Ticker */
  .ticker-wrap { height: 34px; }
  .ticker-label { padding: 0 0.6rem; font-size: 0.7rem; }
  .ticker-track { font-size: 0.72rem; }

  /* Hero */
  .hero-slider { height: auto; min-height: 360px; }
  .hero-slide {
    padding: 2rem 1.25rem 3.5rem;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }
  .hero-visual { display: none; }
  .hero-title { font-size: clamp(1.6rem, 5vw, 2rem); }
  .hero-sub { font-size: 0.88rem; margin-bottom: 1.5rem; }
  .hero-badge { font-size: 0.68rem; margin-bottom: 0.75rem; }
  .btn-hero-primary, .btn-hero-secondary { padding: 0.65rem 1.4rem; font-size: 0.88rem; }
  .slider-controls { bottom: 1rem; }
  .slider-prev, .slider-next { width: 30px; height: 30px; font-size: 1.1rem; }

  /* Stats */
  .stats-bar { flex-wrap: wrap; }
  .stat-item {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 1rem 1.25rem;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .stat-val { font-size: 1.05rem; }
  .stat-icon { font-size: 1.3rem; }

  /* Sections */
  .section { padding: 2rem 1rem; }
  .section-title { font-size: 1.2rem; }

  /* Providers */
  .providers-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 0.75rem; }

  /* Games */
  .game-tabs { gap: 0.35rem; margin-bottom: 1.25rem; }
  .tab-btn { padding: 0.5rem 0.9rem; font-size: 0.78rem; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.5rem; }
  .game-name { font-size: 0.72rem; }
  .game-provider { font-size: 0.62rem; }

  /* Winners */
  .winners-section { padding: 2rem 1rem; }
  .bets-shell { padding: 0; border-radius: 0; }
  .bets-title { font-size: 1.55rem; }
  .winner-tabs.bets-tabs { flex-wrap: wrap; gap: 0.45rem; }
  .wtab { padding: 0.55rem 0.88rem; font-size: 0.76rem; }
  .bets-head-row,
  .bets-row { min-width: 920px; gap: 12px; }
  .bets-list-viewport,
  .winners-list.bets-list { min-width: 920px; }
  .bets-row { padding: 0.75rem 0.65rem; }
  .bets-game-name,
  .bets-user-name { font-size: 0.88rem; }
  .bets-stake-value,
  .bets-payout-value { font-size: 1rem; }

  /* Dual showcase */
  .dual-showcase { gap: 14px; padding-bottom: 1rem; }
  .showcase-box { border-radius: 20px; min-height: 0; padding-top: 6px; }
  .showcase-head { min-height: 66px; }
  .showcase-head h3 { font-size: 24px; }
  .showcase-head-icon i:nth-child(1) { height: 12px; width: 5px; }
  .showcase-head-icon i:nth-child(2) { height: 18px; width: 5px; }
  .showcase-head-icon i:nth-child(3) { height: 24px; width: 5px; }
  .showcase-main-grid { padding: 0 10px 14px; gap: 8px; }
  .showcase-main-card { flex: 0 0 33%; max-width: none; }
  .showcase-main-card:nth-child(1),
  .showcase-main-card:nth-child(2),
  .showcase-main-card:nth-child(3) {
    transform: none;
    filter: none;
    z-index: auto;
  }
  .showcase-main-card img { max-width: 100%; border-radius: 14px; margin-bottom: 8px; }
  .showcase-play-emblem { width: 38px; height: 38px; top: 33%; }
  .showcase-play-emblem::before {
    border-top-width: 6px;
    border-bottom-width: 6px;
    border-left-width: 10px;
    margin-left: 3px;
  }
  .showcase-pill { min-width: 86px; height: 24px; font-size: 17px; margin-bottom: 5px; }
  .showcase-main-card p { font-size: 15px; }
  .showcase-mini-row { padding: 10px; }
  .showcase-mini-track { gap: 8px; }
  .showcase-mini-item { flex-basis: 84px; }
  .showcase-mini-item img { width: 42px; height: 42px; }
  .showcase-mini-item span { font-size: 10px; }
  .showcase-mini-item strong { font-size: 13px; }

  /* Promos */
  .promo-grid { grid-template-columns: 1fr; gap: 1rem; }
  .promo-card { padding: 1.5rem 1.25rem; }
  .promo-content h3 { font-size: 1.15rem; }

  /* Live support */
  .live-support { border-radius: 50%; width: 52px; height: 52px; padding: 0; justify-content: center; bottom: 1.25rem; right: 1.25rem; }
  .live-support .ls-text { display: none; }
  .ls-icon { font-size: 1.3rem; }

  /* Footer */
  .footer { padding: 12px 14px 14px; }
  .footer-link-columns { grid-template-columns: repeat(2, minmax(120px, 1fr)); gap: 14px 18px; padding: 0; }
  .footer-license-card { padding: 10px; gap: 10px; }
  .footer-license-logo { width: 110px; height: 70px; }
  .footer-license-card p { font-size: 10px; }
  .footer-providers-title span { font-size: 34px; }
  .footer-provider-image-wrap { padding: 8px 0 12px; }
  .pay-icon { font-size: 9px; }
  .footer-bottom { flex-direction: column; gap: 0.6rem; text-align: center; padding-top: 1rem; }
  .footer-bottom p { font-size: 9px; }

  /* Modal */
  .modal { padding: 2rem 1.5rem; margin: 1rem; max-width: calc(100% - 2rem); }
  .modal-title { font-size: 1.35rem; }
}

/* --- Mobile (â¤480px) --- */
@media (max-width: 480px) {
  :root { --header-h: 54px; }

  /* Header â only show logo + hamburger + register */
  .header-inner { padding: 0 0.875rem; gap: 0.5rem; }
  .logo-text { font-size: 1.05rem; }
  .logo-icon { font-size: 1.2rem; }
  .btn-login { display: none; }
  .btn-register { padding: 0.4rem 0.875rem; font-size: 0.75rem; letter-spacing: 0; }

  /* Hero */
  .hero-slider { min-height: 320px; }
  .hero-slide { padding: 1.5rem 1rem 3rem; }
  .hero-title { font-size: clamp(1.35rem, 6vw, 1.75rem); }
  .hero-sub { font-size: 0.82rem; display: -webkit-box; line-clamp: 2; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hero-badge { margin-bottom: 0.6rem; }
  .hero-buttons { gap: 0.6rem; }
  .btn-hero-primary, .btn-hero-secondary { padding: 0.55rem 1.1rem; font-size: 0.82rem; }

  /* Stats â 2x2 grid */
  .stat-item { padding: 0.875rem 0.75rem; gap: 0.5rem; }
  .stat-val { font-size: 0.95rem; }
  .stat-lbl { font-size: 0.65rem; }
  .stat-icon { font-size: 1.1rem; }

  /* Sections */
  .section { padding: 1.5rem 0.875rem; }
  .section-title { font-size: 1.1rem; }
  .section-header { margin-bottom: 1.25rem; }
  .see-all { font-size: 0.78rem; }

  /* Providers */
  .providers-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 0.6rem; }
  .provider-card { padding: 1rem 0.75rem; }
  .provider-logo { font-size: 0.82rem; }
  .provider-count { font-size: 0.68rem; }

  /* Games */
  .game-tabs { gap: 0.25rem; padding-bottom: 0.5rem; }
  .tab-btn { padding: 0.45rem 0.75rem; font-size: 0.74rem; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 0.4rem; }
  .btn-load-more { padding: 0.65rem 1.75rem; font-size: 0.82rem; }

  /* Winners */
  .bets-shell { padding: 0; }
  .bets-topbar { margin-bottom: 0.8rem; }
  .bets-title { font-size: 1.35rem; }
  .winner-tabs.bets-tabs {
    flex-wrap: nowrap;
    gap: 0.35rem;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .wtab { white-space: nowrap; padding: 0.45rem 0.72rem; font-size: 0.72rem; }
  .bets-page-size select { min-width: 54px; height: 32px; padding-left: 0.7rem; }
  .bets-head-row,
  .bets-row,
  .bets-list-viewport,
  .winners-list.bets-list { min-width: 820px; }

  /* Footer */
  .footer-strip-top { min-height: 32px; }
  .footer-lang-mini { font-size: 9px; gap: 5px; }
  .footer-link-columns { grid-template-columns: 1fr; text-align: center; }
  .footer-license-card { align-items: flex-start; }
  .footer-license-logo { width: 84px; height: 54px; border-radius: 8px; }
  .footer-license-card p { font-size: 9px; line-height: 1.38; }
  .footer-providers-title span { font-size: 30px; }
  .footer-provider-image-wrap { padding: 8px 0 10px; }
  .payment-icons { gap: 0.35rem; }

  /* Modal */
  .modal { padding: 1.5rem 1.25rem; border-radius: var(--radius-md); }
  .modal-title { font-size: 1.2rem; }
  .form-input { padding: 0.65rem 0.875rem; font-size: 0.85rem; }
  .btn-modal-primary { font-size: 0.88rem; }
}

/* --- Very small phones (â¤360px) --- */
@media (max-width: 360px) {
  .logo-text { display: none; }
  .games-grid { grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }
  .providers-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 1.25rem; }
  .btn-hero-primary, .btn-hero-secondary { padding: 0.5rem 0.9rem; font-size: 0.78rem; }
}

/* =============================================
   LIVE SUPPORT CHAT WIDGET
============================================= */
.live-support {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 8000;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--purple), #5b21b6);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.75rem 1.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 28px rgba(124,58,237,0.55);
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
}
.live-support:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(124,58,237,0.7);
}
.ls-icon { font-size: 1.15rem; }
.ls-badge {
  position: absolute;
  top: -4px; right: -4px;
  width: 14px; height: 14px;
  background: var(--green);
  border: 2px solid var(--bg-base);
  border-radius: 50%;
  animation: pulse-badge 2s infinite;
}
@keyframes pulse-badge {
  0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.6); }
  50%      { box-shadow: 0 0 0 5px rgba(16,185,129,0); }
}

/* CHAT PANEL */
.chat-panel {
  position: fixed;
  bottom: 5.5rem;
  right: 1.75rem;
  width: 360px;
  max-height: 520px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px rgba(0,0,0,0.75);
  display: flex;
  flex-direction: column;
  z-index: 7999;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(.22,.68,0,1.15), opacity 0.25s ease;
}
.chat-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, #1e1e38, #2a1a4e);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.chat-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), #c89b3c);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.chat-header-info { flex: 1; }
.chat-agent-name  { font-size: 0.88rem; font-weight: 700; }
.chat-status {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--green);
}
.chat-status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-badge 2s infinite;
}
.chat-close-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
  border: none;
  cursor: pointer;
}
.chat-close-btn:hover { background: rgba(255,255,255,0.14); color: #fff; }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.chat-msg {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
  max-width: 88%;
}
.chat-msg.agent { align-self: flex-start; }
.chat-msg.user  { align-self: flex-end; flex-direction: row-reverse; }

.msg-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--purple);
  color: #fff;
}
.msg-avatar.user-av { background: var(--accent); color: #000; }

.msg-bubble {
  padding: 0.55rem 0.875rem;
  border-radius: 16px;
  font-size: 0.82rem;
  line-height: 1.45;
  max-width: 100%;
  word-break: break-word;
}
.chat-msg.agent .msg-bubble {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  color: var(--text-primary);
}
.chat-msg.user .msg-bubble {
  background: linear-gradient(135deg, var(--purple), #5b21b6);
  border-bottom-right-radius: 4px;
  color: #fff;
}
.msg-time {
  font-size: 0.62rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  text-align: right;
  padding: 0 0.25rem;
}

.chat-typing {
  display: none;
  align-self: flex-start;
  gap: 0.5rem;
  align-items: flex-end;
}
.chat-typing.show { display: flex; }
.typing-dots {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  padding: 0.55rem 0.875rem;
  display: flex;
  gap: 4px;
  align-items: center;
}
.typing-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typingBounce 1.2s infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%,60%,100% { transform: translateY(0); opacity: 0.4; }
  30%          { transform: translateY(-5px); opacity: 1; }
}

.chat-input-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.875rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
  flex-shrink: 0;
}
.chat-input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 0.5rem 1rem;
  font-size: 0.83rem;
  color: var(--text-primary);
  font-family: var(--font-main);
  outline: none;
  transition: border-color var(--transition);
}
.chat-input:focus { border-color: var(--purple); }
.chat-input::placeholder { color: var(--text-muted); }
.chat-send-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), #5b21b6);
  color: #fff;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition), box-shadow var(--transition);
  border: none;
  cursor: pointer;
}
.chat-send-btn:hover { transform: scale(1.08); box-shadow: 0 4px 14px rgba(124,58,237,0.5); }

.chat-quick-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 1rem 0.75rem;
  background: var(--bg-surface);
}
.cqb {
  padding: 0.3rem 0.7rem;
  font-size: 0.72rem;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 99px;
  color: var(--purple-light);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-main);
}
.cqb:hover { background: var(--purple); color: #fff; border-color: var(--purple); }

@media (max-width: 480px) {
  .chat-panel { width: calc(100vw - 1.5rem); right: 0.75rem; }
  .live-support .ls-text { display: inline; }
}
@media (hover: none) {
  .game-card:hover { transform: none; }
  .game-overlay { opacity: 1; background: rgba(0,0,0,0.5); }
  .btn-play { font-size: 0.78rem; padding: 0.4rem 1.1rem; }
  .btn-demo { font-size: 0.68rem; }
  .provider-card:hover { transform: none; }
  .promo-card:hover { transform: none; }
  .nav-link:hover { background: none; }
}

/* =============================================
   LOGGED-IN HEADER â Balance & Avatar
============================================= */
.btn-deposit-header {
  background: linear-gradient(135deg, var(--green), #059669);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.45rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity var(--transition), transform var(--transition);
}
.btn-deposit-header:hover { opacity: 0.88; transform: translateY(-1px); }

.user-balance-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(200,155,60,0.12);
  border: 1px solid rgba(200,155,60,0.3);
  border-radius: 99px;
  padding: 0.35rem 0.9rem;
  white-space: nowrap;
  cursor: default;
}
.balance-icon { font-size: 0.95rem; }
.balance-amount {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-light);
  letter-spacing: 0.01em;
}

.user-menu-wrap { position: relative; }

.user-avatar-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  gap: 0.25rem;
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.15);
  transition: border-color var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.user-avatar-btn:hover { border-color: var(--accent); transform: scale(1.05); }
.avatar-arrow { font-size: 0.65rem; margin-left: 2px; opacity: 0.7; }

/* DROPDOWN */
.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 240px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(200,155,60,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 9999;
}
.user-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1rem 0.75rem;
}
.dropdown-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.dropdown-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dropdown-email {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dropdown-balance-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(200,155,60,0.08);
  margin: 0 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.dropdown-balance-row strong { color: var(--accent-light); font-size: 0.92rem; }
.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 0.4rem 0;
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  font-size: 0.83rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  border-radius: 0;
  width: 100%;
  text-align: left;
}
.dropdown-item:hover { background: var(--bg-card-hover); color: var(--text-primary); }
.dropdown-logout { color: var(--red) !important; }
.dropdown-logout:hover { background: rgba(239,68,68,0.1) !important; }

/* Sidebar logged-in info */
.sidebar-user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.5rem;
}
.sb-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.sb-username { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); }
.sb-balance  { font-size: 0.78rem; color: var(--accent); font-weight: 700; }

/* =============================================
   DEPOSIT / WITHDRAW MODALS
============================================= */
.deposit-methods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.dm-btn {
  padding: 0.6rem 0.4rem;
  font-size: 0.74rem;
  font-weight: 600;
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
  white-space: nowrap;
}
.dm-btn:hover { border-color: var(--accent); color: var(--text-primary); }
.dm-btn.active {
  border-color: var(--accent);
  background: rgba(200,155,60,0.12);
  color: var(--accent-light);
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.pm-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.75rem 0.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
  line-height: 1.2;
}
.pm-btn .pm-icon { font-size: 1.35rem; display: block; }
.pm-btn:hover { border-color: var(--accent); color: var(--text-primary); }
.pm-btn.active {
  border-color: var(--accent);
  background: rgba(200,155,60,0.12);
  color: var(--accent-light);
}
.pm-limit { font-size: 0.62rem; color: var(--text-muted); margin-top: 0.1rem; }

.amount-quick-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}
.aqb {
  padding: 0.38rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}
.aqb:hover, .aqb.active { border-color: var(--accent); color: var(--accent-light); background: rgba(200,155,60,0.08); }

.deposit-info-box {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0;
}
.deposit-info-box span {
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 99px;
  padding: 0.25rem 0.6rem;
}

.current-balance-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(200,155,60,0.08);
  border: 1px solid rgba(200,155,60,0.2);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.current-balance-display strong { color: var(--accent-light); font-size: 1.1rem; font-weight: 700; }

/* =============================================
   PROFILE MODAL
============================================= */
.profile-tabs {
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
}
.ptab {
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
  background: none;
  border-radius: 0;
  white-space: nowrap;
}
.ptab:hover { color: var(--text-primary); }
.ptab.active { color: var(--accent-light); border-bottom-color: var(--accent); }

.ptab-body { animation: fadeIn 0.18s ease; }

.profile-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.pi-row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.65rem 0.875rem;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.pi-row span { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.pi-row strong { font-size: 0.88rem; color: var(--text-primary); word-break: break-word; }

.status-badge {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 99px;
}
.status-active  { background: rgba(16,185,129,0.12); color: #10b981; border: 1px solid rgba(16,185,129,0.3); }
.status-pending { background: rgba(245,158,11,0.12); color: #f59e0b; border: 1px solid rgba(245,158,11,0.3); }

/* =============================================
   PROVIDER PAGE
============================================= */
.provider-page-hero {
  padding: 6rem 2rem 2.5rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-base) 100%);
  border-bottom: 1px solid var(--border);
}
.provider-page-hero .prov-logo-big {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 90px; height: 90px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin: 0 auto 1.25rem;
}
.provider-page-hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; }
.provider-page-hero p  { color: var(--text-secondary); margin-top: 0.5rem; font-size: 0.9rem; }

/* Provider clickable card */
.provider-card { cursor: pointer; text-decoration: none; display: block; }
.provider-card:hover { transform: translateY(-3px); }

/* =============================================
   TOAST
============================================= */
.lux-toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}
.lux-toast {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 500;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  color: var(--text-primary);
  max-width: 320px;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: auto;
}
.lux-toast.visible { opacity: 1; transform: translateX(0); }
.lux-toast-success { border-left: 3px solid var(--green); }
.lux-toast-error   { border-left: 3px solid var(--red); }
.lux-toast-info    { border-left: 3px solid var(--purple-light); }
.lux-toast-warning { border-left: 3px solid #f59e0b; }
.lux-toast-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}
.lux-toast-success .lux-toast-icon { background: rgba(16,185,129,0.15); color: var(--green); }
.lux-toast-error   .lux-toast-icon { background: rgba(239,68,68,0.15); color: var(--red); }
.lux-toast-info    .lux-toast-icon { background: rgba(168,85,247,0.15); color: var(--purple-light); }

/* =============================================
   FIELD VALIDATION STYLES
============================================= */
.field-error { display: none; font-size: 0.74rem; color: var(--red); margin-top: 0.3rem; }
.form-error-banner {
  display: block;
  padding: 0.65rem 0.875rem;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--red);
  margin-bottom: 0.75rem;
}
.form-error-banner.hidden { display: none; }
.input-error { border-color: var(--red) !important; }
.input-ok    { border-color: var(--green) !important; }

.password-wrap { position: relative; }
.toggle-pw {
  position: absolute; right: 0.75rem; top: 50%;
  transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  font-size: 0.9rem; opacity: 0.5; padding: 0.2rem;
  transition: opacity var(--transition);
}
.toggle-pw:hover { opacity: 1; }

.pw-strength {
  height: 4px;
  background: var(--bg-surface);
  border-radius: 2px;
  margin-top: 0.4rem;
  overflow: hidden;
}
.pw-bar {
  height: 100%;
  width: 0%;
  border-radius: 2px;
  transition: width 0.3s ease, background 0.3s ease;
}

.login-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.forgot-pass { font-size: 0.78rem; color: var(--accent); }
.forgot-pass:hover { text-decoration: underline; }

.register-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1rem; margin-bottom: 1rem; }
.reg-full { grid-column: 1 / -1; }
.register-note { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.75rem; text-align: center; }

.checkbox-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.checkbox-label { display: flex; align-items: flex-start; gap: 0.6rem; cursor: pointer; font-size: 0.8rem; color: var(--text-secondary); }
.checkbox-input { display: none; }
.checkbox-custom {
  width: 16px; height: 16px; min-width: 16px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  background: var(--bg-surface);
}
.checkbox-input:checked + .checkbox-custom {
  background: var(--accent);
  border-color: var(--accent);
}
.checkbox-input:checked + .checkbox-custom::after {
  content: 'â';
  font-size: 0.65rem;
  color: #fff;
  font-weight: 700;
}
.link-inline { color: var(--accent); text-decoration: underline; }
.req { color: var(--red); }

.phone-wrap { display: flex; gap: 0.5rem; }
.phone-code { flex: 0 0 105px; }
.phone-number { flex: 1; }

/* =============================================
   RESPONSIVE â logged-in header
============================================= */
@media (max-width: 768px) {
  .deposit-methods    { grid-template-columns: repeat(2, 1fr); }
  .payment-methods-grid { grid-template-columns: repeat(3, 1fr); }
  .profile-info-grid  { grid-template-columns: 1fr; }
  .user-balance-pill  { display: none; }
  .btn-deposit-header { padding: 0.4rem 0.75rem; font-size: 0.76rem; }
}
@media (max-width: 480px) {
  .payment-methods-grid { grid-template-columns: repeat(2, 1fr); }
  .register-grid { grid-template-columns: 1fr; }
  .reg-full { grid-column: 1; }
  .amount-quick-btns .aqb { flex: 1 1 calc(33% - 0.4rem); text-align: center; }
}


/* ===========================
   REGISTER MODAL - 2 STEP FORM
=========================== */
.register-modal {
  max-width: 480px;
}

.register-step-text {
  color: #888;
  font-size: 14px;
  margin-top: 5px;
}

.register-step-text span {
  color: #ffd700;
  font-weight: 700;
}

.form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 0;
}

.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-row .form-group {
  flex: 1;
}

/* Select with Flag */
.select-with-flag {
  position: relative;
  display: flex;
  align-items: center;
}

.flag-icon {
  position: absolute;
  left: 12px;
  font-size: 20px;
  z-index: 2;
  pointer-events: none;
}

.select-with-flag select {
  width: 100%;
  padding-left: 42px !important;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

/* Phone Input Wrapper */
.phone-input-wrapper {
  display: flex;
  gap: 8px;
}

.phone-input-wrapper .phone-code {
  flex: 0 0 100px;
}

.phone-input-wrapper .phone-code select {
  padding-left: 36px !important;
  padding-right: 8px !important;
}

.phone-input-wrapper .phone-code .flag-icon {
  left: 8px;
  font-size: 18px;
}

.phone-input-wrapper .phone-number {
  flex: 1;
}

/* Form Buttons */
.form-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
  align-items: center;
}

.form-buttons .btn-auth {
  flex: 0 0 auto;
  padding: 14px 35px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  min-width: 140px;
}

.form-buttons .btn-back {
  background: #333;
  color: #fff;
  flex: 0 0 auto;
  padding: 14px 35px;
  font-size: 16px;
  min-width: 140px;
}

.form-buttons .btn-back:hover {
  background: #444;
}

/* Textarea */
textarea.form-input {
  min-height: 60px;
  resize: vertical;
  padding-top: 12px;
}

/* Date Input */
input[type="date"].form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath fill='%23888' d='M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}


/* ===========================
   MODAL CLOSE BUTTON & OVERLAY
=========================== */
.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  z-index: 100002;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.1);
}

/* Overlay üzerine týklama engelleme */
.modal-overlay.show *, .modal-overlay.open * {
  pointer-events: auto;
}

/* Modal içeriðinin týklanabilirliði */
.auth-modal-content {
  position: relative;
  z-index: 100003;
}

.form-group {
  position: relative;
  z-index: 100004;
}

.form-input, select.form-input, textarea.form-input {
  position: relative;
  z-index: 100005;
}

.btn-auth, .checkbox-label {
  position: relative;
  z-index: 100006;
  cursor: pointer;
}

/* Form elemanlarý aktif durum */
.form-input:focus {
  z-index: 100010;
}

