@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&family=TikTok+Sans:opsz,wght@12..36,300..900&display=swap');

/* Variáveis para modo claro (padrão) */
:root {
  --back-color: hsla(201, 87%, 15%, 0.685);
  --bg-color: url(img/bg.jpg);
   --text-color: #ee7503;      /* Texto escuro */
  --primary-color: #053046;
  --btn-bg: #e0e0e0;
  --btn-hover-bg: #cfcfcf;
  --footer-shadow: rgba(0, 0, 0, 0.15);
}

/* Variáveis para modo escuro */
body.dark-theme {
  --back-color: hsla(201, 78%, 44%, 0.685);
  --bg-color: url(img/fundo-dark.jpg);
   --text-color: #fff;     /* Texto claro */
  --primary-color: #138ecc;
  --btn-bg: #2a3a4a;
  --btn-hover-bg: #184060;
  --footer-shadow: rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "poppins", sans-serif;
  letter-spacing: 3px;
  list-style: none;
  text-decoration: none;
}

body {
  height: 130vh;
  width: 100vh;
  box-sizing: border-box;
  background: var(--bg-color);
  color: var(--text-color);
  background-repeat: no-repeat;
  background-size: cover;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
  transition: bacground-color 0.3s ease, color 0.3 ease;
}

main .text,
.btn-box2,
.btn-box .btn,
h6, p, a {
  height: 3.5em;
  color: var(--text-color);
}

/* HEADER */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 48px;
  position: relative;
}

.logo {
  width: 150px;
}

/* Checkbox escondido */
#menu-toggle {
  display: none;
}

/* Ícone hamburguer (☰) */
.menu-icon {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
  user-select: none;
}

/* Menu horizontal desktop */
.navigation ul {
  
    font-weight: 900;
  display: flex;
  align-items: center;
  gap: 40px;
margin: 0;
}

.navigation ul li a {
  color: var(--text-color);
  font-size: 18px;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  transition: all 0.6s;
}

.navigation ul li a:hover {
  border-bottom: 2px solid #138ecc;
}

.navigation ul li.icon {
  display: flex;
  align-items: center;
}

.navigation .search {
  width: 22px;
  cursor: pointer;
  filter: invert(1);
}

/* MAIN */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 50em;
  margin-top: 1.5em;
}

main section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 2.5em;
}

main section .logoboys {
  height: 5em;
  width: 20em;
  margin: 0.5em 0;
}

main section .btn-box {
  width: 50em;
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-box .btn {
  padding: 20px 45px;
  background: var(--btn-bg);
  color: var(--text-color);
  margin-bottom: 0.5em;
  border-bottom: 2px solid var(--text-color);
  transition: background-color 0.3 ease;
  border-radius: 25px;
}

.btn-box .btn:hover,
.btn-box .btn:focus {
  background: var(--btn-hover-bg);
}

main section .text {
    
    height: 9em;
    font-family: "TikTok Sans", sans-serif;
    font-weight: 800;
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 22px;
    margin-top: 0;
    margin-bottom: 0;
    border: 0;
}

p {
 
     background-color: var(--back-color);
     background-size: cover;
     width: 100%;
     hyphens: 100vh;
    
}

.btn-box2 {
  height: 2.5em;
  width: 12em;
  display: flex;
  align-items: center;
  color:var(--text-color);
  background: var(--primary-color);
  padding: 15px 45px;
  margin-top: 2em;
  border-radius: 5px 5px 0 0;
  border-bottom: 4px solid var(--text-color);
  font-size: 25px;
  gap: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 3px;
  border-radius: 20px;
}
.btn-box2 p {
  font-size: 17px;
  font-weight: 700;
  align-items: center;
  margin-top: .5em;
  padding: 0;
}

.btn-box2:hover {
  background:var(--btn-hover-bg);
}

.btn-box2 .play {
  width: 1.4em;
  filter: invert(1);
}

/* FOOTER */
footer .cards {
  height: 6em;
  display: flex;
  align-items: center;
  flex-flow: row;
  box-shadow: 12px 0px 32px 2px var(--footer-shadow);
  margin-left: 23em;
  margin-top: 1.5em;
}

.cards .card {
  height: 130px;
  width: 300px;
  max-width: 300px;
  box-shadow: 12px 0px 32px 2px black;
  margin-left: -120px;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  overflow: hidden;
}

.cards .card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cards .card:hover {
  transform: translate(-16px) rotate(3deg);
}

.cards .card:hover ~ .card {
  transform: translateX(140px);
}

/* RESPONSIVIDADE */

html {
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .logo {
    width: 120px;
    margin-bottom: 1em;
  }

  /* Mostrar o ícone do menu hamburguer */
  .menu-icon {
    display: block;
  }

  /* Menu escondido por padrão no mobile */
  .navigation ul {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }

  /* Mostrar menu quando checkbox marcado */
  #menu-toggle:checked ~ .navigation ul {
    display: flex;
  }

  .navigation ul li {
    width: 100%;
  }

  .navigation ul li a,
  .navigation ul li img {
    font-size: 16px;
    width: 100%;
  }

  .navigation ul li img {
    width: 24px;
  }

  .navigation .search {
    width: 20px;
  }

  main {
    max-width: 100%;
    padding: 1em;
    margin-top: 1em;
  }

  main section {
    margin-left: 0;
    align-items: center;
    text-align: center;
  }

  main section .logoboys {
    width: 100%;
    max-width: 350px;
    margin: 2em auto;
  }

  .btn-box {
    flex-direction: column;
    width: 100%;
  }

  .btn-box .btn {
    width: 100%;
    text-align: center;
  }

  .btn-box2 {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  footer .cards {
    flex-direction: column;
    align-items: center;
    margin: 2em auto;
    gap: 20px;
    margin-left: 0;
  }

  .cards .card {
    margin: 0;
    width: 90%;
    max-width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  }

  .cards .card:hover ~ .card {
    transform: none;
  }
}

@media (max-width: 480px) {
  .btn-box .btn {
    padding: 15px;
    font-size: 14px;
  }

  .btn-box2 {
    font-size: 16px;
    padding: 10px 20px;
  }

  main section .text {
    font-size: 14px;
    line-height: 20px;
    padding: 0 10px;
  }
}
