/* ===== RESET E BASE ===== */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

:root {
  --bg:#0f0a1a;
  --panel:#1a1130;
  --panel-2:#22163d;
  --ink:#ede6ff;
  --muted:#b8a9d6;
  --line:#2f224e;
  --brand:#7c3aed;
  --brand-2:#9b5cf5;
}

/* ===== FUNDO E TIPOGRAFIA ===== */
body {
  background: radial-gradient(1100px 700px at 50% -10%, #1b1140, #0f0a1a);
  color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Inter, Roboto, Arial, sans-serif;
}

.wrap {
  width: min(560px, 92vw);
  margin-inline: auto;
  padding: 18px 0 28px;
}

/* ===== LOGO / HEADER ===== */
.logo {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 6px;
  margin-bottom: 14px;
}

.logo .mark {
  width: 56px;
  height: 56px;
  fill: none;
  stroke: var(--brand-2);
}

.logo h1 {
  margin: 0;
  font-weight: 900;
  letter-spacing: .4px;
}

.logo p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

/* ===== BLOCO INTRO / TEXTO DO SITE ===== */
.intro {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 14px 14px 10px;
  margin-bottom: 14px;
  color: var(--ink);
  box-shadow: 0 2px 8px #0007;
}

.intro h2 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 900;
}

.intro p {
  margin: 4px 0;
  font-size: 14px;
  color: var(--muted);
}

/* ===== LISTA DE CATEGORIAS ===== */
.links {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.link-card {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 18px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: .3px;
  box-shadow: inset 0 1px 0 #ffffff0d, 0 2px 10px #0006;
  isolation: isolate;
}

.link-card .btn-label {
  z-index: 2;
}

.link-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000;
  opacity: .35;
  transition: opacity .2s ease;
}

.link-card:hover::after,
.link-card:focus-visible::after {
  opacity: 0;
}

.preview-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  filter: blur(2px) saturate(1.1);
  transform: scale(1.05);
  transition: opacity .2s ease, transform .2s ease;
  opacity: .25;
}

.link-card:hover .preview-image {
  transform: scale(1.02);
  opacity: .4;
}

/* ===== CORES DAS CATEGORIAS ===== */
.casa { background: linear-gradient(180deg, #301a57, #251646); }
.beleza { background: linear-gradient(180deg, #3a1b4d, #2c123d); }
.roupas { background: linear-gradient(180deg, #361a64, #2b1350); }
.livros { background: linear-gradient(180deg, #2e165c, #231048); }

/* ===== TÍTULO DE CATEGORIA ===== */
.bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.bar h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}

.back {
  color: var(--ink);
  text-decoration: none;
  font-size: 18px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

/* ===== LISTA DE PRODUTOS ===== */
.list {
  display: grid;
  gap: 14px;
}

.item {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  display: grid;
  gap: 10px;
  box-shadow: 0 2px 8px #0004;
}

.item-img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  max-height: 220px;
}

.item-title {
  font-weight: 900;
  font-size: 15px;
}

.item-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  gap: 8px;
  flex-wrap: wrap;
}

/* ===== BOTÕES DAS LOJAS ===== */
.item-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
}

.primary {
  background: var(--brand-2);
}

.shopee {
  background: #ee4d2d;
}

.aliexpress {
  background: #ff6a00;
}

.amazon {
  background: #232f3e;
}

/* ===== FOOTER ===== */
.footer {
  color: var(--muted);
  text-align: center;
  padding: 18px 0;
  font-size: 12px;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}
.ad-center {
  text-align: center;
  width: 100%;
  margin: 16px 0;
}