* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

html,
body {
  width: 100%;
  min-height: 100%;
  background: #020817;
}

body {
  overflow-x: hidden;
}

/* DESKTOP */
.home-page,
.home-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: #020817;
}

.home-bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/backgrounds/bg_home_desktop.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 1;
}

.home-header {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 130px;
  padding: 35px 4.5vw 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.home-logo img {
  width: clamp(150px, 13vw, 230px);
  display: block;
}

.home-menu {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.6vw, 44px);
  padding-top: 28px;
}

.home-menu a {
  position: relative;
  color: rgba(255,255,255,.95);
  text-decoration: none;
  font-size: clamp(14px, .9vw, 16px);
  font-weight: 700;
  white-space: nowrap;
}

.home-menu a.active {
  color: #5bd12f;
}

.home-menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 38px;
  height: 2px;
  background: #5bd12f;
}

.home-header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 18px;
}

.header-btn {
  height: 54px;
  padding: 0 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  white-space: nowrap;
}

.login-btn {
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.22);
}

.store-btn {
  background: linear-gradient(135deg, #2c8e19, #55c636);
}

.home-content {
  position: relative;
  z-index: 4;
  width: 100%;
  min-height: calc(100vh - 130px);
  padding-left: 4.7vw;
  padding-top: clamp(60px, 9vh, 120px);
}

.home-text h1 {
  color: #fff;
  font-size: clamp(44px, 4.9vw, 82px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -2px;
  text-shadow: 0 3px 18px rgba(0,0,0,.45);
}

.home-text .green {
  color: #42b72a;
}

.home-text .blue {
  color: #085eff;
}

.home-text p {
  margin-top: 26px;
  color: rgba(255,255,255,.82);
  font-size: clamp(18px, 1.55vw, 27px);
  line-height: 1.35;
}

.home-main-buttons {
  margin-top: 58px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.sprite-btn {
  display: block;
  width: clamp(260px, 20vw, 375px);
  text-decoration: none;
}

.sprite-btn img {
  width: 100%;
  display: block;
}

.home-stats {
  position: absolute;
  left: 4.4vw;
  right: 4.4vw;
  bottom: 5.6vh;
  z-index: 5;
  min-height: 145px;
  padding: 26px 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(4,13,28,.70);
  backdrop-filter: blur(8px);
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
  align-items: center;
  gap: 34px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat-item img {
  width: clamp(46px, 4vw, 72px);
  flex: 0 0 auto;
}

.stat-item strong {
  display: block;
  color: #45c72f;
  font-size: clamp(16px, 1.2vw, 22px);
  font-weight: 900;
  margin-bottom: 8px;
}

.stat-item span {
  display: block;
  color: rgba(255,255,255,.88);
  font-size: clamp(13px, .95vw, 17px);
  line-height: 1.35;
}

.stat-line {
  width: 1px;
  height: 86px;
  background: rgba(255,255,255,.22);
}

/* NOTEBOOK / TELAS MENORES */
@media (max-width: 1366px) {
  .home-header {
    height: 110px;
    padding-top: 24px;
  }

  .home-content {
    min-height: calc(100vh - 110px);
    padding-top: 50px;
  }

  .home-main-buttons {
    margin-top: 38px;
  }

  .home-stats {
    bottom: 3.5vh;
    min-height: 120px;
    padding: 18px 28px;
    gap: 22px;
  }
}

.home-mobile-buttons {
  display: none;
}

.home-mobile-buttons a {
  display: block;
  width: 100%;
  text-decoration: none;
}

.home-mobile-buttons img {
  width: 100%;
  display: block;
}

/* MOBILE */
@media (max-width: 980px) {
  html,
  body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #020817;
  }

  .home-page,
  .home-hero {
    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
  }

  .home-bg {
    background-image: url("../assets/backgrounds/bg_home_mobile_2400.webp");
    background-position: center top;
    background-size: 100% 100%;
  }

  .home-header,
  .home-content,
  .home-stats {
    display: none;
  }

  .home-mobile-buttons {
    position: absolute;
    left: 50%;
    bottom: 6%;
    transform: translateX(-50%);
    width: 82%;
    max-width: 430px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 20;
  }
}

@media (max-width: 980px) and (max-height: 750px) {
  .home-bg {
    background-image: url("../assets/backgrounds/bg_home_mobile_1920.webp");
  }
}

@media (max-width: 980px) and (min-aspect-ratio: 20/9) {
  .home-bg {
    background-image: url("../assets/backgrounds/bg_home_mobile_2400.webp");
  }
}