* {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

main {
  min-height: 100vh;
}

/* =========== Navbar Section =========== */
.bg-dark {
  background-color: rgba(12, 12, 12, 0.9) !important;
}

.nav-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

.nav-underline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(to right, #a731cc, #6043a5, #61aeb1);
  transition: width 0.3s ease;
}

.nav-underline:hover::after,
.nav-underline:focus::after,
.nav-underline.active::after {
  width: 100%;
}

/* =========== Navtabs Section =========== */

.nav-tabs .nav-link {
  color: #6043a5;
}

.nav-tabs .nav-link.active {
  color: #fff;
  background-color: #6043a5;
  border-color: #6043a5;
}

/* =========== Hero Section =========== */

.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

#youtube-background {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
}

.hero .content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  font-family: sans-serif;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 0;
}

.logo-hero {
  max-width: 450px;
  margin-top: 8rem;
}

@media (max-width: 768px) {
  .logo-hero {
    max-width: 250px;
    margin-top: 2rem;
  }
}

/* =========== Countdown Section =========== */

.countdown-box {
  background-color: #6043a5;
  color: white;
  padding: 1.2rem 1.4rem 1rem 1rem;
  border-radius: 0.5rem;
  font-size: 4rem;
  font-weight: bold;
  display: inline-block;
  flex: 1 1 0;
  min-width: 70px;
  max-width: 25%;
  text-align: center;
  line-height: 1;
  box-sizing: border-box;
}

.countdown-box small {
  display: block;
  font-size: 1rem;
  font-weight: normal;
  opacity: 0.9;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .countdown-box {
    font-size: 3rem;
    padding: 0.75rem;
    max-width: 45%;
  }

  .countdown-box small {
    font-size: 1rem;
  }
}

@media (max-width: 400px) {
  .countdown-box {
    font-size: 2.2rem;
    padding: 0.5rem;
    max-width: 48%;
  }

  .countdown-box small {
    font-size: 0.875rem;
  }
}

/* =========== Special Buttons Section =========== */

.btn-gradient {
  background: linear-gradient(to right, #a731cc, #6043a5, #61aeb1);
  border: none;
  transition: background 0.4s ease, transform 0.2s ease;
}

.btn-gradient:hover {
  background: linear-gradient(to right, #8f2aa9, #50388a, #4e8e94);
  transform: scale(1.03); /* efeito sutil ao passar o mouse */
}

/* =========== Special Text Section =========== */

.text-gradient {
  background: linear-gradient(to right, #a731cc, #6043a5, #61aeb1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* =========== Text Section =========== */
.text-primary {
  color: #6043a5 !important;
}
.text-secondary {
  color: #a731cc !important;
}

.custom-link {
  color: #a731cc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.custom-link:hover,
.custom-link:focus {
  color: #50388a;
}

/* =========== Carousel Speakers Section =========== */

.custom-arrow {
  width: 50px;
  height: 50px;
  background-color: #6043a5;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
  transition: all 0.3s ease;
  z-index: 1;
}

.custom-arrow:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev.custom-arrow {
  left: -10px;
}

.carousel-control-next.custom-arrow {
  right: -10px;
}

.custom-arrow span {
  color: white;
  font-size: 1rem;
  line-height: 1;
}

/* =========== Accordion Section =========== */

.accordion-button:not(.collapsed) {
  background-color: #6043a5;
  color: white !important;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(96, 67, 165, 0.5);
}

.accordion-body {
  background-color: #f5f3fa;
  color: #2d1e5a;
}

/* =========== Footer Section =========== */

footer {
  color: white;
  text-align: center;
  padding: 10px 0;
  margin-top: 3rem;
}
