/* GGBET home layout (preview) */

@font-face {
  font-family: "Mulish";
  src: local("Mulish");
  font-weight: 400 900;
  font-style: normal;
}

:root {
  --vs-surface-dark: #15161d;
  --vs-surface-middle: #1c1d24;
  --vs-surface-light: #252632;
  --vs-surface-input: #2f303f;
  --vs-grey-500: #9ca3af;
  --vs-orange: #ff9416;
  --vs-orange-hover: #fe8a0a;
  --vs-green: #98ff16;
  --vs-violet: #c4b5fd;
  --vs-header-h: 64px;
  --vs-radius-xs: 4px;
  --vs-radius-sm: 8px;
  --vs-radius-md: 12px;
  --vs-radius-lg: 16px;
  --vs-radius-pill: 999px;
  --vs-radius-round: 50%;
}

/* Header — Vegastars (scoped to override legacy styles.css) */
.vs-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  background: #252632;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.vs-header .vs-header-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  width: 100%;
  max-width: var(--vs-max, 1400px);
  margin: 0 auto;
  min-height: var(--vs-header-h);
  padding: 0 24px;
  box-sizing: border-box;
}

.vs-header .vs-header-nav__burger {
  flex-shrink: 0;
}

.vs-header .vs-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--vs-grey-500);
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.vs-header .vs-burger:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.vs-header .vs-burger__line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.vs-header .vs-burger--open .vs-burger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.vs-header .vs-burger--open .vs-burger__line:nth-child(2) {
  opacity: 0;
}

.vs-header .vs-burger--open .vs-burger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.vs-header .vs-logo {
  position: static;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  margin: 0;
  min-width: 0;
}

.vs-header .vs-logo img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 172px;
}

@media (min-width: 900px) {
  .vs-header .vs-header-nav__burger,
  .vs-header .vs-burger {
    display: none;
  }
}

.vs-header .vs-auth {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
  min-width: 0;
}

.vs-header .vs-auth__login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.vs-header .vs-auth__login:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.vs-header .vs-auth__register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--vs-cta-gradient);
  color: rgba(0, 0, 0, 0.8);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 0.15s ease;
}

.vs-header .vs-auth__register:hover {
  filter: brightness(1.06);
  color: rgba(0, 0, 0, 0.8);
}

@media (max-width: 899px) {
  .vs-header .vs-header-nav {
    gap: 10px;
    padding: 0 16px;
  }

  .vs-header .vs-logo img {
    height: 38px;
    max-width: 148px;
  }

  .vs-header .vs-auth__login {
    display: none;
  }

  .vs-header .vs-auth {
    gap: 0;
  }

  .vs-header .vs-auth__register {
    min-height: 36px;
    padding: 0 14px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .vs-header .vs-header-nav {
    gap: 8px;
    padding: 0 12px;
  }

  .vs-header .vs-logo img {
    height: 34px;
    max-width: 132px;
  }

  .vs-header .vs-auth__register {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }

  .vs-header .vs-burger {
    width: 36px;
    height: 36px;
  }
}

/* Sections */
.vs-section {
  padding: 0;
  max-width: none;
  margin: 0 0 var(--vs-block-gap);
}

.vs-hero-section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.vs-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 0 12px;
}

.vs-section-head__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.vs-section-head__link {
  padding: 4px 12px;
  background: var(--vs-surface-input);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--vs-radius-md);
  transition: background 0.15s;
}

.vs-section-head__link:hover {
  background: var(--vs-surface-light);
  color: #fff;
}

/* Carousel */
.vs-carousel-wrap {
  padding: 0;
  max-width: none;
  width: calc(100% + 20px);
  margin-inline: -10px;
}

.vs-carousel {
  position: relative;
  overflow: hidden;
  background: var(--vs-surface-dark);
}

.vs-carousel__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-snap-stop: always;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.vs-carousel__track::-webkit-scrollbar {
  display: none;
}

.vs-carousel__slide {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: center;
  height: clamp(156px, 42vw, 200px);
}

.vs-carousel__slide a {
  display: block;
  height: 100%;
}

.vs-carousel__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.vs-carousel__bullets {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 7px 10px;
  background: rgba(28, 28, 28, 0.72);
  backdrop-filter: blur(4px);
  border-radius: var(--vs-radius-pill);
}

.vs-carousel__bullet {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: var(--vs-radius-round);
  padding: 0;
  background: #fff;
  opacity: 0.45;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.2s, transform 0.2s, background 0.2s;
}

.vs-carousel__bullet--active {
  background: var(--vs-orange);
  opacity: 1;
  transform: scale(1.15);
}

@media (min-width: 640px) {
  .vs-carousel-wrap {
    width: calc(100% + 32px);
    margin-inline: -16px;
  }

  .vs-carousel__slide {
    height: clamp(220px, 32vw, 260px);
  }
}

@media (min-width: 768px) {
  .vs-carousel-wrap {
    width: calc(100% + 40px);
    margin-inline: -20px;
  }

  .vs-carousel__slide {
    height: clamp(260px, 28vw, 300px);
  }

  .vs-carousel__bullets {
    left: auto;
    right: 16px;
    bottom: 16px;
    transform: none;
    background: rgba(28, 28, 28, 0.85);
    border-radius: var(--vs-radius-sm);
  }

  .vs-carousel__bullet {
    width: 8px;
    height: 8px;
  }
}

@media (min-width: 1024px) {
  .vs-carousel-wrap {
    width: 100%;
    margin-inline: 0;
  }

  .vs-carousel {
    border-radius: var(--vs-radius-md);
  }

  .vs-carousel__slide {
    height: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vs-carousel__track {
    scroll-behavior: auto;
  }

  .vs-carousel__bullet {
    transition: none;
  }
}

/* Quick nav */
.vs-quick-nav-wrap {
  position: relative;
  padding: 12px 0 16px;
  overflow: hidden;
}

.vs-quick-nav-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 48px;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(270deg, var(--vs-surface-dark) 0%, transparent 100%);
}

.vs-quick-nav {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 8px 8px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

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

.vs-quick-nav__item {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 76px;
  padding: 4px 0;
  text-decoration: none;
  color: #fff;
  scroll-snap-align: start;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.vs-quick-nav__item:hover {
  transform: translateY(-2px);
}

.vs-quick-nav__item:active {
  transform: translateY(0);
  opacity: 0.85;
}

.vs-quick-nav__item:focus-visible {
  outline: 2px solid var(--vs-orange);
  outline-offset: 4px;
  border-radius: var(--vs-radius-md);
}

.vs-quick-nav__img {
  display: block;
  width: 56px;
  height: 56px;
  padding: 8px;
  object-fit: contain;
  box-sizing: border-box;
  background: var(--vs-surface-middle);
  border: 1px solid transparent;
  border-radius: var(--vs-radius-md);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.vs-quick-nav__item:hover .vs-quick-nav__img {
  background: var(--vs-surface-light);
  transform: scale(1.04);
}

.vs-quick-nav__item.orange .vs-quick-nav__img {
  background: linear-gradient(180deg, rgba(255, 102, 51, 0.22) 0%, var(--vs-surface-middle) 100%);
  border-color: rgba(255, 102, 51, 0.35);
  box-shadow: 0 0 0 1px rgba(255, 102, 51, 0.12);
}

.vs-quick-nav__item.orange:hover .vs-quick-nav__img {
  background: linear-gradient(180deg, rgba(255, 102, 51, 0.32) 0%, var(--vs-surface-light) 100%);
  border-color: rgba(255, 102, 51, 0.55);
  box-shadow: 0 4px 16px rgba(255, 102, 51, 0.18);
}

.vs-quick-nav__text {
  width: 100%;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  color: #fff;
  transition: color 0.2s ease;
}

.vs-quick-nav__item:hover .vs-quick-nav__text {
  color: #fff;
}

.vs-quick-nav__item.orange .vs-quick-nav__text {
  color: var(--vs-orange);
}

.vs-quick-nav__item.orange:hover .vs-quick-nav__text {
  color: var(--vs-orange-hover);
}

.vs-quick-nav__chip {
  position: absolute;
  top: 2px;
  right: 6px;
  z-index: 2;
  min-width: 28px;
  padding: 2px 6px 3px;
  background: var(--vs-orange);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  border-radius: var(--vs-radius-xs);
  box-shadow: 0 2px 8px rgba(255, 102, 51, 0.45);
}

@media (min-width: 640px) {
  .vs-quick-nav-wrap {
    padding-top: 16px;
    padding-bottom: 20px;
  }

  .vs-quick-nav {
    gap: 20px;
    padding-inline: 16px;
    scroll-padding-inline: 16px;
  }

  .vs-quick-nav-wrap::after {
    width: 72px;
  }

  .vs-quick-nav__item {
    width: 84px;
    gap: 10px;
  }

  .vs-quick-nav__img {
    width: 64px;
    height: 64px;
    padding: 10px;
  }

  .vs-quick-nav__text {
    font-size: 13px;
  }

  .vs-quick-nav__chip {
    top: 0;
    right: 8px;
    font-size: 10px;
    padding: 3px 7px 4px;
  }
}

@media (min-width: 1024px) {
  .vs-quick-nav-wrap::after {
    display: none;
  }

  .vs-quick-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    overflow: visible;
    scroll-snap-type: none;
  }
}

/* Games scroll (legacy carousels) */
.vs-providers-scroll,
.vs-promo-scroll,
.vs-matches-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 8px 8px;
  scrollbar-width: none;
}

.vs-providers-scroll::-webkit-scrollbar,
.vs-promo-scroll::-webkit-scrollbar,
.vs-matches-scroll::-webkit-scrollbar {
  display: none;
}

/* Providers */
.vs-provider {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 44px;
  padding: 4px 8px;
  background: var(--vs-surface-light);
  border-radius: var(--vs-radius-sm);
  transition: background 0.15s;
}

.vs-provider:hover {
  background: var(--vs-surface-input);
}

.vs-provider img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Match cards */
.vs-matvs-card {
  flex-shrink: 0;
  width: min(400px, 85vw);
  background: var(--vs-surface-middle);
  border-radius: var(--vs-radius-sm);
  overflow: hidden;
}

.vs-matvs-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}

.vs-matvs-card__link:hover {
  color: inherit;
  background: rgba(255, 255, 255, 0.03);
}

.vs-matvs-card__tournament {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--vs-surface-middle);
  border-bottom: 1px solid var(--vs-surface-dark);
  font-size: 14px;
  color: #fff;
}

.vs-matvs-card__tournament img {
  border-radius: var(--vs-radius-xs);
}

.vs-matvs-card__body {
  padding: 16px 16px 0;
}

.vs-matvs-card__odds {
  display: flex;
  gap: 4px;
  padding: 16px;
}

.vs-matvs-card__status {
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--vs-grey-500);
}

.vs-matvs-card__live {
  color: var(--vs-green);
  font-weight: 600;
}

.vs-matvs-card__teams {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.vs-matvs-card__teams--center {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.vs-matvs-card__team,
.vs-matvs-card__team-col {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #fff;
}

.vs-matvs-card__team-col {
  flex-direction: column;
  text-align: center;
  flex: 1;
}

.vs-matvs-card__team-col img,
.vs-matvs-card__team img {
  width: 32px;
  height: 32px;
  border-radius: var(--vs-radius-round);
  object-fit: contain;
  background: var(--vs-surface-light);
}

.vs-matvs-card__team-col img {
  width: 40px;
  height: 40px;
}

.vs-matvs-card__vs {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.vs-odd {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 8px;
  background: var(--vs-surface-light);
  border: none;
  border-radius: var(--vs-radius-sm);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}

.vs-odd:hover {
  background: var(--vs-surface-dark);
}

.vs-odd span {
  font-size: 12px;
  color: #fff;
}

.vs-odd strong {
  font-size: 14px;
  color: var(--vs-violet);
  font-weight: 600;
}

/* Promo */
.vs-tabs {
  display: flex;
  gap: 4px;
}

.vs-tabs__item {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: var(--vs-surface-input);
  border: none;
  border-radius: var(--vs-radius-lg);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.vs-tabs__item--active {
  background: rgba(255, 102, 51, 0.1);
  color: var(--vs-orange);
}

.vs-tabs__item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--vs-surface-light);
  font-size: 11px;
  border-radius: var(--vs-radius-round);
}

.vs-tabs__item--active span {
  background: var(--vs-orange);
  color: #fff;
}

.vs-promo-card {
  flex-shrink: 0;
  width: 308px;
  padding: 0;
  border-radius: var(--vs-radius-md);
  background: var(--vs-surface-middle);
}

.vs-promo-card--signup {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.vs-promo-card__motivation {
  display: block;
  width: 160px;
  height: 80px;
  margin: 12px auto 8px;
  object-fit: cover;
}

.vs-promo-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

.vs-promo-card__title strong {
  color: var(--vs-orange);
}

.vs-promo-card--tournament {
  background: linear-gradient(180deg, #4a2c22 0%, #1f1f1e 70%);
  border: 1px solid var(--vs-orange);
}

.vs-promo-card__timer {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  border-radius: var(--vs-radius-lg);
}

.vs-promo-card__name {
  margin: 8px 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.vs-promo-card__img {
  width: 100%;
  height: 48px;
  object-fit: cover;
  border-radius: var(--vs-radius-xs);
  margin-bottom: 8px;
}

.vs-promo-card__prize {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--vs-orange);
}

.vs-promo-card__prize strong {
  display: block;
  font-size: 20px;
  color: #fff;
  text-transform: uppercase;
}

.vs-promo-card__cta {
  display: block;
  padding: 8px 16px;
  background: var(--vs-orange);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: var(--vs-radius-sm);
  transition: background 0.15s;
}

.vs-promo-card__cta:hover {
  background: var(--vs-orange-hover);
  color: #fff;
}

.vs-promo-card__secondary {
  display: block;
  padding: 8px 16px;
  background: var(--vs-surface-light);
  color: #fff;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  border-radius: var(--vs-radius-sm);
}

/* League */
.vs-league-block {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  overflow: hidden;
  background: var(--vs-surface-middle);
  border-radius: var(--vs-radius-md);
}

.vs-league-block__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  z-index: 0;
}

.vs-league-block__intro,
.vs-league-features {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .vs-league-block {
    flex-direction: row;
  }
}

.vs-league-block__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

@media (min-width: 768px) {
  .vs-league-block__intro {
    flex-direction: row;
    text-align: left;
    max-width: 35%;
  }
}

.vs-league-block__intro h3 {
  margin: 0 0 4px;
  font-size: 18px;
  color: #fff;
}

.vs-league-block__intro p {
  margin: 0;
  font-size: 14px;
  color: var(--vs-grey-500);
}

.vs-league-block__cta {
  display: inline-block;
  margin-top: 12px;
  width: auto;
}

.vs-league-features {
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

@media (min-width: 768px) {
  .vs-league-features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.vs-league-features li {
  padding: 12px;
  background: rgba(42, 42, 42, 0.6);
  border: 1px solid var(--vs-surface-light);
  border-radius: var(--vs-radius-sm);
}

.vs-league-features strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  color: #fff;
}

.vs-league-features span {
  display: none;
  font-size: 12px;
  color: var(--vs-grey-500);
}

@media (min-width: 768px) {
  .vs-league-features span {
    display: block;
  }
}

/* App banner */
.vs-app-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 16px;
  border-radius: var(--vs-radius-md);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.vs-app-banner__title {
  margin: 0;
  font-family: "Mulish", sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
}

.vs-app-banner__title span {
  color: var(--vs-orange);
}

.vs-app-banner__phones {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.vs-app-banner__phones img {
  max-height: 120px;
  width: auto;
}

.vs-app-banner__stores {
  display: flex;
  gap: 12px;
}

.vs-app-banner__stores img {
  height: 40px;
  width: auto;
}

/* Layout + sidebar */
.vs-layout {
  display: flex;
  align-items: stretch;
  min-height: calc(100vh - var(--vs-header-h));
}

.vs-shell {
  flex: 1;
  min-width: 0;
}

.vs-sidebar {
  --vs-sidebar-w: 260px;
  position: relative;
  flex: 0 0 var(--vs-sidebar-w);
  width: var(--vs-sidebar-w);
  z-index: 90;
}

.vs-sidebar__backdrop {
  display: none;
}

.vs-sidebar__panel {
  position: sticky;
  top: var(--vs-header-h);
  display: flex;
  flex-direction: column;
  width: var(--vs-sidebar-w);
  height: calc(100vh - var(--vs-header-h));
  background: var(--vs-surface-dark);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.vs-sidebar__top {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  padding: 8px 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.vs-sidebar__toggle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: var(--vs-radius-sm);
  background: transparent;
  color: var(--vs-grey-500);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

.vs-sidebar__toggle:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.vs-sidebar__tabs {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 0;
  padding: 4px;
  background: var(--vs-surface-middle);
  border-radius: var(--vs-radius-sm);
}

.vs-sidebar__tab {
  flex: 1;
  min-width: 0;
  padding: 8px 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: var(--vs-radius-xs);
  transition: background 0.15s, color 0.15s;
}

.vs-sidebar__tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.vs-sidebar__tab--active {
  background: var(--vs-surface-input);
  color: #fff;
}

.vs-sidebar__content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px 12px 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.vs-sidebar__content::-webkit-scrollbar {
  width: 4px;
}

.vs-sidebar__content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--vs-radius-pill);
}

.vs-sidebar__search-wrap {
  margin-bottom: 12px;
}

.vs-sidebar__search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--vs-radius-sm);
  color: var(--vs-grey-500);
}

.vs-sidebar__search:focus-within {
  border-color: rgba(255, 148, 22, 0.5);
}

.vs-sidebar__search input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}

.vs-sidebar__search input::placeholder {
  color: var(--vs-grey-500);
}

.vs-sidebar__cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.vs-sidebar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: var(--vs-radius-sm);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s, background 0.15s, border-color 0.15s;
}

.vs-sidebar__btn--deposit {
  border: 0;
  background: linear-gradient(180deg, #ff9416 0%, #fe8a0a 100%);
  color: #15161d;
}

.vs-sidebar__btn--deposit:hover {
  opacity: 0.92;
  color: #15161d;
}

.vs-sidebar__btn--refer {
  border: 1px solid rgba(255, 148, 22, 0.6);
  background: transparent;
  color: var(--vs-orange);
}

.vs-sidebar__btn--refer:hover {
  background: rgba(255, 148, 22, 0.08);
  color: var(--vs-orange-hover);
}

.vs-sidebar__calendar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 10px 12px;
  background: var(--vs-surface-middle);
  border-radius: var(--vs-radius-sm);
  text-decoration: none;
  transition: background 0.15s;
}

.vs-sidebar__calendar:hover {
  background: var(--vs-surface-light);
}

.vs-sidebar__calendar-label {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.vs-sidebar__calendar img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.vs-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 12px;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.vs-sidebar__nav--bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.vs-sidebar__link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: var(--vs-radius-sm);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: background 0.15s;
}

.vs-sidebar__link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.vs-sidebar__link-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: var(--vs-grey-500);
}

.vs-sidebar__link-icon--img img {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.vs-sidebar__link-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vs-sidebar__link--badge .vs-sidebar__link-label {
  flex: 1 1 auto;
}

.vs-sidebar__badge {
  flex-shrink: 0;
  padding: 2px 6px;
  background: rgba(152, 255, 22, 0.12);
  color: var(--vs-green);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  border-radius: var(--vs-radius-xs);
  white-space: nowrap;
}

.vs-sidebar__group {
  margin-bottom: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.vs-sidebar__group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 10px 10px 6px;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.vs-sidebar__chevron {
  flex-shrink: 0;
  color: var(--vs-grey-500);
  transition: transform 0.2s;
}

.vs-sidebar__group.is-open .vs-sidebar__chevron {
  transform: rotate(180deg);
}

.vs-sidebar__group-panel {
  display: none;
  padding-bottom: 4px;
}

.vs-sidebar__group.is-open .vs-sidebar__group-panel {
  display: block;
}

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

.vs-sidebar__promo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  min-height: 48px;
  padding: 10px;
  background: var(--vs-surface-light);
  border-radius: var(--vs-radius-sm);
  color: var(--vs-orange);
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}

.vs-sidebar__promo-icon:hover {
  background: var(--vs-surface-input);
  transform: translateY(-1px);
  color: var(--vs-orange-hover);
}

.vs-sidebar__lang {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.vs-sidebar__lang-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--vs-radius-sm);
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.vs-sidebar__lang-btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.vs-sidebar__lang-flag {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 14px;
  background: linear-gradient(180deg, #012169 0%, #012169 50%, #e4002b 50%, #e4002b 100%);
  color: #fff;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: -0.02em;
  border-radius: 2px;
}

.vs-sidebar__lang-label {
  flex: 1;
  min-width: 0;
}

body.vs-sidebar-collapsed .vs-sidebar {
  flex-basis: 0;
  width: 0;
  overflow: hidden;
}

body.vs-sidebar-collapsed .vs-sidebar__panel {
  transform: translateX(-100%);
}

@media (max-width: 899px) {
  .vs-sidebar {
    position: fixed;
    top: var(--vs-header-h);
    left: 0;
    bottom: 0;
    flex: none;
    width: var(--vs-sidebar-w);
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 200;
  }

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

  .vs-sidebar__backdrop {
    display: block;
    position: fixed;
    inset: var(--vs-header-h) 0 0 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
    pointer-events: none;
  }

  body.vs-sidebar-open .vs-sidebar__backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .vs-sidebar__panel {
    position: relative;
    top: 0;
    height: 100%;
    box-shadow: 8px 0 24px rgba(0, 0, 0, 0.35);
  }
}

body.vs-sidebar-open {
  overflow: hidden;
}

/* Footer styles: see brand.css (.vs-footer) */

/* Hide old header when vs-header present */
.vs-header ~ .vs-legacy-header {
  display: none;
}

body:has(.vs-header) {
  --vs-header-h: 64px;
}

body:has(.vs-header) .vs-shell {
  padding-top: 0;
}

body:has(.vs-header) .vs-main {
  background: var(--vs-surface-dark);
  padding: 32px 32px 0;
}

@media (max-width: 767px) {
  body:has(.vs-header) .vs-main {
    padding: 16px 16px 0;
  }
}

body:has(.vs-header) .vs-section .vs-content:not(.entry-content),
body:has(.vs-header) .vs-section .vs-faq,
body:has(.vs-header) .vs-section .vs-reviews,
body:has(.vs-header) .vs-section .vs-faq-block,
body:has(.vs-header) .vs-section .vs-reviews-block {
  color: #fff;
}

body:has(.vs-header) .vs-section .vs-content:not(.entry-content) h1,
body:has(.vs-header) .vs-section .vs-content:not(.entry-content) h2,
body:has(.vs-header) .vs-section .vs-faq-block__title,
body:has(.vs-header) .vs-section .vs-reviews__title,
body:has(.vs-header) .vs-section .vs-content:not(.entry-content) p,
body:has(.vs-header) .vs-section .vs-content:not(.entry-content) li {
  color: inherit;
}
