/* =========================================================
   Casino Portugal.pt — landing page
   Figma: LP (Copy) · desktop 2:2 (1440w) · mobile 3:80305 (390)
   ========================================================= */

:root {
  --bg:            #0a1a2f;
  --card:          #232b48;
  --gold:          #ffb800;
  --sky:           #9cf;
  --nav-item:      #2a3a5b;
  --nav-active:    #667aa6;
  --grey-btn:      #42526e;
  --ink:           #fff;

  --shell-max:     1440px;
  --sec-gap:       40px;
  --radius-card:   12px;
  --radius-lg:     16px;

  --font-ui:       'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-nav:      'Montserrat', var(--font-ui);
  --font-foot:     'Roboto', var(--font-ui);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.4;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ============================ header ============================ */

.hdr--mobile { display: none; }

.hdr--desktop { background: var(--bg); padding-top: 13px; }

.hdr__nav {
  position: relative;
  max-width: var(--shell-max);
  height: 57px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: flex-start;
}

.hdr__logo img { width: 137.43px; height: 44px; margin-top: 3px; }

.hdr__menu {
  display: flex;
  margin-left: auto;
}

.hdr__menu a {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 48px;
  padding: 10px 15px;
  font-family: var(--font-nav);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.hdr__menu a.is-active { color: var(--gold); }
.hdr__menu a:hover { color: var(--gold); }
.hdr__lang img { width: 8px; height: 8px; transform: scaleY(-1); }

.auth {
  margin-left: auto;
  display: flex;
  align-items: stretch;
  height: 40px;
  overflow: hidden;
  background: var(--grey-btn);
  border-radius: 999px;
}
.auth__register,
.auth__login {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.auth__register {
  width: 100px;
  border: 3px solid var(--grey-btn);
  border-radius: 250px 50px 50px 250px;
  background: linear-gradient(to top, #e18e00, #fcca00);
}
.auth__login { width: 74px; background: var(--grey-btn); }

/* ============================ layout ============================ */

.layout {
  display: flex;
  gap: 20px;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 8px;
}

.main { flex: 1 1 auto; min-width: 0; }

/* ------------------------------ sidebar ------------------------- */

.aside { flex: 0 0 228.88px; width: 228.88px; padding-top: 10px; }

.sidenav {
  position: sticky;
  top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidenav__search {
  position: relative;
  display: flex;
  align-items: center;
  height: 38px;
  padding: 0 36px 0 14px;
  background: rgba(153, 204, 255, .4);
  border-radius: 61px;
  box-shadow: inset 0 2px 9.3px rgba(30, 41, 62, .15);
}
.sidenav__search input {
  width: 100%;
  padding: 0 0 0 10px;
  border: 0;
  background: none;
  color: var(--sky);
  font: 300 13px var(--font-ui);
  outline: none;
}
.sidenav__search input::placeholder { color: var(--sky); text-transform: capitalize; }
.sidenav__search img { position: absolute; right: 15px; width: 14.86px; height: 16px; opacity: .9; transform: scaleY(-1); }

.sidenav__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: linear-gradient(180deg, #101b2f 0%, rgba(16, 27, 47, 0) 100%);
}
.sidenav__list a {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 12px 0 22px;
  border-radius: 8px;
  background: var(--nav-item);
  color: var(--sky);
  font-weight: 500;
  transition: background .15s ease;
}
.sidenav__list a img { width: 20px; height: 20px; }
.sidenav__list a:hover { background: #33456b; }
.sidenav__list a.is-active { background: var(--nav-active); color: #000; }

/* ============================ sections ========================== */

.sec + .sec { margin-top: var(--sec-gap); }

.sec__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.sec__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 600;
}
.sec__icon { width: 28px; height: 28px; }

.see-all {
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: .6;
  color: var(--sky);
  font-size: 13px;
  font-weight: 500;
}
.see-all:hover { opacity: 1; }


/* rail = slider + hover arrows */
.rail { position: relative; }

.nav-btn {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  width: 100px;
  opacity: 0;
  /* Invisible arrows must not swallow clicks meant for the cards underneath —
     they only become interactive once the rail is hovered and they are shown. */
  pointer-events: none;
  transition: opacity .2s ease;
}
.nav-btn--prev {
  left: 0;
  justify-content: flex-start;
  padding-left: 10px;
  background: linear-gradient(90deg, rgba(30,41,62,.96) 0%, rgba(30,41,62,.8) 20%, rgba(30,41,62,.5) 50%, rgba(30,41,62,.2) 75%, rgba(30,41,62,.002) 100%);
}
.nav-btn--next {
  right: 0;
  justify-content: flex-end;
  padding-right: 10px;
  background: linear-gradient(270deg, rgba(30,41,62,.96) 0%, rgba(30,41,62,.8) 20%, rgba(30,41,62,.5) 50%, rgba(30,41,62,.2) 75%, rgba(30,41,62,.002) 100%);
}
.rail:hover .nav-btn { opacity: 1; pointer-events: auto; }
/* `lock` is what Swiper adds when a rail has nothing to scroll (Top 5, Jogos
   Mais Quentes on desktop) — those arrows stay hidden and inert. */
.nav-btn.swiper-button-disabled,
.nav-btn.swiper-button-lock { opacity: 0 !important; pointer-events: none !important; }
.nav-btn img { transform: scaleY(-1); }

.swiper { overflow: hidden; }

/* shared thumb shading used on ranked / top cards */
.shade {
  position: absolute;
  pointer-events: none;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(140.39deg, rgba(0,0,0,0) 46.08%, rgba(0,0,0,1) 92.18%);
}

/* Stretched link — the title is the real link, and this overlay extends it
   over the whole card so a click on the artwork follows it too. Anything that
   must stay separately clickable (Jogar, hero CTA) is lifted above it. */
.card-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
/* These two cards position their text block absolutely, so the overlay is
   grown in every direction and clipped by the card's own overflow. */
.hero__panel .card-link::after,
.exc__bar .card-link::after { inset: -1000px; }

.card-link:hover { text-decoration: underline; text-underline-offset: 2px; }
.hero__title .card-link:hover { text-decoration: none; }

.btn-play,
.exc__cta,
.hero__cta { position: relative; z-index: 2; }

.btn-play {
  flex: 0 0 auto;
  padding: 7.62px 16.5px;
  border-radius: 68px;
  background: linear-gradient(180deg, rgba(255,180,0,.95) 31.62%, rgba(255,180,0,.48) 100%);
  box-shadow: 0 1.17px 3.2px rgba(107, 68, 0, .51);
  backdrop-filter: blur(2.53px);
  color: #fff;
  font-size: 18.8px;
  font-weight: 600;
  line-height: 18.76px;
  text-align: center;
  white-space: nowrap;
}
.btn-play:hover { filter: brightness(1.08); }

/* ------------------------------ hero ---------------------------- */

.sec--hero { padding-bottom: 10px; }
.swiper--hero .swiper-slide { width: 760px; }

.hero__card {
  position: relative;
  display: flex;
  height: 325px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero__img {
  width: 430px;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero__fade {
  position: absolute;
  pointer-events: none;
  top: 0;
  bottom: 0;
  right: 298px;
  width: 150px;
  background: linear-gradient(270deg, var(--fade) 0%, var(--fade) 25%, rgba(30,41,62,.3) 70%, rgba(30,41,62,0) 100%);
}
.hero__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  padding: 16px 27px 35px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  background: var(--panel);
}
.hero__title { font-size: 26px; line-height: 26px; font-weight: 600; }
.hero__title .ln, .hero__text .ln { display: block; }
.hero__text { font-size: 14.8px; opacity: .9; }
.hero__cta {
  align-self: flex-start;
  margin-top: 14px;
  padding: 9.5px 12px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.35));
  font-size: 16.8px;
  font-weight: 500;
  line-height: 16.75px;
}
.hero__cta:hover { background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.5)); }

/* ------------------------------ top 5 --------------------------- */
/* One markup, two layouts: ranked cards in a slider on desktop,
   a stacked list with a Jogar button on mobile. */

.swiper--top5 .swiper-slide { height: 146.76px; }

.t5card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 4.5px 32px 4.5px 4.5px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(153,204,255,.28) 0%, rgba(153,204,255,0) 100%);
}
.t5card__thumb {
  position: relative;
  flex: 0 0 137.76px;
  width: 137.76px;
  height: 137.76px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--card);
}
.t5card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.t5card__name {
  width: 32.34px;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}
.t5card__full,
.t5card > .btn-play { display: none; }
.t5card__num {
  position: absolute;
  pointer-events: none;
  left: 102px;
  bottom: -8px;
  font-size: 69px;
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  background-image: linear-gradient(180deg, rgba(255,255,255,.89) 51.45%, #ffefca 86.21%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------- exclusivos ------------------------- */

.sec--exclusivos { padding-bottom: 10px; }
.swiper--exclusivos .swiper-slide { width: 373px; height: 325px; }

.exc {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.exc__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.exc__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  backdrop-filter: blur(5px);
  background:
    linear-gradient(180deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,0) 45%, rgba(30,38,56,.86) 100%),
    linear-gradient(180deg, transparent 40%, color-mix(in srgb, var(--tint) 22%, transparent) 100%);
}
.exc__thumb {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--card);
}
.exc__thumb img { width: 100%; height: 100%; object-fit: cover; }
.exc__name { flex: 1 1 auto; min-width: 0; font-size: 15px; font-weight: 600; line-height: 16.5px; }
.exc__cta {
  flex: 0 0 auto;
  padding: 8.5px 13.5px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 500;
  line-height: 13.65px;
}
.exc__cta:hover { background: rgba(255,255,255,.14); }

/* --------------------------- novidades -------------------------- */

.swiper--novidades .swiper-slide { width: 220.59px; }

.nov__media {
  position: relative;
  display: block;
  height: 123.53px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--card);
}
.nov__media img { width: 100%; height: 100%; object-fit: cover; }
.badge-new {
  position: absolute;
  pointer-events: none;
  top: 8px;
  left: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 45.73px;
  height: 18.66px;
  padding: 0 6px;
  border-radius: 5.6px;
  background: var(--gold);
  font-size: 11.2px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}
.nov { position: relative; }
.nov__name { display: block; padding-top: 6px; font-size: 16px; font-weight: 500; }

/* --------------------------- jackpots --------------------------- */

.jackpots__glow { position: relative; }
.jackpots__glow::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(153,204,255,.10) 0%, rgba(153,204,255,0) 70%);
  pointer-events: none;
}
/* No Swiper on desktop — the wrapper is laid out as a plain 5-up grid. */
.swiper--jackpots .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.jcard { position: relative; }
.jcard__media {
  display: block;
  height: 122.44px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--card);
}
.jcard__media img { width: 100%; height: 100%; object-fit: cover; }
.jcard__name { margin: 14px 0 10px; font-size: 16px; font-weight: 600; }
.jcard__amount { font-size: 33.6px; font-weight: 900; line-height: 36px; white-space: nowrap; }
.jcard__amount {
  background-image: linear-gradient(180deg, #ffcd75 0%, #e79401 53.96%, #ffb635 55.78%, #bc7b1a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.jcard > .btn-play { display: none; }

/* ------------------------ jogos mais quentes -------------------- */

.swiper--hot .swiper-slide { width: 365px; }
.hcol { display: flex; flex-direction: column; gap: 12px; }
.hrow {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 82px;
  padding-right: 8px;
  border-radius: 8px;
}
.hrow__thumb {
  flex: 0 0 82px;
  width: 82px;
  height: 82px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--card);
}
.hrow__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hrow__name { flex: 1 1 auto; min-width: 0; font-size: 16px; font-weight: 500; }

/* ------------------------ últimos grandes ganhos ---------------- */

.swiper--wins .swiper-slide { width: 211px; }
.wcard { position: relative; display: flex; flex-direction: column; gap: 8px; }
.wcard__media {
  display: block;
  height: 118.16px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--card);
}
.wcard__media img { width: 100%; height: 100%; object-fit: cover; }
.wcard__name { font-size: 16px; font-weight: 600; }
.wcard > .btn-play { display: none; }
.wcard__amount {
  font-size: 33.9px;
  font-weight: 900;
  line-height: 36px;
  white-space: nowrap;
  background-image: linear-gradient(180deg, #cbcbcb 0%, #a2a2a2 49.77%, #d5d5d5 51.44%, #9b9b9b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================= footer ===========================
   The Figma export ships these marks vertically mirrored; the design
   flips them back, so the same flip is applied here. */
.ftr__logo img,
.ftr__badges img,
.store img,
.social img,
.payments img,
.ftr__selos img:not([src$=".png"]) { transform: scaleY(-1); }


.ftr { margin-top: 20px; padding: 50px 0 90px; }
.ftr__inner {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 23px;
}

.ftr__sep { height: 0; margin: 16px 0; border: 0; border-top: 1.5px dashed var(--sky); opacity: .35; }

.ftr__top {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}
.ftr__logo img { width: 187.15px; height: 60.5px; opacity: .6; }
.ftr__slogan {
  flex: 1 1 auto;
  text-align: center;
  opacity: .6;
  color: var(--sky);
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
}
.ftr__badges { display: flex; align-items: center; gap: 14px; }
.ftr__badge-pt { width: 83.94px; height: 26px; opacity: .6; }
.ftr__badge-lfc { width: 21.87px; height: 40px; opacity: .6; }
.ftr__partner {
  color: var(--sky);
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  text-transform: uppercase;
  opacity: .8;
}
.ftr__divider { width: 1px; align-self: stretch; background: var(--sky); opacity: .35; }

.ftr__mid { display: flex; align-items: flex-start; gap: 40px; padding: 8px 0; }
.ftr__col-left { flex: 0 0 262px; }

.stores { display: flex; gap: 8px; opacity: .6; }
.store {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--sky);
  border-radius: 8px;
  color: var(--sky);
}
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: 9px; opacity: .8; }
.store strong { font-size: 13px; }
.store:hover { background: rgba(153,204,255,.08); }

.social { display: flex; gap: 16px; margin-top: 18px; opacity: .6; }
.social img { height: 22px; width: auto; }

.payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 20px;
  max-width: 262px;
  opacity: .55;
}
.payments img { height: 22px; }

.ftr__links {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  grid-auto-flow: column;
  align-content: start;
  gap: 30px 40px;
}
.ftr__group h4 {
  margin-bottom: 6px;
  color: var(--sky);
  font-family: var(--font-foot);
  font-weight: 700;
  font-size: 18px;
  line-height: 19.8px;
}
.ftr__group li a {
  display: block;
  padding: 2px 0;
  opacity: .6;
  color: var(--sky);
  font-family: var(--font-foot);
  font-weight: 300;
  font-size: 14px;
  line-height: 19.6px;
}
.ftr__group li a:hover { opacity: 1; }

.ftr__selos { flex: 0 0 187px; display: flex; align-items: center; gap: 14px; opacity: .8; }

.ftr__legal { padding-top: 19px; text-align: center; }
.ftr__legal p {
  color: var(--sky);
  font-family: var(--font-foot);
  font-size: 12px;
  line-height: 23px;
}
.ftr__copy { margin-top: 10px; font-weight: 700; }

/* ============================ tab bar =========================== */

.tabbar { display: none; }

/* =========================================================
   MOBILE  (Figma frame "390")
   ========================================================= */

@media (max-width: 1023.98px) {

  :root { --sec-gap: 32px; }

  .hdr--desktop,
  .aside { display: none; }

  .hdr--mobile { display: block; background: var(--bg); }

  .hdr__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 58px;
    padding: 9px 16px;
  }
  .hdr__bar .hdr__logo img { width: 118.68px; height: 38px; margin: 0; }

  .chips { padding: 12px 0; overflow-x: auto; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chips__list { display: flex; gap: 4px; padding: 0 20px; width: max-content; }
  .chips__list a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8.25px 14px;
    border: 1px solid var(--sky);
    border-radius: 8px;
    background: var(--nav-item);
    color: var(--sky);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -.32px;
    white-space: nowrap;
  }

  .layout { padding: 0 12px; gap: 0; }

  .nav-btn { display: none; }

  .sec__title { font-size: 20px; }

  /* hero */
  .swiper--hero .swiper-slide { width: 343px; }
  .hero__card { height: 346px; }
  .hero__img { position: absolute; inset: 0; width: 100%; }
  .hero__fade { display: none; }
  .hero__panel {
    top: auto;
    left: 0;
    right: 0;
    width: auto;
    padding: 16px;
    gap: 6px;
    background: linear-gradient(180deg, rgba(10,26,47,0) 0%, rgba(10,26,47,.55) 45%, rgba(10,26,47,.92) 100%);
  }
  .hero__title { font-size: 20px; line-height: 24px; }
  .hero__text { font-size: 13px; }
  .hero__title .ln, .hero__text .ln { display: inline; }
  .hero__cta { margin-top: 10px; font-size: 14px; }

  /* exclusivos */
  .swiper--exclusivos .swiper-slide { width: 343px; height: 346px; }

  /* novidades */
  .swiper--novidades .swiper-slide { width: 167.5px; }
  .nov__media { height: 93.8px; }
  .nov__name { font-size: 14px; }

  /* jogos mais quentes */
  .swiper--hot .swiper-slide { width: 343px; }

  /* Top 5 — no Swiper on mobile, the wrapper is a plain stacked list. */
  .swiper--top5 .swiper-wrapper { flex-direction: column; gap: 12px; }
  .swiper--top5 .swiper-slide { height: 87px; }
  .t5card {
    gap: 8px;
    padding: 0;
    border-radius: 0;
    overflow: visible;
    background: none;
  }
  .t5card__thumb { flex: 0 0 87px; width: 87px; height: 87px; }
  .t5card__name {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    padding-left: 15px;
    white-space: normal;
  }
  .t5card__lines { display: none; }
  .t5card__full { display: inline; }
  .t5card > .btn-play { display: block; margin-right: 20px; }
  .t5card__num { left: 72px; bottom: 0; font-size: 45px; line-height: 45px; }

  /* Grandes Jackpots / Últimos Grandes Ganhos — thumbnail rows. */
  .jackpots__glow::before { display: none; }
  .swiper--jackpots .swiper-wrapper { display: flex; }
  .swiper--jackpots .swiper-slide,
  .swiper--wins .swiper-slide { width: 100%; height: 82px; }
  .jcard,
  .wcard {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .jcard__media,
  .wcard__media {
    flex: 0 0 82px;
    width: 82px;
    height: 82px;
    border-radius: 8px;
  }
  .jcard__name,
  .wcard__name {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
  }
  .jcard__amount,
  .wcard__amount { display: none; }
  .jcard > .btn-play,
  .wcard > .btn-play { display: block; }

  /* footer */
  .ftr { padding: 30px 0 90px; }
  .ftr__inner { padding: 0 12px; }

  .ftr__top { flex-direction: column; gap: 0; text-align: center; }
  .ftr__top > * { width: 100%; padding: 16px 0; }
  .ftr__logo,
  .ftr__slogan { border-bottom: 1.5px dashed rgba(153, 204, 255, .35); }
  .ftr__logo img { margin: 0 auto; }
  .ftr__badges { justify-content: center; }
  .ftr__logo img { width: 150px; height: auto; }
  .ftr__slogan { font-size: 13px; }
  .ftr__badges { gap: 20px; }

  .ftr__mid { flex-direction: column; align-items: center; gap: 28px; }
  .ftr__col-left { flex: none; width: 100%; display: flex; flex-direction: column; align-items: center; }
  .stores { justify-content: center; }
  .social { justify-content: center; }
  .payments { justify-content: center; max-width: 320px; }

  .ftr__links {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    grid-auto-flow: row;
    gap: 26px 24px;
  }
  /* Figma mobile pairs the groups differently from desktop. */
  .ftr__group--sports      { grid-area: 1 / 1; }
  .ftr__group--casino      { grid-area: 1 / 2; }
  .ftr__group--promo       { grid-area: 2 / 1; }
  .ftr__group--support     { grid-area: 2 / 2; }
  .ftr__group--interest    { grid-area: 3 / 1; }
  .ftr__group--responsible { grid-area: 3 / 2; }
  .ftr__selos { flex: none; justify-content: center; }

  .ftr__legal p { line-height: 22px; }

  /* bottom tab bar */
  .tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 61px;
    background: #062443;
  }
  .tabbar__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 58.33px;
    height: 61px;
    color: rgba(240, 240, 240, .6);
    font-family: var(--font-foot);
    font-size: 11px;
    line-height: 11px;
    letter-spacing: -.044px;
  }
  .tabbar__item img { width: 20px; height: 20px; transform: scaleY(-1); }
  .tabbar__item--sports img { transform: none; }
  .tabbar__item.is-active { color: #fff; }
  .tabbar__item.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    border-radius: 0 0 3px 3px;
    background: var(--gold);
    box-shadow: 0 0 11px rgba(75, 193, 101, .46);
  }
  .tabbar__item--sports { color: #fff; }

  body { padding-bottom: 61px; }
}

@media (max-width: 420px) {
  .swiper--hero .swiper-slide,
  .swiper--exclusivos .swiper-slide,
  .swiper--hot .swiper-slide { width: calc(100vw - 24px); }
  .hdr__bar { padding: 9px 12px; }
  .hdr__bar .hdr__logo img { width: 104px; height: auto; }
}

/* =========================================================
   REGISTRATION MODAL
   Not part of the Figma file — built in the same visual
   language (dark panel, #9cf labels, gold gradient CTA).
   ========================================================= */

[hidden] { display: none !important; }

body.has-modal { overflow: hidden; }

.modal {
  width: min(440px, calc(100vw - 24px));
  max-height: min(88vh, 780px);
  padding: 0;
  border: 1px solid rgba(153, 204, 255, .22);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #12213a 0%, var(--bg) 55%);
  color: var(--ink);
  overflow: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
}
.modal::backdrop {
  background: rgba(4, 11, 22, .74);
  backdrop-filter: blur(4px);
}

.modal__body { padding: 28px; }

.modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--sky);
  font-size: 24px;
  line-height: 1;
  opacity: .7;
}
.modal__close:hover { opacity: 1; background: rgba(153, 204, 255, .12); }

.modal__head { text-align: center; }
.modal__logo { width: 132px; height: auto; margin: 0 auto 18px; }
.modal__title { font-size: 24px; font-weight: 600; }
.modal__sub {
  margin-top: 6px;
  color: var(--sky);
  font-size: 14px;
  line-height: 20px;
  opacity: .8;
}

/* ------------------------------ form ---------------------------- */

.reg {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 22px;
}
.reg__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { color: var(--sky); font-size: 13px; }

.field input,
.field .tel {
  display: flex;
  align-items: center;
  height: 44px;
  border: 1px solid rgba(153, 204, 255, .25);
  border-radius: 8px;
  background: rgba(153, 204, 255, .06);
}
.field input {
  width: 100%;
  padding: 0 14px;
  color: var(--ink);
  font: 15px var(--font-ui);
}
.field input::placeholder { color: rgba(153, 204, 255, .5); }
.field input:focus,
.field .tel:focus-within {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(153, 204, 255, .15);
}
/* Only flag a field once the visitor has actually had a go at it. */
.field input:user-invalid { border-color: #ff6b5e; }

.field--tel .tel { padding: 0; overflow: hidden; }
.field--tel .tel__prefix {
  flex: 0 0 auto;
  padding: 0 12px;
  border-right: 1px solid rgba(153, 204, 255, .2);
  color: var(--sky);
  font-size: 15px;
  line-height: 42px;
}
.field--tel input {
  height: 42px;
  border: 0;
  background: none;
  box-shadow: none !important;
}

/* date inputs render their own dark-on-dark icon in Chrome */
.field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .6; }

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  line-height: 18px;
  cursor: pointer;
}
.check input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--gold);
}
.check a { color: var(--sky); text-decoration: underline; }
.check input:user-invalid { outline: 2px solid #ff6b5e; outline-offset: 2px; }

.reg__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  margin-top: 4px;
  border-radius: 999px;
  background: linear-gradient(to top, #e18e00, #fcca00);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.reg__submit:hover { filter: brightness(1.06); }

.reg__foot { text-align: center; color: var(--sky); font-size: 13px; }
.reg__foot a { text-decoration: underline; }

/* ---------------------------- success --------------------------- */

.modal__done { margin-top: 22px; text-align: center; }
.modal__check {
  display: block;
  width: 56px;
  height: 56px;
  margin: 8px auto 18px;
  border-radius: 50%;
  background: linear-gradient(to top, #e18e00, #fcca00);
  position: relative;
}
.modal__check::after {
  content: '';
  position: absolute;
  top: 15px;
  left: 20px;
  width: 14px;
  height: 24px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.modal__done h3 { font-size: 22px; font-weight: 600; }
.modal__done p {
  margin: 8px 0 22px;
  color: var(--sky);
  font-size: 14px;
  line-height: 20px;
  opacity: .85;
}
.modal__done .reg__submit { width: 100%; }

.modal__legal {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1.5px dashed rgba(153, 204, 255, .25);
  color: var(--sky);
  font-size: 11px;
  text-align: center;
  opacity: .6;
}

@media (max-width: 480px) {
  .modal { width: calc(100vw - 16px); max-height: 92vh; }
  .modal__body { padding: 22px 18px; }
  .reg__row { grid-template-columns: 1fr; gap: 14px; }
}
