/*=========================
  Reset e base
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  background: linear-gradient(50deg, #ff4169, #7c26f8);
  background-attachment: fixed;
  font-family: Helvetica, Arial, sans-serif;
}

/* =========================
  Layout da página inicial
========================= */
body#home {
  background: url(../imagens/capa.png), url(../imagens/ruido.png), linear-gradient(50deg, #ff4169, #7c26f8);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* =========================
  Layout de rodapé fixo
========================= */
body:not(#home) {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* =========================
  Tipografia
========================= */
h1,
h2,
h3 {
  color: black;
}

body#home h1 {
  font-weight: 900;
  letter-spacing: -0.05em;
  margin-bottom: 50px;
  color: white;
}

body#home h2 {
  font-size: 3em;
  font-weight: 700;
  letter-spacing: -0.04em;
}

body#home h3 {
  font-size: 2em;
  font-weight: 700;
  letter-spacing: -0.04em;
}

/* =========================
  Navbar
========================= */
nav.navbar {
  background: #000;
}

.navbar-light .navbar-nav .nav-link {
  color: white;
  padding: 10px;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: white;
}

.navbar-light .navbar-toggler {
  color: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.5);
  padding: 15px;
  margin: 20px;
}

.divisor {
  width: 1px;
  height: 15px;
  background: var(--text-muted);
  margin: 12px 15px;
}

.navbar-nav .btn-custom {
  background: var(--brand-green);
  color: var(--text-muted);
  border: 2px solid var(--brand-orange);
  font-weight: bold !important;
  border-radius: 500px !important;
  padding: 0px 25px !important;
  margin-left: 25px !important;
  transition: background-color 0.3s, border-color 0.3s !important;
}

.navbar-nav .btn-custom:hover {
  background: var(--brand-orange);
  border: 2px solid var(--brand-green);
}


/* =========================
  Capa e layout geral
========================= */
.capa {
  text-align: center;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.caixa {
  padding-top: 20px;
  padding-bottom: 20px;
}

.conteudo-interno {
  background: #282828;
  padding: 30px;
  border-radius: 15px;
  margin-top: 100px;
  color: white;
}

.conteudo-interno h1 {
  font-size: 2.2em;
  font-weight: 700;
  color: white;
  margin-bottom: 30px;
}

.conteudo-interno h2,
.conteudo-interno p,
.conteudo-interno label {
  color: white;
}

body:not(#home) .caixa {
  flex-grow: 1;
}

/* =========================
  Botões
========================= */
.btn-custom {
  color: white;
  font-weight: bolder;
  border-radius: 500px;
  transition: background 0.4s, color 0.4s;
  padding: 20px;
  margin: 15px;
}

.btn-roxo {
  background: #7c25f8;
}

.btn-roxo:hover {
  background: #6207e3;
  color: white;
}

.btn-branco {
  border: 2px solid white;
}

.btn-branco:hover {
  background-color: white;
  color: black;
}

/* =========================
  KINGDOMFY PLAYER
========================= */
:root {
  --brand-green: #015f01;
  --brand-orange: #d29f00;
  --brand-card: #181818;
  --text-muted: #b3b3b3;
}

body#player {
  background: linear-gradient(50deg, #ff4169, #7c26f8);
  background-attachment: fixed;
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.caixa-player {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 150px 20px 60px 20px;
}

.player-container {
  width: 100%;
  max-width: 340px;
  background: var(--brand-card);
  padding: 25px;
  border-radius: 24px;
  border: 1px solid #282828;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.album-art {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.album-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.progress-bar-custom {
  width: 100%;
  height: 6px;
  background: #333;
  border-radius: 10px;
  cursor: pointer;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--brand-green);
  width: 0%;
}

.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.volume-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
  color: var(--text-muted);
}

#volumeIcon {
  cursor: pointer;
  transition: 0.2s;
}

#volumeIcon:hover {
  color: var(--brand-orange);
  transform: scale(1.1);
}

.active-control {
  color: #1db954 !important;
  text-shadow: 0 0 10px rgba(29, 185, 84, 0.5);
  transform: scale(1.1);
}

.btn-control {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.2s;
}

.btn-control:hover {
  color: var(--brand-orange);
  transform: scale(1.1);
}

.btn-main-player {
  background: none;
  border: none;
  color: var(--brand-green);
  cursor: pointer;
  transition: 0.2s;
}

.btn-main-player:hover {
  transform: scale(1.05);
  color: var(--brand-orange);
}

.volume-control input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100px;
  height: 4px;
  background: #535353;
  border-radius: 5px;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.volume-control input[type="range"]:hover {
  opacity: 1;
}

.volume-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  background: var(--brand-green);
  border-radius: 50%;
  cursor: pointer;
}

.volume-control input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: var(--brand-green);
  border-radius: 50%;
  cursor: pointer;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .caixa-player {
    padding-top: 180px;
  }

  .player-container {
    max-width: 700px;
    flex-direction: row;
    align-items: center;
    gap: 30px;
  }

  .album-art {
    width: 250px;
    margin-bottom: 0;
  }

  .player-content-wrapper {
    flex: 1;
  }
}

@media (min-width: 992px) {
  .caixa-player {
    padding-top: 120px;
  }

  .player-container {
    max-width: 800px;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 40px;
    min-height: 400px;
  }

  .album-art {
    width: 320px;
    margin-bottom: 0;
  }

  .player-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .song-details {
    text-align: left !important;
  }
}

/* =========================
  Formulários
========================= */
.form-control {
  background-color: #424242;
  border: none;
  color: white;
  border-radius: 10px;
}

.form-control:focus {
  background-color: #5a5a5a;
  color: white;
  box-shadow: none;
}

.form-control::placeholder {
  color: #a9a9a9;
}

/* =========================
  Carousel
========================= */
.carousel-control-next,
.carousel-control-prev {
  width: 10%;
}

/* =========================
  Seções específicas
========================= */
#servicos {
  background: white;
}

#servicos h2,
#servicos h3 {
  color: #7c25f8;
}

#recursos h2 {
  color: white;
}

#recursos h3 {
  color: #9bf0e1;
}

.albuns {
  padding: 10px 0;
}

.rotacionar {
  transform: rotate(30deg);
  padding-left: 80px;
}

/* =========================
  Footer
========================= */
footer {
  background: #000;
  padding: 50px 0 20px 0;
  position: relative;
  border-top: 1px solid #333;
}

footer h4 {
  color: #919496;
  font-size: 1em;
  text-transform: uppercase;
  margin-bottom: 15px;
}

footer .navbar-nav a,
footer .footer-bottom a {
  color: white;
  font-size: 1em;
  transition: color 0.3s ease;
}

.footer-link {
  padding: 5px 0;
}

footer .navbar-nav a:hover,
footer .footer-bottom a:hover {
  color: #9bf0e1;
  text-decoration: none;
}

footer ul {
  list-style: none;
  padding-left: 0;
}

footer #media,
footer .social-media-icons {
  display: flex;
}

footer #media li,
footer .social-media-icons li {
  margin: 0 10px;
}

.social-media-icons a {
  text-decoration: none;
}

#dev {
  font-size: 23px;
  color: white;
}

footer #dev:hover {
  color: #9bf0e1;
  text-decoration: none;
}

.link-interno {
  color: #1db954;
  text-decoration: none;
}

.link-interno:hover {
  text-decoration: underline;
}

.list-inline .divisor {
  height: 1em;
  vertical-align: middle;
}

footer .row>div {
  text-align: center;
  margin-bottom: 25px;
}

footer .row>div ul {
  justify-content: center;
}

.footer-bottom {
  flex-direction: column;
  align-items: center;
}

.footer-bottom p {
  margin-top: 1rem;
}

/* =========================
  Ícones e utilidades
  ========================= */
.externo::after {
  content: '\1F517';
}

.img-valor {
  width: 80px;
  height: auto;
}

.devicon-img {
  width: 60px;
  height: 55px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #212529;
  border-radius: 50%;
  color: white;
  font-size: 1.7rem;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
  background-color: #d29f00;
  color: #212529;
  transform: scale(1.1);
}

/* =========================
  FAQ / Accordion Dark Theme
========================= */
#centro-de-privacidade #faqAccordion .card {
  background-color: #343a40;
  border: 1px solid #454d55;
}

#centro-de-privacidade #faqAccordion .card-header {
  background-color: #343a40;
  border-bottom: 1px solid #454d55;
}

#centro-de-privacidade #faqAccordion .btn-link {
  color: #fff;
  text-decoration: none;
}

#centro-de-privacidade #faqAccordion .btn-link:hover {
  color: #9bf0e1;
}

#centro-de-privacidade #faqAccordion .card-body {
  background-color: #282828;
  color: #fff;
}

#centro-de-privacidade #faqAccordion .btn-sm {
  color: #fff;
  border-color: #fff;
}

#centro-de-privacidade #faqAccordion .btn-sm:hover {
  color: #000;
  background-color: #fff;
}

/* ===============
  Media Queryes
===================*/
@media (min-width: 768px) {
  footer .row>div {
    text-align: left;
    margin-bottom: 0;
  }

  footer .row>div ul {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-bottom p {
    margin-top: 0;
  }
}

@media (max-width: 767.98px) {
  .rotacionar {
    transform: rotate(0deg);
    padding-left: 0;
  }

  .conteudo-interno {
    margin-top: 80px;
  }
}

@media (max-width: 575.98px) {
  .btn-custom {
    margin: 10px 15px;
    font-size: 1em;
  }

  h1 {
    font-size: 3em;
  }

  h2 {
    font-size: 2em;
  }

  h3 {
    font-size: 1.5em;
  }

  .albuns img {
    margin-bottom: 15px;
  }

  .rotacionar img {
    margin-bottom: 15px;
  }

  .carousel-control-prev i,
  .carousel-control-next i {
    font-size: 2em;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  h1 {
    font-size: 3em;
  }

  h2 {
    font-size: 2.5em;
  }

  .btn-custom {
    margin: 10px 15px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  h1 {
    font-size: 4em;
  }

  h2 {
    font-size: 2.8em;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  h1 {
    font-size: 5em;
  }
}

@media (min-width: 1200px) {
  h1 {
    font-size: 6em;
  }
}

/* =================================
  Ajustes Responsivos da Navbar
================================= */
@media (min-width: 992px) {
  .navbar-collapse {
    flex-grow: 1;
    display: flex;
    justify-content: center;
  }
  .navbar-nav {
    align-items: center;
  }
}

@media (max-width: 991.98px) {
  .navbar-nav {
    text-align: center;
    width: 100%;
  }
  .navbar-nav .nav-item {
    margin: 10px 0;
  }
  .navbar-nav .btn-custom {
    padding: 0px 40px !important;
    font-size: 1rem !important;
    margin: 10px auto !important;
    display: block;
    width: fit-content;
  }
  .divisor {
    display: none;
  }
}