/* =========================================
   BONUS DETAIL PAGE – UNIVERSAL CSS
   ChampionBet (modro-žlutý brand)
   ========================================= */

/* === HLAVNÍ WRAPPER STRÁNKY === */
.bonus-detail-page {
  min-height: 60vh;
  border-radius: 0px 10px;
  background: #F7F8FC;
}

/* === PROMO PAGE === */
.promo-page .promo-title {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: #0B2C6A;
  /* tmavě modrá ChampionBet */
  margin: 0 0 10px 0;
  letter-spacing: -1px;
  text-align: left;
}

.promo-page .promo-btn {
  display: inline-block;
  padding: 8px 32px;
  background: #FFCB05 !important;
  /* žlutá ChampionBet */
  color: #0B2C6A !important;
  /* tmavě modrá ChampionBet */
  border: none;
  font-size: .8rem !important;
  font-weight: 600 !important;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 2px 10px -4px #0B2C6A33;
  transition: background 0.2s, box-shadow 0.2s, transform 0.18s, color 0.18s;
  letter-spacing: 1px;
  cursor: pointer;
  width: 100%;
  text-align: center;
  margin-top: auto;
}

.promo-page .promo-btn:hover,
.promo-page .promo-btn:focus {
  background: #0B2C6A !important;
  /* tmavě modrá ChampionBet */
  color: #FFCB05 !important;
  /* žlutá ChampionBet */
  box-shadow: 0 4px 18px -4px #0B2C6A;
  transform: translateY(-1px) scale(1.01);
}

/* === KARTA S OBSAHEM === */
.bonus-detail-page .bonus-detail-card {
  background: #fff;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 8px 40px -10px rgba(11, 44, 106, 0.13), 0 2px 8px rgba(255, 203, 5, 0.07);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: visible;
  position: relative;
}

/* === HORNÍ SEKCE: OBRÁZEK, TLAČÍTKO ZPĚT, TITULEK, PODTITULEK === */
.bonus-detail-page .bonus-detail-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  margin-bottom: 16px;
  padding-bottom: 24px;
  border-bottom: 1.5px solid #eaeaea;
  background: linear-gradient(120deg, #f7f8fc 82%, #E6ECF7 100%);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  backdrop-filter: blur(4px);
  z-index: 4;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.bonus-detail-page .bonus-detail-top::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 30%, #E6ECF7 100%);
  z-index: 1;
  pointer-events: none;
}

/* === OBRÁZEK A BADGE === */
.bonus-detail-page .bonus-detail-img-wrapper {
  width: 100%;
  position: relative;
  display: block;
  height: auto;
}

.bonus-detail-page .bonus-detail-img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 250px;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  margin-bottom: 18px;
  box-shadow: 0 6px 22px -12px #0B2C6A44;
  z-index: 2;
  position: relative;
}

.bonus-detail-page .bonus-detail-badge {
  position: absolute;
  top: -4px;
  right: 8px;
  width: 60px;
  height: auto;
  z-index: 10;
  pointer-events: none;
  user-select: none;
}

/* === TLAČÍTKO ZPĚT === */
.bonus-detail-page .bonus-detail-back {
  position: absolute;
  top: 22px;
  left: 28px;
  padding: 7px 24px 7px 38px;
  background: linear-gradient(100deg, #fff 60%, #FFCB05 100%);
  color: #0B2C6A;
  font-size: 1rem !important;
  border-radius: 999px;
  border: 2px solid #FFCB05;
  font-weight: 700 !important;
  box-shadow: 0 2px 12px -4px #0B2C6A22, 0 1.5px 12px -7px #FFCB0544;
  cursor: pointer;
  transition:
    border-color 0.18s,
    box-shadow 0.22s cubic-bezier(.4, 1, .7, 1.1),
    color 0.18s,
    background 0.22s cubic-bezier(.4, 1, .7, 1.1),
    transform 0.22s cubic-bezier(.4, 1, .7, 1.1);
  z-index: 15;
  overflow: visible;
  background-image:
    linear-gradient(100deg, #fff 60%, #FFCB05 100%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
  background-blend-mode: lighten;
}

.bonus-detail-page .bonus-detail-back::before {
  content: '';
  display: block;
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: url('data:image/svg+xml;utf8,<svg width="18" height="18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13 9H5M5 9l4-4M5 9l4 4" stroke="%230B2C6A" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center center;
  background-size: 18px 18px;
  transition: transform 0.22s cubic-bezier(.4, 1, .7, 1.1);
  pointer-events: none;
}

.bonus-detail-page .bonus-detail-back:hover,
.bonus-detail-page .bonus-detail-back:focus {
  background: linear-gradient(100deg, #E6ECF7 50%, #FFCB05 100%);
  background-image:
    linear-gradient(100deg, #E6ECF7 50%, #FFCB05 100%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.18) 50%, rgba(255, 255, 255, 0) 100%);
  background-blend-mode: lighten;
  border-color: #0B2C6A;
  box-shadow: 0 6px 24px -6px #FFCB0588, 0 2px 16px -6px #0B2C6A99;
  color: #0B2C6A;
}

.bonus-detail-page .bonus-detail-back:hover::before,
.bonus-detail-page .bonus-detail-back:focus::before {
  transform: translateY(-50%) translateX(-5px);
}

/* === TITULEK A PODTITULEK === */
.bonus-detail-page .bonus-detail-title {
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: #0B2C6A;
  margin: 14px 0 8px 32px;
  letter-spacing: -1px;
  text-align: left;
  position: relative;
  z-index: 3;
  text-shadow: 0 1px 0 #fff, 0 1.5px 5px #FFCB0555;
}

.bonus-detail-page .bonus-detail-subtitle {
  font-size: 1.15rem !important;
  color: #0583ff !important;
  margin: 0 0 0 32px;
  font-weight: 500 !important;
  text-align: left;
  padding-bottom: 2px;
  position: relative;
  z-index: 3;
  text-shadow: 0 1px 0 #fff, 0 1.5px 5px #0B2C6A33;
}

/* === STEPPER: KROKY NÁVODU === */
.bonus-detail-page .bonus-detail-stepper {
  margin: 0 16px 16px 16px;
  padding: 24px 28px 26px 28px;
  background: #E6ECF7;
  border-radius: 12px;
  box-shadow: 0 2px 8px -6px #0B2C6A11;
  border: 1px solid #eaeaea;
  z-index: 2;
  position: relative;
}

.bonus-detail-page .bonus-detail-section-title {
  font-size: 1.11rem !important;
  font-weight: 600 !important;
  color: #0B2C6A;
  margin-bottom: 32px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  text-align: center;
}

.bonus-detail-section-subtitle {
  font-size: .96rem !important;
  line-height: 1.45;
  color: #0B2C6A;
  margin-bottom: 12px;
  position: relative;
  padding: 0 16px;
}

.bonus-detail-page .bonus-detail-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.bonus-detail-page .bonus-detail-steps li {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding-left: 6px;
}

.bonus-detail-page .bonus-detail-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #d74040 10%, #FFCB05 90%);
  color: #fff;
  text-shadow: 0 1px 2px #0B2C6A, 0 0px 6px #FFCB05;
  font-weight: 900;
  font-size: 1.68rem;
  border-radius: 50%;
  border: 2.5px solid #ffd22c;
  box-shadow: 0 0 0 4px #d6f50644, 0 4px 18px -6px #FFCB05aa;
  letter-spacing: 0.5px;
  margin-right: 18px;
}

.bonus-detail-page .bonus-detail-step-text {
  text-align: left;
  font-size: 1.15rem !important;
  color: #0B2C6A;
  font-weight: 500 !important;
  line-height: 1.32;
  padding-right: 8px;
}

/* === SEKCE S PRAVIDLY, PODMÍNKAMI === */
.bonus-detail-page .bonus-detail-terms {
  margin: 0 16px;
  padding: 16px 16px;
  border-top: 1.5px solid #eaeaea;
  background: #E6ECF7;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  box-shadow: 0 2px 8px -6px #0B2C6A11;
  border-radius: 12px;
  margin-bottom: 16px;
  z-index: 2;
  position: relative;
}

.bonus-detail-page .bonus-detail-terms b {
  display: contents;
}

.bonus-detail-page .bonus-detail-terms ul,
.bonus-detail-page .bonus-detail-terms ol {
  margin: 18px 0 0 0;
  padding-left: 0;
  list-style: none;
}

.bonus-detail-page .bonus-detail-terms li {
  font-size: .96rem !important;
  line-height: 1.45;
  color: #0B2C6A;
  margin-bottom: 12px;
  position: relative;
  padding-left: 38px;
  display: flex;
  align-items: center;
  min-height: 32px;
  border-radius: 8px;
  transition: background 0.2s;
}

.bonus-detail-page .bonus-detail-terms li:last-child {
  margin-bottom: 0;
}

.bonus-detail-page .bonus-detail-terms li::before {
  content: '';
  flex: none;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #0B2C6A 0%, #FFCB05 60%, #0B2C6A 100%);
  border-radius: 50%;
  box-shadow: 0 2px 8px -3px #0B2C6A88;
  transition: box-shadow 0.2s;
  border: 2.5px solid #fff;
}

.bonus-detail-page .bonus-detail-terms li:hover {
  background: #FFCB051A;
}

.bonus-detail-page .bonus-detail-terms li:hover::before {
  box-shadow: 0 4px 16px -4px #FFCB05dd;
}

/* === HLAVNÍ REGISTRAČNÍ TLAČÍTKO === */
.bonus-detail-register-btn-red-dark {
  display: inline-block;
  margin: 16px 16px 32px 16px;
  padding: 13px 44px 13px 44px;
  background-color: #FFCB05;
  color: #0B2C6A !important;
  font-size: 1.22rem !important;
  font-weight: 900 !important;
  border: none;
  border-radius: 999px;
  box-shadow: 0 4px 24px -10px #FFCB0588, 0 2px 12px -7px #0B2C6A66;
  cursor: pointer;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  text-align: center;
}

.bonus-detail-register-btn-red-dark:hover,
.bonus-detail-register-btn-red-dark:focus {
  background-color: #0B2C6A;
  color: #FFCB05 !important;
  box-shadow: 0 12px 36px -8px #0B2C6Acc, 0 4px 16px -7px #FFCB05bb;
  outline: 2.5px solid #FFCB0522;
  outline-offset: 2px;
  transform: scale(1.05);
}

/* =========================================
   TABULKY – Použiješ pro bonusy, loyalty apod.
   ========================================= */
.bonus-detail-table-row {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: flex-start;
  margin: 32px 16px;
  flex-wrap: nowrap;
}

.bonus-detail-table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px -10px #0B2C6A44, 0 2px 8px rgba(255, 203, 5, 0.07);
  overflow: hidden;
  font-family: inherit;
}

.bonus-detail-percent {
  color: #25790f !important;
  font-weight: 500;
}

.bonus-detail-table thead th {
  color: #0B2C6A;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 13px 0 13px 0;
  text-align: center;
  border-top: 2px solid #E6ECF7;
  border-bottom: 1.5px solid #FFCB05;
  letter-spacing: 0.5px;
  background: #E6ECF7;
}

.bonus-detail-table tbody td {
  font-size: 1.02rem;
  color: #0B2C6A;
  text-align: center;
  padding: 12px 0;
  border-bottom: 1px solid #E6ECF7;
  transition: background 0.2s;
}

.bonus-detail-table tbody tr:hover td {
  background: #FFCB051A;
}

.bonus-detail-table tbody tr:last-child td {
  border-bottom: none;
}

.bonus-detail-table th,
.bonus-detail-table td {
  min-width: 80px;
}

/* =========================================
   CASHBACK – Payout box, příklady (jen Cashback stránka)
   ========================================= */
.payout-highlight-box {
  align-items: center;
  border-radius: 13px;
  margin-bottom: 18px;
  gap: 18px;
  background: #E6ECF7;
  padding: 16px 20px 12px 20px;
}

.payout-box-icon {
  flex: none;
  margin-right: 8px;
  margin-top: 1px;
  display: flex;
  align-items: center;
}

.payout-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.payout-list li {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #0B2C6A;
  font-weight: 500;
}

.payout-list li:last-child {
  margin-bottom: 0;
}

.payout-list .highlight {
  color: #25790f !important;
  font-weight: 700;
}

.payout-example-card {
  background: linear-gradient(120deg, #E6ECF7 85%, #fff 100%);
  border-radius: 14px;
  box-shadow: 0 2px 8px -6px #0B2C6A44;
  padding: 16px 20px 12px 20px;
  margin-bottom: 4px;
  border: 1px solid #E6ECF7;
}

.payout-example-header {
  color: #0B2C6A !important;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  gap: 8px;
}

.example-note {
  margin-left: 12px;
  font-size: 1rem;
  color: #0B2C6A;
  font-weight: 400;
}

.payout-steps {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.payout-step {
  color: #0B2C6A !important;
  font-size: 1rem !important;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 2px;
}

.step-circle {
  flex: none;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #d74040 10%, #FFCB05 90%);
  color: #fff;
  text-shadow: 0 1px 2px #0B2C6A, 0 0px 6px #FFCB05;
  font-weight: 900;
  font-size: 1.07rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2.5px #fff, 0 2px 8px -3px #0B2C6A;
  margin-right: 2px;
}

.example-payout {
  color: #25790f !important;
  font-weight: 700;
  font-size: 1.05rem;
}

/* =========================================
   RESPONSIVE STYLES
   ========================================= */

/* --- max-width: 1024px --- */
@media (max-width: 1024px) {
  .bonus-detail-page .bonus-detail-card {
    border-radius: 22px;
    margin-bottom: 16px;
  }
}

/* --- max-width: 900px --- */
@media (max-width: 900px) {
  .bonus-detail-table-row {
    gap: 12px;
  }

  .bonus-detail-table {
    font-size: 0.98rem;
  }

  .bonus-detail-table th,
  .bonus-detail-table td {
    min-width: 60px;
    padding: 8px 0;
  }

  .bonus-detail-table thead th {
    font-size: 0.97rem;
    padding: 8px 0;
  }
}

/* --- max-width: 700px --- */
@media (max-width: 700px) {

  .bonus-detail-page .bonus-detail-stepper,
  .bonus-detail-page .bonus-detail-terms {
    margin-left: 8px;
    margin-right: 8px;
    padding-left: 6px;
    padding-right: 6px;
  }

  .bonus-detail-page .bonus-detail-back {
    position: relative;
    margin-left: 20px !important;
    margin-bottom: 10px !important;
    top: 0 !important;
    left: 0 !important;
  }

  .bonus-detail-page .bonus-detail-top {
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
    backdrop-filter: blur(2px);
    box-shadow: 0 8px 30px -14px rgba(11, 44, 106, 0.25);
  }

  .bonus-detail-page .bonus-detail-img {
    border-radius: 0;
  }

  .bonus-detail-page .bonus-detail-title,
  .bonus-detail-page .bonus-detail-subtitle {
    margin-left: 10px !important;
    margin-right: 10px !important;
    font-size: 1.03rem !important;
  }

  .bonus-detail-page .bonus-detail-img-wrapper {
    min-height: 0;
  }

  .bonus-detail-page .bonus-detail-badge {
    width: 55px;
    top: -3px;
    right: 10px;
  }

  .bonus-detail-register-btn-red-dark {
    margin: 16px 16px 32px 16px;
    padding: 12px 26px 12px 26px;
    font-size: 1rem !important;
  }

  .bonus-detail-table-row {
    gap: 6px;
  }

  .bonus-detail-table {
    font-size: 0.94rem;
  }

  .bonus-detail-table th,
  .bonus-detail-table td {
    min-width: 44px;
    padding: 6px 0;
  }

  .bonus-detail-table thead th {
    font-size: 0.91rem;
    padding: 6px 0;
  }
}

/* --- max-width: 500px --- */
@media (max-width: 500px) {

  .bonus-detail-page .bonus-detail-title,
  .bonus-detail-page .bonus-detail-subtitle {
    margin-left: 20px !important;
    margin-right: 12px !important;
    font-size: .95rem !important;
  }

  .bonus-detail-page .bonus-detail-title {
    margin-top: 8px !important;
    font-size: 1.5rem !important;
  }

  .bonus-detail-page .bonus-detail-stepper {
    padding: 16px 16px 32px 16px;
  }

  .bonus-detail-page .bonus-detail-steps {
    gap: 32px;
  }

  .bonus-detail-page .bonus-detail-step-number {
    min-width: 34px;
    min-height: 34px;
    width: 34px;
    height: 34px;
    font-size: 1.08rem;
    border-width: 2px;
    margin-right: 13px;
  }

  .bonus-detail-page .bonus-detail-step-text {
    font-size: 1rem !important;
    line-height: 1.25;
    padding-right: 4px;
  }

  .bonus-detail-page .bonus-detail-terms {
    padding-bottom: 32px;
  }

  .bonus-detail-page .bonus-detail-terms li {
    font-size: .85rem !important;
  }

  .bonus-detail-page .bonus-detail-img-wrapper {
    min-height: 0;
  }

  .bonus-detail-page .bonus-detail-badge {
    width: 44px;
    top: -3px;
    right: 5px;
  }

  .bonus-detail-register-btn-red-dark {
    margin: 16px 16px 32px 16px;
    font-size: .95rem !important;
    padding: 12px 20px 12px 20px;
  }

  .bonus-detail-table-row {
    gap: 3vw;
  }

  .bonus-detail-table {
    font-size: 0.85rem;
  }

  .bonus-detail-table th,
  .bonus-detail-table td {
    min-width: 36px;
    padding: 5px 0;
  }

  .bonus-detail-table thead th {
    font-size: 0.87rem;
    padding: 5px 0;
  }
}

/* =========================================
   KONEC CSS
   ========================================= */