/* ══════════════════════════════════════════════════════════════════
   BOLTBET — Custom CSS (stile Piperspin: sidebar, blu elettrico, card)
   ══════════════════════════════════════════════════════════════════ */

/* ─────────────────────────── 1. PALETTE ─────────────────────────── */
:root {
  /* Sfondo pagina */
  --dark-h: 226;
  --dark-s: 37%;
  --dark-l: 7%;
  /* Sfondo card */
  --section-bg: 224 31% 12%;
  /* Testo secondario */
  --body-color: 214 20% 69%;
  /* Bordi quasi invisibili */
  --border-color: 0 0% 100% / 0.05;
  /* Font */
  --heading-font: "Inter", sans-serif;
  --body-font: "Inter", sans-serif;
}

body {
  background-color: #0B0E18;
  font-family: "Inter", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ─────────────────────────── 2. SIDEBAR ─────────────────────────── */
.piper-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 158px;
  background-color: #0B0E18;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 18px 8px;
  transition: width 0.3s ease;
  overflow-y: auto;
  overflow-x: hidden;
}

.piper-sidebar__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 0 8px;
}

.piper-sidebar__logo img {
  max-height: 54px;
  max-width: 140px;
  object-fit: contain;
}

.piper-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.piper-sidebar__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 9px 4px 8px;
  border-radius: 10px;
  color: #b7b7b7;
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  text-align: center;
  line-height: 1.2;
}

.piper-sidebar__link i {
  font-size: 26px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #b7b7b7;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.piper-sidebar__link:hover {
  color: #ffffff;
}
.piper-sidebar__link:hover i {
  color: #ffffff;
}
.piper-sidebar__link.active {
  color: #ffffff;
  background: rgba(0, 123, 255, 0.12);
}
.piper-sidebar__link.active i {
  color: #007BFF;
  text-shadow: 0 0 14px rgba(0, 123, 255, 0.55);
}
/* indicatore laterale blu (stesso colore del bottone Esci nell'header) */
.piper-sidebar__link.active::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 22%;
  height: 56%;
  width: 3px;
  border-radius: 3px;
  background: #007BFF;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.8);
}



.piper-sidebar__sep {
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  margin: 16px 8px;
}

.piper-sidebar__label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  padding: 0 4px;
  margin-bottom: 6px;
  white-space: nowrap;
  text-align: center;
}

.piper-sidebar__footer {
  margin-top: auto;
  padding: 12px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.piper-sidebar__footer .piper-sidebar__balance strong {
  font-size: 11px;
}
.piper-sidebar__footer .piper-sidebar__balance a {
  font-size: 10px;
}

.piper-sidebar__balance {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.piper-sidebar__balance strong {
  color: #007BFF;
  display: block;
  font-size: 14px;
}

/* Sidebar collassata (mobile) */
@media screen and (max-width: 1199px) {
  .piper-sidebar {
    width: 70px;
    padding: 20px 10px;
  }
  .piper-sidebar__logo { padding: 0; }
  .piper-sidebar__logo img { max-width: 40px; }
  .piper-sidebar__link {
    justify-content: center;
    padding: 12px;
  }
  .piper-sidebar__link span,
  .piper-sidebar__label,
  .piper-sidebar__balance,
  .piper-sidebar__sep { display: none; }
}

/* Contenuto principale: margine per la sidebar */
.piper-main {
  position: relative; /* l'header absolute (width:100%) resta dentro il main, non esce a destra */
  margin-left: 158px;
  min-height: 100vh;
}

/* il container del tema (1190px) è più largo del main (1366-240): adattalo */
.piper-main .container {
  max-width: 100%;
}

@media screen and (max-width: 1199px) {
  .piper-main {
    margin-left: 70px;
  }
}

/* ─────────────────────────── 3. HEADER ─────────────────────────── */
.header {
  background: rgba(11, 14, 24, 0.6) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.fixed-header {
  background: rgba(11, 14, 24, 0.85) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4) !important;
}

/* Nascondi i link non richiesti (Chi Siamo, Blog, ecc.) */
.header .nav-menu .nav-item:not(:first-child):not(:last-child) {
  display: none;
}

/* Barra di ricerca nell'header */
.header .navbar-collapse {
  flex-grow: 1;
  justify-content: center !important;
}

.header-search {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.header-search__box {
  position: relative;
  width: 100%;
}

.header-search__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #bbb;
  font-size: 16px;
  z-index: 10;
  pointer-events: none;
}

.header-search__input {
  width: 100%;
  height: 44px;
  padding-left: 44px;
  padding-right: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.header-search__input::placeholder {
  color: #888;
}

.header-search__input:focus {
  border-color: #007BFF;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

@media screen and (max-width: 1199px) {
  .header-search {
    margin: 10px 0;
  }
}

/* ─────────────────────── 4. GAME CARDS ─────────────────────── */
.game-item {
  background: #151A28;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 16px;
}

.game-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.game-item__image {
  border-radius: 0;
}

.game-item__image img {
  border-radius: 20px 20px 0 0;
}

.game-item__play {
  background: linear-gradient(180deg, rgba(11, 14, 24, 0.2) 0%, rgba(11, 14, 24, 0.85) 100%) !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

.game-item__play .btn {
  border-radius: 8px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.game-item__title {
  text-align: center;
  padding-top: 14px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

/* ─────────────────────────── 5. BUTTONS ─────────────────────────── */
.btn {
  border-radius: 8px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 12px 24px;
  border: none !important;
}

.btn--base,
.btn--gradient {
  background: #007BFF !important;
  background-image: none !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.35) !important;
}

.btn--base:hover,
.btn--gradient:hover {
  background: #0069D9 !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.45) !important;
}

.text--base {
  color: #007BFF !important;
}

.bg--base {
  background-color: #007BFF !important;
}

/* ─────────────────────── 6. HERO BANNER ─────────────────────── */
.banner-section {
  background: radial-gradient(ellipse at 30% 20%, #0D1B3E 0%, #0B0E18 60%, #06080F 100%) !important;
  background-color: #0B0E18 !important;
}

.banner-content__title {
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.banner-thumb img {
  filter: drop-shadow(0 20px 60px rgba(0, 123, 255, 0.25));
  transform: scale(1.04);
  border-radius: 24px;
}

/* ─────────────────────── 7. FOOTER ─────────────────────── */
.footer-area {
  background: #06080F !important;
}

.footer-area__thumb {
  opacity: 0.15;
}

.payment-method__title {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
}

.socket-area {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: #06080F;
}

.socket-area__text,
.socket-nav__link,
.social-list__link {
  color: rgba(255, 255, 255, 0.6) !important;
}

.socket-area__text a {
  color: #007BFF !important;
}

/* ─────────────────────── 8. VARIE ─────────────────────── */
/* Preloader */
.preloader {
  background: #0B0E18 !important;
}

/* Card generiche */
.card,
.custom--card,
.dashboard-card {
  background: #151A28 !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 20px !important;
}

/* Sezioni con sfondo */
.section-bg,
.games-section,
.custom--section {
  background: #0B0E18 !important;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #0B0E18;
}
::-webkit-scrollbar-thumb {
  background: #007BFF;
  border-radius: 10px;
}

/* Focus */
.form-control:focus,
.form--control:focus {
  border-color: #007BFF !important;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15) !important;
}

/* Pulsante scroll top */
.scroll-top {
  background: #007BFF !important;
}

/* Barra di ricerca giochi (già presente) */
.games-search-wrap {
  margin-bottom: 30px;
}
.games-search-box {
  position: relative;
  max-width: 620px;
  margin-right: auto;
}
.games-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #bbb;
  font-size: 18px;
  z-index: 10;
  pointer-events: none;
  line-height: 1;
}
.games-search-input {
  width: 100%;
  padding-left: 44px;
  padding-right: 44px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.games-search-input::placeholder {
  color: #999;
}
.games-search-input:focus {
  border-color: #007BFF;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
}
.games-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #aaa;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  z-index: 2;
}
.games-search-clear:hover {
  color: #fff;
}
.games-search-count {
  margin-top: 10px;
  font-size: 13px;
  color: #aaa;
}
.games-empty {
  text-align: center;
  padding: 60px 20px;
  color: #aaa;
}
.games-empty-icon {
  font-size: 48px;
  color: #666;
  margin-bottom: 15px;
}
.games-empty h4 {
  color: #fff;
  margin-bottom: 8px;
}
.games-empty p {
  font-size: 14px;
}

/* Filtro ricerca: mantieni le card della stessa dimensione, allineate a sinistra */
#gamesGrid {
  justify-content: flex-start;
}
#gamesGrid .game-item {
  flex-shrink: 0;
}

/* ─────────────────── 9. LOYALTY / RANKS ─────────────────── */
.loyalty-section {
  background: #0B0E18;
}

.loyalty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

@media screen and (max-width: 1199px) {
  .loyalty-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 575px) {
  .loyalty-grid {
    grid-template-columns: 1fr;
  }
}

.loyalty-card {
  background: #151A28;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.loyalty-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.loyalty-card__badge {
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  color: #fff;
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--rank-color) 70%, #fff 30%), color-mix(in srgb, var(--rank-color) 55%, #000 45%));
  box-shadow:
    inset 0 -4px 8px rgba(0, 0, 0, 0.45),
    inset 0 3px 6px rgba(255, 255, 255, 0.35),
    0 8px 20px color-mix(in srgb, var(--rank-color) 40%, transparent);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.loyalty-card__title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.loyalty-card__min {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.loyalty-card__perks {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  text-align: left;
}

.loyalty-card__perks li {
  font-size: 13.5px;
  color: #A0AEC0;
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.loyalty-card__perks li i {
  color: var(--rank-color);
  font-size: 15px;
}

.loyalty-card__bonus {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 8px;
  background: rgba(0, 123, 255, 0.12);
  border: 1px solid rgba(0, 123, 255, 0.35);
  color: #007BFF;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ───────────────────── 10. DESKTOP LAYOUT GUARDRAILS ─────────────────────
   Keep the fixed navigation independent from the content column.  The theme
   creates wide Slick tracks for its cloned slides; those tracks must be
   clipped by the page rather than creating a horizontal desktop scrollbar. */
@media screen and (min-width: 992px) {
  html,
  body {
    overflow-x: clip;
  }

  .piper-main {
    width: calc(100% - 158px);
    min-width: 0;
  }

  .piper-main .container {
    width: min(100%, 1440px);
    margin-left: auto;
    margin-right: auto;
  }

  .home-desktop,
  .promo-slider-wrapper,
  .games-section-content,
  .card-slider,
  .banner-content-slider {
    min-width: 0;
  }

  .slick-list {
    overflow: hidden;
  }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  .piper-main {
    width: calc(100% - 70px);
  }
}

/* ═══════════════════════════════════════════════════════════════
   LAYOUT MOBILE — Casino Premium (homepage & games <992px)
   Palette: sfondo #0a0e1a · header #1a2744 · oro #c9a24b→#e6c878
            verde #3ecf5f · testo #fff / #a0a8bc · max-w 430px
   ═══════════════════════════════════════════════════════════════ */

/* ── Contenitore generale mobile ── */
.home-mobile {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(26, 39, 68, 0.55), transparent 60%),
    radial-gradient(900px 400px at -10% 30%, rgba(201, 162, 75, 0.07), transparent 55%),
    #0a0e1a;
  min-height: 100vh;
  padding-bottom: 90px;
}

.piper-main--home {
  margin-left: 158px;
}

@media (max-width: 1199.98px) {
  .piper-main--home {
    margin-left: 70px;
  }
}

@media (max-width: 991.98px) {
  .piper-main--home {
    margin-left: 0 !important;
  }
}

/* ── 1. HEADER MOBILE sticky ── */
.m-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1a2744 0%, rgba(10, 14, 26, 0.96) 100%);
  border-bottom: 1px solid rgba(201, 162, 75, 0.25);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.55);
}

.m-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0 12px 0;
  max-width: 100%;
}

.m-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.m-header__logo img {
  height: 72px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(230, 200, 120, 0.5));
}

.m-header__brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.m-header__brand strong {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #fff;
  font-family: "Nunito", "Inter", sans-serif;
}

.m-header__brand small {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.42em;
  color: #e6c878;
  text-transform: uppercase;
}

.m-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Pulsanti mobile ── */
.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
  font-family: "Nunito", "Inter", sans-serif;
}

.m-btn:active {
  transform: scale(0.96);
}

.m-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.m-btn--ghost:active {
  background: rgba(255, 255, 255, 0.08);
}

.m-btn--gold {
  background: #1a2744;
  border: 1.5px solid #c9a24b;
  color: #fff;
  box-shadow: 0 0 14px rgba(201, 162, 75, 0.3), inset 0 0 8px rgba(230, 200, 120, 0.07);
}

.m-btn--gold:active {
  box-shadow: 0 0 22px rgba(230, 200, 120, 0.5);
}

.m-btn--block {
  width: 100%;
  margin-top: 10px;
}

/* ── Sezioni mobile ── */
.m-section {
  padding: 26px 16px 6px;
  max-width: 430px;
  margin: 0 auto;
}

.m-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.m-section__title {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  font-family: "Nunito", "Inter", sans-serif;
  margin: 0;
  letter-spacing: 0.01em;
}

.m-section__link {
  font-size: 13px;
  color: #a0a8bc;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.m-section__link:active {
  color: #e6c878;
}

/* ── 2. GRANDI VITTORIE: carousel orizzontale ── */
.m-winners {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 16px 14px;
  scroll-padding-left: 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.m-winners::-webkit-scrollbar {
  display: none;
}

.m-winner-card {
  flex: 0 0 92%;
  max-width: 420px;
  height: 150px;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: linear-gradient(160deg, #1a2744 0%, #101828 100%);
  border: 1px solid rgba(201, 162, 75, 0.32);
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45), 0 0 12px rgba(201, 162, 75, 0.08);
}

.m-winner-card__icon {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(201, 162, 75, 0.25), rgba(26, 39, 68, 0.5));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 162, 75, 0.35);
}

.m-winner-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-winner-card__icon i {
  font-size: 24px;
  color: #e6c878;
}

.m-winner-card__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.m-winner-card__game {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: "Nunito", "Inter", sans-serif;
}

.m-winner-card__user {
  font-size: 14px;
  font-weight: 600;
  color: #9ca3af;
  margin: 0 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: "Nunito", "Inter", sans-serif;
}

.m-winner-card__amount {
  font-size: 16px;
  font-weight: 800;
  color: #10b981;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.35);
}

/* ── 3. MIGLIORI GIOCHI / ESCLUSIVO: griglia 3 colonne ── */
.m-games {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.m-game-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #0e1526;
  border: 1px solid rgba(201, 162, 75, 0.4);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), 0 0 10px rgba(201, 162, 75, 0.08);
}

/* Angoli ornamentali dorati */
.m-game-card::before,
.m-game-card::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  z-index: 3;
  pointer-events: none;
}

.m-game-card::before {
  top: 5px;
  left: 5px;
  border-top: 2px solid #e6c878;
  border-left: 2px solid #e6c878;
  border-top-left-radius: 6px;
}

.m-game-card::after {
  bottom: 5px;
  right: 5px;
  border-bottom: 2px solid #e6c878;
  border-right: 2px solid #e6c878;
  border-bottom-right-radius: 6px;
}

.m-game-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.m-game-card__fav {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.m-game-card__fav.active {
  color: #ff3b5c;
  background: rgba(255, 59, 92, 0.2);
}

.m-game-card__fav:active {
  transform: scale(1.25);
}

/* Badge BOX rosso (etichetta promozionale) */
.m-game-card__box {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 4;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #fff;
  background: linear-gradient(135deg, #ff5252, #d32f2f);
  box-shadow: 0 0 12px rgba(255, 82, 82, 0.55);
  font-family: "Nunito", "Inter", sans-serif;
}

.m-game-card__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 22px 10px 9px;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 8, 16, 0.92) 70%);
  text-align: center;
}

.m-game-card__name {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: "Nunito", "Inter", sans-serif;
}

.m-game-card__provider {
  display: block;
  font-size: 9.5px;
  font-weight: 600;
  color: #a0a8bc;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.m-game-card__play {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ── 4. BOTTOM NAV mobile (5 tab) ── */
.m-bottomnav {
  position: fixed;
  bottom: 10px;
  left: 12px;
  right: 12px;
  z-index: 1001;
  display: flex;
  background: rgba(13, 17, 30, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(201, 162, 75, 0.28);
  border-radius: 999px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.5);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  max-width: 430px;
  margin: 0 auto;
}

.m-bottomnav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 7px 2px;
  color: #7e8ca8;
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
  font-family: "Nunito", "Inter", sans-serif;
}

.m-bottomnav__item i {
  font-size: 19px;
}

.m-bottomnav__item.active {
  color: #fff;
  background: transparent;
  box-shadow: none;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}

.m-bottomnav__item:active {
  color: #e6c878;
  background: rgba(255, 255, 255, 0.08);
}

/* ── Drawer menu laterale ── */
.m-drawer {
  position: fixed;
  inset: 0;
  z-index: 1100;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.m-drawer.open {
  visibility: visible;
  opacity: 1;
}

.m-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.m-drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: linear-gradient(180deg, #1a2744 0%, #0a0e1a 100%);
  border-right: 1px solid rgba(201, 162, 75, 0.25);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 20px 4px;
  overflow-y: auto;
}

.m-drawer.open .m-drawer__panel {
  transform: translateX(0);
}

.m-drawer__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(201, 162, 75, 0.2);
}

.m-drawer__head img {
  height: 64px;
  width: auto;
}

.m-drawer__head strong {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.1em;
  font-family: "Nunito", "Inter", sans-serif;
}

.m-drawer__head strong small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.4em;
  color: #e6c878;
}

.m-drawer__close {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.m-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
}

.m-drawer__nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  font-family: "Nunito", "Inter", sans-serif;
}

.m-drawer__nav a i {
  font-size: 19px;
  color: #e6c878;
  width: 22px;
  text-align: center;
}

.m-drawer__nav a:active {
  background: rgba(255, 255, 255, 0.07);
}

.m-drawer__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(201, 162, 75, 0.2);
}

.m-drawer__foot .m-btn--block {
  margin-top: 0;
}

/* ── Overlay ricerca mobile ── */
.m-search {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(10, 14, 26, 0.97);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 24px 16px;
}

.m-search.open {
  visibility: visible;
  opacity: 1;
}

.m-search__box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1a2744;
  border: 1px solid rgba(201, 162, 75, 0.4);
  border-radius: 14px;
  padding: 0 14px;
  max-width: 430px;
  margin: 0 auto;
}

.m-search__icon {
  color: #e6c878;
  font-size: 18px;
}

.m-search__input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
  font-size: 15px;
  padding: 14px 0;
  font-family: "Nunito", "Inter", sans-serif;
}

.m-search__input::placeholder {
  color: #a0a8bc;
}

.m-search__results {
  max-width: 430px;
  margin: 14px auto 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.m-search__result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #101828;
  border: 1px solid rgba(201, 162, 75, 0.2);
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  font-family: "Nunito", "Inter", sans-serif;
}

.m-search__result img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.m-search__result span {
  flex: 1;
}

.m-search__result i {
  color: #e6c878;
}

.m-search__empty {
  text-align: center;
  color: #a0a8bc;
  padding: 30px 0;
  font-size: 14px;
}

.m-search__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

/* ── Footer mobile: spazio per la bottom nav ── */
@media (max-width: 991.98px) {
  .home-mobile + .footer-area,
  .piper-main--home .footer-area {
    padding-bottom: 64px;
  }
}

/* ── Contatore giochi mobile ── */
.m-section__count {
  font-size: 13px;
  font-weight: 700;
  color: #a0a8bc;
  font-family: "Nunito", "Inter", sans-serif;
}


/* ============================================================
   PROMO SLIDER — slide promozionali sopra "Grandi Vittorie"
   Stile casino premium: dark blu/nero + oro, coerente con mobile
   ============================================================ */
.promo-slider-section {
  position: relative;
  z-index: 2;
}

.promo-slider-wrapper {
  padding: 0 8px;
}

.promo-slider {
  margin: 0 -10px;
}

.promo-slider .slick-list {
  padding: 10px 4px 30px;
  margin: 0 -4px;
}

.promo-slide {
  padding: 0 10px;
  outline: none;
}

.promo-slide__link {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  height: 308px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(201, 162, 75, 0.35), 0 0 22px rgba(201, 162, 75, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  background: #0a0e1a;
  text-decoration: none !important;
}

.promo-slide__link:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(201, 162, 75, 0.6), 0 0 34px rgba(201, 162, 75, 0.25);
  text-decoration: none !important;
}

.promo-slide__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.promo-slide__link:hover .promo-slide__img {
  transform: scale(1.06);
}

.promo-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 26, 0.02) 0%, rgba(10, 14, 26, 0.06) 55%, rgba(10, 14, 26, 0.12) 100%);
  z-index: 1;
}

.promo-slide__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 20px 22px;
}

.promo-slide__title {
  font-family: "Nunito", "Inter", sans-serif;
  font-weight: 800;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 6px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.promo-slide__subtitle {
  font-family: "Nunito", "Inter", sans-serif;
  font-weight: 800;
  font-size: 26px;
  line-height: 1.15;
  color: #e6c878;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
  margin-bottom: 4px;
}

.promo-slide__extra {
  font-family: "Nunito", "Inter", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #a0a8bc;
  margin-bottom: 14px;
}

.promo-slide__btn {
  display: inline-block;
  padding: 9px 26px;
  border-radius: 30px;
  background: linear-gradient(135deg, #e6c878 0%, #c9a24b 60%, #a8843a 100%);
  color: #0a0e1a !important;
  font-family: "Nunito", "Inter", sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(201, 162, 75, 0.4);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.promo-slide__link:hover .promo-slide__btn {
  box-shadow: 0 8px 26px rgba(201, 162, 75, 0.65);
  transform: translateY(-2px);
}

/* Frecce slick */
.promo-slider .slick-prev,
.promo-slider .slick-next {
  z-index: 5;
  width: 42px;
  height: 42px;
  background: rgba(21, 26, 40, 0.85);
  border: 1px solid rgba(201, 162, 75, 0.45);
  border-radius: 50%;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.promo-slider .slick-prev {
  left: -14px;
}

.promo-slider .slick-next {
  right: -14px;
}

.promo-slider .slick-prev:hover,
.promo-slider .slick-next:hover {
  background: rgba(201, 162, 75, 0.25);
  border-color: #c9a24b;
}

.promo-slider .slick-prev::before,
.promo-slider .slick-next::before {
  font-family: "slick";
  font-size: 20px;
  color: #e6c878;
  opacity: 1;
}

/* Dots */
.promo-slider .slick-dots {
  bottom: 4px;
}

.promo-slider .slick-dots li button:before {
  font-size: 10px;
  color: #c9a24b;
  opacity: 0.5;
}

.promo-slider .slick-dots li.slick-active button:before {
  color: #e6c878;
  opacity: 1;
}

/* Mobile (<768px): card più basse */
@media (max-width: 767px) {
  .promo-slide__link {
    height: 308px;
  }
  .promo-slide__title {
    font-size: 17px;
  }
  .promo-slide__subtitle {
    font-size: 22px;
  }
}


/* ============================================================
   PROMO SLIDER MOBILE — card promozionali premium (scroll orizz.)
   ============================================================ */
.m-promo {
  padding: 12px 0 4px;
  overflow: hidden;
}

.m-promo__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 16px 14px;
  scrollbar-width: none;
}

.m-promo__track::-webkit-scrollbar {
  display: none;
}

.m-promo-card {
  position: relative;
  flex: 0 0 78%;
  max-width: 78%;
  height: 185px;
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: start;
  display: block;
  text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(201, 162, 75, 0.4), 0 0 18px rgba(201, 162, 75, 0.15);
  background: #0a0e1a;
}

.m-promo-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-promo-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 26, 0.02) 0%, rgba(10, 14, 26, 0.05) 50%, rgba(10, 14, 26, 0.12) 100%);
  z-index: 1;
}

.m-promo-card__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 14px 16px;
}

.m-promo-card__title {
  font-family: "Nunito", "Inter", sans-serif;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 4px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.m-promo-card__subtitle {
  font-family: "Nunito", "Inter", sans-serif;
  font-weight: 800;
  font-size: 19px;
  line-height: 1.15;
  color: #e6c878;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
  margin-bottom: 2px;
}

.m-promo-card__extra {
  font-family: "Nunito", "Inter", sans-serif;
  font-weight: 600;
  font-size: 11px;
  color: #a0a8bc;
  margin-bottom: 9px;
}

.m-promo-card__btn {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 30px;
  background: linear-gradient(135deg, #e6c878 0%, #c9a24b 60%, #a8843a 100%);
  color: #0a0e1a !important;
  font-family: "Nunito", "Inter", sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(201, 162, 75, 0.4);
}


/* ============================================================
   PROMO SLIDER v2 — dimensioni + cornice oro premium (20:54)
   Mobile: card quasi full-width (~88%), alta ~480px, si intravede
   la card successiva a destra; cornice oro metallico 3px con glow,
   sfondo interno teal/petrolio → nero.
   ============================================================ */

/* ── Mobile: dimensioni card ── */
.m-promo-card {
  flex: 0 0 88%;
  max-width: 88%;
  height: 480px;
  border-radius: 26px;
  background: #0a0e1a;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.45),
    0 0 26px rgba(212, 175, 55, 0.30),
    0 0 60px rgba(212, 175, 55, 0.12),
    0 14px 34px rgba(0, 0, 0, 0.55);
}

/* ── Cornice oro metallico + sfondo teal→nero (overlay) ── */
.m-promo-card__overlay {
  background: linear-gradient(205deg, rgba(16, 52, 58, 0.02) 0%, rgba(10, 18, 26, 0.05) 42%, rgba(4, 6, 10, 0.10) 100%);
  border: 3px solid #d4af37;
  border-radius: 26px;
}

/* ── Contenuto: più arioso per card alta ── */
.m-promo-card__content {
  padding: 20px 22px;
}

.m-promo-card__title {
  font-size: 17px;
  margin-bottom: 6px;
}

.m-promo-card__subtitle {
  font-size: 26px;
  margin-bottom: 3px;
}

.m-promo-card__extra {
  font-size: 13px;
  margin-bottom: 13px;
}

.m-promo-card__btn {
  padding: 8px 24px;
  font-size: 12px;
}

/* Schermi piccoli (<380px): card leggermente più bassa */
@media (max-width: 379px) {
  .m-promo-card {
    height: 430px;
  }
}

/* ── Desktop: stessa cornice oro metallico ── */
.promo-slide__link {
  height: 308px;
  border-radius: 26px;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.4),
    0 0 28px rgba(212, 175, 55, 0.22),
    0 16px 38px rgba(0, 0, 0, 0.55);
}

.promo-slide__link:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.65),
    0 0 40px rgba(212, 175, 55, 0.35),
    0 20px 46px rgba(0, 0, 0, 0.6);
}

.promo-slide__overlay {
  background: linear-gradient(205deg, rgba(16, 52, 58, 0.02) 0%, rgba(10, 18, 26, 0.05) 45%, rgba(4, 6, 10, 0.10) 100%);
  border: 3px solid #d4af37;
  border-radius: 26px;
}


/* ============================================================
   PROMO SLIDER v3 — card più larghe e 70% più corte (20:57)
   Mobile: 94% del viewport, altezza ~145px (era 480px, -70%),
   resta l'intravedere della card successiva (~11px).
   ============================================================ */

.m-promo__track {
  padding: 4px 12px 14px;
  gap: 10px;
}

.m-promo-card {
  flex: 0 0 94%;
  max-width: 94%;
  height: 145px;
  border-radius: 22px;
  background: #0a0e1a;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.45),
    0 0 22px rgba(212, 175, 55, 0.28),
    0 0 50px rgba(212, 175, 55, 0.10),
    0 10px 26px rgba(0, 0, 0, 0.5);
}

.m-promo-card__overlay {
  background: linear-gradient(205deg, rgba(16, 52, 58, 0.02) 0%, rgba(10, 18, 26, 0.05) 42%, rgba(4, 6, 10, 0.10) 100%);
  border: 3px solid #d4af37;
  border-radius: 22px;
}

.m-promo-card__content {
  padding: 10px 16px;
}

.m-promo-card__title {
  font-size: 13px;
  margin-bottom: 3px;
}

.m-promo-card__subtitle {
  font-size: 17px;
  margin-bottom: 2px;
}

.m-promo-card__extra {
  font-size: 11px;
  margin-bottom: 6px;
}

.m-promo-card__btn {
  padding: 5px 15px;
  font-size: 10px;
}

@media (max-width: 379px) {
  .m-promo-card {
    height: 130px;
  }
}

/* ============================================================
   RICERCA MOBILE — X dentro il campo, centrata con la scritta
   ============================================================ */

.m-search__box {
  position: relative;
  padding-right: 46px;
}

.m-search__close {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #e6c878;
  font-size: 17px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.m-search__close:active {
  background: rgba(230, 200, 120, 0.25);
}

/* ============================================================
   PAGINA BONUS E PROMOZIONI (desktop + mobile)
   ============================================================ */

.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 380px));
  gap: 26px;
  justify-content: center;
}

.bonus-card {
  display: flex;
  flex-direction: column;
  background: #101828;
  border: 1px solid rgba(201, 162, 75, 0.35);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.bonus-card:hover {
  transform: translateY(-4px);
  border-color: #d4af37;
  box-shadow: 0 14px 34px rgba(212, 175, 55, 0.22);
  color: #fff;
}

.bonus-card__media {
  position: relative;
}

.bonus-card__media img {
  width: 100%;
  display: block;
  aspect-ratio: 7 / 5;
  object-fit: cover;
}

.bonus-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #f5d98c, #d4af37 55%, #b08d2e);
  color: #0a0e1a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}

.bonus-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 18px 20px 22px;
}

.bonus-card__title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.bonus-card__desc {
  font-size: 14px;
  color: #a0a8bc;
  margin: 0;
  line-height: 1.5;
}

.bonus-card__extra {
  font-size: 13px;
  font-weight: 700;
  color: #3ecf5f;
}

.bonus-card__btn {
  margin-top: 10px;
  display: inline-block;
  background: linear-gradient(135deg, #f5d98c, #d4af37 55%, #b08d2e);
  color: #0a0e1a;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 26px;
  border-radius: 999px;
}

.bonus-empty {
  color: #a0a8bc;
  font-size: 16px;
}

/* ── Mobile ── */
.m-bonus-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.m-bonus-card {
  display: block;
  background: #101828;
  border: 1px solid rgba(201, 162, 75, 0.35);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
}

.m-bonus-card__img {
  width: 100%;
  display: block;
  aspect-ratio: 7 / 5;
  object-fit: cover;
}

.m-bonus-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 16px 18px;
}

.m-bonus-card__title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.m-bonus-card__desc {
  font-size: 13px;
  color: #a0a8bc;
  line-height: 1.45;
}

.m-bonus-card__extra {
  font-size: 12px;
  font-weight: 700;
  color: #3ecf5f;
}

.m-bonus-card__btn {
  margin-top: 8px;
  display: inline-block;
  background: linear-gradient(135deg, #f5d98c, #d4af37 55%, #b08d2e);
  color: #0a0e1a;
  font-weight: 800;
  font-size: 12px;
  padding: 8px 20px;
  border-radius: 999px;
}

.m-bonus-empty {
  color: #a0a8bc;
  font-size: 14px;
}

/* ============================================================
   PAGINA BONUS — card MOBILE orizzontali e compatte
   (sovrascrive il blocco precedente)
   ============================================================ */

.m-bonus-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: #101828;
  border: 1px solid rgba(201, 162, 75, 0.35);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
}

.m-bonus-card__media {
  position: relative;
  flex-shrink: 0;
  width: 122px;
  height: 92px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 75, 0.45);
}

.m-bonus-card__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: auto;
}

.m-bonus-card__badge {
  position: absolute;
  top: 5px;
  left: 5px;
  background: linear-gradient(135deg, #f5d98c, #d4af37 55%, #b08d2e);
  color: #0a0e1a;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 7px;
  border-radius: 999px;
  text-transform: uppercase;
}

.m-bonus-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 2px 2px 2px 0;
}

.m-bonus-card__title {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}

.m-bonus-card__desc {
  font-size: 12px;
  color: #a0a8bc;
  line-height: 1.35;
}

.m-bonus-card__extra {
  font-size: 11px;
  font-weight: 700;
  color: #3ecf5f;
}

.m-bonus-card__btn {
  margin-top: 6px;
  display: inline-block;
  background: linear-gradient(135deg, #f5d98c, #d4af37 55%, #b08d2e);
  color: #0a0e1a;
  font-weight: 800;
  font-size: 11px;
  padding: 6px 16px;
  border-radius: 999px;
}

.m-bonus-empty {
  color: #a0a8bc;
  font-size: 14px;
}

/* ============================================================
   HOME MOBILE — sezioni catalogo su UNA riga orizzontale
   (scorrimento da destra a sinistra, scroll-snap)
   ============================================================ */

.m-games-row {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  gap: 12px;
  margin: 0 -16px;
  padding: 2px 16px 12px;
  scrollbar-width: none;
}

.m-games-row::-webkit-scrollbar {
  display: none;
}

.m-games-row .m-game-card {
  flex: 0 0 124px;
  width: 124px;
  scroll-snap-align: start;
}


/* ── 21:36 — Grandi Vittorie: card cliccabili (link al gioco) ── */
a.m-winner-card__link,
a.latest-winner-item__link {
  text-decoration: none;
  color: inherit;
  display: block;
}
a.m-winner-card__link .m-winner-card,
a.latest-winner-item__link .latest-winner-item {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
a.m-winner-card__link:hover .m-winner-card,
a.latest-winner-item__link:hover .latest-winner-item {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(212, 175, 55, 0.18);
}
/* ── GRANDI VITTORIE DESKTOP: layout unificato come mobile ── */
.latest-winner-item__icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(201, 162, 75, 0.25), rgba(26, 39, 68, 0.5));
  border: 1px solid rgba(201, 162, 75, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.latest-winner-item__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.latest-winner-item__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.latest-winner-item__user {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.latest-winner-item__amount {
  font-size: 16px;
  font-weight: 800;
  color: #3ecf5f;
  margin-top: 3px;
  text-shadow: 0 0 10px rgba(62, 207, 95, 0.35);
}

/* ── GRANDI VITTORIE DESKTOP: stile PIPERSPIN (carosello orizzontale) ── */
.winner-section-wrapper {
  flex-direction: column;
  gap: 30px 24px;
}

.latest-winner {
  width: 100%;
  min-height: auto;
  max-height: none;
  padding: 20px 0 8px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.latest-winner::after,
.latest-winner::before {
  display: none;
}

.latest-winner__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 0 2px;
}

.latest-winner__heading {
  margin-bottom: 0;
  text-align: left;
}

.latest-winner__nav {
  display: flex;
  gap: 8px;
}

.latest-winner__nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #161d2e;
  border: 1px solid rgba(201, 162, 75, 0.4);
  color: #e6c878;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1;
}

.latest-winner__nav-btn:hover {
  background: linear-gradient(135deg, #c9a24b, #e6c878);
  color: #0a0e1a;
  border-color: transparent;
}

/* Lista: slider orizzontale con snap */
.latest-winner__list {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.latest-winner__list::-webkit-scrollbar {
  display: none;
}

/* Card: 270 x 95, flex, sfondo scuro #1a1d23 */
.latest-winner-item {
  flex: 0 0 270px;
  width: 270px;
  height: 95px;
  margin-bottom: 0;
  padding: 14px 16px;
  border-bottom: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: linear-gradient(160deg, #232833 0%, #1a1d23 100%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 12px;
  scroll-snap-align: start;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.latest-winner-item:hover {
  transform: scale(1.02);
  border-color: rgba(201, 162, 75, 0.4);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5), 0 0 14px rgba(201, 162, 75, 0.12);
}

.latest-winner-item__icon {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(201, 162, 75, 0.22), rgba(26, 39, 68, 0.5));
  border: 1px solid rgba(201, 162, 75, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.latest-winner-item__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.latest-winner-item__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.latest-winner-item__user {
  font-size: 14px;
  font-weight: 600;
  color: #9ca3af;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.latest-winner-item__amount {
  font-size: 17px;
  font-weight: 800;
  color: #10b981;
  margin-top: 4px;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.35);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: #10b981;
}

/* Transazioni sotto, a tutta larghezza */
.latest-transection {
  flex: 1 1 100%;
  width: 100%;
  padding: 30px 25px 20px;
  top: 0;
}


/* Logo nel footer (socket area) */
.socket-area__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  align-self: center;
}
.socket-area__wrapper {
  align-items: center;
}

.socket-area__logo img {
  height: 70px;
  width: auto;
  display: block;
}
@media screen and (max-width: 575px) {
  .socket-area__logo img {
    height: 56px;
  }
}

/* ── Preloader: logo del sito ── */
.preloader .loader-p {
  border: 0 !important;
  width: 340px !important;
  height: 145px !important;
  top: calc(50vh - 72px) !important;
  left: calc(50vw - 170px) !important;
  background: url('../../../images/logo_icon/logo_preloader.png') no-repeat center center / contain !important;
  animation: logo-puff 1.6s ease-in-out infinite !important;
}

.preloader .loader-p:before,
.preloader .loader-p:after {
  display: none !important;
}

@keyframes logo-puff {
  0%, 100% {
    transform: scale(0.94);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}

/* BOLTBET: su mobile niente immagine overlay del breadcrumb (ingombra e rallenta) */
@media (max-width: 767px) {
  .breadcrumb__overlay { display: none !important; }
}

/* ── BOLTBET: barra ricerca sopra Migliori Giochi (mobile) ── */
.home-game-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(13, 17, 30, 0.6);
  border: 1px solid rgba(201, 162, 75, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.home-game-search__icon { color: #f0b90b; font-size: 17px; }
.home-game-search__input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  font-family: "Inter", sans-serif;
}
.home-game-search__input::placeholder { color: #7e8ca8; }

/* BOLTBET: pseudo-elemento ::after del breadcrumb rimosso totalmente (niente immagine di sfondo) */
.breadcrumb::after,
section.breadcrumb::after {
  content: none !important;
}

/* BOLTBET: pseudo-elemento ::before del breadcrumb rimosso totalmente (niente shape) */
.breadcrumb::before,
section.breadcrumb::before {
  content: none !important;
}

/* ── 5. DASHBOARD DESKTOP stile 888: sezioni a scorrimento + card portrait ── */
.gc-section { padding: 26px 0 10px; }
.gc-section__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 18px;
}
.gc-section__title {
  color: #fff; font-size: 22px; font-weight: 800;
  font-family: "Nunito", "Inter", sans-serif; letter-spacing: .2px; margin: 0;
}
.gc-section__nav { display: flex; gap: 8px; }
.gc-nav {
  width: 38px; height: 38px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: #fff; font-size: 18px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .15s ease;
}
.gc-nav:hover { background: rgba(240,185,11,.25); border-color: rgba(240,185,11,.5); }
.gc-nav:disabled { opacity: .3; cursor: not-allowed; }

.gc-carousel {
  display: flex; gap: 16px; overflow-x: auto; scroll-behavior: smooth;
  padding: 6px 4px 14px; scrollbar-width: none;
}
.gc-carousel::-webkit-scrollbar { display: none; }

.gc-item { flex: 0 0 auto; width: 196px; }
.gc-item__thumb {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: 14px;
  background: rgba(255,255,255,.05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.gc-item__thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.gc-item__play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8,11,20,.45);
  opacity: 0; transition: opacity .25s ease;
}
.gc-item__play i {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, #f8c94c, #f0b90b);
  color: #191002; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(240,185,11,.5);
  transform: scale(.7); transition: transform .25s ease;
}
.gc-item:hover .gc-item__thumb { box-shadow: 0 12px 30px rgba(0,0,0,.5); }
.gc-item:hover .gc-item__thumb img { transform: scale(1.06); }
.gc-item:hover .gc-item__play { opacity: 1; }
.gc-item:hover .gc-item__play i { transform: scale(1); }

.gc-item__meta { padding: 10px 2px 0; }
.gc-item__title {
  color: #eef1f7; font-size: 14px; font-weight: 700; margin: 0;
  font-family: "Inter", sans-serif;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gc-item__tag { color: #f0b90b; font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }

@media (max-width: 767px) {
  .gc-section { padding: 18px 0 6px; }
  .gc-item { width: 128px; }
  .gc-section__title { font-size: 17px; }
}

/* BOLTBET: banner referral centrato su desktop */
.games-callaction {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* BOLTBET: su desktop il container non limita più la larghezza (contenuto full-width) */
@media (min-width: 1200px) {
  .piper-main .container {
    max-width: none !important;
    width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* BOLTBET: il contenuto desktop parte sotto l'header (assoluto, 83px) */
@media (min-width: 992px) {
  .home-desktop,
  .piper-main--home > .container {
    padding-top: 92px !important;
  }
}

/* BOLTBET: header desktop — search al posto del logo (sinistra), dentro l'header senza toccare i bordi */
@media (min-width: 1200px) {
  .navbar .header-search {
    margin-left: 0;
    margin-right: 28px;
    max-width: 540px;
    flex: 0 0 540px;
  }
  .header { padding: 16px 0; }
  .navbar .header-search__input {
    height: 50px;
    padding-left: 48px;
    padding-right: 20px;
    border-radius: 25px;
    font-size: 15px;
  }
  .navbar .header-search__icon {
    left: 13px;
    font-size: 14px;
  }
}

/* BOLTBET: bottoni header (Dashboard/Login) più a sinistra, distaccati dal bordo */
.header-right {
  margin-right: 24px;
}


/* BOLTBET: bottone login sotto il logo + riga Notifiche/Bonus */
.piper-sidebar__login {
  padding: 0 6px 10px;
}
.ps-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  border-radius: 999px;
  background: #007BFF;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .4px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 123, 255, .35);
  transition: all .18s ease;
}
.ps-login-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.ps-login-btn i { font-size: 16px; }

.piper-sidebar__quick {
  display: flex;
  gap: 6px;
  padding: 0 6px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 10px;
}
.ps-quick {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 2px 7px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #b7b7b7;
  font-size: 9.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all .18s ease;
}
.ps-quick:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.ps-quick i { font-size: 20px; color: #007BFF; }

.ps-notif-pop {
  display: none;
  position: absolute;
  left: 158px;
  top: 150px;
  width: 220px;
  z-index: 1200;
  background: rgba(15, 19, 32, 0.98);
  border: 1px solid rgba(240, 185, 11, 0.35);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55);
}
.ps-notif-pop.is-open { display: block; }
.ps-notif-pop i { font-size: 26px; color: #f0b90b; }
.ps-notif-pop p { margin: 8px 0 0; color: #cbd5e1; font-size: 13px; }
