/* ==========================================================================
   BSL PORTAL CSS - EA FC 27 EDITION
   Hero Section com Arte banner.webp, Portal de Notícias, Ticker & Minigames
   ========================================================================== */

/* --- HERO SECTION COM IMAGEM BANNER.WEBP --- */
.bsl-hero-section {
  position: relative;
  width: 100%;
  padding: 2.5rem 0 3.5rem;
  margin-top: 0.5rem;
}

.bsl-hero-banner {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border-color-strong);
  padding: 3.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--card-shadow);
  /* Imagem de Fundo banner.webp com Overlay degradê para leitura perfeita */
  background-image: 
    linear-gradient(90deg, var(--bg-surface) 0%, rgba(20, 10, 38, 0.88) 50%, rgba(20, 10, 38, 0.4) 100%),
    url('/static/img/banner.webp');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  min-height: 440px;
}

html.light-theme .bsl-hero-banner {
  background-image: 
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 249, 252, 0.85) 55%, rgba(255, 255, 255, 0.2) 100%),
    url('/static/img/banner.webp');
}

.bsl-hero-content {
  max-width: 660px;
  z-index: 2;
}

.bsl-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  background: rgba(139, 61, 255, 0.12);
  border: 1px solid var(--bsl-purple-neon);
  color: var(--bsl-purple-neon);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.bsl-hero-title {
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.bsl-hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.bsl-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* BOTÕES DE AÇÃO */
.btn-primary-neon {
  background: linear-gradient(135deg, var(--bsl-purple) 0%, var(--bsl-purple-neon) 100%);
  color: #FFFFFF !important;
  font-family: var(--font-display);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  border: none;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 8px 25px var(--bsl-purple-glow);
  transition: all var(--transition-fast);
}

.btn-primary-neon:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(139, 61, 255, 0.5);
  color: #FFFFFF;
}

.btn-secondary-outline {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  font-weight: 700;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  border: 1px solid var(--border-color-strong);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all var(--transition-fast);
}

.btn-secondary-outline:hover {
  border-color: var(--bsl-purple-neon);
  color: var(--bsl-purple-neon);
  transform: translateY(-2px);
}

/* --- STATS TICKER ESPORTIVO --- */
.bsl-stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.bsl-stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: var(--card-shadow);
}

.bsl-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(139, 61, 255, 0.1);
  color: var(--bsl-purple-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.bsl-stat-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--text-primary);
  line-height: 1;
}

.bsl-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

/* --- PORTAL GRID (NOTÍCIAS & MD3 CARRO-CHEFE) --- */
.bsl-portal-section {
  padding: 2rem 0 4rem;
}

.bsl-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.bsl-section-title {
  font-size: 1.8rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bsl-section-title::before {
  content: '';
  width: 6px;
  height: 28px;
  background: var(--bsl-purple-neon);
  border-radius: 4px;
  box-shadow: 0 0 10px var(--bsl-purple-neon);
}

.bsl-portal-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

/* --- VIP SHOWCASE & PORTAL CONTENT CARDS --- */
.vip-showcase-panel {
  background: linear-gradient(135deg, rgba(20, 10, 38, 0.95) 0%, rgba(35, 18, 60, 0.98) 100%);
  border: 1.5px solid rgba(255, 215, 0, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-radius: 20px;
}

html.light-theme .vip-showcase-panel {
  background: linear-gradient(135deg, #FFFFFF 0%, #F5F7FB 100%);
  border: 1.5px solid rgba(212, 160, 23, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.partner-badge-card {
  border-color: var(--border-color);
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
}

html.light-theme .partner-badge-card {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.portal-content-card {
  border: 1px solid var(--border-color-strong);
  background: var(--bg-surface-elevated);
  box-shadow: var(--card-shadow);
  border-radius: 20px;
}

html.dark-theme .portal-content-card {
  background: rgba(18, 9, 36, 0.75);
}

html.light-theme .portal-content-card {
  background: #FFFFFF;
  border-color: rgba(139, 61, 255, 0.15);
}

@media (max-width: 1024px) {
  .bsl-portal-grid {
    grid-template-columns: 1fr;
  }
  .bsl-hero-banner {
    padding: 2.5rem 1.5rem;
    background-image: 
      linear-gradient(180deg, var(--bg-surface) 0%, rgba(20, 10, 38, 0.82) 100%),
      url('/static/img/banner.webp');
  }
}
