/* =========================
   RESET GLOBAL
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   BODY
========================= */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
  min-height: 100vh;
  color: #ffffff;
  overflow-x: hidden;
}

/* =========================
   APP / MAIN
========================= */
.app {
  min-height: 100vh;
}

.main-content {
  padding-top: 50px;
}

/* =========================
   SCROLLBAR
========================= */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #00d4ff, #0099cc);
  border-radius: 4px;
}

/* =========================
   HEADER
========================= */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* =========================
   LOGO
========================= */
.logo-text {
  font-family: 'Orbitron', monospace;
  font-size: 1.8rem; /* levemente menor */
  font-weight: 800;
  background: linear-gradient(45deg, #00d4ff, #0099cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =========================
   HEADER ACTION (AVATAR)
========================= */
.header-action {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.user-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #00d4ff;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.user-avatar:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
}

/* =========================
   SECTION TITLE
========================= */
.section-title {
  font-family: 'Orbitron', monospace;
  font-size: 2.3rem; /* menor */
  font-weight: 800;
  text-align: center;
  margin-bottom: 2.5rem;
  background: linear-gradient(45deg, #00d4ff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 16px rgba(0, 212, 255, 0.5);
}

/* =========================
   PRODUCTS GRID (mais densa)
========================= */
.products-grid {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); /* menor */
  gap: 28px; /* menos espaço */
}

/* =========================
   PRODUCT CARD (COMPACTO)
========================= */
.product-card {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 16px;
  padding: 14px; /* menor */
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: #00d4ff;
  box-shadow: 0 12px 30px rgba(0, 212, 255, 0.15);
}

/* ID discreto */
.product-id {
  position: absolute;
  bottom: 1px;
  right: 14px;
  font-size: 0.7rem;
  opacity: 1;
  font-family: monospace;
  cursor: pointer;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.product-card:hover .product-id {
  opacity: 0.7;
  color: #00d4ff;
  text-shadow: 0px 0px 8px #00d4ff;
}

.product-id.copied {
  color: #00d4ff;
  opacity: 1;
}


/* =========================
   PRODUCT IMAGE
========================= */
.product-image-container {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  padding: 6px; /* menor */
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.25s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

/* =========================
   PRODUCT INFO
========================= */
.product-info {
  text-align: center;
}

.product-name {
  font-size: 1rem; /* menor */
  font-weight: 600;
  color: #00d4ff;
}

/* =========================
   STORE LINKS
========================= */
.store-links {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.store-logo {
  width: 36px; /* menor */
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.store-logo:hover {
  transform: translateY(-2px) scale(1.08);
  background: rgba(0, 212, 255, 0.18);
}

/* =========================
   FOOTER
========================= */
.footer {
  margin-top: 4rem;
  padding: 2.5rem 1.5rem;
  background: rgba(10, 10, 15, 0.95);
  border-top: 1px solid rgba(0, 212, 255, 0.15);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
