
:root {
  --bg: #07070b;
  --bg-2: #0b0b12;
  --panel: #11111a;
  --panel-2: #161622;
  --text: #f7f7fb;
  --muted: #a7a7b5;
  --pink: #ff2a9d;
  --purple: #8c34ff;
  --cyan: #20e0ff;
  --green: #25d366;
  --border: rgba(255,255,255,.10);
  --shadow-pink: 0 0 32px rgba(255,42,157,.20);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(140,52,255,.15), transparent 30%),
    radial-gradient(circle at 85% 12%, rgba(255,42,157,.11), transparent 28%),
    linear-gradient(180deg, var(--bg), #08080d 70%, #050507);
}

img {
  max-width: 100%;
  -webkit-user-drag: none;
  user-select: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7,7,11,.88);
  border-bottom: 1px solid rgba(255,42,157,.24);
  backdrop-filter: blur(16px);
}
.header-consoles {
  flex: 1;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  overflow: visible;
  padding: 8px 35px;
}

.header-consoles img {
  max-height: 78px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
	
  filter:
    drop-shadow(0 0 8px rgba(255, 42, 157, .25))
    drop-shadow(0 0 12px rgba(140, 52, 255, .18));

  transition:
    transform .25s ease,
    filter .25s ease;
}

.header-consoles img:hover {
  transform: translateY(-4px) scale(1.08);

  filter:
    drop-shadow(0 0 10px rgba(255, 42, 157, .55))
    drop-shadow(0 0 18px rgba(140, 52, 255, .30));
}
.header-inner {
  min-height: 132px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: 132px;
  height: 132px;
  object-fit: contain;
  display: block;
  filter:
    drop-shadow(0 0 12px rgba(255,42,157,.35))
    drop-shadow(0 0 20px rgba(140,52,255,.22));
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .025em;
  opacity: .88;
}

.main-nav a:hover {
  color: var(--pink);
  opacity: 1;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  color: white;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 24px;
}

/* HERO */

.hero {
  min-height: 580px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,42,157,.14);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .45;
  pointer-events: none;
  background:
    linear-gradient(rgba(140,52,255,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32,224,255,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 48px;
  align-items: center;
  padding-block: 56px;
}

.eyebrow {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .18em;
}

.hero h1 {
  margin: 12px 0 18px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: .96;
  letter-spacing: -.045em;
}

.hero h1 span {
  color: var(--pink);
  text-shadow: 0 0 24px rgba(255,42,157,.34);
}

.hero p {
  max-width: 650px;
  color: #d2d2dc;
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn-primary,
.btn-whatsapp,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  padding: 14px 18px;
  font-weight: 900;
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--pink), #c918ff);
  box-shadow: var(--shadow-pink);
}

.btn-whatsapp {
  color: white;
  background: rgba(37,211,102,.08);
  border: 1px solid rgba(37,211,102,.72);
  box-shadow: 0 0 20px rgba(37,211,102,.12);
}

.btn-whatsapp.small {
  padding: 11px 14px;
}

.btn-secondary {
  color: white;
  background: var(--panel);
  border: 1px solid var(--border);
}

.hero-logo-wrap {
  min-height: 430px;
  display: grid;
  place-items: center;
  position: relative;
}

.hero-logo-wrap::before {
  content: "";
  position: absolute;
  width: min(500px, 92%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,42,157,.12), rgba(140,52,255,.06) 40%, transparent 70%);
  filter: blur(3px);
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 0 15px rgba(255,42,157,.28))
    drop-shadow(0 0 32px rgba(140,52,255,.18));
}

/* BENEFÍCIOS */

.benefits {
  margin-top: -28px;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.benefits article {
  padding: 22px;
  border-radius: 15px;
  border: 1px solid var(--border);
  background: rgba(16,16,24,.96);
  box-shadow: 0 10px 35px rgba(0,0,0,.28);
}

.benefits strong {
  display: block;
  margin-bottom: 6px;
}

.benefits span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* SEÇÕES */

.section {
  padding-block: 76px 10px;
}

.section h2 {
  margin: 0;
  font-size: 32px;
}

.section-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.category-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-card {
  min-height: 150px;
  padding: 22px;
  text-align: left;
  color: white;
  border-radius: 16px;
  border: 1px solid rgba(255,42,157,.30);
  background:
    radial-gradient(circle at 80% 15%, rgba(140,52,255,.20), transparent 35%),
    linear-gradient(145deg, #171721, #0e0e15);
}

.category-card:hover {
  border-color: rgba(255,42,157,.72);
  box-shadow: var(--shadow-pink);
}

.category-icon {
  display: block;
  margin-bottom: 24px;
  font-size: 44px;
}

/* CATÁLOGO */

.catalog-tools {
  display: flex;
  gap: 10px;
}

#searchInput {
  width: 280px;
  padding: 13px 14px;
  color: white;
  outline: none;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #0f0f17;
}

#searchInput:focus {
  border-color: rgba(255,42,157,.62);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-card {
  overflow: hidden;
  border-radius: 17px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #171721, #0c0c12);
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
}

.product-photo-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: #0c0c12;
}

.product-photo-wrap::after {
  content: "BARAIO RETRO GAMES";
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  color: rgba(255,255,255,.58);
  text-shadow: 0 1px 5px rgba(0,0,0,.8);
  pointer-events: none;
}

.product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-photo-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 78px;
  background:
    radial-gradient(circle at 50% 40%, rgba(140,52,255,.24), transparent 42%),
    #101018;
}

.product-content {
  padding: 18px;
}

.product-code {
  color: #868696;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}

.product-card h3 {
  margin: 8px 0 5px;
  font-size: 19px;
}

.product-description {
  min-height: 42px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.product-condition {
  margin-top: 12px;
  color: #d7d7df;
  font-size: 13px;
}

.product-price {
  margin: 16px 0;
  color: var(--pink);
  font-size: 25px;
  font-weight: 900;
}

.product-card .btn-whatsapp {
  width: 100%;
}

.sold-badge,
.new-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.sold-badge {
  background: rgba(255,255,255,.88);
  color: #18181f;
}

.new-badge {
  background: var(--pink);
  color: white;
}

.product-card.is-sold .product-photo {
  filter: grayscale(.75) brightness(.65);
}

.empty-message {
  color: var(--muted);
  text-align: center;
  padding: 40px 0;
}

/* SOBRE */

.about {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 20px;
  padding-bottom: 80px;
}

.about > div {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(16,16,24,.86);
}

.about p {
  color: var(--muted);
  line-height: 1.7;
}

.about-note code {
  color: var(--cyan);
}

/* FOOTER */

footer {
  padding: 40px 0 26px;
  border-top: 1px solid var(--border);
  background: #060608;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap: 28px;
}

.footer-logo {
  width: 150px;
  height: auto;
}

.footer-grid p {
  margin: 8px 0;
  color: var(--muted);
  font-size: 14px;
}

.copyright {
  margin-top: 28px;
  padding-top: 20px;
  text-align: center;
  color: #777786;
  font-size: 13px;
  border-top: 1px solid var(--border);
}

.mobile-whatsapp {
  display: none;
}

/* RESPONSIVO */

@media (max-width: 980px) {
  .header-inner {
    min-height: 96px;
	.header-consoles {
    display: none;
}
  }

  .brand-logo {
    width: 92px;
    height: 92px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 96px;
    left: 16px;
    right: 16px;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #0b0b11;
    box-shadow: 0 18px 40px rgba(0,0,0,.45);
  }

  .main-nav.open {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 46px;
  }

  .hero-logo-wrap {
    min-height: 360px;
  }

  .hero-logo {
    width: min(470px, 92%);
  }

  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

  .header-inner {
    min-height: 82px;
  }

  .brand-logo {
    width: 78px;
    height: 78px;
  }

  .main-nav {
    top: 82px;
    left: 11px;
    right: 11px;
  }

  .hero-grid {
    padding-block: 32px 48px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-logo-wrap {
    min-height: 280px;
  }

  .hero-logo {
    width: min(360px, 96%);
  }

  .benefits {
    grid-template-columns: 1fr;
    margin-top: -18px;
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .category-card {
    min-height: 125px;
    padding: 16px;
  }

  .category-icon {
    font-size: 36px;
    margin-bottom: 18px;
  }

  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-tools {
    flex-direction: column;
  }

  #searchInput {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-photo-wrap {
    height: 280px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .mobile-whatsapp {
    display: block;
    position: fixed;
    z-index: 120;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 15px 18px;
    text-align: center;
    font-weight: 900;
    color: white;
    border: 1px solid var(--green);
    border-radius: 13px;
    background: #0e1d13;
    box-shadow: 0 0 24px rgba(37,211,102,.22);
	
  }

  footer {
    padding-bottom: 90px;
  }
}
