/* =====================================================
   BLOG / PAYMENTS / CTA / SOCIAL / OVERRIDES
   ===================================================== */

/* Blog preview */
.bp-blog-card {
  border-radius: var(--bp-radius-2xl);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.bp-blog-card:hover {
  border-color: rgba(var(--bp-primary-rgb), 0.32);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(var(--bp-primary-rgb), 0.15);
}

.bp-blog-card__img-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}

.bp-blog-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.bp-blog-card:hover .bp-blog-card__img-wrap img {
  transform: scale(1.05);
}

.bp-blog-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.3s;
}

.bp-blog-card:hover .bp-blog-card__overlay {
  background: transparent;
}

/* Payment methods */
.bp-payments {
  padding: 3rem 0;
  border: none;
  background: transparent;
}

.bp-payments.bp-section--light {
  background: var(--bp-surface-soft);
}

.bp-payments__item {
  opacity: 0.6;
  transition: opacity 0.2s;
}

.bp-payments__item:hover {
  opacity: 1;
}

/* Final CTA */
.bp-final-cta {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  border: none;
  background: transparent;
  border-top: 1px solid rgba(var(--bp-primary-rgb), 0.15);
}

.bp-final-cta::before {
  content: "";
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 700px;
  background: radial-gradient(circle, rgba(var(--bp-primary-rgb), 0.20) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.bp-final-cta::after {
  content: "";
  position: absolute;
  top: -10%;
  right: -5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(var(--bp-accent-rgb), 0.08) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.bp-final-cta__inner {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.bp-final-cta__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
}

/* ===== Match card format badge ===== */
.bp-match-card__format-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(var(--bp-primary-rgb), 0.12);
  border: 1px solid rgba(var(--bp-primary-rgb), 0.25);
  color: var(--bp-primary);
}

.bp-match-card__format-badge--accent {
  background: rgba(var(--bp-accent-rgb), 0.10);
  border-color: rgba(var(--bp-accent-rgb), 0.25);
  color: var(--bp-accent);
}

.bp-match-card__teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

/* ===== Sports tabs (multi-sport section) ===== */
.bp-sports-section {
  background:
    radial-gradient(ellipse 70% 80% at 95% 40%, rgba(22, 163, 74, 0.18) 0%, transparent 58%),
    radial-gradient(ellipse 55% 60% at 5% 80%, rgba(250, 204, 21, 0.08) 0%, transparent 55%);
}

.bp-sports-tabs {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 0;
}

.bp-sports-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--bp-muted);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
}

.bp-sports-tab:hover {
  background: rgba(var(--bp-primary-rgb), 0.08);
  border-color: rgba(var(--bp-primary-rgb), 0.22);
  color: var(--bp-foreground);
}

.bp-sports-tab.is-active {
  background: rgba(var(--bp-primary-rgb), 0.15);
  border-color: rgba(var(--bp-primary-rgb), 0.4);
  color: var(--bp-primary);
}

.bp-sport-panel {
  display: none;
}

.bp-sport-panel.is-active {
  display: block;
}

/* ===== YouTube / Social feed ===== */
.bp-social-section {
  background:
    radial-gradient(ellipse 65% 80% at 5% 50%, rgba(22, 163, 74, 0.18) 0%, transparent 58%),
    radial-gradient(ellipse 55% 60% at 95% 20%, rgba(250, 204, 21, 0.09) 0%, transparent 55%);
}

.bp-yt-card {
  position: relative;
  border-radius: var(--bp-radius-2xl);
  overflow: hidden;
  background: rgba(15, 23, 18, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.bp-yt-card:hover {
  border-color: rgba(255, 0, 0, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 0, 0, 0.08);
}

.bp-yt-card__thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.bp-yt-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bp-yt-card:hover .bp-yt-card__thumb {
  transform: scale(1.05);
}

.bp-yt-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.bp-yt-card:hover .bp-yt-card__overlay {
  opacity: 1;
}

.bp-yt-card__play {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #ff0000;
  border: none;
  color: var(--bp-white);
  font-size: 1.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(255, 0, 0, 0.4);
}

.bp-yt-card__play:hover {
  transform: scale(1.1);
}

.bp-yt-card__duration {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: rgba(0, 0, 0, 0.75);
  color: var(--bp-white);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 0.25rem;
}

.bp-yt-card__body {
  padding: 0.875rem 1rem;
}

.bp-yt-card__title {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--bp-foreground);
  margin-bottom: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bp-yt-card__views {
  font-size: 0.75rem;
  color: var(--bp-muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.bp-yt-card__iframe-wrap {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 10;
}

.bp-yt-card.is-playing .bp-yt-card__thumb-wrap,
.bp-yt-card.is-playing .bp-yt-card__body {
  visibility: hidden;
}

.bp-yt-card.is-playing .bp-yt-card__iframe-wrap {
  display: block;
}

/* ===== Pre-footer CTA ===== */
.bp-pre-footer-cta {
  position: relative;
  padding: 6rem 0;
  border-top: 1px solid rgba(var(--bp-primary-rgb), 0.15);
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}

.bp-pre-footer-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 12, 8, 0.15) 0%, rgba(6, 12, 8, 0.38) 100%),
    url("../../images/pattren.png") center center / cover no-repeat;
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}

.bp-pre-footer-cta > * {
  position: relative;
  z-index: 1;
}

.bp-pre-footer-cta__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
}

.bp-pre-footer-cta__glow--left {
  bottom: -20%;
  left: -10%;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.22) 0%, transparent 60%);
  filter: blur(80px);
  z-index: 0;
}

.bp-pre-footer-cta__glow--right {
  top: -20%;
  right: -10%;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.12) 0%, transparent 60%);
  filter: blur(80px);
  z-index: 0;
}

.bp-pre-footer-cta__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0;
}

.bp-pre-footer-cta__sub {
  font-size: 1.125rem;
  color: var(--bp-muted);
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Light section overrides: FAQ ===== */
.bp-section--light .bp-faq-item {
  border-color: rgba(var(--bp-primary-rgb), 0.12);
  background: var(--bp-surface-plain);
}

.bp-section--light .bp-faq-item.is-open {
  background: var(--bp-surface-plain);
  border-color: rgba(var(--bp-primary-rgb), 0.28);
}

.bp-section--light .bp-faq-item__toggle {
  color: var(--bp-ink);
  outline: none;
  box-shadow: none;
}

.bp-section--light .bp-faq-item__toggle:focus,
.bp-section--light .bp-faq-item__toggle:focus-visible {
  outline: none;
  box-shadow: none;
}

.bp-section--light .bp-faq-item__chevron {
  background: rgba(var(--bp-black-rgb), 0.06);
  color: var(--bp-ink);
}

.bp-section--light .bp-faq-item.is-open .bp-faq-item__chevron {
  background: rgba(var(--bp-primary-rgb), 0.12);
  color: var(--bp-primary);
}

.bp-section--light .bp-faq-item__answer {
  color: var(--bp-muted-ink);
}
