:root {
  --bg-dark: #121418;
  --bg-card: #1a1d23;
  --gold: #c59d5f;
  --white: #ffffff;
  --text-v: #a0a0a0;
}

body {
  background-color: var(--bg-dark);
  color: var(--white);
  font-family: "Roboto", sans-serif;
  margin: 0;
  overflow-x: hidden;
}

/* REGRAS DE VISIBILIDADE */
.v-text {
  color: var(--text-v) !important;
}
.v-white {
  color: var(--white) !important;
}
.text-gold-bold {
  color: var(--gold) !important;
  font-weight: 700;
}
.font-oswald {
  font-family: "Oswald", sans-serif !important;
}

/* BRANDING */
.f-white,
.f-white-lg {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  color: var(--white);
}
.f-gold,
.f-gold-lg {
  font-family: "Oswald", sans-serif;
  font-weight: 300;
  color: var(--gold);
}
.navbar-custom {
  background: rgba(18, 20, 24, 0.98);
  border-bottom: 1px solid rgba(197, 157, 95, 0.1);
  padding: 15px 0;
}
.nav-link-gold {
  color: var(--gold) !important;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
}
.btn-contato-nav {
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  padding: 10px 25px;
  font-family: "Oswald", sans-serif;
}

/* HERO */
.hero-section {
  min-height: 90vh;
  background:
    linear-gradient(
      90deg,
      rgba(18, 20, 24, 0.48) 0%,
      rgba(18, 20, 24, 0.22) 26%,
      rgba(18, 20, 24, 0.08) 50%,
      rgba(18, 20, 24, 0) 78%
    ),
    url("../image/kalil_strongman_desenho.jpg");
  background-size: cover;
  background-position: center 54%;
  background-repeat: no-repeat;
  padding-top: 100px;
  position: relative;
}
.hero-section > .container {
  position: relative;
  z-index: 2;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 18% 50%, rgba(0, 0, 0, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.12));
  z-index: 1;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  color: var(--white);
  font-family: "Oswald", sans-serif;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.hero-badge {
  display: inline-block;
  padding: 5px 15px;
  background-color: var(--gold);
  color: #000;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.btn-gold-filled {
  background: var(--gold);
  color: #000;
  padding: 12px 35px;
  font-weight: bold;
  text-decoration: none;
  font-family: "Oswald", sans-serif;
}

/* CARDS E SLIDER */
.section-title {
  font-family: "Oswald", sans-serif;
  color: var(--gold);
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
}
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 15px auto;
}
.card-custom {
  background-color: var(--bg-card) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  padding: 2.5rem;
  cursor: pointer;
}
.card-title-strong {
  font-family: "Oswald", sans-serif;
  color: var(--gold) !important;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

/* SETAS EXTERNAS E INTERNAS */
.arrow-gold,
.arrow-gold-modal {
  width: 60px;
  opacity: 1;
  color: var(--gold);
  font-size: 2.5rem;
  transition: 0.3s;
  background: transparent;
  border: none;
}
.arrow-gold:hover,
.arrow-gold-modal:hover {
  color: var(--white);
  scale: 1.2;
}
.carousel-control-prev {
  left: -10px;
}
.carousel-control-next {
  right: -10px;
}

/* FOOTER */
.footer-premium {
  background-color: var(--bg-card);
  border-top: 1px solid rgba(197, 157, 95, 0.2);
  margin-top: 80px;
}
.social-circle {
  width: 45px;
  height: 45px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: 0.3s;
}
.counter-box {
  background: var(--white);
  color: var(--bg-dark);
  padding: 2px 8px;
  font-weight: 700;
}
.status-online {
  color: #2ecc71;
  font-weight: bold;
}
.border-dark-custom {
  border-color: rgba(197, 157, 95, 0.1) !important;
}

/* MODAIS */
.gallery-modal-content {
  background-color: var(--bg-card);
  border: 1px solid var(--gold);
  border-radius: 0;
}
.gallery-img {
  width: 100%;
  height: min(62vh, 520px);
  object-fit: contain;
  object-position: center;
  background: #0b0e14;
  border-bottom: 2px solid var(--gold);
}

@media (max-width: 768px) {
  .gallery-img {
    height: 42vh;
  }
}
.modal-title {
  color: var(--gold) !important;
  font-weight: 700;
  font-family: "Oswald", sans-serif;
}
.profile-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold);
  padding: 5px;
}
/* Realce do Link 'Ver Detalhes' - CORRIGIDO PARA VISIBILIDADE */
.view-details-link {
  font-family: "Oswald", sans-serif;
  color: var(
    --gold
  ) !important; /* Mudado de preto para Dourado para contraste */
  font-weight: bold;
  font-size: 0.8rem;
  margin-top: 15px;
  transition: 0.3s;
  text-decoration: none; /* Remove o sublinhado padrão */
}

/* Efeito Hover para feedback visual */
.view-details-link:hover {
  color: var(--white) !important; /* Muda para branco ao passar o mouse */
  text-decoration: underline; /* Adiciona sublinhado no hover */
}

/* Compensar navbar fixa ao navegar por âncoras */
section[id] {
  scroll-margin-top: 80px;
}


/* Vídeo no modal — cresce pela altura, centralizado */
.carousel-item .gallery-video-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  border-bottom: 2px solid var(--gold);
  width: 100%;
  height: min(75vh, 640px);
}
.gallery-video {
  max-height: min(75vh, 640px);
  max-width: 100%;
  width: auto;
  height: 100%;
  display: block;
  object-fit: contain;
}

@media (max-width: 768px) {
  .carousel-item .gallery-video-wrapper,
  .gallery-video {
    max-height: min(55vh, 400px);
    height: min(55vh, 400px);
  }
}

.gallery-media-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  background: rgba(0, 0, 0, 0.22);
}

.gallery-thumb-btn {
  border: 1px solid rgba(197, 157, 95, 0.45);
  background: transparent;
  padding: 0;
  min-width: 90px;
  height: 64px;
  cursor: pointer;
}

.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-thumb-video {
  color: var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #0b0e14;
}

.gallery-thumb-play {
  font-size: 1rem;
}

.gallery-thumb-label {
  font-family: "Oswald", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.gallery-thumb-btn:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .gallery-video {
    height: 42vh;
  }
  .gallery-thumb-btn {
    min-width: 78px;
    height: 56px;
  }
}

/* Carrossel de campeonatos — espaço lateral para as setas */
#campeonatosCarousel {
  padding: 0 50px;
}
#campeonatosCarousel .carousel-control-prev,
#campeonatosCarousel .carousel-control-next {
  width: 40px;
}
