/* BETWITHDUDA · Nova organização visual 2026
   Estilos específicos do refresh; estrutura original preservada. */

:root {
  --shadow: none;
  --max: 1380px;
}

body {
  background:
    radial-gradient(circle at 76% 3%, rgba(76, 130, 255, .07), transparent 24%),
    linear-gradient(180deg, #060b14 0%, #080f1d 48%, #050a13 100%);
}

body:before {
  opacity: .42;
}

.topbar {
  background: rgba(7, 12, 24, .96);
  backdrop-filter: none;
}

.nav {
  min-height: 72px;
}

.navlinks {
  gap: 17px;
  font-size: 12px;
  font-weight: 730;
}

.btn,
.btn.primary,
.claim-btn,
.hero-cta,
.offer-card,
.hero-panel,
.hero-rotator,
.brand-showcase,
.social-card {
  box-shadow: none !important;
}

.btn.primary,
.claim-btn,
.hero-cta {
  background: linear-gradient(120deg, #087fdc, #275ff1) !important;
  border: 1px solid rgba(110, 183, 255, .37);
}

.btn.primary:hover,
.claim-btn:hover,
.hero-cta:hover {
  filter: brightness(1.08);
}

/* Abertura mais compacta, mantendo a identidade BETWITHDUDA */
.brand-showcase {
  min-height: 270px;
  margin-bottom: 28px;
  grid-template-columns: .52fr 1.48fr;
  border-radius: 25px;
}

.brand-visual {
  padding: 24px;
}

.brand-logo-wrap {
  width: min(195px, 75%);
}

.brand-logo-card,
.brand-logo-wrap:before {
  box-shadow: none !important;
}

.brand-copy {
  padding: 28px 42px;
}

.brand-copy h1 {
  margin-top: 14px;
  font-size: clamp(43px, 4.8vw, 66px);
}

.brand-copy p {
  margin-top: 11px;
  font-size: 14px;
}

.brand-actions {
  margin-top: 16px;
}

.brand-values {
  margin-top: 14px;
}

/* Carrossel original, ligeiramente mais equilibrado */
.hero-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(295px, .88fr);
  gap: 16px;
}

.hero-rotator {
  min-height: 462px !important;
  height: 462px;
  border-radius: 24px;
  background: linear-gradient(180deg,#0a101c,#0c1424);
}

.hero-stage {
  left: 14px !important;
  right: 14px !important;
  top: 14px !important;
  bottom: 74px !important;
  padding: 6px !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.02), transparent 60%),
    linear-gradient(180deg,#09101b,#0d1525) !important;
}

.hero-main {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 18px !important;
  background: transparent;
  filter: none;
  display:block !important;
}

.hero-panel {
  padding: 21px;
  border-radius: 24px;
}

.hero-panel h3 {
  font-size: 25px;
}

.hero-panel .notice-grid {
  gap: 9px;
  margin-top: 13px;
}

.notice-box {
  padding: 11px 13px;
  border-radius: 13px;
}

.notice-box span {
  margin-top: 3px;
  font-size: 12px;
}

.hero-panel .form-actions {
  margin-top: 12px;
}

.hero-panel .info-pills {
  margin-top: 13px;
}

.hero-panel .info-pill {
  min-height: 31px !important;
  font-size: 11px;
}

/* Hierarquia: novas parcerias primeiro, catálogo de antigas depois */
#new-partners,
#offers {
  scroll-margin-top: 105px;
}

.partnership-head {
  align-items: end;
  margin-bottom: 19px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  padding-bottom: 18px;
}

.section-head-copy {
  max-width: 720px;
}

.section-eyebrow {
  color: #91b9ff;
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 770;
  letter-spacing: .16em;
}

.partnership-head h2 {
  font-size: clamp(30px, 3.2vw, 43px);
  line-height: 1.06;
}

.partnership-head p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.55;
  max-width: 625px;
}

.partner-count {
  display: flex;
  align-items: baseline;
  gap: 9px;
  white-space: nowrap;
  color: #aebfd8;
  font-size: 12px;
  padding-bottom: 2px;
}

.partner-count strong {
  color: #eaf2ff;
  font-size: 26px;
  font-weight: 690;
  letter-spacing: -.05em;
}

.new-partners-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.new-partner-card {
  --card-accent: 110, 161, 245;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(145, 174, 231, .14);
  border-radius: 22px;
  background: rgba(12, 21, 38, .85);
  transition: transform .18s ease, border-color .18s ease;
}

.new-partner-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--card-accent), .44);
}

.new-partner-visual {
  height: 125px;
  position: relative;
  isolation: isolate;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 23%, rgba(var(--card-accent), .20), transparent 38%),
    linear-gradient(115deg, #0c182b, #101b31);
  border-bottom: 1px solid rgba(255, 255, 255, .055);
}

.new-partner-visual:after {
  content: '';
  position: absolute;
  right: -42px;
  bottom: -86px;
  width: 230px;
  height: 160px;
  border-radius: 50%;
  border: 1px solid rgba(var(--card-accent), .23);
  transform: rotate(-15deg);
}

.new-partner-mark {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 20px;
  font-size: 25px;
  font-weight: 830;
  letter-spacing: -.07em;
  color: #eaf4ff;
  background: rgba(var(--card-accent), .11);
  border: 1px solid rgba(var(--card-accent), .30);
}

.new-partner-watermark {
  position: absolute;
  right: 18px;
  bottom: 13px;
  max-width: 65%;
  overflow: hidden;
  white-space: nowrap;
  font-size: clamp(22px, 2.25vw, 32px);
  font-weight: 850;
  letter-spacing: -.045em;
  color: rgba(232, 242, 255, .19);
  text-overflow: ellipsis;
}

.brand-betlabel { --card-accent: 123, 139, 255; }
.brand-dbbet { --card-accent: 60, 172, 237; }
.brand-megabet { --card-accent: 168, 121, 245; }
.brand-freshbet { --card-accent: 66, 187, 176; }
.brand-thunderpick { --card-accent: 240, 161, 83; }
.brand-hugewin { --card-accent: 134, 165, 235; }

.new-partner-info {
  padding: 18px 20px 17px;
}

.new-partner-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a3c4ff;
  font-size: 10px;
  font-weight: 780;
  letter-spacing: .10em;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #77aeff;
}

.new-partner-info h3 {
  margin: 9px 0 0;
  font-size: 25px;
  font-weight: 740;
  letter-spacing: -.045em;
}

.new-partner-info p {
  margin: 6px 0 17px;
  min-height: 34px;
  line-height: 1.5;
  font-size: 12px;
  color: #9faeca;
}

.new-partner-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 43px;
  padding: 11px 13px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 610;
  color: #bbc8df;
}

.new-partner-footer svg {
  color: #658ac9;
  opacity: .8;
}

/* Os sete parceiros existentes: cartões consistentes, sem alongar artificialmente. */
.current-partners-section {
  padding-top: 46px;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  justify-content: stretch;
  gap: 16px;
}

.offer-card {
  width: 100%;
  min-width: 0;
  height: 100%;
  border-radius: 21px;
  background: #10182a;
  transition: transform .18s ease, border-color .18s ease;
}

.offer-card:hover {
  border-color: rgba(138, 170, 227, .32);
}

.offer-body {
  padding: 15px;
}

.offer-body h3 {
  font-size: 21px;
}

.offer-body p {
  min-height: 59px;
  font-size: 12px;
}

.media-frame {
  padding: 9px;
}

.media-box {
  border-radius: 13px;
}

.media-main {
  object-fit: contain;
  border-radius: 12px;
}

.media-top {
  right: 7px;
  top: 7px;
}

.pay-pill {
  padding: 0 10px;
  min-height: 29px;
  font-size: 11px;
}

.cta-row {
  margin-top: auto;
  padding-top: 17px;
}

/* A página adapta-se sem esconder o menu em telemóvel. */
@media (max-width: 1270px) {
  .offer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1270px) {
  .new-partners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1030px) {
  .new-partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .navlinks {
    gap: 11px;
    font-size: 11px;
  }

  .navright .btn.primary {
    display: none;
  }
}

@media (max-width: 900px) {
  .brand-showcase {
    grid-template-columns: 1fr;
  }

  .brand-copy {
    padding: 25px 22px 28px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-rotator {
    height: calc((100vw - 50px) * .5625 + 86px) !important;
    min-height: 300px !important;
  }

  .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav {
    flex-wrap: wrap;
    gap: 10px;
    padding: 11px 0;
  }

  .navlinks {
    display: flex;
    order: 3;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
    white-space: nowrap;
    padding: 7px 1px 4px;
    gap: 18px;
    font-size: 12px;
  }
}

@media (max-width: 600px) {
  .shell {
    width: calc(100% - 24px);
  }

  section {
    padding-top: 27px;
  }

  .brand-showcase {
    border-radius: 21px;
  }

  .brand-visual {
    padding: 17px;
  }

  .brand-logo-wrap {
    width: 138px;
  }

  .brand-copy h1 {
    font-size: 43px;
  }

  .brand-copy p {
    font-size: 13px;
  }

  .section-head {
    align-items: flex-start;
  }

  .partnership-head {
    gap: 8px;
  }

  .partner-count strong {
    font-size: 22px;
  }

  .partner-count span {
    display: none;
  }

  .new-partners-grid,
  .offer-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .new-partner-visual {
    height: 102px;
  }

  .new-partner-info {
    padding: 14px 17px;
  }

  .new-partner-info h3 {
    font-size: 23px;
  }

  .new-partner-info p {
    min-height: 0;
  }

  .offer-card {
    border-radius: 19px;
  }

  .offer-body p {
    min-height: 0;
  }

  .hero-rotator {
    height: calc((100vw - 44px) * .5625 + 84px) !important;
    min-height: 255px !important;
  }

  .hero-stage {
    left: 10px !important;
    right: 10px !important;
    top: 10px !important;
    bottom: 68px !important;
    padding: 4px !important;
    border-radius: 20px !important;
    overflow:hidden !important;
  }

  .hero-main {
    object-fit: cover !important;
    border-radius: 16px !important;
  }

  .navright {
    gap: 5px;
  }

  .navright .lang-btn {
    padding: 0 9px;
    min-width: 36px;
  }
}


/* 17/10/2026 · Banners finais e novas parcerias com links fornecidos */
.brand-spartibet   { --card-accent: 84, 140, 255; }
.brand-megapari    { --card-accent: 255, 74, 74; }
.brand-planbet     { --card-accent: 37, 230, 190; }
.brand-betlabel     { --card-accent: 74, 215, 106; }
.brand-dbbet        { --card-accent: 249, 57, 101; }
.brand-megabet      { --card-accent: 55, 211, 97; }
.brand-freshbet     { --card-accent: 255, 179, 61; }
.brand-thunderpick  { --card-accent: 27, 175, 255; }
.brand-hugewin      { --card-accent: 245, 189, 72; }
.new-partner-card {
  display: flex;
  flex-direction: column;
  background: #10182a;
  border-color: rgba(255,255,255,.075);
}
.new-partner-visual {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1672 / 941;
  padding: 0;
  background: #0a101c;
  overflow: hidden;
}
.new-partner-visual::after { content: none; }
.new-partner-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.new-partner-image-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}
.new-partner-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 17px 19px 19px;
}
.new-partner-info h3 {
  margin: 0;
  color: #f5f7ff;
  font-size: 23px;
  font-weight: 740;
}
.new-partner-info p {
  min-height: 42px;
  margin: 7px 0 0;
  font-size: 13px;
  line-height: 1.46;
  color: #c5d3ed;
}
.new-partner-info .pay-row {
  margin-top: 12px;
  gap: 7px;
}
.new-partner-info .pay-pill {
  min-height: 30px;
  font-size: 11px;
  background: rgba(255,255,255,.04);
}
.new-partner-footer {
  margin-top: auto;
  padding: 12px 16px;
  min-height: 44px;
  background: linear-gradient(120deg,#087fdc,#275ff1);
  border: 1px solid rgba(110,183,255,.37);
  color: white;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  transition: filter .18s ease;
}
.new-partner-footer:hover { filter: brightness(1.09); }
.new-partner-footer svg { color: white; opacity: 1; }
.new-partner-info .pay-row + .new-partner-footer { margin-top: 16px; }
@media (max-width: 600px) {
  .new-partner-visual { height: auto; aspect-ratio: 1672 / 941; }
  .new-partner-info { padding: 15px 16px 17px; }
  .new-partner-info p { min-height: 0; }
}

/* 02/11/2026 — código MegaPari, edição cirúrgica e sem sombras */
.brand-megapari .promo-code-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 11px;
  padding: 9px 11px;
  border: 1px solid rgba(145,174,231,.18);
  border-radius: 12px;
  background: rgba(7,17,32,.70);
}
.brand-megapari .promo-code-caption {
  color: #c1d0e5;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .055em;
}
.brand-megapari .promo-code-copy {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 10px;
  border: 1px solid rgba(125,221,197,.35);
  border-radius: 8px;
  background: rgba(69,173,143,.09);
  color: #a9f4df;
  font-size: 12px;
  letter-spacing: .045em;
  cursor: pointer;
}
.brand-megapari .promo-code-copy:hover,
.brand-megapari .promo-code-copy:focus-visible {
  border-color: rgba(125,221,197,.7);
  background: rgba(69,173,143,.18);
}
.brand-megapari .promo-code-copy svg { width: 15px; height: 15px; }
.brand-megapari .promo-code-feedback { color: #d9f8e9; font-size: 11px; }
