/* ============================================================
   América do Sul RP — Loja VIP
   Paleta: verde floresta · dourado · prata · preto
   ============================================================ */

:root {
  --green-deep: #001a05;
  --green-dark: #0a2e0f;
  --green-mid: #1a5c24;
  --green-bright: #2d8a3e;
  --green-glow: rgba(45, 138, 62, 0.35);

  --gold: #ffd700;
  --gold-light: #ffe566;
  --gold-dark: #b8860b;
  --gold-muted: #8b6914;
  --gold-glow: rgba(255, 215, 0, 0.25);

  --silver: #c0c0c0;
  --silver-light: #e8e8e8;
  --silver-dark: #6b7280;

  --black: #000000;
  --bg-card: rgba(8, 22, 10, 0.92);
  --bg-card-hover: rgba(14, 38, 16, 0.96);
  --bg-overlay: rgba(0, 12, 3, 0.82);
  --border-gold: rgba(255, 215, 0, 0.35);
  --border-green: rgba(45, 138, 62, 0.4);

  --text-primary: #f0f0f0;
  --text-muted: #9ca3af;
  --text-gold: var(--gold-light);

  --radius: 12px;
  --radius-lg: 16px;
  --shadow-gold: 0 0 20px var(--gold-glow);
  --shadow-green: 0 0 30px var(--green-glow);
  --font-display: "Bebas Neue", "Impact", sans-serif;
  --font-body: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--green-deep);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Imagem de fundo — position fixed (sem background-attachment: fixed, que trava o scroll) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../public/images/background.png") center top / cover no-repeat;
  pointer-events: none;
  z-index: -3;
  transform: translateZ(0);
}

/* Overlay escuro — mantém cards e textos legíveis */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(45, 138, 62, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(0, 0, 0, 0.5), transparent 60%),
    linear-gradient(
      180deg,
      rgba(0, 15, 4, 0.72) 0%,
      rgba(0, 10, 2, 0.84) 45%,
      rgba(0, 5, 1, 0.9) 100%
    );
  pointer-events: none;
  z-index: -2;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--gold-light);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 18, 6, 0.97);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.header-accent {
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--green-bright) 20%,
    var(--gold) 50%,
    var(--green-bright) 80%,
    transparent 100%
  );
  opacity: 0.85;
}

@media (prefers-reduced-motion: no-preference) and (min-width: 769px) {
  .header-accent {
    background-size: 200% 100%;
    animation: header-shine 6s ease-in-out infinite;
  }
}

@keyframes header-shine {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: 0% 0; }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  min-height: 80px;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  max-width: min(520px, 55vw);
  transition: filter 0.25s, transform 0.25s;
}

.logo-link:hover {
  filter: brightness(1.08);
  transform: scale(1.02);
}

.logo-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 68px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 12px var(--gold-glow));
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  padding-left: 0.65rem;
  margin-left: 0.15rem;
  border-left: 1px solid rgba(255, 215, 0, 0.12);
}

.nav-categories {
  display: flex;
  gap: 0.2rem;
  flex-wrap: wrap;
  padding: 0.3rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: 1px solid transparent;
  color: var(--silver-light);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.nav-btn:hover {
  color: var(--gold-light);
  border-color: rgba(255, 215, 0, 0.35);
  background: rgba(255, 215, 0, 0.1);
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.15);
  transform: translateY(-1px);
}

.nav-btn.active {
  color: var(--black);
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow:
    0 0 20px rgba(255, 215, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.nav-btn--diamantes:hover:not(.active) {
  border-color: rgba(96, 165, 250, 0.45);
  background: rgba(59, 130, 246, 0.12);
  color: #93c5fd;
}

.nav-btn--vip:hover:not(.active) {
  border-color: rgba(255, 215, 0, 0.5);
  background: rgba(255, 215, 0, 0.12);
}

.nav-btn--veiculos:hover:not(.active) {
  border-color: rgba(248, 113, 113, 0.45);
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
}

.nav-btn--outros:hover:not(.active) {
  border-color: rgba(74, 222, 128, 0.4);
  background: rgba(34, 197, 94, 0.1);
  color: #86efac;
}

.nav-link-compras {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.52rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-light);
  text-decoration: none;
  border: 1px solid rgba(255, 215, 0, 0.45);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.14), rgba(26, 92, 36, 0.35));
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.12);
  transition: all 0.22s ease;
  white-space: nowrap;
}

.nav-link-compras:hover,
.nav-link-compras.active {
  color: var(--black);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #5865f2, #4752c4);
  border: 1px solid rgba(114, 137, 218, 0.6);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.52rem 1.05rem;
  border-radius: 999px;
  transition: all 0.22s ease;
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.35);
}

.btn-discord:hover {
  background: linear-gradient(135deg, #7289da, #5865f2);
  color: #fff;
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.5);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-size: 1.25rem;
  padding: 0.4rem 0.65rem;
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}

.menu-toggle:hover {
  background: rgba(255, 215, 0, 0.15);
  box-shadow: var(--shadow-gold);
}

.header-mobile-tools {
  display: none;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

/* ── Hero ── */
.hero {
  margin: 1.25rem auto 1.75rem;
  max-width: 1200px;
  padding: 0 1.25rem;
}

.hero-frame {
  position: relative;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-gold);
  box-shadow: var(--shadow-gold), var(--shadow-green);
  overflow: hidden;
  background: var(--green-dark);
  aspect-ratio: 8 / 3;
}

.hero-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.btn-ver-produtos {
  position: absolute;
  left: 50%;
  bottom: 2.5%;
  z-index: 2;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  width: clamp(108px, 14.5%, 188px);
  padding: 0.32rem 0.55rem;
  background: linear-gradient(180deg, #ffe566, #ffd700);
  color: #0a0a0a;
  font-family: var(--font-body);
  font-size: clamp(0.58rem, 0.95vw, 0.78rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: filter 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-ver-produtos:hover {
  color: #0a0a0a;
  filter: brightness(1.08);
  box-shadow: 0 3px 12px rgba(255, 215, 0, 0.45);
}

.btn-ver-produtos:active {
  filter: brightness(0.96);
}

#products-main {
  scroll-margin-top: 88px;
  min-height: 200px;
}

.catalog-loading,
.catalog-error {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.catalog-error {
  color: #f87171;
}

.hero-caption {
  margin-top: 0.85rem;
  padding: 1rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border-green);
  border-radius: var(--radius);
  text-align: center;
}

.hero-caption-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  letter-spacing: 0.06em;
  color: var(--gold-light);
  text-shadow: 0 0 12px var(--gold-glow);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.hero-caption-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  line-height: 1.45;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--silver-light);
  background: rgba(255, 215, 0, 0.06);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.hero-tag[data-category]:hover {
  background: rgba(255, 215, 0, 0.14);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.hero-tag--static {
  cursor: default;
}

@media (min-width: 769px) {
  .hero-caption-title,
  .hero-caption-sub {
    display: none;
  }

  .hero-caption {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
  }

  .hero-caption-sub {
    margin-bottom: 0;
  }

  .hero-tags {
    gap: 0.65rem;
  }

  .hero-tag {
    font-size: 0.82rem;
    padding: 0.4rem 0.9rem;
  }
}

/* ── Info bar ── */
.info-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-bottom: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-green);
  border-radius: var(--radius);
  transition: border-color 0.15s;
}

.info-card:hover {
  border-color: var(--border-gold);
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.08);
}

.info-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
}

.info-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.info-card-body strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.3;
}

.info-card-body span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.info-card-body code {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.78rem;
  color: var(--green-bright);
  background: rgba(45, 138, 62, 0.15);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

/* ── Products ── */
.section {
  padding: 1.35rem 1.35rem 1.75rem;
  margin-bottom: 1.75rem;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  scroll-margin-top: 96px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.35rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.35);
}

.section-title-block {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.section-icon-wrap {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0.06em;
  color: var(--gold-light);
  text-shadow: 0 0 14px var(--gold-glow);
  line-height: 1.1;
}

.section-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.section-count {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(255, 215, 0, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 215, 0, 0.35);
  letter-spacing: 0.03em;
}

/* Cores por categoria */
.section--diamantes .section-header {
  border-left: 4px solid #3b82f6;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.14), rgba(0, 0, 0, 0.2));
}

.section--diamantes .section-icon-wrap {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.2);
}

.section--vip .section-header {
  border-left: 4px solid var(--gold);
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.12), rgba(0, 0, 0, 0.2));
}

.section--vip .section-icon-wrap {
  background: rgba(255, 215, 0, 0.12);
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.2);
}

.section--veiculos .section-header {
  border-left: 4px solid #ef4444;
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.12), rgba(0, 0, 0, 0.2));
}

.section--veiculos .section-icon-wrap {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(248, 113, 113, 0.35);
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.18);
}

.section--outros .section-header {
  border-left: 4px solid var(--green-bright);
  background: linear-gradient(90deg, rgba(45, 138, 62, 0.14), rgba(0, 0, 0, 0.2));
}

.section--outros .section-icon-wrap {
  background: rgba(45, 138, 62, 0.15);
  border-color: rgba(74, 222, 128, 0.3);
  box-shadow: 0 0 18px rgba(45, 138, 62, 0.2);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.1rem;
}

.product-card {
  --card-accent: var(--gold);
  position: relative;
  background: rgba(10, 28, 12, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: border-color 0.15s ease;
  overflow: hidden;
  min-height: 100%;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--card-accent), transparent);
  opacity: 0.65;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--card-accent) 12%, transparent), transparent 55%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}

.product-card:hover {
  border-color: color-mix(in srgb, var(--card-accent) 45%, transparent);
}

@media (hover: hover) {
  .product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  }

  .product-card:hover::after {
    opacity: 1;
  }
}

.product-card--diamantes { --card-accent: #60a5fa; }
.product-card--vip { --card-accent: #ffd700; }
.product-card--veiculos { --card-accent: #f87171; }
.product-card--outros { --card-accent: #4ade80; }

.product-card-top {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.product-badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
}

.badge-popular {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #fff;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.35);
}

@media (prefers-reduced-motion: no-preference) and (min-width: 769px) {
  .badge-popular {
    animation: badge-glow 3s ease-in-out infinite;
  }
}

.badge-luxo {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  color: var(--black);
  box-shadow: var(--shadow-gold);
}

@keyframes badge-glow {
  0%, 100% { box-shadow: 0 0 10px rgba(239, 68, 68, 0.35); }
  50% { box-shadow: 0 0 18px rgba(239, 68, 68, 0.55); }
}

.product-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid color-mix(in srgb, var(--card-accent) 35%, transparent);
  border-radius: 12px;
  box-shadow: 0 0 16px color-mix(in srgb, var(--card-accent) 15%, transparent);
}

.product-info {
  flex: 1;
  min-width: 0;
}

.product-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--silver-light);
  line-height: 1.25;
  margin-bottom: 0.25rem;
}

.product-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.product-gems {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--green-bright);
  margin-top: 0.35rem;
  padding: 0.2rem 0.45rem;
  background: rgba(45, 138, 62, 0.12);
  border-radius: 4px;
  display: inline-block;
}

.product-footer {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.product-price {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: 0.04em;
  color: var(--gold-light);
  padding: 0.45rem 0.65rem;
  background: rgba(255, 215, 0, 0.07);
  border: 1px solid rgba(255, 215, 0, 0.22);
  border-radius: 10px;
}

.product-price small {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

.product-actions {
  display: flex;
  gap: 0.45rem;
  width: 100%;
}

.btn-add-cart {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.62rem 0.65rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
}

@media (hover: hover) {
  .btn-add-cart:hover {
    background: rgba(255, 215, 0, 0.1);
  }
}

.product-footer .btn-buy {
  flex: 1;
}

.btn-buy {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--black);
  border: none;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.62rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(255, 215, 0, 0.3);
}

.btn-buy:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn-buy:active {
  transform: translateY(0);
}

/* ── Modal checkout ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: linear-gradient(160deg, var(--green-dark), var(--green-deep));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 440px;
  padding: 1.75rem;
  box-shadow: var(--shadow-gold), 0 20px 60px rgba(0, 0, 0, 0.6);
  transform: translateY(20px);
  transition: transform 0.25s;
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.modal-close {
  background: none;
  border: 1px solid var(--border-gold);
  color: var(--gold);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close:hover {
  background: rgba(255, 215, 0, 0.1);
}

.modal-product {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-green);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.modal-product-name {
  font-weight: 700;
  color: var(--silver-light);
  margin-bottom: 0.25rem;
}

.modal-product-price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--gold);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--silver);
  margin-bottom: 0.4rem;
}

.form-group input {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-green);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.btn-checkout {
  width: 100%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--black);
  border: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 0.5rem;
}

.btn-checkout:hover {
  box-shadow: var(--shadow-gold);
}

.btn-checkout:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.checkout-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.75rem;
  line-height: 1.4;
}

/* ── Footer ── */
.footer {
  background: rgba(0, 5, 1, 0.95);
  border-top: 1px solid var(--border-gold);
  padding: 2rem 0;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-logo {
  height: 40px;
  opacity: 0.9;
}

.footer-text {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--silver);
}

.footer-links a:hover {
  color: var(--gold);
}

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--green-dark);
  border: 1px solid var(--border-gold);
  color: var(--text-primary);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-gold);
  z-index: 300;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s;
  max-width: 360px;
  font-size: 0.875rem;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  border-color: var(--green-bright);
}

.toast.info {
  border-color: var(--gold);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  body::before {
    background-attachment: scroll;
    background-position: center center;
  }

  .container {
    padding: 0 1rem;
  }

  .header {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .logo-link {
    max-width: min(220px, 55vw);
    min-width: 0;
  }

  .logo-img {
    max-height: 44px;
  }

  .header-inner {
    min-height: 60px;
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .header-mobile-tools {
    display: flex;
    margin-left: auto;
  }

  .menu-toggle {
    display: block;
  }

  .btn-cart-nav {
    display: none;
  }

  .header-nav {
    position: fixed;
    top: calc(60px + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 10, 2, 0.98);
    border-bottom: 1px solid var(--border-gold);
    flex-direction: column;
    padding: 1rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    overflow-y: auto;
    z-index: 99;
    align-items: stretch;
  }

  .header-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-categories {
    flex-direction: column;
    width: 100%;
    border-radius: var(--radius);
    padding: 0.5rem;
  }

  .nav-btn {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    padding: 0.75rem 1rem;
    border-radius: 10px;
  }

  .header-actions {
    flex-direction: column;
    width: 100%;
    margin-top: 0.5rem;
    margin-left: 0;
    padding-left: 0;
    padding-top: 0.75rem;
    border-left: none;
    border-top: 1px solid rgba(255, 215, 0, 0.12);
  }

  .nav-link-compras {
    width: 100%;
    justify-content: center;
  }

  .btn-discord {
    width: 100%;
    justify-content: center;
  }

  .hero {
    margin: 1rem auto 1.25rem;
    padding: 0 1rem;
  }

  .hero-frame {
    aspect-ratio: 16 / 10;
    border-radius: var(--radius);
  }

  .btn-ver-produtos {
    bottom: 3.5%;
    width: clamp(96px, 36%, 160px);
    font-size: clamp(0.52rem, 2.8vw, 0.68rem);
    padding: 0.28rem 0.45rem;
  }

  .hero-caption {
    padding: 0.9rem 1rem;
  }

  .hero-caption-title {
    display: block;
    font-size: clamp(1.35rem, 6vw, 1.65rem);
  }

  .hero-caption-sub {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
  }

  .hero-tags {
    gap: 0.4rem;
  }

  .hero-tag {
    font-size: 0.72rem;
    padding: 0.3rem 0.6rem;
    white-space: normal;
    text-align: center;
  }

  .info-bar {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
  }

  .info-card {
    padding: 0.9rem 1rem;
  }

  .info-card-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .info-card-body strong {
    font-size: 0.88rem;
  }

  .info-card-body span {
    font-size: 0.78rem;
  }

  .section {
    padding: 1rem;
    margin-bottom: 1.25rem;
  }

  .section-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding: 0.85rem;
  }

  .section-title-block {
    gap: 0.65rem;
  }

  .section-icon-wrap {
    width: 44px;
    height: 44px;
    font-size: 1.35rem;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .section-subtitle {
    font-size: 0.76rem;
  }

  .section-count {
    align-self: flex-start;
  }

  .product-card-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .product-info {
    width: 100%;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .product-card {
    padding: 1rem;
  }

  .product-actions {
    flex-direction: column;
  }

  .product-actions .btn-add-cart,
  .product-actions .btn-buy {
    width: 100%;
    text-align: center;
  }

  .modal {
    padding: 1.25rem;
    max-height: 90vh;
    overflow-y: auto;
  }

  .footer {
    padding: 1.5rem 0 calc(1.5rem + env(safe-area-inset-bottom));
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .toast {
    left: 1rem;
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom));
    max-width: none;
  }
}

@media (min-width: 769px) {
  .header-mobile-tools .btn-cart {
    display: none;
  }
}

@media (max-width: 900px) and (min-width: 769px) {
  .info-bar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .hero-tags {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }

  .hero-caption-title {
    font-size: 1.25rem;
  }

  .product-price {
    font-size: 1.35rem;
  }
}

/* ── Performance ── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
