
/* ---------------------------
   BIGSBET landing (static)
   --------------------------- */

@font-face {
  font-family: "Gilroy";
  src: url("assets/fonts/gilroy-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("assets/fonts/gilroy-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("assets/fonts/gilroy-900.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("assets/fonts/gilroy-italic.woff") format("woff");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

:root{
  /* Page background (picked from your reference) */
  --bg:#010206;
  --panel: rgba(255,255,255,.05);
  --panel2: rgba(255,255,255,.07);
  --stroke: rgba(255,255,255,.10);
  --stroke2: rgba(255,255,255,.15);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.60);
  --muted2: rgba(255,255,255,.42);
  --brand: #F5C84B; /* warm yellow */
  --brand2:#FFD75A;
  --accent:#F59E0B;
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --radius: 18px;
  --radius2: 24px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: Gilroy, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.35;
}

a{ color: inherit; text-decoration:none; }
img{ max-width: 100%; display:block; }

.container{
  width:min(1320px, calc(100% - 48px));
  margin-inline:auto;
}

/* Header */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(1,2,6,.98) 0%, rgba(1,2,6,.92) 100%);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.header__inner{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 10px 0;
}
.brand{
  font-weight: 900;
  letter-spacing: .2px;
  font-size: 22px;
  display:flex;
  align-items:center;
  gap: 0;
}
.brand__img{
  width: 166px;
  height: 25px;
  object-fit: contain;
  display: block;
}
.brand__a{ color: var(--brand); }
.brand__b{ color: rgba(255,255,255,.88); }

/* Top navigation is moved below the header (see .topnav) */
.nav{
  display:none;
}
.nav__item{
  display:flex;
  align-items:center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid transparent;
}
.nav__item img{ width:16px; height:16px; opacity:.8; }
.nav__item:hover{
  background: var(--panel);
  border-color: var(--stroke);
  color: rgba(255,255,255,.85);
}
.nav__item.is-active{
  background: rgba(255,200,75,.12);
  border-color: rgba(255,200,75,.22);
  color: rgba(255,255,255,.92);
}

.header__right{
  display:flex;
  align-items:center;
  gap: 10px;
}
.search{
  display:flex;
  align-items:center;
  gap: 8px;
  /* Requested exact size */
  width: 251px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  /* Move search closer to the right-side buttons and make it more compact */
  margin-left: auto;
  flex: 0 0 251px;
  max-width: 251px;
  min-width: 251px;
}
.search img{ width:16px; height:16px; opacity:.8; }
.search input{
  width:100%;
  border:none;
  outline:none;
  background: transparent;
  color: rgba(255,255,255,.88);
  font-size: 14px;
}
.search input::placeholder{ color: rgba(255,255,255,.42); }

/* Header buttons (match reference header sizing) */
.header .btn{
  height: 40px;
  padding: 0 18px;
  border-radius: 16px;
}
.header .btn--ghost{
  background: transparent;
  border-color: rgba(255,255,255,.20);
}
.header .btn--ghost:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.26);
}

/* Gift badge on the registration button */
.header .btn--primary{
  position: relative;
  padding-right: 24px;
}
.header .btn--primary::after{
  content:"";
  position:absolute;
  right: -6px;
  top: -16px;
  width: 40px;
  height: 40px;
  background: url("assets/icons/gift-button.png") no-repeat center/contain;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,.18));
  transform-origin: 50% 65%;
  transition: transform .28s ease, filter .28s ease;
  will-change: transform;
}
.header .btn--primary:hover::after{
  animation: giftShake 1.15s ease-in-out infinite;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.22));
}
.header .btn--primary:focus-visible::after{
  animation: giftShake 1.15s ease-in-out infinite;
}
@keyframes giftShake {
  0%, 100% { transform: rotate(0deg) translate3d(0, 0, 0); }
  18% { transform: rotate(-5deg) translate3d(-0.5px, 0, 0); }
  36% { transform: rotate(4deg) translate3d(0.5px, -0.5px, 0); }
  54% { transform: rotate(-3deg) translate3d(-0.5px, 0, 0); }
  72% { transform: rotate(2deg) translate3d(0.5px, 0.5px, 0); }
}

.lang{
  display:flex;
  width: 52px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  align-items:center;
  justify-content:flex-start;
  padding-left: 10px;
  color: rgba(255,255,255,.85);
  cursor: pointer;
  position: relative;
}
.lang:hover{ background: rgba(255,255,255,.09); }
.lang__icon{ width: 22px; height: 22px; display:block; border-radius: 999px; object-fit: cover; }
.lang::after{
  content:"";
  position:absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  opacity: .7;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") no-repeat center/contain;
  pointer-events:none;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  border-radius: 18px;
  padding: 10px 16px;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform .18s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease, filter .22s ease;
  user-select:none;
}
.btn:active{ transform: translateY(1px) scale(.995); }
.btn--primary{
  background: linear-gradient(90deg, #f6e54c 0%, #ffb11b 45%, #ff7a00 100%);
  color: #17120a;
  box-shadow: 0 10px 26px rgba(255, 157, 0, .28), 0 0 22px rgba(246, 195, 59, .18);
}
.btn--primary:hover{
  filter: brightness(1.03);
  box-shadow: 0 14px 30px rgba(255, 157, 0, .34), 0 0 28px rgba(246, 195, 59, .24);
}
.btn--ghost{
  background: var(--panel);
  border-color: var(--stroke2);
  color: rgba(255,255,255,.88);
}
.btn--ghost:hover{ background: var(--panel2); }

.btn--lg{ padding: 14px 24px; font-size: 16px; border-radius: 20px; }
.btn--sm{ padding: 10px 16px; font-size: 13px; border-radius: 16px; }

/* Hero */
.hero{ padding-top: 18px; }
.hero__card{
  position: relative;
  border-radius: 28px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
  clip-path: inset(0 round 28px);
  min-height: 320px;
  --hero-tx: 0px;
  --hero-ty: 0px;
  --hero-scale: 1;
  --hero-rotate-x: 0deg;
  --hero-rotate-y: 0deg;
}
.hero__bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: right center;
  opacity: .96;
  transform: translate3d(var(--hero-tx), var(--hero-ty), 0) scale(var(--hero-scale)) rotateX(var(--hero-rotate-x)) rotateY(var(--hero-rotate-y));
  transform-origin: 72% 50%;
  will-change: transform;
  backface-visibility: hidden;
}
.hero__card::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(10,10,12,.88) 0%, rgba(10,10,12,.62) 44%, rgba(10,10,12,.18) 100%);
}
.hero__content{ padding: 22px; }
.hero__content{ position: relative; z-index: 2; max-width: 620px; }
.hero__kicker{
  font-weight: 900;
  font-size: clamp(20px, 3.2vw, 44px);
  line-height: 1.08;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
  letter-spacing: .2px;
}
.hero__title{
  margin: 12px 0 0;
  font-size: clamp(22px, 3.7vw, 42px);
  line-height: 1.06;
  font-weight: 900;
  text-transform: uppercase;
}
.hero__title--brand{ color: var(--brand2); }
.hero__actions{
  margin-top: 20px;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero__actions--bonus{
  align-items: center;
}
.hero__note{
  display:flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 10px;
}
.hero__noteTop{
  color: rgba(255,255,255,.78);
  font-size: 14px;
}
.hero__noteBot{
  font-weight: 900;
  font-size: 20px;
  letter-spacing: .3px;
}
/* removed split hero media: banner is now full-width background */
.hero__stats{
  margin-top: 18px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.hero__stats--below{
  margin-top: 14px;
}
.stat{
  display:flex;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--stroke);
}
.stat img{ width: 26px; height: 26px; }
.stat__top{ font-weight: 900; font-size: 13px; }
.stat__bot{ color: var(--muted); font-size: 12px; margin-top: 2px; }

/* Sections */
.section{ padding-top: 26px; }
.section__head{
  display:flex;
  align-items:baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.section__title{
  margin:0;
  font-size: 22px;
  font-weight: 900;
}
.muted{ color: var(--muted); font-size: 14px; }

/* Game grid */
.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.card{
  position: relative;
  border-radius: var(--radius2);
  background: var(--panel);
  border: 1px solid var(--stroke);
  overflow:hidden;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.card:hover{ transform: translateY(-2px); background: var(--panel2); border-color: rgba(255,255,255,.12); }
.card__img{
  position: relative;
  aspect-ratio: 16/10;
  overflow:hidden;
  background: rgba(255,255,255,.03);
}
.card__img img{
  width:100%;
  height:100%;
  object-fit: cover;
  transition: transform .32s ease, filter .32s ease;
}
.card:hover .card__img img{
  transform: scale(1.04);
}
.card__overlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:18px 16px 16px;
  background: linear-gradient(180deg, rgba(5,7,12,.22) 0%, rgba(5,7,12,.62) 42%, rgba(5,7,12,.92) 100%);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition: opacity .24s ease, visibility .24s ease;
}
.card:hover .card__overlay{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.card__overlay-center{
  margin:auto 0;
  text-align:center;
  transform: translateY(8px) scale(.98);
  opacity:0;
  transition: transform .26s ease, opacity .26s ease;
}
.card:hover .card__overlay-center{
  transform: translateY(0) scale(1);
  opacity:1;
}
.card__overlay-title{
  color:#fff;
  font-size: 17px;
  line-height:1.2;
  font-weight:900;
}
.card__overlay-meta{
  margin-top:6px;
  color: var(--accent);
  font-size:14px;
  line-height:1.2;
  font-weight:700;
}
.card__overlay-action{
  display:flex;
  justify-content:center;
  transform: translateY(10px);
  opacity:0;
  transition: transform .28s ease, opacity .28s ease;
}
.card:hover .card__overlay-action{
  transform: translateY(0);
  opacity:1;
}
.card__play{
  min-width: 132px;
  justify-content:center;
}
.card__body{ padding: 14px; }
.card__title{ font-weight: 900; }
.card__meta{ color: var(--accent); font-size: 12px; margin: 6px 0 0; font-weight: 700; }
.card__body .btn{ display:none !important; }

/* Providers */
.providers{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.provider{
  height: 92px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: var(--radius2);
  background: var(--panel);
  border: 1px solid var(--stroke);
}
.provider img{ height: 38px; width:auto; opacity:.92; }

/* Payments + CTA */
.payments{
  display:flex;
  flex-wrap: wrap;
  justify-content:center;
  align-items:center;
  gap: 18px 38px;
  padding: 20px 24px;
  border-radius: 28px;
  background: var(--panel);
  border: 1px solid var(--stroke);
}
.payments--compact{
  margin-top: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  gap: 18px 38px;
}
.payments img{
  height: 35px;
  width: auto;
  max-width: 120px;
  min-width: 72px;
  object-fit: contain;
  opacity:.96;
  display:block;
}
@media (max-width: 768px){
  .payments{
    gap: 14px 24px;
    padding: 16px;
  }
  .payments--compact{
    padding: 0;
  }
  .payments img{
    height: 28px;
    max-width: 96px;
    min-width: 58px;
  }
}

.cta{
  margin-top: 16px;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(255,200,75,.20);
  background: linear-gradient(90deg, rgba(255,200,75,.10), rgba(255,255,255,.04));
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
}
.cta__title{ font-weight: 900; font-size: 18px; }
.cta__sub{ color: var(--muted); font-size: 14px; margin-top: 4px; }

/* Footer */
.footer{
  margin-top: 34px;
  border-top: 1px solid var(--stroke);
  background: rgba(0,0,0,.22);
}
.footer__inner{ padding: 22px 0; }
.footer__links{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap: nowrap;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  text-align:center;
  overflow-x:auto;
  scrollbar-width:none;
}
.footer__links::-webkit-scrollbar{ display:none; }
.footer__links a:hover{ color: rgba(255,255,255,.86); }
.footer__bottom{
  margin-top: 16px;
  display:flex;
  align-items:center;
  justify-content: center;
  gap: 12px;
  color: var(--muted2);
  font-size: 13px;
}
.age{ display:flex; align-items:center; justify-content:center; }
.age__icon{ width: 36px; height: 36px; display:block; object-fit: contain; }

/* Modal (pure CSS via :target) */
.modal{
  position: fixed;
  inset: 0;
  display:none;
  place-items:center;
  padding: 16px;
  background: rgba(0,0,0,.55);
}
.modal:target{ display:grid; }
.modal__card{
  width: min(520px, 100%);
  border-radius: 24px;
  background: rgba(20,20,22,.92);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  padding: 18px;
}
.modal__head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}
.modal__title{ font-weight: 900; font-size: 18px; }
.modal__close{
  width: 36px; height: 36px;
  border-radius: 999px;
  display:flex; align-items:center; justify-content:center;
  background: var(--panel);
  border: 1px solid var(--stroke);
}
.modal__close:hover{ background: var(--panel2); }
.modal__actions{ margin-top: 14px; display:flex; justify-content:flex-end; }

/* Responsive */
@media (min-width: 860px){
  .topnav{ display:block; }
  .hero__content{ padding: 28px; }
  .hero__title{ font-size: 42px; }
  .hero__stats{ grid-template-columns: repeat(4, 1fr); }
  .loyalty{ grid-template-columns: repeat(5, 1fr); }
  .loyalty__card{ flex-direction: column; align-items:flex-start; }
  .loyalty__card img{ width: 88px; height: 88px; }
  .grid{ grid-template-columns: repeat(5, 1fr); }
  .providers{ grid-template-columns: repeat(6, 1fr); }
}

/* Top navigation row */
.topnav{ display:none; }
.topnav__inner{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 0 0;
}

@media (max-width: 860px){
  .topnav{ display:none; }
  .search{ display:none; }
}

@media (max-width: 540px){
  .btn--ghost{ display:none; } /* keep header clean on tiny screens */
  .hero__title{ font-size: 28px; }
}

/* Casino panel under hero */
.casino-panel{
  padding-top: 18px;
}
.casino-panel__cards{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 22px;
  max-width: 1360px;
  margin: 0 auto 22px;
}
.info-card{
  position: relative;
  overflow: hidden;
  min-height: 118px;
  display:flex;
  align-items:center;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 18px;
  background: #0a0d13;
  border: 1px solid rgba(255,255,255,.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
  transition: background-color .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.info-card::before{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,157,0,.18) 0%, rgba(255,157,0,.08) 26%, rgba(255,157,0,0) 56%);
  opacity: 1;
  transition: opacity .28s ease;
  pointer-events: none;
}
.info-card > *{
  position: relative;
  z-index: 1;
}
.info-card:hover{
  background: #090b10;
  border-color: rgba(255,255,255,.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
}
.info-card:hover::before{
  opacity: 0;
}
.info-card__icon{
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  object-fit: contain;
}
.info-card__title{
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
  color: rgba(255,255,255,.96);
}
.info-card__text{
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.25;
  color: rgba(255,255,255,.78);
}
.info-card__link{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  margin-top: 8px;
  color: #ff9d00;
  font-size: 14px;
  font-weight: 700;
}
.info-card__link::after{
  content:'›';
  font-size: 18px;
  line-height: 1;
}
.games-toolbar{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 24px;
  padding: 14px 0 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.games-nav{
  display:flex;
  align-items:flex-end;
  gap: 18px;
  min-width: 0;
  flex-wrap: wrap;
}
.games-nav__item{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap: 10px;
  min-height: 44px;
  padding-bottom: 12px;
  color: rgba(255,255,255,.66);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}
.games-nav__item img{
  width: 18px;
  height: 18px;
  opacity: .82;
}
.games-nav__item:hover{
  color: rgba(255,255,255,.95);
}
.games-nav__item--active{
  color: rgba(255,255,255,.96);
}
.games-nav__item--active img{
  opacity: 1;
}
.games-nav__item--active::after{
  content:'';
  position:absolute;
  left:50%;
  width: calc(100% - 22px);
  min-width: 64px;
  transform: translateX(-50%);
  bottom: -1px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff9800, #ffb300);
}
.games-toolbar__actions{
  flex-shrink: 0;
  display:flex;
  align-items:flex-end;
  gap: 14px;
  padding: 12px 18px 10px;
  border-radius: 20px 20px 0 0;
  background: rgba(255,255,255,.03);
}
.games-search{
  width: 210px;
  height: 52px;
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.01);
}
.games-search input{
  flex:1;
  border:0;
  outline:0;
  background:transparent;
  color: rgba(255,255,255,.92);
  font-size: 16px;
  font-family: inherit;
}
.games-search input::placeholder{
  color: rgba(255,255,255,.58);
}
.games-search__icon img{
  width: 20px;
  height: 20px;
  opacity: .95;
}
.providers-btn{
  height: 52px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.01);
  color: rgba(255,255,255,.96);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  display:inline-flex;
  align-items:center;
  gap: 14px;
}
.providers-btn__icon{
  font-size: 18px;
  line-height: 1;
  opacity: .85;
}

/* disable older compact stat/topnav row */
.hero__stats,
.topnav{display:none !important;}

@media (max-width: 1180px){
  .casino-panel__cards{grid-template-columns: repeat(2, minmax(0,1fr));}
  .games-toolbar{flex-direction: column; align-items: stretch;}
  .games-toolbar__actions{justify-content: flex-end; border-radius: 18px;}
}

@media (max-width: 760px){
  .casino-panel__cards{grid-template-columns: 1fr; gap: 14px;}
  .info-card{min-height: 96px; padding: 18px;}
  .info-card__title{font-size: 16px;}
  .info-card__text,.info-card__link,.games-nav__item,.providers-btn,.games-search input{font-size: 14px;}
  .games-toolbar__actions{flex-direction: column; padding: 0; background: transparent;}
  .games-search,.providers-btn{width: 100%;}
}


.section__head--arrows{
  align-items:center;
}
.carousel__nav{
  display:flex;
  align-items:center;
  gap:10px;
}
.carousel__arrow{
  width:42px;
  height:42px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(15,17,23,.96);
  color: rgba(255,255,255,.56);
  font: inherit;
  font-size:24px;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow: 0 0 0 rgba(255,157,0,0);
  transition: color .22s ease, border-color .22s ease, box-shadow .22s ease, background-color .22s ease, transform .22s ease;
}
.carousel__arrow:hover{
  border-color: rgba(255,157,0,.95);
  background: rgba(24,17,8,.98);
  color: #ff9d00;
  box-shadow: 0 0 16px rgba(255,157,0,.18);
  transform: translateY(-1px);
}
.carousel__arrow:focus-visible{
  outline: none;
  border-color: rgba(255,157,0,.95);
  color: #ff9d00;
  box-shadow: 0 0 0 3px rgba(255,157,0,.14), 0 0 16px rgba(255,157,0,.18);
}
.carousel{
  position:relative;
}
.carousel__track{
  display:grid;
  gap:12px;
  overflow-x:auto;
  scroll-behavior:smooth;
  scrollbar-width:none;
  -ms-overflow-style:none;
  padding-bottom:4px;
}
.carousel__track::-webkit-scrollbar{ display:none; }
.carousel__track--two-rows{
  grid-auto-flow:column;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  align-items:start;
}
.carousel__item{
  min-width:0;
}
@media (min-width: 1100px){
  .carousel__track--two-rows{
    grid-auto-columns: calc((100% - 48px) / 5);
  }
}
@media (min-width: 768px) and (max-width: 1099px){
  .carousel__track--two-rows{
    grid-auto-columns: calc((100% - 24px) / 3);
  }
}
@media (max-width: 767px){
  .carousel__track--two-rows{
    grid-auto-columns: minmax(220px, 72vw);
  }
}


/* Admin panel support */
@media (max-width:960px){.header__inner{gap:12px;flex-wrap:wrap}}


.seo-links__grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.seo-links__item{display:flex;align-items:center;justify-content:center;padding:14px 12px;border-radius:16px;background:#171717;border:1px solid rgba(255,179,25,.14);color:#ffb11b;font-weight:700;transition:.2s ease}.seo-links__item:hover{transform:translateY(-1px);border-color:rgba(255,179,25,.32);background:#1d1d1d}@media (max-width:900px){.seo-links__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:560px){.seo-links__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* Mobile header alignment fix: keep logo left, auth buttons right (as in reference) */
@media (max-width: 540px){
  .header .container{
    width: calc(100% - 16px);
  }
  .header__inner{
    flex-wrap: nowrap !important;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 0;
  }
  .brand{
    flex: 0 1 auto;
    min-width: 0;
  }
  .brand__img{
    width: 112px;
    height: 17px;
  }
  .header__right{
    margin-left: auto;
    gap: 6px;
    flex: 0 0 auto;
  }
  .header .btn{
    height: 40px;
    padding: 0 12px;
    border-radius: 15px;
    font-size: 12px;
    white-space: nowrap;
    flex: 0 0 auto;
  }
  .header .btn--ghost{
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 62px;
  }
  .header .btn--primary{
    min-width: 108px;
    padding-right: 20px;
  }
  .header .btn--primary::after{
    right: 6px;
  }
  .lang{
    display: none !important;
  }
}
