/* ============================================================
   BPL 2026 LANDING PAGE STYLESHEET
   ============================================================ */

:root {
  --bpl-dark-blue: #080c20;
  --bpl-navy: #0d1230;
  --bpl-blue: #162057;
  --bpl-electric-blue: #0055ff;
  --bpl-cyan: #00d4ff;
  --bpl-gold: #f5c518;
  --bpl-gold-glow: rgba(245, 197, 24, 0.3);
  --bpl-cyan-glow: rgba(0, 212, 255, 0.3);
  --bpl-electric-glow: rgba(0, 85, 255, 0.4);
}

/* Stadium Lighting Background Effects */
.bpl-body {
  background-color: var(--bpl-dark-blue);
  background-image:
    radial-gradient(circle at 10% 20%, var(--bpl-electric-glow) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, var(--bpl-cyan-glow) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Section layouts */
.bpl-section {
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

.bpl-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Section label (pill tag above headings) */
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.sec-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  border-radius: 4px;
}

.lc {
  color: var(--bpl-cyan);
}

.lc::before {
  background: var(--bpl-cyan);
}

.lg {
  color: var(--bpl-gold);
}

.lg::before {
  background: var(--bpl-gold);
}

.bpl-title-center {
  text-align: center;
  margin-bottom: 60px;
}

.bpl-title-center h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 54px;
  letter-spacing: 2px;
  color: var(--white);
  text-transform: uppercase;
}

.bpl-title-center h2 span {
  color: var(--bpl-gold);
  text-shadow: 0 0 15px var(--bpl-gold-glow);
}

.bpl-title-center p {
  color: var(--muted);
  max-width: 600px;
  margin: 15px auto 0;
  font-size: 16px;
  line-height: 1.6;
}

/* Hero Section */
.bpl-hero {
  min-height: 100vh;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 20px 80px;
  background: radial-gradient(circle at 50% 30%, rgba(22, 32, 87, 0.6) 0%, var(--bpl-dark-blue) 100%);
}

/* Stadium Light Beam Flares */
.stadium-light-left {
  position: absolute;
  top: 0;
  left: 10%;
  width: 300px;
  height: 600px;
  background: conic-gradient(from 150deg at 50% 0%, rgba(0, 212, 255, 0.15) 0deg, transparent 60deg);
  filter: blur(40px);
  pointer-events: none;
}

.stadium-light-right {
  position: absolute;
  top: 0;
  right: 10%;
  width: 300px;
  height: 600px;
  background: conic-gradient(from 150deg at 50% 0%, rgba(245, 197, 24, 0.1) 0deg, transparent 60deg);
  filter: blur(40px);
  pointer-events: none;
}

.bpl-hero-content {
  text-align: center;
  z-index: 10;
  max-width: 900px;
}

.bpl-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(0, 85, 255, 0.15);
  border: 1px solid var(--bpl-cyan);
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--bpl-cyan);
  margin-bottom: 25px;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.bpl-hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 80px;
  line-height: 1.0;
  letter-spacing: 2px;
  margin-bottom: 15px;
  text-transform: uppercase;
  color: #fff;
}

.bpl-hero-title span.gold {
  color: var(--bpl-gold);
  background: linear-gradient(135deg, #fff 30%, var(--bpl-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.bpl-hero-organizer {
  font-size: 18px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  margin-bottom: 15px;
}

.bpl-hero-organizer span {
  color: var(--bpl-cyan);
}

.bpl-tagline {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 35px;
  letter-spacing: 1px;
}

.bpl-tagline span {
  color: var(--bpl-cyan);
}

/* Highlight Box */
.bpl-highlight-box {
  background: rgba(22, 32, 87, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 45px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  text-align: left;
}

@media(max-width: 768px) {
  .bpl-highlight-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.bpl-highlight-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

@media(max-width: 768px) {
  .bpl-highlight-item {
    flex-direction: column;
  }
}

.bpl-highlight-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background: rgba(245, 197, 24, 0.1);
  border: 1px solid var(--bpl-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--bpl-gold);
  text-shadow: 0 0 10px var(--bpl-gold-glow);
  box-shadow: 0 0 15px rgba(245, 197, 24, 0.15);
  flex-shrink: 0;
}

.bpl-highlight-info h4 {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 1px;
}

.bpl-highlight-info p {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.bpl-hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

@media(max-width: 480px) {
  .bpl-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Button override for BPL page context */
.bpl-btn-primary {
  background: linear-gradient(135deg, var(--bpl-cyan), var(--bpl-electric-blue));
  color: #fff;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  transition: transform .25s, box-shadow .25s;
  box-shadow: 0 10px 25px rgba(0, 85, 255, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.bpl-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 85, 255, 0.6);
  color: #fff;
}

.bpl-btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.2);
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  transition: all .25s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.bpl-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  transform: translateY(-3px);
}

/* About Section */
.bpl-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

@media(max-width: 900px) {
  .bpl-about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.bpl-about-text h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.bpl-about-text p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.bpl-about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.bpl-about-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: transform 0.3s;
}

.bpl-about-stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--bpl-cyan);
}

.bpl-about-stat-card h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 38px;
  color: var(--bpl-cyan);
}

.bpl-about-stat-card p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 5px;
}

.bpl-about-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

/* ── TEAM GRID ── */
.bpl-team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
  margin: 0 auto;
}

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

/* ── TEAM CARD ── */
.bpl-team-card {
  width: 100%;
  background: rgba(13, 18, 48, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.bpl-team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 30px 70px rgba(0, 212, 255, 0.15);
}

/* ── TEAM LINK (inner layout: logo left, info right) ── */
.bpl-team-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  padding: 32px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

/* ── LOGO WRAP ── */
.bpl-team-logo-wrap {
  flex: 0 0 160px;
  width: 160px;
  height: 160px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.bpl-team-card:hover .bpl-team-logo-wrap {
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.2);
}

.bpl-team-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

/* ── PLACEHOLDER LOGO (for teams without logo image) ── */
.bpl-team-placeholder-logo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--bpl-cyan);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 85, 255, 0.15));
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  letter-spacing: 2px;
}

/* ── TEAM INFO ── */
.bpl-team-info {
  min-width: 0;
  flex: 1;
}

.bpl-team-info span {
  display: inline-block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--bpl-cyan);
  font-size: 11px;
  font-weight: 800;
}

.bpl-team-info h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 34px;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 10px;
  word-break: break-word;
  letter-spacing: 1px;
}

.bpl-team-info p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
  margin: 0;
}

.bpl-team-info .bpl-team-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--bpl-cyan);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.bpl-team-card:hover .bpl-team-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── RESPONSIVE: mobile stacked ── */
@media (max-width: 600px) {
  .bpl-team-link {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px;
    gap: 20px;
  }

  .bpl-team-logo-wrap {
    flex: 0 0 140px;
    width: 140px;
    height: 140px;
  }

  .bpl-team-info h3 {
    font-size: 28px;
  }

  .bpl-team-info p {
    font-size: 13px;
  }

  .bpl-team-info .bpl-team-arrow {
    justify-content: center;
  }
}

.bpl-trophy-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--bpl-gold-glow) 0%, transparent 70%);
  filter: blur(20px);
  z-index: 1;
}

.bpl-trophy-img {
  max-height: 400px;
  z-index: 2;
  filter: drop-shadow(0 15px 30px rgba(245, 197, 24, 0.4));
  animation: floatTrophy 4s ease-in-out infinite;
}

@keyframes floatTrophy {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

/* Format Grid Section */
.bpl-format-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.bpl-format-card {
  background: rgba(13, 18, 48, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 16px;
  padding: 30px 24px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.bpl-format-card:hover {
  transform: translateY(-8px);
  border-color: var(--bpl-gold);
  box-shadow: 0 12px 30px rgba(245, 197, 24, 0.15);
}

.bpl-format-card i {
  font-size: 36px;
  color: var(--bpl-gold);
  margin-bottom: 20px;
  display: block;
}

.bpl-format-card h3 {
  font-size: 16px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.bpl-format-card p {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

/* Facilities Section */
.bpl-facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.bpl-facility-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.bpl-facility-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--bpl-cyan);
  transition: height 0.3s ease;
}

.bpl-facility-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 212, 255, 0.2);
  transform: translateY(-5px);
}

.bpl-facility-card:hover::before {
  height: 100%;
}

.bpl-facility-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--bpl-cyan);
  margin-bottom: 20px;
}

.bpl-facility-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.bpl-facility-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* Media/Broadcasting DRS Section */
.bpl-drs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

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

.bpl-drs-image {
  background: radial-gradient(circle, rgba(0, 85, 255, 0.2) 0%, transparent 70%);
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(0, 212, 255, 0.1);
  position: relative;
  display: flex;
  justify-content: center;
}

.bpl-drs-image img {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.drs-feature-badge {
  position: absolute;
  background: rgba(8, 12, 32, 0.9);
  border: 1px solid var(--bpl-cyan);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--bpl-cyan);
  box-shadow: 0 5px 15px rgba(0, 212, 255, 0.25);
}

.drs-badge-1 {
  top: 15%;
  left: -5%;
}

.drs-badge-2 {
  bottom: 20%;
  right: -5%;
}

.bpl-drs-content h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 25px;
}

.bpl-drs-list {
  list-style: none;
}

.bpl-drs-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
}

.bpl-drs-list li i {
  color: var(--bpl-cyan);
  font-size: 18px;
  margin-top: 3px;
  order: 2;
}

.bpl-drs-list li h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.bpl-drs-list li p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* Rules Section */
.bpl-rules-box {
  background: linear-gradient(135deg, rgba(22, 32, 87, 0.4) 0%, rgba(13, 18, 48, 0.8) 100%);
  border: 1px solid rgba(245, 197, 24, 0.2);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  position: relative;
}

.bpl-rules-box::after {
  content: '\f56c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  bottom: 20px;
  right: 30px;
  font-size: 120px;
  color: rgba(245, 197, 24, 0.03);
  pointer-events: none;
}

.bpl-rules-box i.rules-icon {
  font-size: 54px;
  color: var(--bpl-gold);
  margin-bottom: 25px;
  display: inline-block;
  text-shadow: 0 0 15px var(--bpl-gold-glow);
}

.bpl-rules-box h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 44px;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 15px;
}

.bpl-rules-box p {
  color: var(--muted);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 35px;
  line-height: 1.6;
}

/* Eligibility & Registration Section */
.bpl-reg-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

@media(max-width: 900px) {
  .bpl-reg-info-grid {
    grid-template-columns: 1fr;
  }
}

.bpl-info-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px;
}

.bpl-info-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}

.bpl-info-card ul {
  list-style: none;
}

.bpl-info-card ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 15px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.bpl-info-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--bpl-cyan);
  font-weight: 700;
  font-size: 16px;
}

.bpl-deadline-box {
  background: rgba(245, 197, 24, 0.05);
  border: 1px solid var(--bpl-gold);
  border-radius: 12px;
  padding: 20px;
  margin-top: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.bpl-deadline-box i {
  font-size: 28px;
  color: var(--bpl-gold);
}

.bpl-deadline-text h4 {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 1px;
}

.bpl-deadline-text p {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

/* Contacts Section */
.bpl-contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.bpl-contact-card {
  background: linear-gradient(135deg, rgba(22, 32, 87, 0.3) 0%, rgba(8, 12, 32, 0.6) 100%);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.bpl-contact-card:hover {
  transform: translateY(-8px);
  border-color: var(--bpl-cyan);
  box-shadow: 0 20px 45px rgba(0, 212, 255, 0.15), 0 0 20px rgba(0, 212, 255, 0.05);
  background: linear-gradient(135deg, rgba(22, 32, 87, 0.4) 0%, rgba(8, 12, 32, 0.7) 100%);
}

/* Alternate glow for some cards (e.g. gold cards for specific members or WhatsApp) */
.bpl-contact-card:nth-child(even):hover {
  border-color: var(--bpl-gold);
  box-shadow: 0 20px 45px rgba(245, 197, 24, 0.15), 0 0 20px rgba(245, 197, 24, 0.05);
}

.bpl-contact-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bpl-blue), var(--bpl-electric-blue));
  border: 2px solid rgba(0, 212, 255, 0.4);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  transition: all 0.3s ease;
}

.bpl-contact-card:hover .bpl-contact-avatar {
  transform: scale(1.08);
  border-color: var(--bpl-cyan);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

.bpl-contact-card:nth-child(even) .bpl-contact-avatar {
  border-color: rgba(245, 197, 24, 0.4);
  box-shadow: 0 0 15px rgba(245, 197, 24, 0.2);
}

.bpl-contact-card:nth-child(even):hover .bpl-contact-avatar {
  border-color: var(--bpl-gold);
  box-shadow: 0 0 20px rgba(245, 197, 24, 0.6);
}

/* Green design specifically for the WhatsApp card (4th card) */
.bpl-contact-card:nth-child(4) {
  border-color: rgba(37, 211, 102, 0.2);
}

.bpl-contact-card:nth-child(4) .bpl-contact-avatar {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border-color: rgba(37, 211, 102, 0.4);
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.2);
}

.bpl-contact-card:nth-child(4):hover {
  border-color: #25d366;
  box-shadow: 0 20px 45px rgba(37, 211, 102, 0.15), 0 0 20px rgba(37, 211, 102, 0.05);
}

.bpl-contact-card:nth-child(4):hover .bpl-contact-avatar {
  border-color: #25d366;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
}

.bpl-contact-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.bpl-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  background: rgba(0, 212, 255, 0.05);
  border-radius: 12px;
  font-size: 13px;
  color: var(--bpl-cyan);
  font-weight: 700;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 212, 255, 0.3);
  font-family: 'Outfit', sans-serif;
  text-decoration: none;
}

.bpl-contact-card:hover .bpl-contact-btn {
  background: linear-gradient(135deg, var(--bpl-cyan) 0%, #0088cc 100%);
  color: var(--bpl-dark-blue);
  border-color: var(--bpl-cyan);
  box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

/* Button styles for gold cards */
.bpl-contact-card:nth-child(even) .bpl-contact-btn {
  background: rgba(245, 197, 24, 0.05);
  color: var(--bpl-gold);
  border-color: rgba(245, 197, 24, 0.3);
}

.bpl-contact-card:nth-child(even):hover .bpl-contact-btn {
  background: linear-gradient(135deg, var(--bpl-gold) 0%, #e5b200 100%);
  color: var(--bpl-dark-blue);
  border-color: var(--bpl-gold);
  box-shadow: 0 5px 15px rgba(245, 197, 24, 0.3);
}

/* Button styles for WhatsApp card */
.bpl-contact-card:nth-child(4) .bpl-contact-btn {
  background: rgba(37, 211, 102, 0.05);
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.3);
}

.bpl-contact-card:nth-child(4):hover .bpl-contact-btn {
  background: linear-gradient(135deg, #25d366 0%, #1ebd59 100%);
  color: #fff;
  border-color: #25d366;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* ════════════════════════════════════════════════════════════
   BPL PROMO VIDEO SECTION STYLES
   ════════════════════════════════════════════════════════════ */
.bpl-video-container {
  max-width: 840px;
  margin: 40px auto 0;
  padding: 8px;
  background: rgba(22, 32, 87, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 212, 255, 0.15);
}

.bpl-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.bpl-promo-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bpl-video-glow {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(245, 197, 24, 0.2);
  border-radius: 18px;
  pointer-events: none;
  transition: all 0.3s ease;
}

.bpl-video-container:hover .bpl-video-glow {
  border-color: rgba(245, 197, 24, 0.5);
  box-shadow: inset 0 0 15px rgba(245, 197, 24, 0.2);
}

/* Hero Background Trailer */
.bpl-hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.bpl-hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.bpl-hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(8, 12, 32, 0.75) 0%,
      rgba(8, 12, 32, 0.85) 55%,
      rgba(8, 12, 32, 0.95) 100%);
}

@media (max-width: 480px) {

  /* Mobile hero legibility tweaks: make title/tagline readable over the video */
  .bpl-hero {
    padding: 110px 16px 70px;
  }

  .bpl-hero-title {
    font-size: 46px;
    line-height: 1.05;
    letter-spacing: 1px;
    margin-bottom: 10px;
  }

  .bpl-tagline {
    font-size: 16px;
    margin-bottom: 18px;
    padding: 0 6px;
  }

  .bpl-hero-organizer {
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 12px;
  }

  /* Increase overlay darkness on small screens where text tends to blend */
  .bpl-hero-video-overlay {
    background: linear-gradient(180deg,
        rgba(8, 12, 32, 0.88) 0%,
        rgba(8, 12, 32, 0.92) 55%,
        rgba(8, 12, 32, 0.98) 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  #bplHeroBgVideo {
    display: none;
  }
}

/* ══════════════════════════════════════════════════════════
   TEAM MODAL  —  Premium Redesign (Ported to BPL)
   ══════════════════════════════════════════════════════════ */

.team-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(2, 4, 14, 0.92);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  overflow-y: auto;
}

.team-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ── Modal Panel ───────────────────────────────────────────── */
.team-modal {
  width: min(1100px, 100%);
  border-radius: 28px;
  background: linear-gradient(160deg, #0d1024 0%, #080c20 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    0 48px 120px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
  max-height: calc(100vh - 40px);
  transform: translateY(36px) scale(0.96);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.team-modal-overlay.open .team-modal {
  transform: translateY(0) scale(1);
}

/* ── Close Button ──────────────────────────────────────────── */
.team-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 14, 30, 0.72);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.team-modal-close:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.38);
  transform: rotate(90deg) scale(1.08);
}

.team-modal-close:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* ── Modal Layout: image left, details right ───────────────── */
.team-modal-content {
  display: grid;
  /* widen modal internals so names don’t wrap awkwardly */
  grid-template-columns: minmax(420px, 0.9fr) minmax(0, 1.3fr);
  overflow-y: auto;
  max-height: calc(100vh - 40px);
}


/* ── Hero Photo Panel (left side) ─────────────────────────── */
.squad-photo-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #0a1640 0%, #1a0030 100%);
  order: 0;
  margin-bottom: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
  padding: 0;
  display: block;
}

/* Keep the photo clear and uncluttered */
.squad-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.02) 100%);
  pointer-events: none;
  z-index: 1;
}

.squad-photo {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
  border: 0;
}

.squad-photo-wrap:hover .squad-photo {
  transform: scale(1.04);
}

/* ── Team identity pill (overlaid on photo) ────────────────── */
.squad-photo-identity {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(8, 12, 30, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.squad-photo-logo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid rgba(245, 197, 24, 0.55);
  box-shadow: 0 0 20px rgba(245, 197, 24, 0.24), 0 4px 14px rgba(0, 0, 0, 0.3);
  background: rgba(8, 12, 30, 0.9);
  display: grid;
  place-items: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.08em;
  flex-shrink: 0;
  overflow: hidden;
}

.squad-photo-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.squad-photo-meta h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  letter-spacing: 0.08em;
  margin: 0 0 2px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  line-height: 1.05;
  white-space: normal;
}

.squad-photo-meta p {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.95;
}

/* ── Modal Body ────────────────────────────────────────────── */
.team-modal-body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow-y: auto;
  flex: 1;
}

/* ── Info Cards Row ────────────────────────────────────────── */
.team-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.info-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px 18px;
  transition: border-color 220ms ease, background 220ms ease;
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity 220ms ease;
}

.info-card:hover {
  background: rgba(245, 197, 24, 0.05);
  border-color: rgba(245, 197, 24, 0.22);
}

.info-card:hover::before {
  opacity: 1;
}

.info-card span {
  color: var(--muted);
  display: block;
  font-size: 0.70rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 8px;
  font-weight: 600;
}

.info-card strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

/* ── Squad Section ─────────────────────────────────────────── */
.squad-preview {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px;
  padding: 20px;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.section-title-row h4 {
  margin: 0;
  font-size: 0.80rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gold);
  font-weight: 700;
}

.section-title-row p {
  color: var(--muted);
  margin: 0;
  font-size: 0.82rem;
}

/* ── Player Grid ───────────────────────────────────────────── */
.player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  justify-items: stretch;
}

.player-grid .player-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 13px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
  position: relative;
  overflow: hidden;
}

.player-grid .player-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 197, 24, 0.5), transparent);
  opacity: 0;
  transition: opacity 220ms ease;
}

.player-grid .player-card:hover {
  background: linear-gradient(135deg, rgba(245, 197, 24, 0.09), rgba(245, 197, 24, 0.03));
  border-color: rgba(245, 197, 24, 0.32);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(245, 197, 24, 0.10);
}

.player-grid .player-card:hover::before {
  opacity: 1;
}

.player-grid .player-card strong,
.player-grid .player-card .player-name-fallback {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.35;
  word-break: break-word;
}

/* Player name link (when we render <a class="player-name-link"> like team.html) */
.player-grid .player-card .player-name-link {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.35;
  word-break: break-word;
  text-decoration: none;
  padding: 6px 2px;
  transition: color 200ms ease, text-shadow 200ms ease;
}

.player-grid .player-card .player-name-link:hover,
.player-grid .player-card .player-name-link:focus-visible {
  color: var(--bpl-gold);
  text-shadow: 0 0 18px rgba(245, 197, 24, 0.22);
  outline: none;
}

/* Verified tick overlay */
.player-verified {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(245, 197, 24, 0.16);
  border: 1px solid rgba(245, 197, 24, 0.32);
  display: grid;
  place-items: center;
  z-index: 2;
}

.player-verified i {
  color: var(--bpl-gold);
  font-size: 14px;
}

/* Division + Category lines */
.player-meta {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.player-meta-line {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.2;
  font-weight: 700;
}

.player-name-fallback {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.35;
  word-break: break-word;
  padding: 6px 2px;
}


/* ── Modal Action Buttons ──────────────────────────────────── */
.team-modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.action-btn {
  flex: 1;
  min-width: 140px;
  padding: 13px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
}

.action-btn:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

.action-btn:first-child {
  background: linear-gradient(135deg, rgba(245, 197, 24, 0.18), rgba(245, 197, 24, 0.08));
  border-color: rgba(245, 197, 24, 0.30);
  color: var(--gold);
}

.action-btn:first-child:hover {
  background: linear-gradient(135deg, rgba(245, 197, 24, 0.28), rgba(245, 197, 24, 0.14));
  border-color: rgba(245, 197, 24, 0.55);
}

/* ── BPL-specific Registration Prompt Styles ──────────────── */
.registration-prompt {
  text-align: center;
  padding: 30px 15px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  margin: 10px 0;
}

.registration-prompt i {
  font-size: 40px;
  color: var(--gold);
  margin-bottom: 15px;
  display: block;
}

.registration-prompt h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.registration-prompt p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 440px;
  margin: 0 auto 20px;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 980px) {
  .team-modal-content {
    grid-template-columns: 1fr;
  }

  .squad-photo-wrap {
    width: 100%;
    height: 320px;
    min-height: 320px;
    display: block;
  }

  .squad-photo {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
  }

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

  .player-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  }
}

@media (max-width: 600px) {
  .squad-photo-wrap {
    width: 100%;
    height: auto;
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  .squad-photo {
    width: 100%;
    height: 240px;
    min-width: 100%;
    min-height: 240px;
    object-fit: cover;
  }

  .squad-photo-identity {
    position: static;
    bottom: auto;
    left: auto;
    right: auto;
    gap: 10px;
    padding: 9px 10px;
    margin: 0;
    border-radius: 0 0 16px 16px;
  }

  .squad-photo-logo {
    width: 48px;
    height: 48px;
    font-size: 0.84rem;
  }

  .squad-photo-meta h3 {
    font-size: 1.1rem;
    letter-spacing: 0.06em;
  }

  .squad-photo-meta p {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
  }

  .team-modal-body {
    padding: 20px 16px 26px;
  }

  .team-info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .player-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
  }

  .team-modal-actions {
    gap: 8px;
  }

  .action-btn {
    padding: 11px 14px;
    font-size: 0.8rem;
  }
}

@media (max-width: 420px) {
  .player-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .squad-photo-wrap {
    height: 220px;
  }

  .team-info-grid {
    grid-template-columns: 1fr;
  }

  .player-grid .player-card strong {
    font-size: 0.7rem;
  }
}