:root {
  --bg: #08101c;
  --bg-2: #0b1728;
  --panel: #101f35;
  --panel-soft: #122743;
  --text: #eff4ff;
  --muted: #97a9c4;
  --line: rgba(159, 183, 214, 0.22);
  --brand: #ff9f40;
  --brand-2: #ffce6a;
  --accent: #3ec0ff;
  --success: #67f2c4;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  scroll-behavior: auto;
}

body {
  margin: 0;
  padding: 0;
  color: var(--text);
  font-family: "Archivo", sans-serif;
  background:
    radial-gradient(circle at 0% -10%, rgba(62, 192, 255, 0.18), transparent 35%),
    radial-gradient(circle at 102% 0%, rgba(255, 159, 64, 0.18), transparent 38%),
    linear-gradient(140deg, var(--bg) 0%, var(--bg-2) 58%, #091427 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  opacity: 0.08;
  background-image: radial-gradient(rgba(255, 255, 255, 0.5) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
}

.orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(92px);
  pointer-events: none;
  z-index: -2;
}

.orb-one {
  width: 320px;
  height: 320px;
  top: 8%;
  left: -100px;
  background: rgba(62, 192, 255, 0.3);
}

.orb-two {
  width: 340px;
  height: 340px;
  bottom: -12%;
  right: -90px;
  background: rgba(255, 159, 64, 0.26);
}

.flash-stack {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, calc(100% - 2rem));
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  z-index: 120;
  pointer-events: none;
}

.flash-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: start;
  padding: 0.78rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(159, 183, 214, 0.3);
  background: linear-gradient(140deg, rgba(16, 31, 53, 0.96), rgba(10, 20, 36, 0.96));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.38);
  transform: translateY(-6px);
  opacity: 0;
  animation: flash-in 220ms ease forwards;
  pointer-events: auto;
}

.flash-card.flash-out {
  animation: flash-out 220ms ease forwards;
}

.flash-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  color: #fff;
}

.flash-content {
  min-width: 0;
}

.flash-title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #e4f0ff;
}

.flash-text {
  margin: 0.2rem 0 0;
  font-size: 0.86rem;
  line-height: 1.35;
  color: #d2e3fa;
  word-break: normal;
  overflow-wrap: anywhere;
  white-space: normal;
}

.flash-close {
  border: 0;
  background: transparent;
  color: #97b0cf;
  cursor: pointer;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.flash-close:hover {
  background: rgba(159, 183, 214, 0.14);
  color: #e7f0ff;
}

.flash-error {
  border-color: rgba(246, 108, 108, 0.45);
}

.flash-error .flash-icon {
  background: linear-gradient(145deg, #f56f6f, #ff8d8d);
}

.flash-success {
  border-color: rgba(86, 226, 170, 0.42);
}

.flash-success .flash-icon {
  background: linear-gradient(145deg, #40cf9f, #67f2c4);
}

.flash-info {
  border-color: rgba(80, 174, 255, 0.42);
}

.flash-info .flash-icon {
  background: linear-gradient(145deg, #2e8fff, #66bbff);
}

@keyframes flash-in {
  from {
    transform: translateY(-8px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes flash-out {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-8px);
    opacity: 0;
  }
}

.container {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(6, 12, 21, 0.88);
  border-bottom: 1px solid rgba(151, 171, 198, 0.22);
}

.promo-line {
  border-bottom: 1px solid rgba(148, 171, 202, 0.2);
  background: linear-gradient(90deg, rgba(255, 159, 64, 0.15), rgba(62, 192, 255, 0.13));
}

.promo-inner {
  min-height: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.promo-inner p {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  color: #d4e5ff;
}

.promo-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  text-decoration: none;
  color: #e6f1ff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.34rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(159, 183, 214, 0.35);
  background: rgba(8, 18, 32, 0.45);
  transition: all 0.2s ease;
}

.promo-home-btn i {
  font-size: 0.72rem;
}

.promo-home-btn:hover {
  background: rgba(12, 24, 42, 0.75);
  border-color: rgba(159, 183, 214, 0.55);
  transform: translateX(-1px);
}

.wishlist-section {
  padding: 48px 20px 60px;
}

.wishlist-top-left {
  display: flex;
  justify-content: flex-start;
}

.wishlist-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.46rem;
  text-decoration: none;
  color: #e6f1ff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(159, 183, 214, 0.35);
  background: rgba(8, 18, 32, 0.45);
  transition: all 0.2s ease;
}

.wishlist-back-btn i {
  font-size: 0.72rem;
}

.wishlist-back-btn:hover {
  background: rgba(12, 24, 42, 0.75);
  border-color: rgba(159, 183, 214, 0.55);
  transform: translateX(-1px);
}

.wishlist-empty-state {
  text-align: center;
  margin-top: 14px;
}

.wishlist-empty-state p {
  color: #9fb4d1;
  margin-top: 20px;
}

.wishlist-cta-row {
  margin-top: 34px;
}

.nav-main {
  padding: 0.9rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
  flex-shrink: 0;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #291507;
  font-family: "Urbanist", sans-serif;
  font-weight: 900;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
}

.logo-text {
  font-family: "Urbanist", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.search {
  flex: 1;
  display: flex;
  gap: 0.55rem;
}

.search input {
  flex: 1;
  border: 1px solid var(--line);
  background: rgba(10, 22, 39, 0.95);
  color: var(--text);
  border-radius: 12px;
  padding: 0.77rem 0.95rem;
  outline: none;
}

.search input::placeholder {
  color: #86a4c8;
}

.search button {
  border: 0;
  border-radius: 12px;
  padding: 0.77rem 1.05rem;
  font-weight: 700;
  color: #271607;
  background: linear-gradient(140deg, var(--brand), var(--brand-2));
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(255, 159, 64, 0.3);
}

.search button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 159, 64, 0.4);
  filter: brightness(1.05);
}

.search button:active {
  transform: translateY(0);
}

.search button.icon-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 10px;
  background: rgba(62, 192, 255, 0.08);
  border: 1px solid rgba(159, 183, 214, 0.3);
  color: #d4e5ff;
  box-shadow: none;
  font-weight: normal;
}

.search button.icon-btn:hover {
  background: rgba(62, 192, 255, 0.15);
  border-color: rgba(159, 183, 214, 0.5);
  box-shadow: none;
  filter: none;
}

.search button.icon-btn:active {
  transform: translateY(0);
}

.quick-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: nowrap;
}

.nav-link {
  text-decoration: none;
  color: #b0c4dd;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  transition: all 0.25s ease;
  display: inline-block;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(62, 192, 255, 0.15);
}

.btn-nav {
  text-decoration: none;
  color: #2a1707;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.55rem 0.95rem;
  border-radius: 10px;
  border: 0;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  transition: all 0.25s ease;
  display: inline-block;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 15px rgba(255, 159, 64, 0.3);
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 159, 64, 0.4);
  filter: brightness(1.05);
}

.btn-nav:active {
  transform: translateY(0);
}

.user-name {
  background: rgba(255, 159, 64, 0.15);
  color: #ffcc8b !important;
  border: 1px solid rgba(255, 159, 64, 0.3);
}

.user-name:hover {
  background: rgba(255, 159, 64, 0.25);
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(159, 183, 214, 0.3);
  background: rgba(62, 192, 255, 0.08);
  color: #d4e5ff;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 1.2rem;
  line-height: 1;
}

.icon-btn:hover {
  background: rgba(62, 192, 255, 0.15);
  border-color: rgba(159, 183, 214, 0.5);
  transform: translateY(-2px);
}

.icon-btn:active {
  transform: translateY(0);
}

.icon-btn.cart {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  color: #2a1707;
  font-size: 0.7rem;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(255, 159, 64, 0.4);
}

.btn-signin {
  border: 0;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  color: #2a1707;
  padding: 0.58rem 1.15rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  box-shadow: 0 4px 15px rgba(255, 159, 64, 0.3);
}

.btn-signin:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 159, 64, 0.4);
  filter: brightness(1.05);
}

.btn-signin:active {
  transform: translateY(0);
}

.btn-logout {
  display: inline-block;
  background: linear-gradient(145deg, #ff6b5b, #ff8870);
  color: #fff;
  padding: 0.58rem 1.15rem;
  border-radius: 10px;
  border: 0;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 91, 0.3);
}

.btn-logout:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 91, 0.4);
  filter: brightness(1.05);
}

.cart-pill {
  color: #2a1707;
  border: 0;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  border-radius: 10px;
  padding: 0.58rem 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 15px rgba(255, 159, 64, 0.3);
}

.cart-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 159, 64, 0.4);
  filter: brightness(1.05);
}

.cart-pill:active {
  transform: translateY(0);
}

.cart-pill span {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 159, 64, 0.3);
  font-size: 0.75rem;
  font-weight: 800;
}

.auth-dropdown {
  position: relative;
}

.auth-menu {
  position: absolute;
  top: 100%;
  right: -1rem;
  margin-top: 0.65rem;
  width: 300px;
  max-height: min(78vh, 620px);
  overflow-y: auto;
  background: linear-gradient(150deg, rgba(18, 32, 58, 0.98), rgba(11, 21, 37, 0.98));
  border: 1px solid rgba(159, 183, 214, 0.25);
  border-radius: 14px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
  display: none;
  flex-direction: column;
  z-index: 100;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, pointer-events 0.2s ease;
}

.auth-dropdown.active .auth-menu {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.auth-header {
  padding: 0.88rem;
  border-bottom: 1px solid rgba(159, 183, 214, 0.15);
}

.auth-header p {
  margin: 0;
  color: #d4e5ff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.auth-social {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  padding: 0.88rem;
}

.auth-more-section {
  padding: 0 0.88rem 0.88rem;
}

.auth-more-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: rgba(11, 24, 39, 0.72);
  color: #b9cce6;
  border: 1px solid rgba(159, 183, 214, 0.25);
  border-radius: 10px;
  padding: 0.58rem 0.72rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-more-toggle:hover {
  background: rgba(15, 30, 48, 0.88);
  border-color: rgba(159, 183, 214, 0.4);
}

.auth-more-toggle i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.auth-more-section.expanded .auth-more-toggle i {
  transform: rotate(180deg);
}

.auth-more-list {
  margin-top: 0.55rem;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.auth-more-section.expanded .auth-more-list {
  display: grid;
}

.auth-chip {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.55rem;
  border-radius: 9px;
  border: 1px solid rgba(159, 183, 214, 0.2);
  background: rgba(11, 24, 39, 0.8);
  color: #d4e5ff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.auth-chip i {
  width: 14px;
  text-align: center;
  font-size: 0.9rem;
}

.auth-chip-mark {
  width: 14px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}

.auth-chip:hover {
  background: rgba(15, 30, 48, 0.9);
  border-color: rgba(159, 183, 214, 0.4);
  transform: translateY(-1px);
}

.auth-chip.facebook i { color: #1877f2; }
.auth-chip.discord i { color: #5865f2; }
.auth-chip.github i { color: #e8eef8; }
.auth-chip.microsoft i { color: #4cc2ff; }
.auth-chip.apple i { color: #e8eef8; }
.auth-chip.linkedin i { color: #0a66c2; }
.auth-chip.reddit i { color: #ff5700; }
.auth-chip.x i { color: #e8eef8; }
.auth-chip.amazon i { color: #ff9900; }
.auth-chip.yahoo i { color: #7b0fff; }
.auth-chip.x .auth-chip-mark { color: #e8eef8; }

.auth-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.42rem;
  padding: 0.75rem;
  border-radius: 11px;
  border: 1px solid rgba(159, 183, 214, 0.2);
  background: rgba(11, 24, 39, 0.8);
  text-decoration: none;
  color: #d4e5ff;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
}

.auth-option:hover {
  border-color: rgba(159, 183, 214, 0.4);
  background: rgba(15, 30, 48, 0.9);
  transform: translateY(-2px);
}

.auth-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}

.auth-icon i {
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-option.google .auth-icon {
  background: linear-gradient(135deg, #ea4335 0%, #fbbc05 50%, #34a853 100%);
}

.auth-option.google .auth-icon i {
  color: #fff;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4));
}

.auth-option.facebook .auth-icon {
  background: #1877f2;
  color: #fff;
}

.auth-option.facebook .auth-icon i {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.auth-option.steam .auth-icon {
  background: #000;
}

.auth-option.steam .auth-icon i {
  color: #1b9fff;
  filter: drop-shadow(0 0 4px rgba(27, 153, 255, 0.6));
}

.auth-option.twitch .auth-icon {
  background: #9146ff;
  color: #fff;
}

.auth-option.twitch .auth-icon i {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.auth-option.paypal .auth-icon {
  background: linear-gradient(135deg, #003087, #009cde);
  color: #fff;
}

.auth-option.paypal .auth-icon i {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.auth-option.email .auth-icon {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #2a1707;
}

.auth-option.email .auth-icon i {
  color: #2a1707;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.auth-divider {
  height: 1px;
  background: rgba(159, 183, 214, 0.15);
}

.auth-email {
  padding: 0.88rem;
}

.auth-email .auth-option {
  flex-direction: row;
  width: 100%;
  gap: 0.55rem;
  padding: 0.68rem 0.75rem;
}

.auth-email .auth-icon {
  width: 28px;
  height: 28px;
  font-size: 0.9rem;
}

.auth-register {
  padding: 1rem 0.88rem;
  text-align: center;
}

.auth-register-text {
  margin: 0 0 0.7rem;
  color: #97a9c4;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.auth-register-btn {
  display: inline-block;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  color: #2a1707;
  padding: 0.58rem 1.15rem;
  border-radius: 10px;
  border: 0;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(255, 159, 64, 0.3);
}

.auth-register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 159, 64, 0.4);
  filter: brightness(1.05);
}

.auth-register-btn:active {
  transform: translateY(0);
}

.auth-footer {
  padding: 0.75rem 0.88rem;
  border-top: 1px solid rgba(159, 183, 214, 0.15);
}

.auth-footer p {
  margin: 0;
  font-size: 0.8rem;
  color: #a0b5d2;
  line-height: 1.4;
}

.auth-footer a {
  color: #9fd9ff;
  text-decoration: none;
  font-weight: 600;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.user-link {
  background: rgba(255, 159, 64, 0.12);
  border: 1px solid rgba(255, 159, 64, 0.3);
  border-radius: 8px;
  padding: 0.4rem 0.68rem;
  color: #ffcc8b !important;
}

.logout-btn {
  color: #ffcc8b !important;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.logout-btn:hover {
  color: #ffe5b4 !important;
}

/* User Dropdown Menu */
.user-dropdown {
  position: relative;
}

.btn-user {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.88rem;
  background: linear-gradient(145deg, rgba(62, 192, 255, 0.12), rgba(255, 159, 64, 0.08));
  border: 1px solid rgba(159, 183, 214, 0.3);
  border-radius: 10px;
  color: #d4e5ff;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  line-height: 1;
}

.btn-user:hover {
  background: linear-gradient(145deg, rgba(62, 192, 255, 0.18), rgba(255, 159, 64, 0.14));
  border-color: rgba(159, 183, 214, 0.5);
  transform: translateY(-1px);
}

.btn-user:active {
  transform: translateY(0);
}

.btn-user i:first-child {
  font-size: 1.2rem;
}

.btn-user i:last-child {
  font-size: 0.75rem;
  opacity: 0.7;
  transition: transform 0.25s ease;
}

.user-dropdown.active .btn-user i:last-child {
  transform: rotate(180deg);
}

.user-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.65rem;
  width: 280px;
  background: linear-gradient(150deg, rgba(18, 32, 58, 0.98), rgba(11, 21, 37, 0.98));
  border: 1px solid rgba(159, 183, 214, 0.25);
  border-radius: 14px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
  display: none;
  flex-direction: column;
  z-index: 100;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, pointer-events 0.2s ease;
}

.user-dropdown.active .user-menu {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.user-header {
  display: flex;
  align-items: center;
  gap: 0.88rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(159, 183, 214, 0.15);
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3ec0ff, #ff9f40);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  flex-shrink: 0;
}

.user-info {
  flex: 1;
  min-width: 0;
}

.user-name-display {
  margin: 0;
  color: #eff4ff;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-email-display {
  margin: 0.2rem 0 0;
  color: #97a9c4;
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-divider {
  height: 1px;
  background: rgba(159, 183, 214, 0.15);
}

.user-options {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0;
}

.user-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: #d4e5ff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}

.user-option i {
  width: 20px;
  text-align: center;
  font-size: 1rem;
  opacity: 0.8;
}

.user-option:hover {
  background: rgba(62, 192, 255, 0.1);
  color: #3ec0ff;
  padding-left: 1.15rem;
}

.user-option:hover i {
  opacity: 1;
}

.user-logout {
  padding: 0.5rem 0;
}

.user-platforms {
  padding: 0.75rem 1rem;
}

.user-platforms-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: rgba(11, 24, 39, 0.72);
  color: #b9cce6;
  border: 1px solid rgba(159, 183, 214, 0.25);
  border-radius: 10px;
  padding: 0.58rem 0.72rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-platforms-toggle:hover {
  background: rgba(15, 30, 48, 0.88);
  border-color: rgba(159, 183, 214, 0.4);
}

.user-platforms-toggle i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.user-platforms.expanded .user-platforms-toggle i {
  transform: rotate(180deg);
}

.user-platforms-list {
  margin-top: 0.55rem;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  max-height: 250px;
  overflow-y: auto;
  padding-right: 0.1rem;
}

.user-platforms.expanded .user-platforms-list {
  display: grid;
}

.user-platform-chip {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.55rem;
  border-radius: 9px;
  border: 1px solid rgba(159, 183, 214, 0.2);
  background: rgba(11, 24, 39, 0.8);
  color: #d4e5ff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.user-platform-chip i {
  width: 14px;
  text-align: center;
  font-size: 0.9rem;
}

.user-platform-chip:hover {
  background: rgba(15, 30, 48, 0.9);
  border-color: rgba(159, 183, 214, 0.4);
  transform: translateY(-1px);
}

.user-platform-chip.linked {
  border-color: rgba(103, 242, 196, 0.65);
  background: linear-gradient(145deg, rgba(28, 64, 66, 0.75), rgba(16, 39, 42, 0.9));
  box-shadow: inset 0 0 0 1px rgba(103, 242, 196, 0.24), 0 6px 16px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.user-platform-chip.linked::after {
  content: 'Synced';
  margin-left: auto;
  font-size: 0.64rem;
  font-weight: 700;
  color: #67f2c4;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  padding: 0.18rem 0.34rem;
  border-radius: 999px;
  border: 1px solid rgba(103, 242, 196, 0.45);
  background: rgba(10, 29, 30, 0.55);
  transition: all 0.2s ease;
}

.user-platform-chip.linked:hover {
  border-color: rgba(255, 116, 116, 0.78);
  background: linear-gradient(145deg, rgba(77, 28, 28, 0.82), rgba(52, 17, 17, 0.94));
  box-shadow: inset 0 0 0 1px rgba(255, 116, 116, 0.28), 0 8px 18px rgba(0, 0, 0, 0.32);
}

.user-platform-chip.linked:hover::after {
  content: 'Unsync';
  color: #ff9f9f;
  border-color: rgba(255, 138, 138, 0.62);
  background: rgba(55, 16, 16, 0.62);
}

.user-platform-chip.facebook i { color: #1877f2; }
.user-platform-chip.discord i { color: #5865f2; }
.user-platform-chip.github i { color: #e8eef8; }
.user-platform-chip.microsoft i { color: #4cc2ff; }
.user-platform-chip.apple i { color: #e8eef8; }
.user-platform-chip.linkedin i { color: #0a66c2; }
.user-platform-chip.reddit i { color: #ff5700; }
.user-platform-chip.x i { color: #e8eef8; }
.user-platform-chip.amazon i { color: #ff9900; }
.user-platform-chip.yahoo i { color: #7b0fff; }
.user-platform-chip.x .auth-chip-mark { color: #e8eef8; }

.user-logout-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: #ff9f40;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
}

.user-logout-btn i {
  width: 20px;
  text-align: center;
  font-size: 1rem;
}

.user-logout-btn:hover {
  background: rgba(255, 159, 64, 0.15);
  color: #ffb366;
  padding-left: 1.15rem;
}
}

.category-nav {
  padding: 0;
  display: flex;
  border-top: 1px solid rgba(159, 183, 214, 0.12);
  background: linear-gradient(90deg, rgba(62, 192, 255, 0.02), rgba(255, 159, 64, 0.02));
}

.category-nav .container {
  display: flex;
  gap: 0.56rem;
  overflow-x: auto;
  padding: 0 1rem 0.88rem 0;
}

.category-nav .container::-webkit-scrollbar {
  height: 5px;
}

.category-nav .container::-webkit-scrollbar-thumb {
  background: rgba(163, 184, 210, 0.35);
  border-radius: 999px;
}

.category-nav a {
  text-decoration: none;
  color: #b5c8df;
  border: 1px solid rgba(163, 184, 209, 0.25);
  border-radius: 999px;
  padding: 0.46rem 0.83rem;
  font-size: 0.84rem;
  white-space: nowrap;
  transition: 0.2s ease;
}

.category-nav a.active,
.category-nav a:hover {
  color: #2a1707;
  border-color: transparent;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
}

.hero {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 1rem;
}

.hero-main,
.deal-card,
.mini-offer,
.product-card,
.trust-strip article,
.payments,
.newsletter {
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-main {
  padding: 1.9rem;
  background: linear-gradient(155deg, rgba(17, 36, 60, 0.92), rgba(10, 21, 35, 0.96));
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.72rem;
  color: #ffcc8b;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Urbanist", sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  margin-bottom: 0.78rem;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.03;
}

.hero-lead {
  margin: 0;
  max-width: 57ch;
  color: var(--muted);
}

.hero-actions {
  margin-top: 1.35rem;
  display: flex;
  gap: 0.68rem;
  flex-wrap: wrap;
}

.btn {
  border: 0;
  border-radius: 12px;
  padding: 0.78rem 1.12rem;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.btn-primary {
  color: #2a1707;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
}

.btn-ghost {
  color: var(--text);
  border: 1px solid rgba(154, 179, 211, 0.3);
  background: rgba(11, 24, 40, 0.8);
}

.hero-stats {
  list-style: none;
  padding: 0;
  margin: 1.45rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.58rem;
}

.hero-stats li {
  border: 1px solid rgba(153, 178, 210, 0.2);
  background: rgba(12, 26, 42, 0.7);
  border-radius: 12px;
  padding: 0.78rem;
}

.hero-stats strong {
  display: block;
  font-size: 1.05rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-side {
  display: grid;
  gap: 0.9rem;
}

.deal-card {
  background: linear-gradient(180deg, rgba(19, 38, 60, 0.96), rgba(10, 19, 32, 0.96));
  padding: 1.35rem;
}

.deal-label {
  margin: 0 0 0.45rem;
  color: #ffcc8b;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.platform {
  margin: -0.25rem 0 0;
  color: #9eb5d2;
}

.price-row {
  margin: 0.88rem 0 1.2rem;
  display: flex;
  align-items: baseline;
  gap: 0.62rem;
}

.old-price {
  color: #89a1be;
  text-decoration: line-through;
  font-size: 0.84rem;
}

.new-price {
  color: var(--success);
  font-size: 1.24rem;
  font-weight: 800;
}

.discount {
  background: #8bf0ca;
  color: #103126;
  border-radius: 7px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.42rem;
}

.full {
  width: 100%;
}

.mini-offer {
  padding: 1rem 1.15rem;
  background: linear-gradient(130deg, rgba(62, 192, 255, 0.13), rgba(255, 159, 64, 0.14));
}

.mini-offer p {
  margin: 0;
  color: #d4e6ff;
}

.mini-offer strong {
  margin-top: 0.35rem;
  display: block;
  font-size: 1.05rem;
  font-family: "Urbanist", sans-serif;
}

.section {
  margin-top: 1.75rem;
}

.section-head {
  margin-bottom: 0.78rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.24rem, 2.5vw, 1.75rem);
}

.section-head a {
  text-decoration: none;
  color: #9fd7ff;
  font-weight: 700;
}

.product-grid {
  display: grid;
  gap: 0.95rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  min-height: 275px;
  background: linear-gradient(160deg, rgba(17, 35, 58, 0.95), rgba(10, 20, 34, 0.97));
  padding: 0.92rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 186, 109, 0.5);
}

.thumb {
  width: 100%;
  height: 115px;
  border-radius: 12px;
  border: 1px solid rgba(153, 178, 211, 0.22);
  margin-bottom: 0.75rem;
  background-size: cover;
  background-position: center;
}

.thumb-one {
  background-image: linear-gradient(130deg, rgba(9, 30, 47, 0.55), rgba(9, 22, 38, 0.7)), url("https://images.unsplash.com/photo-1542751371-adc38448a05e?auto=format&fit=crop&w=900&q=60");
}

.thumb-two {
  background-image: linear-gradient(130deg, rgba(8, 25, 41, 0.55), rgba(10, 23, 38, 0.68)), url("https://images.unsplash.com/photo-1493711662062-fa541adb3fc8?auto=format&fit=crop&w=900&q=60");
}

.thumb-three {
  background-image: linear-gradient(130deg, rgba(7, 23, 40, 0.55), rgba(9, 20, 37, 0.7)), url("https://images.unsplash.com/photo-1511512578047-dfb367046420?auto=format&fit=crop&w=900&q=60");
}

.thumb-four {
  background-image: linear-gradient(130deg, rgba(7, 23, 40, 0.52), rgba(9, 20, 37, 0.7)), url("https://images.unsplash.com/photo-1603481588273-2f908a9a7a1b?auto=format&fit=crop&w=900&q=60");
}

.badge {
  width: fit-content;
  border-radius: 999px;
  color: #2a1707;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.24rem 0.56rem;
  background: linear-gradient(145deg, #ffc77d, #ffe096);
}

.product-card h3 {
  margin: 0.7rem 0 0.42rem;
  font-size: 1rem;
}

.product-card p {
  margin: 0;
  color: #9ab1cd;
  font-size: 0.88rem;
}

.card-bottom {
  margin-top: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.72rem;
}

.add-btn {
  border: 1px solid rgba(146, 176, 208, 0.32);
  background: rgba(9, 20, 34, 0.84);
  color: #d4e8ff;
  border-radius: 10px;
  padding: 0.52rem 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

.trust-strip {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-strip article {
  background: linear-gradient(150deg, rgba(17, 34, 54, 0.95), rgba(9, 18, 30, 0.96));
  padding: 1rem;
}

.trust-strip h3 {
  margin-bottom: 0.42rem;
}

.trust-strip p {
  margin: 0;
  color: #9db4d1;
}

.payments {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  background: linear-gradient(120deg, rgba(255, 159, 64, 0.13), rgba(62, 192, 255, 0.11));
}

.payments p {
  margin: 0 0 0.58rem;
  color: #dce9ff;
  font-weight: 600;
}

.payment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.payment-list span {
  border: 1px solid rgba(154, 182, 214, 0.26);
  border-radius: 999px;
  padding: 0.35rem 0.72rem;
  font-size: 0.82rem;
  background: rgba(13, 27, 45, 0.75);
  color: #d8e9ff;
}

.newsletter {
  margin-top: 1.68rem;
  margin-bottom: 1.9rem;
  padding: 1.3rem;
  background: linear-gradient(145deg, rgba(16, 33, 54, 0.95), rgba(9, 18, 30, 0.95));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.newsletter h2 {
  margin: 0.22rem 0 0;
  max-width: 23ch;
}

.newsletter-form {
  display: flex;
  gap: 0.52rem;
}

.newsletter-form input {
  min-width: 260px;
  border: 1px solid rgba(151, 180, 212, 0.28);
  border-radius: 11px;
  background: rgba(8, 18, 30, 0.85);
  color: #e8f3ff;
  padding: 0.71rem 0.82rem;
}

.footer {
  border-top: 1px solid rgba(137, 165, 198, 0.22);
  background: rgba(7, 14, 24, 0.85);
}

.footer-inner {
  padding: 1.2rem 0 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.1rem;
}

.logo-footer {
  margin-bottom: 0.4rem;
}

.footer p {
  margin: 0;
  color: #90aac8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.82rem;
}

.footer-links a {
  text-decoration: none;
  color: #a8c2de;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .promo-inner {
    min-height: 42px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 0.35rem 0;
  }

  .nav-main {
    flex-wrap: wrap;
  }

  .quick-actions {
    gap: 0.5rem;
  }

  .nav-link {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
  }

  .btn-nav {
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
  }

  .btn-signin {
    padding: 0.5rem 0.95rem;
    font-size: 0.85rem;
  }

  .btn-logout {
    padding: 0.5rem 0.95rem;
    font-size: 0.85rem;
  }

  .auth-menu {
    width: 280px;
    right: -0.5rem;
  }

  .cart-pill {
    padding: 0.45rem 0.7rem;
    font-size: 0.85rem;
  }

  .search {
    order: 3;
    width: 100%;
  }

  .quick-actions {
    margin-left: auto;
  }

  .hero-main {
    padding: 1.25rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .newsletter {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter-form {
    width: 100%;
    flex-direction: column;
  }

  .newsletter-form input {
    min-width: 0;
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
