@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;600;700;800&display=swap');

:root {
  --font-size:1rem;
}

* {
  box-sizing:border-box;
  margin:0;
  padding:0;
  outline:none;
}

body {
  font-family: 'Poppins', sans-serif;
  background:#000;
  color:#fff;
}

/* Remove qualquer texto riscado herdado */
a, button {
  text-decoration:none !important;
}

/* =============================== */
/* LOGO FIXA - FUNDO TRANSLÚCIDO   */
/* =============================== */

.top-logo-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 0;
  background: rgba(0,0,0,0.40);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  justify-content: center;
  z-index: 9999;
}

.top-logo-wrapper img {
  width: 120px;
  height: auto;
}

/* =============================== */
/* TÍTULO - MAIS PRÓXIMO DA LOGO   */
/* =============================== */

.bestseller h3,
.section-title {
  text-align: center;
  font-size: 22px;
  margin-top: 95px !important;
  font-weight: 600;
}

/* =============================== */
/* SEARCH BAR                      */
/* =============================== */

.search-container {
  position:relative;
  width: 90%;
  max-width: 450px;
  margin: 25px auto 10px;
}

.search-container input {
  width:100%;
  padding:12px 45px 12px 18px;
  border-radius:25px;
  border:none;
  background:#111;
  color:#fff;
  font-size:16px;
}

.search-container .search-icon {
  position:absolute;
  right:15px;
  top:50%;
  transform:translateY(-50%);
  color:#bbb;
}

/* =============================== */
/* APPS GRID                       */
/* =============================== */

.apps-grid {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:25px;
  margin-top:25px;
  justify-items:center;
}

.app-card {
  background:#111;
  border-radius:30px;
  width:220px;
  padding:15px;
  text-align:center;
  color:white;
  transition:0.3s;
}

.app-card:hover {
  transform:scale(1.05);
}

.app-image {
  width:100%;
  border-radius:100px;
}

.app-title {
  margin-top:10px;
  font-size:18px;
  font-weight:600;
}

/* =============================== */
/* DOWNLOAD BUTTON (AGORA BOLD)    */
/* =============================== */

.download-btn {
  margin-top: 10px;
  display: inline-block;
  background:#1C61FF;
  color:#fff;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 600 !important;
  letter-spacing: 0.2px;
}

/* =============================== */
/* LOAD MORE BUTTON (BOLD TAMBÉM)  */
/* =============================== */

.load-more {
  display:flex;
  justify-content:center;
  margin:25px 0;
}

.load-more button {
  padding:12px 30px;
  font-size:18px;
  cursor:pointer;
  border:none;
  border-radius:50px;
  color:#fff;
  background:#1C61FF;
  transition:0.3s;
  font-weight: 800 !important;
  letter-spacing: 0.2px;
}

.load-more button:hover {
  background:#0e3fbd;
  transform:scale(1.05);
}

/* =============================== */
/* BOTTOM NAVIGATION                */
/* =============================== */

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: rgba(0,0,0,0.60);
  backdrop-filter: blur(10px);
  border-top: none;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 9999;
}

.bottom-nav__link {
  color:#bbb;
  font-size:23px;
  transition:0.3s;
}

.bottom-nav__link.active,
.bottom-nav__link:hover {
  color:#1C61FF;
}

/* Esconde no desktop */
@media (min-width:768px) {
  .bottom-nav {
    display:none;
  }
}

/* Evita que o conteúdo ocupe o mesmo espaço da bottom-nav */
body {
  padding-bottom: 80px;
}

/* =============================== */
/* MOBILE GRID FIX                 */
/* =============================== */

@media (max-width:600px) {
  .apps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .app-card {
    width:95%;
    padding:12px;
  }
}

/* =============================== */
/* BACK TOP                */
/* =============================== */

        #scrollTopBtn {
            display: none; /* Esconde o botão por padrão */
            position: fixed; /* Fixa o botão na tela */
            bottom: 70px; /* Acima da Bottom Navigation */
            right: 20px;
            z-index: 1000; 
            background-color: rgba(255, 255, 255, 0.2);
            color:#1C61FF;
            border: none;
            border-radius: 50%;
            padding: 10px 14px;
            font-size: 20px;
            cursor: pointer;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            transition: background-color 0.3s, opacity 0.3s;
        }

        #scrollTopBtn:hover {
            background-color: rgba(255, 255, 255, 0.4);
        }