* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  min-height: 100%;
  background: #000;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

/* ======================================================
   HEADER
====================================================== */

.header {
  width: 100%;
  background: #000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 30px;
}

.brand-text {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1px;
}

/* menu superior (desktop) */
.top-nav {
  display: none;
}

.top-nav a {
  color: #cfd6ff;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}

.top-nav a:hover {
  color: #fff;
}

/* ======================================================
   SEARCH
====================================================== */

.search-wrapper {
  width: 100%;
  padding: 0 16px;
  margin: 20px auto 0;
  position: relative;
}

.search-wrapper input {
  width: 100%;
  padding: 16px 52px 16px 20px;
  border-radius: 30px;
  border: none;
  background: #151a24;
  color: #fff;
  font-size: 14px;
}

.search-wrapper i {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  color: #cfd6ff;
}

/* ======================================================
   TAGS (MOBILE – SCROLL)
====================================================== */

.tags-wrapper {
  position: relative;
  overflow: hidden;
  margin: 22px 0 26px;
  width: 100%;
}

.tags {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 16px;
  scrollbar-width: none;
}

.tags::-webkit-scrollbar {
  display: none;
}

.tag {
  background: #151a24;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 11px;
  white-space: nowrap;
  cursor: pointer;
}

.tag.active {
  background: #4c5cff;
}

/* fade lateral */
.fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  pointer-events: none;
  z-index: 2;
}

.fade.left {
  left: 0;
  background: linear-gradient(to right, #000, transparent);
}

.fade.right {
  right: 0;
  background: linear-gradient(to left, #000, transparent);
}

/* ======================================================
   CONTENT / GRID
====================================================== */

.content {
  width: 100%;
  padding: 28px 16px 60px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

/* ======================================================
   CARD
====================================================== */

.card {
  background: #11151f;
  border-radius: 22px;
  padding: 22px 18px;
  text-align: center;
}

.card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}

.watch img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 16px;
}

/* ======================================================
   PLAY STORE BUTTON
====================================================== */

.store a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2a3040;
  padding: 12px 18px;
  border-radius: 16px;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.store img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ======================================================
   LOAD MORE
====================================================== */

.load-more {
  margin: 36px auto 0;
  display: block;
  padding: 14px 36px;
  border-radius: 30px;
  border: none;
  background: #4c5cff;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}

/* ======================================================
   BOTTOM NAV (MOBILE – BLUR)
====================================================== */

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;

  display: flex;
  justify-content: space-around;
  align-items: center;

  background: rgba(10, 10, 14, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  z-index: 20;
}

.bottom-nav i {
  font-size: 22px;
  color: #cfd6ff;
}

.bottom-nav i.active {
  color: #4c5cff;
}

/* ======================================================
   DESKTOP
====================================================== */

@media (min-width: 1024px) {

  .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    justify-content: space-between;
  }

  .top-nav {
    display: flex;
    gap: 22px;
  }

  .search-wrapper,
  .content {
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
  }

  .grid {
    grid-template-columns: repeat(3, 320px);
    justify-content: center;
    gap: 36px;
  }

  .card {
    width: 320px;
  }

  .bottom-nav {
    display: none;
  }
}

/* ======================================================
   MOBILE — AJUSTES
====================================================== */

@media (max-width: 600px) {

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .card {
    padding: 18px 14px;
  }

  .watch img {
    width: 130px;
    height: 130px;
  }

  .content {
    padding-top: 10px;
  }
}

/* ======================================================
   FOOTER SOCIAL
====================================================== */

.site-footer {
  background: #000;
  padding: 40px 20px 70px;
  text-align: center;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 24px;
}

.footer-icons a {
  color: #f2f4ff;
  font-size: 26px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-icons a:hover {
  color: #4c5cff;
  transform: translateY(-2px);
}

.footer-text p {
  font-size: 14px;
  color: #7a7a7a;
}

/* MOBILE FOOTER */
@media (max-width: 768px) {
  .site-footer {
    padding-bottom: 100px;
  }

  .footer-icons a {
    font-size: 24px;
  }

  .footer-text p {
    font-size: 13px;
  }
}

/* ======================================================
   DESKTOP FIXED TAGS
====================================================== */

.desktop-tags {
  display: none;
}

@media (min-width: 1024px) {

  .tags-wrapper {
    display: none;
  }

  .desktop-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 1040px;
    margin: 26px auto 34px;
    padding: 0 16px;
  }

  .desktop-tags .tag {
    font-size: 12px;
    padding: 8px 14px;
    cursor: pointer;
  }

  .desktop-tags .tag:hover,
  .desktop-tags .tag.active {
    background: #4c5cff;
  }
}

/* ======================================================
   FOOTER SOCIAL
====================================================== */

.site-footer {
  background: #000;
  padding: 5px 20px 70px;
  text-align: center;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 24px;
}

.footer-icons a {
  color: #f2f4ff;
  font-size: 26px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-icons a:hover {
  color: #4c5cff;
  transform: translateY(-2px);
}

.footer-text p {
  font-size: 14px;
  color: #7a7a7a;
}

/* MOBILE FOOTER */
@media (max-width: 768px) {
  .site-footer {
    padding-bottom: 80px;
  }

  .footer-icons a {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .content {
    padding-bottom: 50px;
  }
}

/* ======================================================
   HERO SLIDER — CENTER + SIDE PREVIEW
====================================================== */

.hero-slider {
  width: 100%;
  position: relative;
  overflow: hidden;
  margin: 24px auto 20px;
}

.slider-track {
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.6s ease;
  will-change: transform;

  /* IMPORTANTE: evita bloquear cliques das setas */
  pointer-events: none;
}

.slide {
  flex: 0 0 auto;
  width: 78vw;
  max-width: 720px;

  border-radius: 22px;
  overflow: hidden;
  background: #11151f;

  pointer-events: auto; /* libera clique nos slides */
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* DESKTOP */
@media (min-width: 1024px) {
  .hero-slider {
    max-width: 1040px;
  }

  .slide {
    width: 680px;
  }
}

/* ======================================================
   SLIDER ARROWS — THICK CHEVRON STYLE
====================================================== */

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;

  width: 48px;
  height: 48px;

  border: none;
  border-radius: 50%;
  cursor: pointer;

  display: none;
  align-items: center;
  justify-content: center;

  background: rgba(15, 20, 35, 0.85);
  backdrop-filter: blur(6px);

  pointer-events: auto;
  transition: background 0.25s ease, transform 0.25s ease;
}

/* SVG CHEVRON */
.slider-arrow svg {
  width: 26px;
  height: 26px;

  fill: none;
  stroke: #ffffff;
  stroke-width: 4.5;              /* ESPESSURA GROSSA */
  stroke-linecap: round;          /* PONTAS ARREDONDADAS */
  stroke-linejoin: round;         /* JUNÇÃO ARREDONDADA */
}

/* HOVER */
.slider-arrow:hover {
  background: rgba(30, 45, 90, 0.95);
  transform: translateY(-50%) scale(1.1);
}

/* POSIÇÃO */
.slider-arrow.prev {
  left: 14px;
}

.slider-arrow.next {
  right: 14px;
}

/* DESKTOP ONLY */
@media (min-width: 1024px) {
  .slider-arrow {
    display: flex;
  }
}

/* ======================================================
   NOTION EMBED
====================================================== */
.notion-container {
  background: #11151f;
  border-radius: 18px;
  margin-bottom: 26px;
  overflow: hidden;
  width: 100%;
}

.notion-container iframe {
  width: 100%;
  height: 800px;
  border: none;
  display: block;
}

/* Ajuste de altura para celulares */
@media (max-width: 600px) {
  .notion-container iframe {
    height: 600px;
  }
}

/* ======================================================
   TABELA RESPONSIVA (ESTILO NOTION)
====================================================== */
.table-wrapper {
  background: #11151f;
  border-radius: 16px;
  padding: 20px;
  margin: 30px 0;
  overflow-x: auto; /* Torna a tabela responsiva no celular */
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.prado-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px; /* Garante que não fique espremida no celular */
}

.prado-table th {
  color: #8b94b6;
  font-weight: 600;
  font-size: 13px;
  padding: 12px 16px;
  border-bottom: 1px solid #2a2f42;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.prado-table td {
  padding: 16px;
  border-bottom: 1px solid #1c2133;
  color: #fff;
  font-size: 14px;
  vertical-align: middle;
}

.prado-table tr:last-child td {
  border-bottom: none;
}

/* Nome do App e Ícone */
.app-name-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

/* ======================================================
   APP STATUS TABLE
====================================================== */
.table-wrapper {
  background: #11151f;
  border-radius: 16px;
  padding: 20px;
  margin: 30px 0;
  overflow-x: auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.prado-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px;
}

.prado-table th {
  color: #8b94b6;
  font-weight: 600;
  font-size: 13px;
  padding: 12px 16px;
  border-bottom: 1px solid #2a2f42;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.prado-table td {
  padding: 16px;
  border-bottom: 1px solid #1c2133;
  color: #fff;
  font-size: 14px;
  vertical-align: middle;
}

.prado-table tr:last-child td {
  border-bottom: none;
}

.app-name-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

/* ======================================================
   STATUS TAGS (ESTILO NOTION)
====================================================== */
.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.tag-updated { background: rgba(46, 170, 110, 0.15); color: #4ade80; }
.tag-pending { background: rgba(234, 179, 8, 0.15); color: #facc15; }
.tag-bug { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.tag-review { background: rgba(168, 85, 247, 0.15); color: #c084fc; }

.table-link-btn {
  display: inline-block;
  background: #2a2f42;
  color: #cfd6ff;
  padding: 6px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.table-link-btn:hover {
  background: #4c5cff;
  color: #fff;
}

/* ======================================================
   MINIATURA DA WATCH FACE (THUMBNAIL)
====================================================== */
.app-thumbnail {
  width: 30px;  /* Tamanho reduzido (pode diminuir para 24px se quiser ainda mais pequeno) */
  height: 30px; /* Tem de ser igual à largura para manter a imagem redonda */
  border-radius: 50%; 
  object-fit: cover;
  background-color: #2a2f42; 
  border: 1px solid #2a2f42;
}

/* ======================================================
   TABELA RESPONSIVA EM MODO "CARD" (TELEMÓVEIS)
====================================================== */
@media (max-width: 768px) {
  /* Remove o fundo da "caixa" principal no mobile */
  .table-wrapper {
    background: transparent;
    padding: 0;
    box-shadow: none;
    margin: 10px 0;
  }

  .prado-table {
    min-width: 100%;
    display: block;
  }

  /* Esconde o cabeçalho (Watch Face, Status, Action) no mobile */
  .prado-table thead {
    display: none;
  }

  /* Transforma cada linha (tr) num cartão escuro */
  .prado-table tbody {
    display: block;
  }

  .prado-table tr {
    display: flex;
    flex-direction: column;
    background: #11151f;
    margin-bottom: 16px;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  }

  /* Organiza os itens dentro do cartão */
  .prado-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #1c2133; /* Linha divisória dentro do cartão */
  }

  /* Remove a linha divisória do último item (o botão) */
  .prado-table td:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-top: 8px;
  }

  /* Deixa o botão mais largo no telemóvel para facilitar o toque */
  .table-link-btn {
    width: 100%;
    text-align: center;
    padding: 10px;
    font-size: 14px;
  }
}

/* ======================================================
   ETIQUETA FREE (BADGE)
====================================================== */
.free-badge {
  background: #4ade80; /* Verde brilhante */
  color: #042f14; /* Verde muito escuro para contraste */
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: 8px;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ======================================================
   FILTROS DE STATUS COM ROLAGEM (MOBILE & DESKTOP)
====================================================== */
.status-filters {
  display: flex;
  flex-wrap: nowrap; /* Impede que os botões pulem de linha */
  gap: 12px;
  margin-bottom: 25px;
  overflow-x: auto; /* Ativa a rolagem horizontal */
  padding: 5px 2px 15px 2px; /* Espaço para não cortar a sombra ao rolar */
  -webkit-overflow-scrolling: touch; /* Rolagem suave no iPhone */
}

/* Esconde a barra de rolagem feia no Chrome/Safari/Edge */
.status-filters::-webkit-scrollbar {
  display: none;
}

/* Esconde a barra de rolagem no Firefox e IE */
.status-filters {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.filter-btn {
  background: #11151f;
  color: #8b94b6;
  border: 1px solid #2a2f42;
  padding: 10px 20px; /* Aumentei o tamanho aqui */
  border-radius: 25px;
  font-size: 14px; /* Aumentei a fonte */
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap; /* Garante que o texto do botão não quebre */
  flex-shrink: 0; /* Impede que o botão "esmague" para caber na tela */
}

.filter-btn:hover {
  border-color: #4c5cff;
  color: #fff;
}

/* Status Ativos */
.filter-btn.active[data-filter="all"] { background: #4c5cff; color: #fff; border-color: #4c5cff; }
.filter-btn.active[data-filter="updated"] { background: rgba(46, 170, 110, 0.2); color: #4ade80; border-color: #4ade80; }
.filter-btn.active[data-filter="pending"] { background: rgba(234, 179, 8, 0.2); color: #facc15; border-color: #facc15; }
.filter-btn.active[data-filter="review"] { background: rgba(168, 85, 247, 0.2); color: #c084fc; border-color: #c084fc; }
.filter-btn.active[data-filter="bug"] { background: rgba(239, 68, 68, 0.2); color: #f87171; border-color: #f87171; }

/* ======================================================
   AJUSTE DE FILTROS PARA MOBILE (ROLAGEM LATERAL)
====================================================== */
@media (max-width: 768px) {
  .status-filters {
    gap: 10px;
    padding-left: 10px; /* Dá um respiro no início da rolagem */
    margin-left: -10px; /* Alinha com a borda da tela se necessário */
    margin-right: -10px;
  }

  .filter-btn {
    padding: 10px 18px; /* Mantém um tamanho confortável para o toque */
    font-size: 13px;
  }
}

/* ======================================================
   PAGINAÇÃO (PAGINATION)
====================================================== */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-btn {
  background: #11151f;
  color: #fff;
  border: 1px solid #2a2f42;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.page-btn:hover:not(:disabled) {
  border-color: #4c5cff;
  background: #1c2133;
}

.page-btn.active {
  background: #4c5cff;
  border-color: #4c5cff;
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.page-info {
  color: #8b94b6;
  font-size: 14px;
}

.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 25px !important;
  margin-bottom: 30px;
  flex-wrap: wrap; /* Permite que os botões pulem de linha no mobile se necessário */
  padding: 0 10px;
}

.page-btn {
  background: #11151f;
  color: #fff;
  border: 1px solid #2a2f42;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  min-width: 40px; /* Garante que os botões não fiquem deformados */
  transition: all 0.2s ease;
}

/* Ajuste específico para ecrãs muito pequenos */
@media (max-width: 480px) {
  .page-btn {
    padding: 6px 10px;
    font-size: 12px;
    min-width: 35px;
  }
  .pagination-container {
    gap: 5px;
  }
}

.table-wrapper {
  margin-bottom: 5px !important;
}