:root {
  --g-bg-0: #040615;
  --g-bg-1: #090d2b;
  --g-bg-2: #120a2f;
  --g-neon-cyan: #3cf8ff;
  --g-neon-blue: #4ea1ff;
  --g-neon-purple: #c867ff;
  --g-neon-green: #60ffb6;
  --g-text: #eef4ff;
  --g-muted: #9fb2d7;
  --g-panel: rgba(7, 12, 33, 0.75);
  --g-border: rgba(114, 163, 255, 0.35);
}

body.gamer-page {
  font-family: "Exo 2", "Segoe UI", sans-serif;
  color: var(--g-text);
  background:
    radial-gradient(1100px 560px at 85% 20%, rgba(99, 102, 241, 0.3), transparent 60%),
    radial-gradient(900px 520px at 12% 5%, rgba(0, 255, 214, 0.22), transparent 62%),
    linear-gradient(140deg, var(--g-bg-0), var(--g-bg-1) 45%, var(--g-bg-2));
}

.gamer-page .site-header {
  background: rgba(2, 9, 28, 0.92);
  border-bottom: 1px solid rgba(60, 248, 255, 0.25);
}

.gamer-page .main-nav a {
  color: #d7e7ff;
}

.gamer-page .main-nav a.active {
  color: var(--g-neon-cyan);
}

.gamer-hero {
  max-width: 1220px;
  margin: 24px auto 0;
  padding: 24px 16px 0;
}

.gamer-hero__panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--g-border);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.12)),
    radial-gradient(70% 120% at 70% 50%, rgba(58, 121, 255, 0.18), transparent 60%),
    linear-gradient(120deg, rgba(23, 38, 84, 0.8), rgba(30, 18, 78, 0.7));
  box-shadow:
    0 0 0 1px rgba(78, 161, 255, 0.1) inset,
    0 0 28px rgba(78, 161, 255, 0.25),
    0 0 40px rgba(200, 103, 255, 0.15);
}

.gamer-hero__content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
  padding: 30px;
}

.gamer-kicker {
  display: inline-block;
  font-family: "Orbitron", sans-serif;
  font-size: 14px;
  letter-spacing: 1.4px;
  color: var(--g-neon-green);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.gamer-title {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.05;
  background: linear-gradient(90deg, var(--g-neon-cyan), #8db5ff, var(--g-neon-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gamer-subtitle {
  margin: 14px 0 0;
  color: #d6e6ff;
  font-size: clamp(17px, 2.2vw, 37px);
}

.gamer-hero__art {
  min-height: 280px;
  border-radius: 14px;
  border: 1px solid rgba(99, 188, 255, 0.45);
  background:
    radial-gradient(55% 95% at 70% 50%, rgba(198, 86, 255, 0.38), transparent 60%),
    radial-gradient(65% 90% at 35% 50%, rgba(57, 209, 255, 0.33), transparent 58%),
    linear-gradient(140deg, rgba(4, 10, 28, 0.94), rgba(9, 15, 40, 0.94));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0 0 20px rgba(97, 218, 255, 0.2),
    inset 0 0 36px rgba(183, 102, 255, 0.15);
}

.gamer-hero__art img {
  width: min(92%, 360px);
  max-height: 260px;
  object-fit: contain;
  filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.5));
}

.gamer-toolbar {
  max-width: 1220px;
  margin: 20px auto 0;
  padding: 0 16px;
}

.gamer-toolbar__inner {
  border: 1px solid var(--g-border);
  border-radius: 16px;
  background: var(--g-panel);
  padding: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gamer-select,
.gamer-clear {
  border-radius: 12px;
  border: 1px solid rgba(132, 173, 255, 0.25);
  background: rgba(11, 19, 46, 0.85);
  color: #eaf3ff;
  font-weight: 700;
  padding: 12px 14px;
  min-width: 190px;
}

.gamer-clear {
  min-width: 170px;
  background: linear-gradient(120deg, rgba(0, 197, 255, 0.15), rgba(104, 84, 255, 0.18));
  border-color: rgba(79, 204, 255, 0.55);
  cursor: pointer;
}

.gamer-list-wrap {
  max-width: 1220px;
  margin: 18px auto 0;
  padding: 0 16px 26px;
}

.gamer-result {
  margin: 0 0 10px;
  color: var(--g-muted);
}

.gamer-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}

.g-card {
  position: relative;
  cursor: pointer;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(52, 214, 255, 0.14), transparent 56%),
    radial-gradient(120% 130% at 100% 100%, rgba(198, 94, 255, 0.14), transparent 58%),
    linear-gradient(165deg, rgba(8, 13, 34, 0.98), rgba(4, 9, 28, 0.98));
  border: 1px solid rgba(111, 150, 255, 0.5);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 12px 30px rgba(7, 16, 48, 0.55),
    0 0 28px rgba(55, 124, 255, 0.16);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.g-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(80% 45% at 10% 0%, rgba(76, 203, 255, 0.14), transparent 65%),
    radial-gradient(70% 50% at 95% 100%, rgba(201, 103, 255, 0.12), transparent 68%);
  mix-blend-mode: screen;
  opacity: 0.9;
}

.g-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(transparent 96%, rgba(131, 170, 255, 0.18) 100%),
    linear-gradient(90deg, transparent 96%, rgba(131, 170, 255, 0.14) 100%);
  background-size: 100% 28px, 28px 100%;
  opacity: 0.28;
}

.g-card:hover {
  transform: translateY(-4px);
  border-color: rgba(112, 215, 255, 0.55);
  box-shadow:
    0 16px 36px rgba(7, 16, 48, 0.62),
    0 0 34px rgba(44, 189, 255, 0.24),
    0 0 38px rgba(194, 95, 255, 0.18);
}

.g-card:hover::before {
  opacity: 0.95;
}

.g-card__media {
  position: relative;
  background:
    linear-gradient(120deg, rgba(26, 171, 255, 0.2) 0%, transparent 42%),
    linear-gradient(300deg, rgba(203, 92, 255, 0.22) 0%, transparent 44%),
    radial-gradient(60% 85% at 18% 50%, rgba(52, 230, 255, 0.35), transparent 67%),
    radial-gradient(55% 75% at 80% 54%, rgba(193, 84, 255, 0.34), transparent 65%),
    linear-gradient(140deg, #0f1738, #0b1231 52%, #070d27);
  min-height: 200px;
  aspect-ratio: 23 / 18;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.g-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.16), transparent 20%),
    radial-gradient(circle at 85% 82%, rgba(155, 102, 255, 0.18), transparent 24%);
  opacity: 0.7;
}

.g-card__media::after {
  content: none;
}

.g-card__media img {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 86%;
  max-height: 86%;
  object-fit: contain;
  object-position: center;
  filter:
    drop-shadow(0 8px 14px rgba(0, 0, 0, 0.38))
    drop-shadow(0 0 16px rgba(90, 196, 255, 0.2));
  transition: filter 0.2s ease, transform 0.2s ease;
}

.g-card__media img.img-portrait {
  max-width: 62%;
  max-height: 90%;
}

.g-card__media img.img-cutout {
  object-fit: contain;
}

.g-card__media img.img-has-scene {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.38);
}

.g-card__media img.img-tone-dark {
  filter:
    brightness(1.14)
    saturate(1.08)
    contrast(1.06)
    drop-shadow(0 10px 15px rgba(0, 0, 0, 0.42))
    drop-shadow(0 0 18px rgba(94, 206, 255, 0.24));
}

.g-card__media img.img-tone-light {
  filter:
    brightness(0.95)
    saturate(1.03)
    contrast(1.06)
    drop-shadow(0 9px 14px rgba(0, 0, 0, 0.35))
    drop-shadow(0 0 14px rgba(110, 196, 255, 0.18));
}

.g-card__media img.img-tone-flat {
  filter:
    brightness(1.04)
    saturate(1.2)
    contrast(1.08)
    drop-shadow(0 8px 14px rgba(0, 0, 0, 0.38))
    drop-shadow(0 0 16px rgba(90, 196, 255, 0.22));
}

.g-card__body {
  position: relative;
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background:
    linear-gradient(180deg, rgba(7, 14, 40, 0.82), rgba(5, 10, 30, 0.95)),
    radial-gradient(65% 40% at 80% 0%, rgba(104, 84, 255, 0.14), transparent 65%);
}

.g-card__body::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(120, 168, 255, 0.05) 0,
      rgba(120, 168, 255, 0.05) 1px,
      transparent 1px,
      transparent 22px
    );
  opacity: 0.22;
}

.g-card h3 {
  margin: 0 0 10px;
  font-size: 33px;
  font-family: "Orbitron", sans-serif;
  line-height: 1.12;
}

.g-specs {
  margin: 0 0 12px;
  padding-left: 18px;
  color: #bcd0f7;
  font-size: 19px;
  line-height: 1.45;
}

.g-price {
  margin-top: auto;
  font-size: 51px;
  font-weight: 900;
  color: #ffffff;
}

.g-installments {
  color: #b5c6ea;
  font-size: 24px;
  margin-top: 2px;
}

.g-actions {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.g-btn {
  border-radius: 10px;
  border: 1px solid rgba(136, 188, 255, 0.45);
  background: linear-gradient(125deg, rgba(14, 85, 255, 0.25), rgba(0, 201, 255, 0.25));
  color: #f6fbff;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  padding: 11px 10px;
  cursor: pointer;
}

.g-btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.cart-toggle-gamer {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  border: 1px solid rgba(136, 188, 255, 0.55);
  background: linear-gradient(135deg, rgba(10, 70, 255, 0.95), rgba(0, 183, 255, 0.95));
  color: #fff;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 800;
}

.cart-panel-gamer {
  position: fixed;
  right: -380px;
  top: 0;
  width: 360px;
  max-width: 90vw;
  height: 100vh;
  z-index: 1300;
  border-left: 1px solid rgba(136, 188, 255, 0.35);
  background: rgba(4, 9, 26, 0.96);
  color: #f2f7ff;
  padding: 14px;
  transition: right 0.24s ease;
  display: flex;
  flex-direction: column;
}

.cart-panel-gamer.open { right: 0; }
.cart-items-gamer { flex: 1; overflow: auto; display: grid; gap: 9px; }
.cart-item-gamer { display: flex; gap: 10px; border: 1px solid rgba(130, 167, 255, 0.35); border-radius: 10px; padding: 8px; }
.cart-item-gamer img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.cart-item-gamer .info { flex: 1; min-width: 0; }
.cart-item-gamer .info strong { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-gamer .info span { font-size: 12px; color: #b8c8e7; }
.cart-qtd-gamer { display: flex; align-items: center; gap: 6px; margin-top: 5px; }
.cart-qtd-gamer button, .cart-remove-gamer, .cart-close-gamer {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: 1px solid rgba(130, 167, 255, 0.35);
  background: rgba(26, 41, 78, 0.9);
  color: #fff;
}
.cart-remove-gamer, .cart-close-gamer { background: rgba(98, 25, 37, 0.9); border-color: rgba(255, 127, 147, 0.4); }
.cart-footer-gamer { border-top: 1px solid rgba(130, 167, 255, 0.35); margin-top: 10px; padding-top: 10px; }
.cart-total-gamer { display: flex; justify-content: space-between; margin-bottom: 10px; font-weight: 800; }
.btn-checkout-gamer, .btn-continue-gamer {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(130, 167, 255, 0.45);
  color: #fff;
  font-weight: 700;
  padding: 11px;
  cursor: pointer;
}
.btn-checkout-gamer { background: linear-gradient(135deg, #00b15d, #2ed976); }
.btn-continue-gamer { background: rgba(16, 34, 73, 0.85); margin-bottom: 8px; }

.cart-overlay-gamer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1250;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.cart-overlay-gamer.show {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 900px) {
  .gamer-hero__content {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .gamer-hero__art { min-height: 220px; }
  .gamer-select, .gamer-clear { width: 100%; min-width: 0; }
}

.gamer-page .site-footer {
  background: linear-gradient(160deg, rgba(2, 9, 28, 0.98), rgba(10, 12, 44, 0.98));
  border-top: 1px solid rgba(96, 178, 255, 0.28);
}

.gamer-page .footer-inner {
  color: #dbe9ff;
}

.gamer-page .footer-info h3,
.gamer-page .footer-info p,
.gamer-page .copyright {
  color: #c8d9f9;
}

.gamer-page .footer-info a {
  color: #7fe8ff;
}

.gamer-page .footer-info a:hover {
  color: #b3f3ff;
}

.gamer-page .btn-instagram {
  border-color: rgba(127, 232, 255, 0.5);
  color: #eaf5ff;
}
