.hero-bar {
  background: var(--nav-bg);
  padding: 24px;
}

.hero-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hero-bar h1 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: #FFFFFF;
  font-weight: 700;
  flex: 1;
  line-height: 1.25;
}

.hero-bar-sub {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 420px;
  text-align: right;
  line-height: 1.5;
}

.offers-section {
  position: relative;
  padding: 56px 24px;
  background-image: url("/images/offers_bg/offers_bg.svg");
  background-size: cover;
  background-position: center;
}

.offers-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(61, 24, 24, 0.88);
}

.offers-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
}

.offers-inner h2 {
  font-size: 1.65rem;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 8px;
  font-weight: 700;
}

.offers-sub {
  text-align: center;
  color: rgba(255, 240, 240, 0.72);
  font-size: 0.88rem;
  margin-bottom: 28px;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.offer-card {
  background: linear-gradient(145deg, #2a0a3a, #1a0524);
  border: 1px solid rgba(216, 180, 254, 0.15);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(216, 180, 254, 0.1);
}

.offer-card-logo {
  width: 280px;
  height: 90px;
  margin: 0 auto;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12px;
  flex-shrink: 0;
}

.offer-card-logo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  display: block;
}

.offer-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.offer-card-name {
  font-size: 1.1rem;
  color: #D8B4FE;
  font-weight: 700;
}

.offer-bonus-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.offer-bonus {
  font-size: 0.95rem;
  font-weight: 600;
  color: #F3E8FF;
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.offer-terms {
  font-size: 0.72rem;
  color: rgba(243, 232, 255, 0.55);
}

.offer-desc {
  font-size: 0.78rem;
  color: rgba(243, 232, 255, 0.65);
  line-height: 1.45;
}

.offer-cta {
  margin-top: auto;
  font-size: 13px;
  padding: 12px 16px;
  background: #7E22CE;
  color: #F3E8FF;
  border: 2px solid #D8B4FE;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease;
}

.offer-cta:hover {
  background: #9333EA;
}

.info-section {
  padding: 56px 24px;
  position: relative;
  overflow: hidden;
}

.info-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.info-section h2 {
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  color: var(--text);
  margin-bottom: 16px;
  font-weight: 700;
}

.info-section p {
  color: var(--muted);
  margin-bottom: 14px;
  font-size: 0.97rem;
}

.info-cta-link {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 22px;
  background: var(--primary);
  color: #FFFFFF;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.info-cta-link:hover {
  background: var(--secondary);
  color: #FFFFFF;
}

.layout-cashout {
  background: var(--surface);
}

.layout-cashout .info-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: center;
}

.layout-cashout .info-visual {
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  overflow: hidden;
  max-width: 280px;
  max-height: 220px;
  box-shadow: 0 12px 32px rgba(255, 77, 77, 0.15);
}

.layout-cashout .info-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 220px;
}

.layout-tennis-match {
  background: linear-gradient(135deg, rgba(255, 179, 179, 0.2) 0%, var(--bg) 100%);
}

.layout-tennis-match .info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.layout-tennis-match .info-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 18px;
  border: 1px solid var(--border);
}

.layout-tennis-match .info-card strong {
  display: block;
  color: var(--primary);
  margin-bottom: 6px;
  font-size: 0.85rem;
}

.layout-tennis-match .info-card span {
  font-size: 0.88rem;
  color: var(--muted);
}

.layout-cotes {
  background: var(--surface);
}

.layout-cotes .info-split {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.layout-cotes .info-col {
  flex: 1;
}

.layout-cotes .cote-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 0.9rem;
}

.layout-cotes .cote-table th,
.layout-cotes .cote-table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
  color: var(--muted);
}

.layout-cotes .cote-table th {
  background: rgba(255, 179, 179, 0.25);
  color: var(--text);
  font-weight: 600;
}

.layout-ligues {
  background: linear-gradient(135deg, var(--bg) 0%, rgba(255, 179, 179, 0.15) 100%);
}

.layout-ligues .liga-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.layout-ligues .liga-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.layout-ligues .liga-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.layout-ligues .liga-item span {
  font-size: 0.9rem;
  color: var(--muted);
}

.layout-apps {
  background: linear-gradient(180deg, var(--surface) 0%, rgba(255, 240, 240, 0.5) 100%);
}

.layout-apps .apps-row {
  display: flex;
  gap: 24px;
  align-items: center;
}

.layout-apps .apps-text {
  flex: 1;
}

.layout-apps .apps-img-wrap {
  flex-shrink: 0;
  max-width: 240px;
  border-radius: 24px;
  overflow: hidden;
}

.layout-apps .apps-img-wrap img {
  max-height: 200px;
  object-fit: cover;
}

.layout-apps .check-list {
  list-style: none;
  margin-top: 16px;
}

.layout-apps .check-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--muted);
  font-size: 0.92rem;
}

.layout-apps .check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.layout-rugby {
  background: var(--surface);
}

.layout-rugby .rugby-banner {
  background: var(--nav-bg);
  color: #FFFFFF;
  padding: 20px 24px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.layout-rugby .rugby-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.layout-rugby .rugby-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.layout-suivi {
  background: var(--bg);
}

.layout-suivi .timeline {
  position: relative;
  padding-left: 28px;
  margin-top: 20px;
}

.layout-suivi .timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.layout-suivi .timeline-step {
  position: relative;
  margin-bottom: 20px;
  padding-left: 16px;
}

.layout-suivi .timeline-step::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
}

.layout-suivi .timeline-step h3 {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 4px;
}

.layout-suivi .timeline-step p {
  font-size: 0.88rem;
  margin: 0;
}

.layout-paiement {
  background: var(--surface);
}

.layout-paiement .pay-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.layout-paiement .pay-icon {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 600;
}

.layout-paiement .info-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}

.layout-paiement .pay-visual {
  border-radius: 24px;
  overflow: hidden;
  max-height: 260px;
}

.layout-paiement .pay-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 260px;
}

.layout-debuter {
  background: linear-gradient(160deg, rgba(255, 128, 128, 0.12) 0%, var(--bg) 60%);
}

.layout-debuter .steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.layout-debuter .step-box {
  background: var(--surface);
  border-radius: 20px;
  padding: 20px 16px;
  text-align: center;
  border: 1px solid var(--border);
}

.layout-debuter .step-num {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #FFFFFF;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.layout-debuter .step-box p {
  font-size: 0.82rem;
  margin: 0;
}

.layout-surfaces {
  background: var(--surface);
}

.layout-surfaces .surface-flex {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.layout-surfaces .surface-list {
  flex: 1;
}

.layout-surfaces .surface-aside {
  flex-shrink: 0;
  max-width: 220px;
}

.layout-surfaces .surface-aside img {
  border-radius: 50% 40% 60% 50% / 45% 55% 45% 55%;
  max-height: 200px;
  object-fit: cover;
}

.layout-surfaces .surface-tag {
  display: inline-block;
  background: rgba(255, 179, 179, 0.4);
  color: var(--text);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  margin: 4px 6px 4px 0;
  font-weight: 600;
}

.organic-blob-bg {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 179, 179, 0.35) 0%, transparent 70%);
  border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
  pointer-events: none;
  opacity: 0.7;
}

.organic-blob-bg.blob-a {
  top: -40px;
  right: 5%;
}

.organic-blob-bg.blob-b {
  bottom: -60px;
  left: 8%;
}

@media (max-width: 768px) {
  .hero-bar-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-bar-sub {
    text-align: center;
    max-width: 100%;
  }

  .hero-bar {
    padding: 16px;
  }

  .layout-cashout .info-inner,
  .layout-apps .apps-row,
  .layout-paiement .info-inner,
  .layout-surfaces .surface-flex,
  .layout-cotes .info-split,
  .layout-rugby .rugby-cols {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .layout-tennis-match .info-cards,
  .layout-ligues .liga-grid,
  .layout-debuter .steps-grid {
    grid-template-columns: 1fr;
  }

  .layout-cashout .info-visual {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .offers-grid {
    grid-template-columns: 1fr;
  }

  .offer-card-logo {
    width: 240px;
    height: 77px;
  }

  .offer-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }

  .layout-cashout .info-visual,
  .layout-apps .apps-img-wrap,
  .layout-paiement .pay-visual,
  .layout-surfaces .surface-aside {
    max-width: 100%;
    overflow: hidden;
  }

  .layout-cashout .info-visual img,
  .layout-apps .apps-img-wrap img,
  .layout-paiement .pay-visual img,
  .layout-surfaces .surface-aside img {
    max-width: 100%;
    max-height: 180px;
    object-fit: cover;
  }

  .info-section {
    overflow: hidden;
  }
}
