/* ============================================
   GALAXY SHOP — Abravanel-Style + Purple/ET
   ============================================ */

:root {
  --bg: #08060f;
  --card: rgba(14, 10, 30, 0.65);
  --card-border: rgba(139, 92, 246, 0.18);
  --card-border-hover: rgba(139, 92, 246, 0.40);
  --text: #f0ecff;
  --text-muted: rgba(240, 236, 255, 0.55);
  --purple: #8b5cf6;
  --purple-light: #a78bfa;
  --purple-dark: #6d28d9;
  --green: #34d399;
  --radius: 14px;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0a0814;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6d28d9, #8b5cf6);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #7c3aed, #a78bfa);
}
::-webkit-scrollbar-corner {
  background: #0a0814;
}
* {
  scrollbar-width: thin;
  scrollbar-color: #8b5cf6 #0a0814;
}
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* ===== SPACE CANVAS ===== */
#space { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

.nebula {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 900px 600px at 20% 30%, rgba(139, 92, 246, 0.10), transparent),
    radial-gradient(ellipse 700px 500px at 80% 70%, rgba(109, 40, 217, 0.08), transparent),
    radial-gradient(ellipse 500px 400px at 60% 20%, rgba(52, 211, 153, 0.04), transparent);
}

/* ===== SHOOTING STARS ===== */
.shooting-stars { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.shooting-stars span {
  position: absolute; width: 2px; height: 2px; background: #fff; border-radius: 50%;
  box-shadow: 0 0 6px 2px rgba(167, 139, 250, 0.5); opacity: 0; animation: shoot linear infinite;
}
.shooting-stars span:nth-child(1) { top: 8%; left: 70%; animation-duration: 2.8s; animation-delay: 0s; }
.shooting-stars span:nth-child(2) { top: 15%; left: 30%; animation-duration: 3.4s; animation-delay: 1.2s; }
.shooting-stars span:nth-child(3) { top: 25%; left: 85%; animation-duration: 2.2s; animation-delay: 2.8s; }
.shooting-stars span:nth-child(4) { top: 5%; left: 50%; animation-duration: 3.8s; animation-delay: 4.5s; }
.shooting-stars span:nth-child(5) { top: 35%; left: 20%; animation-duration: 2.5s; animation-delay: 6s; }
@keyframes shoot {
  0%   { transform: translateX(0) translateY(0); opacity: 0; }
  5%   { opacity: 1; }
  70%  { opacity: 0.6; }
  100% { transform: translateX(-350px) translateY(250px); opacity: 0; }
}

/* FLOAT */
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
.floating { animation: float 4s ease-in-out infinite; }

/* SHINE / REFLECTION EFFECT */
@keyframes shine {
  0% { left: -100%; }
  100% { left: 150%; }
}
@keyframes btn-shine {
  0% { left: -100%; }
  100% { left: 150%; }
}

/* ============================================
   HEADER — logo left, icon buttons right
   ============================================ */
.header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 24px;
  background: rgba(8, 6, 15, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.10);
}

.brand { display: flex; align-items: center; gap: 8px; }
.brand__logo { filter: drop-shadow(0 0 14px rgba(139,92,246,0.3)); border-radius: 8px; }
.brand__name { font-family: 'Orbitron', sans-serif; font-weight: 800; font-size: 17px; letter-spacing: 1px; }
.brand__verified { flex-shrink: 0; margin-left: -2px; }

.verified {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--purple); color: #fff; font-size: 11px; font-weight: 900;
}

.header__icons { display: flex; gap: 6px; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid rgba(139,92,246,0.14);
  background: rgba(14,10,30,0.50);
  color: rgba(240,236,255,0.75);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--transition);
}
.icon-btn:hover {
  border-color: var(--card-border-hover);
  color: var(--text);
  background: rgba(139,92,246,0.12);
}

/* ============================================
   HERO BANNER
   ============================================ */
.hero {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 36px;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(139,92,246,0.22);
  background: url('./assets/hero-bg.png') center center / cover no-repeat;
}
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 5;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255,255,255,0.06) 40%,
    rgba(255,255,255,0.15) 45%,
    rgba(255,255,255,0.06) 50%,
    transparent 60%
  );
  transform: translateX(-150%);
  transition: none;
  pointer-events: none;
}
.hero:hover::after {
  transform: translateX(150%);
  transition: transform 0.8s ease;
}

.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}

.hero__alien-bg {
  position: absolute;
  right: -30px; top: -30px;
  width: 400px; height: 400px;
  opacity: 0.08;
  filter: blur(1px);
}

.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,6,15,0.30) 0%, rgba(8,6,15,0.65) 45%, rgba(8,6,15,0.95) 100%),
    radial-gradient(ellipse 800px 500px at 75% 20%, rgba(139,92,246,0.15), transparent);
}

.hero__stars-text {
  display: none;
}

.hero__content {
  position: relative; z-index: 2;
  padding: 44px 40px;
  width: 100%;
}

/* Tag pill */
.hero__tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 20px;
  background: rgba(139,92,246,0.10);
  border: 1px solid rgba(139,92,246,0.20);
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 18px;
}
.hero__tag-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(52,211,153,0.5);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero__title {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: var(--text);
}
.hero__title-accent {
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }

/* Hero badges */
.hero__badges { display: flex; gap: 20px; flex-wrap: wrap; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: rgba(240,236,255,0.70);
}
.hero__badge-icon-wrap {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(139,92,246,0.10);
  border: 1px solid rgba(139,92,246,0.18);
  color: var(--purple-light);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 12px;
  font-family: inherit; font-size: 14px; font-weight: 700;
  border: 1px solid transparent; cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--discord {
  position: relative;
  background: rgba(14,10,30,0.60);
  border-color: rgba(139,92,246,0.25);
  color: var(--text);
  overflow: hidden;
}
.btn--discord::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255,255,255,0.08) 45%,
    rgba(255,255,255,0.15) 50%,
    rgba(255,255,255,0.08) 55%,
    transparent 80%
  );
  pointer-events: none;
}
.btn--discord:hover::after {
  animation: btn-shine 0.6s ease-out forwards;
}
.btn--discord:hover {
  background: rgba(139,92,246,0.15);
  border-color: rgba(139,92,246,0.45);
  transform: translateY(-2px);
}

.btn--outline-light {
  position: relative;
  background: rgba(14,10,30,0.40);
  border-color: rgba(240,236,255,0.18);
  color: var(--text);
  overflow: hidden;
}
.btn--outline-light::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255,255,255,0.08) 45%,
    rgba(255,255,255,0.15) 50%,
    rgba(255,255,255,0.08) 55%,
    transparent 80%
  );
  pointer-events: none;
}
.btn--outline-light:hover::after {
  animation: btn-shine 0.6s ease-out forwards;
}
.btn--outline-light:hover {
  border-color: rgba(240,236,255,0.35);
  background: rgba(14,10,30,0.60);
  transform: translateY(-2px);
}

.btn--primary {
  position: relative;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff; border-color: rgba(139,92,246,0.5);
  box-shadow: 0 4px 20px rgba(139,92,246,0.25);
  overflow: hidden;
}
.btn--primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255,255,255,0.12) 45%,
    rgba(255,255,255,0.22) 50%,
    rgba(255,255,255,0.12) 55%,
    transparent 80%
  );
  pointer-events: none;
}
.btn--primary:hover::after {
  animation: btn-shine 0.6s ease-out forwards;
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--purple-light), var(--purple));
  box-shadow: 0 6px 30px rgba(139,92,246,0.35);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent; border-color: var(--card-border); color: var(--text);
}
.btn--outline:hover {
  border-color: var(--card-border-hover);
  background: rgba(139,92,246,0.08);
  transform: translateY(-2px);
}

.btn--sm { padding: 8px 16px; font-size: 12px; border-radius: 10px; }
.btn--lg { padding: 14px 28px; font-size: 16px; }
.btn--glow:hover { box-shadow: 0 6px 30px rgba(139,92,246,0.30); }

/* ============================================
   SECTIONS & CATEGORY BANNERS
   ============================================ */
.main {
  position: relative; z-index: 1;
  max-width: 1100px; margin: 0 auto;
  padding: 16px 16px 60px;
}

.section { margin-bottom: 24px; }

.section-banner {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 16px; margin-bottom: 18px;
  max-width: 520px;
  margin-left: auto; margin-right: auto;
  border-radius: 14px;
  border: 1.5px solid rgba(255,255,255,0.45);
  background: rgba(10,8,20,0.85);
  backdrop-filter: blur(12px);
  cursor: default;
  transition: all 0.3s ease;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(255,255,255,0.06), inset 0 0 20px rgba(255,255,255,0.02);
  animation: catBorderPulse 3s ease-in-out infinite;
}
@keyframes catBorderPulse {
  0%, 100% { border-color: rgba(255,255,255,0.35); box-shadow: 0 0 10px rgba(255,255,255,0.05), inset 0 0 20px rgba(255,255,255,0.02); }
  50% { border-color: rgba(255,255,255,0.6); box-shadow: 0 0 20px rgba(255,255,255,0.1), inset 0 0 20px rgba(255,255,255,0.03); }
}
.section-banner::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255,255,255,0.04) 40%,
    rgba(255,255,255,0.08) 50%,
    rgba(255,255,255,0.04) 60%,
    transparent 80%
  );
  pointer-events: none;
}
.section-banner:hover::after {
  animation: shine 0.8s ease-out forwards;
}
.section-banner:hover {
  box-shadow: 0 4px 24px rgba(139,92,246,0.15);
}
.section-banner span {
  font-size: 14px; font-weight: 900; letter-spacing: 4px; text-transform: uppercase;
  background: linear-gradient(135deg, var(--text) 0%, var(--purple-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   PRODUCT CARDS (like screenshot)
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.p-card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  background: linear-gradient(165deg, rgba(14,10,30,0.80), rgba(20,14,45,0.65));
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.p-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255,255,255,0.06) 40%,
    rgba(255,255,255,0.12) 50%,
    rgba(255,255,255,0.06) 60%,
    transparent 80%
  );
  z-index: 5;
  pointer-events: none;
  transition: none;
}
.p-card:hover::after {
  animation: shine 0.7s ease-out forwards;
}
.p-card:hover {
  border-color: rgba(139,92,246,0.55);
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 8px 32px rgba(139,92,246,0.20),
    0 0 60px -12px rgba(139,92,246,0.15),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.p-card__img {
  position: relative;
  width: 100%;
  aspect-ratio: 1.4;
  background: linear-gradient(135deg, rgba(139,92,246,0.08), rgba(14,10,30,0.60));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.p-card__logo {
  font-size: 28px; font-weight: 900;
  color: var(--text);
  text-align: center;
  padding: 12px;
  line-height: 1.2;
}

.p-card__product-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}
.p-card:hover .p-card__product-img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.p-card__auto-badge {
  position: absolute; top: 8px; left: 8px; right: 8px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 9px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  color: rgba(240,236,255,0.70);
}
.p-card__auto-badge .auto-left {
  display: flex; align-items: center; gap: 4px;
  background: rgba(14,10,30,0.65); padding: 4px 8px; border-radius: 6px;
  border: 1px solid rgba(139,92,246,0.15);
}
.p-card__auto-badge .auto-right {
  background: rgba(14,10,30,0.65); padding: 4px 8px; border-radius: 6px;
  border: 1px solid rgba(139,92,246,0.15);
}

.auto-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--purple-light);
  box-shadow: 0 0 6px var(--purple);
}

.p-card__body {
  padding: 14px 16px; flex: 1; display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(14,10,30,0.0) 0%, rgba(14,10,30,0.40) 100%);
}

.p-card__name {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; margin-bottom: 8px;
  letter-spacing: 0.2px;
}
.p-card__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(52,211,153,0.4);
}

.p-card__price-row {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 4px;
}
.p-card__price {
  font-size: 26px; font-weight: 900; letter-spacing: -0.5px;
}
.p-card__plus {
  font-size: 14px; font-weight: 700; color: var(--text-muted);
}

.p-card__payment {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--text-muted); font-weight: 600;
  margin-bottom: 12px;
}
.pay-icon {
  width: 18px; height: 18px; min-width: 18px; min-height: 18px;
  border-radius: 3px;
  display: inline-block;
  flex-shrink: 0;
}
.pay-pix {
  background-image: url('./assets/pix.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0;
}
.pay-cartao {
  background-image: url('./assets/cartao.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0;
}
.pay-card {
  background-image: url('./assets/cartao.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.p-card__btn {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 11px;
  border-radius: 10px;
  border: 1px solid rgba(139,92,246,0.25);
  background: linear-gradient(135deg, rgba(139,92,246,0.08), rgba(14,10,30,0.50));
  color: var(--text); font-family: inherit;
  font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; transition: all 0.3s ease;
  margin-top: auto;
  overflow: hidden;
}
.p-card__btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255,255,255,0.10) 45%,
    rgba(255,255,255,0.18) 50%,
    rgba(255,255,255,0.10) 55%,
    transparent 80%
  );
  pointer-events: none;
}
.p-card__btn:hover::after {
  animation: btn-shine 0.6s ease-out forwards;
}
.p-card__btn:hover {
  border-color: rgba(139,92,246,0.50);
  background: linear-gradient(135deg, rgba(139,92,246,0.18), rgba(109,40,217,0.12));
  box-shadow: 0 4px 20px rgba(139,92,246,0.18);
  transform: translateY(-1px);
}

/* REVIEW MODAL */
.review-modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn 0.2s ease;
}
.review-modal {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 18px; padding: 32px 28px; width: 90%; max-width: 420px;
  position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.review-modal__close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: none; color: var(--text-muted);
  font-size: 24px; cursor: pointer; line-height: 1;
  transition: color 0.2s;
}
.review-modal__close:hover { color: var(--text); }
.review-modal__title {
  display: flex; align-items: center; gap: 8px;
  font-size: 18px; font-weight: 800; margin: 0 0 4px;
}
.review-modal__product {
  font-size: 13px; color: var(--text-muted); margin-bottom: 16px;
}
.review-modal__label {
  font-size: 13px; font-weight: 700; margin-bottom: 6px;
}

/* ESGOTADO (out of stock) */
.p-card--esgotado { opacity: 0.65; pointer-events: auto; }
.p-card__esgotado-overlay {
  position: absolute; inset: 0; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.55);
  border-radius: var(--radius) var(--radius) 0 0;
}
.p-card__esgotado-overlay span {
  font-size: 22px; font-weight: 900; letter-spacing: 3px;
  color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  padding: 8px 24px; border: 2px solid rgba(255,255,255,0.3);
  border-radius: 8px; background: rgba(248,113,113,0.25);
}
.p-card__btn--disabled {
  opacity: 0.5; cursor: not-allowed;
  background: rgba(248,113,113,0.1) !important;
  border-color: rgba(248,113,113,0.3) !important;
  color: #f87171 !important;
}
.p-card__btn--disabled:hover {
  transform: none; box-shadow: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 40px 0 0;
  border-top: 1px solid rgba(139,92,246,0.10);
  margin-top: 20px;
}
.footer__inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px; margin-bottom: 0; padding-bottom: 28px;
}
.footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer__desc { color: var(--text-muted); font-size: 12.5px; line-height: 1.7; font-style: italic; max-width: 340px; }
.footer__heading { font-weight: 800; margin-bottom: 14px; font-size: 14px; letter-spacing: 0.5px; color: var(--text); }
.footer__link {
  display: flex; align-items: center; gap: 8px; padding: 5px 0; color: var(--text-muted);
  font-size: 13px; font-weight: 500; transition: color var(--transition);
}
.footer__link:hover { color: var(--purple-light); }
.footer__link svg { flex-shrink: 0; opacity: 0.5; }
.footer__link:hover svg { opacity: 1; }

.footer__social-label {
  font-size: 12px; font-weight: 700; color: var(--text-muted);
  margin-top: 16px; margin-bottom: 8px;
}
.footer__social { display: flex; gap: 8px; }
.footer__social-btn {
  width: 34px; height: 34px; border-radius: 10px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: all 0.2s;
}
.footer__social-btn:hover {
  background: rgba(139,92,246,0.12); border-color: rgba(139,92,246,0.3); color: #a78bfa;
}

.footer__seals { margin-top: 18px; }
.footer__seals-title {
  font-size: 12px; font-weight: 700; color: var(--text-muted); margin-bottom: 10px;
}
.footer__seals-row {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.footer__seals-row img { height: 20px; opacity: 0.85; transition: opacity 0.2s; }
.footer__seals-row img:hover { opacity: 1; }

.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--text-muted); font-size: 12px;
}
.footer__badges { display: flex; align-items: center; gap: 20px; }
.footer__badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
}
.footer__badge--green { color: #34d399; }
.footer__badge--purple { color: #a78bfa; }
.footer__badge--blue { color: #60a5fa; }

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200; display: none; place-items: center;
}
.modal-overlay[aria-hidden="false"] { display: grid; }

.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.65); backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative; z-index: 201;
  width: min(600px, calc(100% - 32px));
  max-height: 80vh; overflow-y: auto;
  border-radius: 18px;
  border: 1px solid var(--card-border);
  background: rgba(14,10,30,0.92);
  backdrop-filter: blur(16px);
}
.modal__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(139,92,246,0.10);
}
.modal__title { font-weight: 800; font-size: 17px; }
.modal__body { padding: 22px; color: var(--text-muted); line-height: 1.8; }
.modal__body strong { color: var(--text); }

/* ============================================
   PRODUCT DETAIL MODAL — Full Page Style
   ============================================ */
.modal-panel--product { max-width: 960px; width: calc(100% - 32px); }

/* Top section: image | variations | sidebar */
.pd-layout { display: grid; grid-template-columns: 1fr 1.2fr 0.8fr; gap: 24px; margin-bottom: 28px; }

.pd-image-col img {
  width: 100%; border-radius: 14px;
  border: 1px solid var(--card-border);
  object-fit: cover;
}

.pd-info-col .pd-sold { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.pd-info-col .pd-prod-name { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.pd-info-col .pd-prod-price { font-size: 28px; font-weight: 900; margin-bottom: 8px; }
.pd-info-col .pd-auto-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(52,211,153,0.10); color: #34d399;
  font-size: 12px; font-weight: 700; padding: 4px 10px;
  border-radius: 6px; border: 1px solid rgba(52,211,153,0.20);
  margin-bottom: 16px;
}
.pd-info-col .pd-variations-label { font-size: 14px; font-weight: 700; margin-bottom: 4px; color: var(--text-muted); }
.pd-info-col .pd-variations-sublabel { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }

.pd-var-list { display: flex; flex-direction: column; gap: 8px; }

.pd-var-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--card-border);
  background: rgba(8,6,15,0.4);
  cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.pd-var-item:hover, .pd-var-item.active {
  border-color: #f59e0b;
  background: rgba(245,158,11,0.06);
}
.pd-var-item.active { box-shadow: 0 0 0 2px rgba(245,158,11,0.3); }
.pd-var-item__left { display: flex; align-items: center; gap: 10px; }
.pd-var-item__icon { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; border: 1px solid var(--card-border); }
.pd-var-item__name { font-size: 13px; font-weight: 700; }
.pd-var-item__stock { font-size: 11px; color: var(--text-muted); }
.pd-var-item__desc { font-size: 11px; color: var(--purple-light); margin-top: 2px; }
.pd-var-item__price { font-size: 15px; font-weight: 800; }

.pd-variation-description {
  margin-top: 12px; padding: 10px 14px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 10px;
}
.pd-variation-desc-label { font-size: 11px; font-weight: 600; color: var(--purple-light); margin-bottom: 4px; }
.pd-variation-desc-text { font-size: 13px; color: var(--text); line-height: 1.4; }

/* Sidebar */
.pd-sidebar {
  padding: 20px; border-radius: 14px;
  border: 1px solid var(--card-border);
  background: rgba(14,10,30,0.60);
  display: flex; flex-direction: column; gap: 12px;
}
.pd-sidebar__title { font-size: 14px; font-weight: 700; color: var(--text-muted); }
.pd-sidebar__price { font-size: 28px; font-weight: 900; }
.pd-sidebar__stock { font-size: 13px; color: var(--green); font-weight: 600; }

.pd-qty-row {
  display: flex; align-items: center; gap: 0;
  border: 1px solid var(--card-border); border-radius: 10px;
  overflow: hidden;
}
.pd-qty-btn {
  width: 40px; height: 40px; border: none;
  background: rgba(14,10,30,0.60); color: var(--text);
  font-size: 18px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.pd-qty-btn:hover { background: rgba(139,92,246,0.12); }
.pd-qty-input {
  width: 60px; height: 40px; border: none;
  background: rgba(8,6,15,0.4); color: var(--text);
  text-align: center; font-family: inherit;
  font-size: 16px; font-weight: 700;
  outline: none;
}

.pd-buy-btn, .pd-cart-btn {
  width: 100%; padding: 12px; border-radius: 10px;
  font-family: inherit; font-size: 14px; font-weight: 800;
  cursor: pointer; transition: all 0.2s;
  text-transform: uppercase; letter-spacing: 0.5px;
  border: none;
}
.pd-buy-btn {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
}
.pd-buy-btn:hover { box-shadow: 0 4px 20px rgba(139,92,246,0.3); transform: translateY(-1px); }
.pd-cart-btn {
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--text);
}
.pd-cart-btn:hover { border-color: var(--card-border-hover); background: rgba(139,92,246,0.08); }

.pd-payment-info { font-size: 13px; color: var(--text-muted); }
.pd-payment-info strong { color: var(--text); display: block; margin-bottom: 4px; }

/* Description section */
.pd-description { margin-top: 8px; }
.pd-description__title {
  font-size: 16px; font-weight: 700; margin-bottom: 16px;
  padding-bottom: 8px; border-bottom: 1px solid rgba(139,92,246,0.10);
}
.pd-description__product-name {
  font-size: 24px; font-weight: 900; text-align: center;
  margin-bottom: 20px; text-transform: uppercase;
}
.pd-description__text {
  font-size: 14px; line-height: 1.7; color: var(--text-muted);
  padding: 16px 20px; margin-bottom: 20px;
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.12);
  border-radius: 12px; white-space: pre-wrap;
}

.pd-detail-box {
  padding: 20px; border-radius: 14px;
  border: 1px solid var(--card-border);
  background: rgba(8,6,15,0.3);
  margin-bottom: 14px;
}
.pd-detail-box__title {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 800; text-transform: uppercase;
  margin-bottom: 14px; letter-spacing: 0.5px;
}
.pd-detail-box__title .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--text); display: inline-block;
}
.pd-detail-box ul { list-style: none; padding: 0; }
.pd-detail-box li {
  padding: 4px 0; font-size: 14px; color: var(--text-muted);
  display: flex; align-items: center; gap: 8px;
}
.pd-detail-box li::before {
  content: '✔'; color: var(--green); font-weight: 700; font-size: 13px;
}

.pd-cond-item { margin-bottom: 10px; padding-left: 10px; border-left: 3px solid var(--card-border); }
.pd-cond-item strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 0.3px; }
.pd-cond-item span { font-size: 13px; color: var(--text-muted); }

@media (max-width: 768px) {
  .pd-layout { grid-template-columns: 1fr; }
  .modal-panel--product { max-width: 100%; }
}

/* ============================================
   AUTH UI — Header user state
   ============================================ */
.auth-user-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 12px 4px 4px; border-radius: 12px;
  background: rgba(139,92,246,0.10);
  border: 1px solid rgba(139,92,246,0.20);
  cursor: default;
}
.auth-avatar {
  position: relative;
  width: 32px; height: 32px; border-radius: 10px;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff; font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  overflow: visible;
}
.auth-level-badge {
  position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%);
  padding: 1px 6px; border-radius: 6px;
  font-size: 8px; font-weight: 900; letter-spacing: 0.3px;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff; white-space: nowrap;
  border: 1.5px solid rgba(14,10,30,0.9);
  line-height: 1.3;
}
.auth-avatar--bronze { box-shadow: 0 0 8px rgba(52,211,153,0.4); border: 2px solid rgba(52,211,153,0.5); }
.auth-avatar--bronze .auth-level-badge { background: linear-gradient(135deg, #34d399, #059669); }
.auth-avatar--silver { box-shadow: 0 0 8px rgba(139,92,246,0.4); border: 2px solid rgba(139,92,246,0.5); }
.auth-avatar--silver .auth-level-badge { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.auth-avatar--gold { box-shadow: 0 0 10px rgba(251,191,36,0.4); border: 2px solid rgba(251,191,36,0.5); }
.auth-avatar--gold .auth-level-badge { background: linear-gradient(135deg, #f59e0b, #d97706); }
.auth-avatar--platinum { box-shadow: 0 0 10px rgba(226,232,240,0.4); border: 2px solid rgba(226,232,240,0.4); }
.auth-avatar--platinum .auth-level-badge { background: linear-gradient(135deg, #94a3b8, #64748b); }
.auth-avatar--diamond { box-shadow: 0 0 12px rgba(34,211,238,0.4); border: 2px solid rgba(34,211,238,0.5); }
.auth-avatar--diamond .auth-level-badge { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.auth-avatar--mythic { box-shadow: 0 0 12px rgba(244,63,94,0.4); border: 2px solid rgba(244,63,94,0.5); }
.auth-avatar--mythic .auth-level-badge { background: linear-gradient(135deg, #f43f5e, #e11d48); }
.auth-avatar--legendary { box-shadow: 0 0 14px rgba(251,191,36,0.3), 0 0 20px rgba(139,92,246,0.2); border: 2px solid rgba(251,191,36,0.5); }
.auth-avatar--legendary .auth-level-badge { background: linear-gradient(135deg, #f59e0b, #ef4444, #ec4899); }
.auth-name {
  font-size: 13px; font-weight: 700; color: var(--text);
  max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Notification badge */
.notif-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 16px; height: 16px; border-radius: 8px;
  background: #ef4444; color: #fff;
  font-size: 9px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px; line-height: 1;
  border: 2px solid rgba(14,10,30,0.9);
  pointer-events: none;
}

/* Notification panel */
.notif-panel {
  position: fixed; top: 56px; right: 12px;
  width: 340px; max-height: 440px;
  background: rgba(18,14,32,0.97);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  z-index: 9999;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  overflow: hidden;
  animation: notifIn 0.2s ease;
}
@keyframes notifIn { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
.notif-panel__header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px; border-bottom: 1px solid var(--card-border);
}
.notif-panel__read-all {
  background: none; border: 1px solid rgba(139,92,246,0.2); color: #8b5cf6;
  font-size: 11px; font-weight: 700; padding: 4px 12px;
  border-radius: 8px; cursor: pointer; transition: all 0.2s;
}
.notif-panel__read-all:hover { background: rgba(139,92,246,0.1); }
.notif-panel__list { max-height: 360px; overflow-y: auto; }
.notif-panel__list::-webkit-scrollbar { width: 4px; }
.notif-panel__list::-webkit-scrollbar-thumb { background: rgba(139,92,246,0.3); border-radius: 4px; }
.notif-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 16px; text-decoration: none;
  border-bottom: 1px solid rgba(139,92,246,0.05);
  transition: background 0.15s; position: relative;
}
.notif-item:hover { background: rgba(139,92,246,0.06); }
.notif-item--unread { background: rgba(139,92,246,0.04); }
.notif-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #8b5cf6; flex-shrink: 0; margin-top: 5px;
}
.notif-item__content { flex: 1; min-width: 0; }
.notif-item__title { font-size: 12px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.notif-item__text { font-size: 11px; color: var(--text-muted); line-height: 1.4; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.notif-item__time { font-size: 10px; color: var(--text-muted); opacity: 0.6; margin-top: 3px; }

/* ===== Galaxy Custom Modals ===== */
.galaxy-modal-overlay {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; transition: opacity 0.2s ease;
}
.galaxy-modal-overlay--visible { opacity: 1; }
.galaxy-modal {
  width: 100%; max-width: 380px;
  background: linear-gradient(135deg, #1a1230 0%, #0e0a1e 100%);
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: 20px; padding: 28px; text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(139,92,246,0.1);
  transform: scale(0.95); transition: transform 0.2s ease;
}
.galaxy-modal-overlay--visible .galaxy-modal { transform: scale(1); }
.galaxy-modal__icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(139,92,246,0.1); border: 1px solid rgba(139,92,246,0.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; color: #8b5cf6;
}
.galaxy-modal__icon--warn {
  background: rgba(251,191,36,0.1); border-color: rgba(251,191,36,0.2); color: #fbbf24;
}
.galaxy-modal__title {
  font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 6px;
}
.galaxy-modal__text {
  font-size: 14px; color: rgba(226,224,234,0.7); line-height: 1.5; margin-bottom: 22px;
}
.galaxy-modal__actions {
  display: flex; gap: 10px; justify-content: center;
}
.galaxy-modal__btn {
  padding: 10px 28px; border-radius: 12px; font-size: 13px;
  font-weight: 700; cursor: pointer; border: none; transition: all 0.15s ease;
}
.galaxy-modal__btn--primary {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff; box-shadow: 0 4px 16px rgba(139,92,246,0.3);
}
.galaxy-modal__btn--primary:hover {
  box-shadow: 0 4px 24px rgba(139,92,246,0.5); transform: translateY(-1px);
}
.galaxy-modal__btn--outline {
  background: rgba(139,92,246,0.06);
  border: 1px solid rgba(139,92,246,0.2);
  color: rgba(226,224,234,0.7);
}
.galaxy-modal__btn--outline:hover {
  background: rgba(139,92,246,0.12); color: #fff;
}

/* Login tabs */
.auth-tabs {
  display: flex; gap: 0; margin-bottom: 20px;
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--card-border);
}
.auth-tab {
  flex: 1; padding: 10px; border: none;
  background: rgba(14,10,30,0.40);
  color: var(--text-muted); font-family: inherit;
  font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.auth-tab.active {
  background: rgba(139,92,246,0.15);
  color: var(--text);
}
.auth-tab:hover:not(.active) {
  background: rgba(139,92,246,0.06);
}

/* Auth error/success messages */
.auth-msg {
  padding: 10px 14px; border-radius: 10px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 14px; display: none;
}
.auth-msg--error {
  display: block;
  background: rgba(248,113,113,0.10);
  border: 1px solid rgba(248,113,113,0.25);
  color: #f87171;
}
.auth-msg--success {
  display: block;
  background: rgba(52,211,153,0.10);
  border: 1px solid rgba(52,211,153,0.25);
  color: #34d399;
}

/* ============================================
   LOGIN PAGE — Social Buttons
   ============================================ */
.social-login-btn {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 12px 16px; border-radius: 12px;
  border: 1px solid var(--card-border);
  background: rgba(14,10,30,0.50);
  color: var(--text); font-family: inherit;
  font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all var(--transition);
  text-decoration: none;
}
.social-login-btn:hover {
  border-color: var(--card-border-hover);
  background: rgba(139,92,246,0.08);
}
.social-login-btn img { width: 22px; height: 22px; }
.social-login-btn svg { width: 22px; height: 22px; }
.social-login-btn--discord {
  border-color: rgba(88,101,242,0.3);
  color: #fff;
}
.social-login-btn--discord svg { color: #5865F2; }
.social-login-btn--discord:hover {
  border-color: rgba(88,101,242,0.5);
  background: rgba(88,101,242,0.08);
}

.login-divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-muted); font-size: 13px;
  margin: 16px 0;
}
.login-divider::before, .login-divider::after {
  content: ''; flex: 1; height: 1px;
  background: rgba(139,92,246,0.15);
}

/* ============================================
   PAGE (cart / login shared)
   ============================================ */
.page { padding: 28px 0; }
.page__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.page__title { font-size: 26px; font-weight: 900; letter-spacing: -0.5px; }
.page__subtitle { color: var(--text-muted); font-size: 14px; margin-top: 4px; }

.panel {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--card-border);
  background: var(--card);
  backdrop-filter: blur(12px);
}

.form { display: grid; gap: 14px; max-width: 420px; }
.field { display: grid; gap: 6px; }
.label { font-weight: 700; font-size: 13px; color: rgba(240,236,255,0.80); }
.input {
  padding: 11px 14px; border-radius: 12px;
  border: 1px solid var(--card-border);
  background: rgba(8,6,15,0.5);
  color: var(--text); font-family: inherit; font-size: 14px;
  outline: none; transition: border-color var(--transition), box-shadow var(--transition);
}
.input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(139,92,246,0.12); }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid rgba(139,92,246,0.10); }
.table th { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.table td { font-weight: 600; font-size: 14px; }
.table tfoot td { border-bottom: none; }

.small { font-size: 12px; color: var(--text-muted); }

/* ============================================
   CART PAGE — 3 Column Layout
   ============================================ */
.cart-grid {
  display: grid;
  grid-template-columns: 300px 1fr 280px;
  gap: 16px;
  align-items: start;
}
.cart-section-title {
  font-size: 15px; font-weight: 800; margin: 0 0 16px;
}

/* Payment column */
.cart-payment { padding: 22px; }
.cart-pay-methods { display: flex; gap: 8px; flex-wrap: wrap; }
.cart-pay-option {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 10px;
  border: 1px solid var(--card-border);
  background: rgba(14,10,30,0.30);
  font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
}
.cart-pay-option.active,
.cart-pay-option:has(input:checked) {
  border-color: rgba(139,92,246,0.30);
  background: rgba(139,92,246,0.08);
}
.cart-pay-option input[type="radio"] {
  accent-color: var(--purple);
}
.cart-coupon {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 12px;
  border: 1px solid var(--card-border);
  background: rgba(14,10,30,0.30);
  cursor: pointer; transition: border-color 0.2s;
  white-space: nowrap; overflow: hidden;
}
.cart-coupon:hover { border-color: var(--card-border-hover); }

.coupon-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,0.60); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.coupon-popup {
  position: relative; width: 100%; max-width: 440px;
  padding: 28px; border-radius: 18px;
  border: 1px solid var(--card-border);
  background: var(--card-solid, #1a1528);
  box-shadow: 0 20px 60px rgba(0,0,0,0.50);
}
.coupon-close {
  position: absolute; top: 12px; right: 14px;
  width: 30px; height: 30px; border-radius: 8px;
  border: none; background: transparent;
  color: var(--text-muted); font-size: 22px; line-height: 1;
  cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.coupon-close:hover { background: rgba(139,92,246,0.10); color: var(--text); }

/* Products column */
.cart-products { padding: 22px; }
.cart-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(139,92,246,0.08);
}
.cart-item:last-child { border-bottom: none; }
.cart-item__img {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  object-fit: cover; background: rgba(14,10,30,0.50);
  border: 1px solid var(--card-border);
}
.cart-item__info {
  display: flex; align-items: center; gap: 8px;
  flex: 1; min-width: 0;
}
.cart-item__name {
  font-size: 14px; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cart-item__action-btn {
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 6px; flex-shrink: 0;
  border: 1px solid rgba(248,113,113,0.20);
  background: rgba(248,113,113,0.06);
  color: #f87171; cursor: pointer; transition: all 0.2s;
}
.cart-item__action-btn:hover {
  background: rgba(248,113,113,0.15);
  border-color: rgba(248,113,113,0.35);
}
.cart-item__right {
  display: flex; align-items: center; gap: 14px; flex-shrink: 0;
}
.cart-item__qty-row {
  display: flex; align-items: center;
  border: 1px solid var(--card-border);
  border-radius: 8px; overflow: hidden;
}
.cart-item__qty-btn {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(14,10,30,0.40); border: none;
  color: var(--text); font-size: 15px; font-weight: 700;
  cursor: pointer; transition: background 0.2s;
}
.cart-item__qty-btn:hover { background: rgba(139,92,246,0.12); }
.cart-item__qty-input {
  width: 32px; height: 30px; text-align: center;
  background: rgba(8,6,15,0.5); border: none;
  border-left: 1px solid var(--card-border);
  border-right: 1px solid var(--card-border);
  color: var(--text); font-family: inherit;
  font-size: 13px; font-weight: 700;
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}
.cart-item__qty-input::-webkit-inner-spin-button,
.cart-item__qty-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.cart-item__price {
  font-size: 14px; font-weight: 800; white-space: nowrap;
}

/* Summary column */
.cart-summary { padding: 22px; position: sticky; top: 80px; }
.cart-summary__row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; font-weight: 600; margin-bottom: 10px;
  color: var(--text-muted);
}
.cart-summary__divider {
  height: 1px; background: rgba(139,92,246,0.10); margin: 14px 0;
}
.cart-summary__total {
  font-size: 16px; font-weight: 900; color: var(--text);
}
.cart-summary__total span:last-child { color: var(--text); }

@media (max-width: 1024px) {
  .cart-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cart-summary { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .cart-grid {
    grid-template-columns: 1fr;
  }
  .cart-summary { position: static; }
}
@media (max-width: 600px) {
  .cart-item { flex-wrap: wrap; }
}

/* ============================================
   CHECKOUT PAGE
   ============================================ */
.checkout-progress {
  height: 4px; border-radius: 4px; background: rgba(139,92,246,0.12);
  overflow: hidden;
}
.checkout-progress__bar {
  height: 100%; width: 0; border-radius: 4px;
  background: linear-gradient(90deg, #f59e0b, #f97316);
  transition: width 1.5s ease;
}

.checkout-order {
  padding: 22px; margin-top: 14px;
}
.checkout-order__header {
  font-size: 13px; color: var(--text-muted); margin-bottom: 8px;
}
.checkout-order__details {
  display: flex; gap: 32px; flex-wrap: wrap; margin-top: 14px;
  padding-top: 14px; border-top: 1px solid rgba(139,92,246,0.08);
}
.checkout-order__col {
  display: flex; flex-direction: column; gap: 4px;
}
.checkout-order__label {
  font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase;
}
.checkout-order__value {
  font-size: 14px; font-weight: 700;
}
.checkout-order__total {
  color: #f59e0b; font-size: 16px; font-weight: 900;
}

.checkout-timer-panel {
  padding: 28px; margin-top: 16px; max-width: 640px; margin-left: auto; margin-right: auto;
}
.checkout-timer {
  font-size: 28px; font-weight: 900; letter-spacing: 2px;
}
.checkout-divider {
  height: 1px; background: rgba(139,92,246,0.08); margin: 18px 0;
}

.checkout-qr {
  display: flex; align-items: center; justify-content: center;
  margin: 12px auto; padding: 12px;
  border: 2px dashed rgba(245,158,11,0.35); border-radius: 12px;
  max-width: 200px;
}
.checkout-qr__placeholder {
  display: flex; flex-direction: column; align-items: center; padding: 20px;
}
.checkout-qr img {
  width: 100%; max-width: 180px; border-radius: 4px;
}

.checkout-pix-code {
  margin-top: 16px;
}
.checkout-pix-code__row {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 10px;
  background: rgba(8,6,15,0.5);
  border: 1px solid var(--card-border);
}
.checkout-pix-code__text {
  font-size: 12px; color: var(--text-muted); font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.checkout-instructions {
  padding: 22px; margin-top: 16px; max-width: 640px; margin-left: auto; margin-right: auto;
}
.checkout-step {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; font-size: 14px; font-weight: 500;
}

.checkout-support {
  display: flex; align-items: center; gap: 10px;
  margin-top: 24px; padding: 14px 20px; border-radius: 12px;
  background: rgba(14,10,30,0.30);
  border: 1px solid var(--card-border);
  font-size: 13px; max-width: 640px; margin-left: auto; margin-right: auto;
}

/* ============================================
   ORDER CONFIRMATION PAGE
   ============================================ */
.order-summary { padding: 22px; }
.order-summary__header { font-size: 13px; color: var(--text-muted); }
.order-summary__details {
  display: flex; gap: 32px; flex-wrap: wrap;
  padding-top: 14px; border-top: 1px solid rgba(139,92,246,0.08);
}
.order-summary__col { display: flex; flex-direction: column; gap: 4px; }
.order-summary__label { font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; }
.order-summary__value { font-size: 14px; font-weight: 700; }
.order-summary__total { color: #f59e0b; font-size: 16px; font-weight: 900; }

.order-card {
  padding: 0; margin-top: 16px; overflow: hidden;
  border: 1px solid rgba(245,158,11,0.15);
}
.order-card__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(139,92,246,0.08);
}
.order-card__id { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.order-card__badge {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700; color: #22d3ee;
}
.order-card__body {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; gap: 16px; flex-wrap: wrap;
}
.order-card__product {
  display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0;
}
.order-card__img {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  object-fit: cover; background: rgba(14,10,30,0.50);
  border: 2px solid rgba(139,92,246,0.15);
}
.order-card__img-placeholder {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: rgba(139,92,246,0.1); border: 2px solid rgba(139,92,246,0.15);
}
.order-card__info { min-width: 0; }
.order-card__name { font-size: 15px; font-weight: 800; margin-bottom: 2px; }
.order-card__meta { font-size: 12px; color: var(--text-muted); font-weight: 500; }

.order-card__actions {
  display: flex; flex-direction: column; gap: 8px; flex-shrink: 0;
}
.order-card__btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 8px;
  font-size: 12px; font-weight: 700; font-family: inherit;
  cursor: pointer; transition: all 0.2s; text-decoration: none;
  border: 1px solid var(--card-border);
  background: rgba(14,10,30,0.40); color: var(--text);
}
.order-card__btn:hover { background: rgba(139,92,246,0.10); }
.order-card__btn--rate {
  background: rgba(245,158,11,0.08);
  border-color: rgba(245,158,11,0.25);
  color: #f59e0b;
}
.order-card__btn--rate:hover { background: rgba(245,158,11,0.18); }

.order-card__creds {
  padding: 14px 20px 18px;
  border-top: 1px solid rgba(139,92,246,0.08);
  background: rgba(8,6,15,0.3);
}
.order-card__cred-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 10px; margin-top: 4px; border-radius: 8px;
  background: rgba(8,6,15,0.5); border: 1px solid var(--card-border);
}
.order-card__cred-text {
  font-family: monospace; font-size: 13px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.order-card__cred-copy {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 6px; flex-shrink: 0;
  border: 1px solid var(--card-border); background: transparent;
  color: var(--text-muted); cursor: pointer; transition: all 0.2s;
}
.order-card__cred-copy:hover {
  background: rgba(139,92,246,0.10); color: var(--text);
  border-color: rgba(139,92,246,0.3);
}

.order-support { padding: 22px; }

/* ============================================
   PROFILE PAGE
   ============================================ */
.profile-badge {
  display: inline-block; padding: 3px 10px; border-radius: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.3px;
  background: rgba(139,92,246,0.12); color: var(--purple-light);
  border: 1px solid rgba(139,92,246,0.22);
}

/* Profile card */
.prof-card {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(139,92,246,0.18);
  margin-bottom: 20px;
}
.prof-card__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(139,92,246,0.15) 0%, rgba(14,10,30,0.95) 60%),
    radial-gradient(ellipse at 10% 50%, rgba(139,92,246,0.20), transparent 60%);
}
.prof-card__content {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 28px; flex-wrap: wrap;
}
.prof-card__left {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.prof-card__avatar {
  width: 76px; height: 76px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff; font-size: 30px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  border: none;
  position: relative;
  z-index: 2;
}

/* ===== LEVEL AVATAR ANIMATED BORDER ===== */
.level-avatar-wrap {
  position: relative; display: inline-flex; flex-shrink: 0; overflow: visible;
}
.level-avatar-ring {
  position: absolute; inset: -5px; border-radius: 50%; z-index: 1;
  background: rgba(139,92,246,0.3);
  border: 3px solid rgba(139,92,246,0.6);
  box-shadow: 0 0 15px rgba(139,92,246,0.4), inset 0 0 15px rgba(139,92,246,0.1);
  animation: ringGlow 2s ease-in-out infinite;
}
@keyframes ringGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(139,92,246,0.4), inset 0 0 15px rgba(139,92,246,0.1); }
  50% { box-shadow: 0 0 25px rgba(139,92,246,0.6), inset 0 0 20px rgba(139,92,246,0.15); }
}
.level-avatar-badge {
  position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%);
  z-index: 3;
  padding: 3px 12px; border-radius: 10px;
  font-size: 11px; font-weight: 900; letter-spacing: 0.5px;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff; border: 2px solid rgba(14,10,30,0.9);
  white-space: nowrap; box-shadow: 0 2px 12px rgba(139,92,246,0.5);
  pointer-events: none;
}

/* Tier: Bronze */
[data-tier="bronze"] .level-avatar-ring {
  background: rgba(52,211,153,0.15);
  border-color: rgba(52,211,153,0.6);
  box-shadow: 0 0 15px rgba(52,211,153,0.4), inset 0 0 15px rgba(52,211,153,0.1);
  animation: ringGlowBronze 2s ease-in-out infinite;
}
@keyframes ringGlowBronze {
  0%, 100% { box-shadow: 0 0 15px rgba(52,211,153,0.4), inset 0 0 15px rgba(52,211,153,0.1); }
  50% { box-shadow: 0 0 28px rgba(52,211,153,0.6), inset 0 0 20px rgba(52,211,153,0.15); }
}
[data-tier="bronze"] .level-avatar-badge {
  background: linear-gradient(135deg, #34d399, #059669);
}

/* Tier: Silver */
[data-tier="silver"] .level-avatar-ring {
  background: rgba(139,92,246,0.15);
  border-color: rgba(139,92,246,0.6);
  box-shadow: 0 0 18px rgba(139,92,246,0.5), inset 0 0 15px rgba(139,92,246,0.1);
  animation: ringGlowSilver 2s ease-in-out infinite;
}
@keyframes ringGlowSilver {
  0%, 100% { box-shadow: 0 0 18px rgba(139,92,246,0.5), inset 0 0 15px rgba(139,92,246,0.1); }
  50% { box-shadow: 0 0 30px rgba(139,92,246,0.7), inset 0 0 22px rgba(139,92,246,0.15); }
}
[data-tier="silver"] .level-avatar-badge {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

/* Tier: Gold */
[data-tier="gold"] .level-avatar-ring {
  background: rgba(251,191,36,0.12);
  border-color: rgba(251,191,36,0.6);
  box-shadow: 0 0 20px rgba(251,191,36,0.5), inset 0 0 15px rgba(251,191,36,0.1);
  animation: ringGlowGold 1.8s ease-in-out infinite;
}
@keyframes ringGlowGold {
  0%, 100% { box-shadow: 0 0 20px rgba(251,191,36,0.5), inset 0 0 15px rgba(251,191,36,0.1); }
  50% { box-shadow: 0 0 35px rgba(251,191,36,0.7), inset 0 0 25px rgba(251,191,36,0.15); }
}
[data-tier="gold"] .level-avatar-badge {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Tier: Platinum */
[data-tier="platinum"] .level-avatar-ring {
  background: rgba(226,232,240,0.10);
  border-color: rgba(226,232,240,0.5);
  box-shadow: 0 0 22px rgba(226,232,240,0.5), inset 0 0 18px rgba(226,232,240,0.08);
  animation: ringGlowPlat 1.6s ease-in-out infinite;
}
@keyframes ringGlowPlat {
  0%, 100% { box-shadow: 0 0 22px rgba(226,232,240,0.5), inset 0 0 18px rgba(226,232,240,0.08); }
  50% { box-shadow: 0 0 38px rgba(226,232,240,0.7), inset 0 0 28px rgba(226,232,240,0.12); }
}
[data-tier="platinum"] .level-avatar-badge {
  background: linear-gradient(135deg, #94a3b8, #64748b);
}

/* Tier: Diamond */
[data-tier="diamond"] .level-avatar-ring {
  background: rgba(34,211,238,0.10);
  border-color: rgba(34,211,238,0.6);
  box-shadow: 0 0 25px rgba(34,211,238,0.5), inset 0 0 20px rgba(34,211,238,0.1);
  animation: ringGlowDia 1.5s ease-in-out infinite;
}
@keyframes ringGlowDia {
  0%, 100% { box-shadow: 0 0 25px rgba(34,211,238,0.5), inset 0 0 20px rgba(34,211,238,0.1); }
  50% { box-shadow: 0 0 40px rgba(34,211,238,0.7), inset 0 0 30px rgba(34,211,238,0.15); }
}
[data-tier="diamond"] .level-avatar-badge {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}

/* Tier: Mythic */
[data-tier="mythic"] .level-avatar-ring {
  background: rgba(244,63,94,0.10);
  border-color: rgba(244,63,94,0.6);
  box-shadow: 0 0 28px rgba(244,63,94,0.5), 0 0 60px rgba(236,72,153,0.2), inset 0 0 20px rgba(244,63,94,0.1);
  animation: ringGlowMyth 1.3s ease-in-out infinite;
}
@keyframes ringGlowMyth {
  0%, 100% { box-shadow: 0 0 28px rgba(244,63,94,0.5), 0 0 60px rgba(236,72,153,0.2), inset 0 0 20px rgba(244,63,94,0.1); }
  50% { box-shadow: 0 0 45px rgba(244,63,94,0.7), 0 0 80px rgba(236,72,153,0.3), inset 0 0 30px rgba(244,63,94,0.15); }
}
[data-tier="mythic"] .level-avatar-badge {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
}

/* Tier: Legendary */
[data-tier="legendary"] .level-avatar-ring {
  background: rgba(251,191,36,0.08);
  border-color: rgba(251,191,36,0.6);
  box-shadow: 0 0 35px rgba(251,191,36,0.5), 0 0 70px rgba(139,92,246,0.3), 0 0 100px rgba(244,63,94,0.15), inset 0 0 25px rgba(251,191,36,0.1);
  animation: ringGlowLeg 1.2s ease-in-out infinite;
}
@keyframes ringGlowLeg {
  0%, 100% { box-shadow: 0 0 35px rgba(251,191,36,0.5), 0 0 70px rgba(139,92,246,0.3), 0 0 100px rgba(244,63,94,0.15), inset 0 0 25px rgba(251,191,36,0.1); }
  50% { box-shadow: 0 0 50px rgba(251,191,36,0.7), 0 0 90px rgba(139,92,246,0.4), 0 0 120px rgba(244,63,94,0.25), inset 0 0 35px rgba(251,191,36,0.15); }
}
[data-tier="legendary"] .level-avatar-badge {
  background: linear-gradient(135deg, #f59e0b, #ef4444, #ec4899);
}

/* ===== XP BAR ===== */
.xp-bar-wrap { max-width: 280px; }
.xp-bar-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px;
}
.xp-bar-label { font-size: 12px; font-weight: 800; color: var(--text); }
.xp-bar-xp { font-size: 11px; font-weight: 600; color: var(--text-muted); }
.xp-bar-track {
  width: 100%; height: 8px; border-radius: 10px;
  background: rgba(139,92,246,0.10); overflow: hidden;
  border: 1px solid rgba(139,92,246,0.12);
}
.xp-bar-fill {
  height: 100%; border-radius: 10px;
  background: linear-gradient(90deg, #8b5cf6, #a78bfa, #c4b5fd);
  box-shadow: 0 0 10px rgba(139,92,246,0.5);
  transition: width 1s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
}
.xp-bar-fill::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: xpShine 2s ease-in-out infinite;
}
@keyframes xpShine {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

/* ===== RANK BADGES ===== */
.rank-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 8px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.5px;
  text-transform: uppercase;
}
.rank-badge--pro {
  background: linear-gradient(135deg, rgba(251,191,36,0.15), rgba(245,158,11,0.08));
  color: #fbbf24; border: 1px solid rgba(251,191,36,0.3);
  box-shadow: 0 0 12px rgba(251,191,36,0.15);
  animation: proPulse 2s ease-in-out infinite;
}
@keyframes proPulse {
  0%, 100% { box-shadow: 0 0 12px rgba(251,191,36,0.15); }
  50% { box-shadow: 0 0 20px rgba(251,191,36,0.3); }
}
.rank-badge--vet {
  background: rgba(139,92,246,0.12); color: var(--purple-light);
  border: 1px solid rgba(139,92,246,0.25);
}
.rank-badge--member {
  background: rgba(52,211,153,0.10); color: #34d399;
  border: 1px solid rgba(52,211,153,0.22);
}
.prof-card__avatar img {
  width: 100%; height: 100%; border-radius: inherit; object-fit: cover;
}
.prof-card__name { font-size: 22px; font-weight: 900; margin: 0 0 2px; }
.prof-card__email { font-size: 13px; color: var(--text-muted); margin: 0; }
.prof-card__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.prof-logout-btn {
  background: rgba(248,113,113,0.08); color: #f87171;
  border: 1px solid rgba(248,113,113,0.20);
  font-family: inherit; cursor: pointer; transition: all 0.2s;
}
.prof-logout-btn:hover {
  background: rgba(248,113,113,0.15);
  border-color: rgba(248,113,113,0.35);
}

/* Stat cards */
.prof-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-bottom: 20px;
}
.prof-stat-card {
  padding: 20px; border-radius: 16px; text-align: center;
  border: 1px solid var(--card-border);
  background: var(--card); backdrop-filter: blur(12px);
  transition: transform 0.2s, border-color 0.2s;
}
.prof-stat-card:hover { transform: translateY(-2px); }
.prof-stat-card__top {
  display: flex; justify-content: center; margin-bottom: 12px;
}
.prof-stat-card__value { font-size: 26px; font-weight: 900; margin-bottom: 4px; }
.prof-stat-card__label { font-size: 12px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

.prof-stat-card--purple { border-color: rgba(139,92,246,0.18); }
.prof-stat-card--purple:hover { border-color: rgba(139,92,246,0.35); }
.prof-stat-card--purple .prof-stat-card__top { color: var(--purple-light); }
.prof-stat-card--purple .prof-stat-card__value { color: var(--purple-light); }

.prof-stat-card--yellow { border-color: rgba(251,191,36,0.15); }
.prof-stat-card--yellow:hover { border-color: rgba(251,191,36,0.30); }
.prof-stat-card--yellow .prof-stat-card__top { color: #fbbf24; }
.prof-stat-card--yellow .prof-stat-card__value { color: #fbbf24; }

.prof-stat-card--green { border-color: rgba(52,211,153,0.15); }
.prof-stat-card--green:hover { border-color: rgba(52,211,153,0.30); }
.prof-stat-card--green .prof-stat-card__top { color: #34d399; }
.prof-stat-card--green .prof-stat-card__value { color: #34d399; }

.prof-stat-card--blue { border-color: rgba(96,165,250,0.15); }
.prof-stat-card--blue:hover { border-color: rgba(96,165,250,0.30); }
.prof-stat-card--blue .prof-stat-card__top { color: #60a5fa; }
.prof-stat-card--blue .prof-stat-card__value { color: #60a5fa; }

/* Profile tabs */
.prof-tabs {
  display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap;
}
.prof-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px; border-radius: 12px;
  border: 1px solid var(--card-border);
  background: transparent; color: var(--text-muted);
  font-family: inherit; font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
}
.prof-tab:hover {
  border-color: var(--card-border-hover);
  color: var(--text);
  background: rgba(139,92,246,0.05);
}
.prof-tab.active {
  background: rgba(139,92,246,0.12);
  border-color: rgba(139,92,246,0.30);
  color: var(--text);
}

/* Empty states */
.profile-empty {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; padding: 48px 20px; text-align: center;
}
.profile-empty__icon {
  width: 60px; height: 60px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid; margin-bottom: 8px;
}
.profile-empty__title { font-size: 16px; font-weight: 800; margin: 0; }
.profile-empty__desc { font-size: 13px; color: var(--text-muted); margin: 0; max-width: 280px; line-height: 1.5; }

/* Order cards */
.profile-order {
  padding: 18px; border-radius: 14px;
  border: 1px solid var(--card-border);
  background: rgba(14,10,30,0.30);
  margin-bottom: 12px;
}
.profile-order:last-child { margin-bottom: 0; }
.profile-order__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; flex-wrap: wrap; gap: 8px;
}
.profile-order__id { font-size: 14px; font-weight: 800; margin-right: 10px; }
.profile-order__date { font-size: 12px; color: var(--text-muted); }
.profile-order__status {
  display: inline-block; padding: 4px 12px; border-radius: 8px;
  font-size: 11px; font-weight: 700;
}
.profile-order__status--pending {
  background: rgba(251,191,36,0.12); color: #fbbf24;
  border: 1px solid rgba(251,191,36,0.25);
}
.profile-order__status--completed {
  background: rgba(52,211,153,0.12); color: #34d399;
  border: 1px solid rgba(52,211,153,0.25);
}
.profile-order__items {
  display: grid; gap: 6px; margin-bottom: 12px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(139,92,246,0.08);
}
.profile-order__item {
  display: flex; justify-content: space-between;
  font-size: 13px; font-weight: 600; color: rgba(240,236,255,0.75);
}
.profile-order__total {
  display: flex; justify-content: space-between;
  font-size: 14px; font-weight: 700;
}

.profile-receipt {
  padding: 18px; border-radius: 14px;
  border: 1px solid rgba(52,211,153,0.15);
  background: rgba(52,211,153,0.03);
  margin-bottom: 12px;
}
.profile-receipt:last-child { margin-bottom: 0; }
.profile-receipt__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; flex-wrap: wrap; gap: 8px;
}
.profile-receipt__head strong { font-size: 14px; }

@media (max-width: 768px) {
  .prof-stats { grid-template-columns: repeat(2, 1fr); }
  .prof-card__content { flex-direction: column; align-items: flex-start; }
  .prof-card__actions { width: 100%; }
}
@media (max-width: 480px) {
  .prof-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .prof-stat-card__value { font-size: 20px; }
  .prof-tabs { gap: 6px; }
  .prof-tab { padding: 8px 12px; font-size: 12px; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .main { padding: 12px 12px 40px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero { min-height: 340px; }
  .hero__title { font-size: 26px; }
  .hero__content { padding: 28px 20px; }
  .hero__alien-bg { width: 200px; height: 200px; }
  .hero__badges { gap: 12px; }
  .hero__tag { font-size: 10px; padding: 5px 10px; }
  .footer__inner { grid-template-columns: 1fr; gap: 20px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer__badges { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .header { padding: 10px 14px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .hero__btns { flex-direction: column; }
  .hero__badges { gap: 10px; }
  .hero__badge { font-size: 12px; }
  .p-card__price { font-size: 22px; }
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 9999; width: calc(100% - 40px); max-width: 520px;
  padding: 18px 22px;
  border-radius: 16px;
  background: rgba(14,10,30,0.95);
  border: 1px solid rgba(139,92,246,0.20);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 30px rgba(139,92,246,0.08);
  animation: cookieSlideUp 0.4s ease-out;
}
@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(30px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.cookie-banner__content {
  display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px;
}
.cookie-banner__content p {
  font-size: 13px; color: var(--text-muted); line-height: 1.5; margin: 0;
}
.cookie-banner__actions {
  display: flex; gap: 10px;
}
.cookie-banner__actions .btn { flex: 1; }

/* ============================================
   LEVEL-UP POPUP
   ============================================ */
.levelup-overlay {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.levelup-popup {
  position: relative; text-align: center;
  padding: 36px 32px 28px; border-radius: 20px;
  background: rgba(14,10,30,0.98);
  border: 1px solid rgba(139,92,246,0.25);
  box-shadow: 0 0 60px rgba(139,92,246,0.15), 0 20px 60px rgba(0,0,0,0.5);
  max-width: 360px; width: calc(100% - 40px);
  animation: popupScale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}
@keyframes popupScale {
  from { opacity: 0; transform: scale(0.8) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.levelup-icon {
  width: 80px; height: 80px; margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--purple-light);
  background: rgba(139,92,246,0.08);
  border: 2px solid rgba(139,92,246,0.2);
  transition: all 0.3s;
}
.levelup-icon--glow {
  color: #fbbf24 !important;
  background: rgba(251,191,36,0.10);
  border-color: rgba(251,191,36,0.3);
  box-shadow: 0 0 30px rgba(251,191,36,0.3);
  animation: levelIconPulse 1s ease-in-out infinite;
}
@keyframes levelIconPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(251,191,36,0.3); transform: scale(1); }
  50% { box-shadow: 0 0 50px rgba(251,191,36,0.5); transform: scale(1.05); }
}
.levelup-xp {
  font-size: 20px; font-weight: 900; color: #34d399;
  margin-bottom: 6px; letter-spacing: 1px;
  animation: xpBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}
@keyframes xpBounce {
  from { opacity: 0; transform: translateY(10px) scale(0.8); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.levelup-title {
  font-size: 16px; font-weight: 800; color: var(--text);
  margin-bottom: 4px; line-height: 1.4;
}
.levelup-subtitle {
  font-size: 13px; color: var(--text-muted); font-weight: 600;
}

/* Particles */
.levelup-particles {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.levelup-particle {
  position: absolute; bottom: 0; width: 6px; height: 6px;
  border-radius: 50%;
  background: hsl(var(--hue, 270), 80%, 65%);
  animation: particleUp 2s ease-out forwards;
  opacity: 0;
}
@keyframes particleUp {
  0% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-300px) scale(0); }
}

/* ============================================
   REVIEWS SYSTEM
   ============================================ */
.reviews-section {
  margin-top: 24px; padding-top: 24px;
  border-top: 1px solid rgba(139,92,246,0.08);
}
.reviews-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;
}
.reviews-header h4 {
  font-size: 16px; font-weight: 800; margin: 0;
}
.reviews-count {
  font-size: 12px; color: var(--text-muted); font-weight: 600;
}
.reviews-empty {
  text-align: center; padding: 30px 0;
}
.reviews-empty p {
  font-size: 13px; color: var(--text-muted); margin: 8px 0 0;
}
.reviews-summary {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 16px; border-radius: 14px;
  background: rgba(139,92,246,0.04); border: 1px solid rgba(139,92,246,0.08);
  margin-bottom: 16px; flex-wrap: wrap;
}
.reviews-avg {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.reviews-avg__number {
  font-size: 36px; font-weight: 900; color: #fbbf24; line-height: 1;
}
.reviews-avg__stars { display: flex; gap: 2px; margin-bottom: 2px; }
.reviews-avg__count { font-size: 11px; color: var(--text-muted); font-weight: 600; }
.reviews-bars { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 4px; }
.reviews-bar-row {
  display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600;
}
.reviews-bar-label { width: 10px; text-align: right; color: var(--text-muted); }
.reviews-bar-track {
  flex: 1; height: 6px; border-radius: 3px;
  background: rgba(139,92,246,0.08); overflow: hidden;
}
.reviews-bar-fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  transition: width 0.5s ease;
}
.reviews-bar-pct { width: 20px; color: var(--text-muted); font-size: 11px; }
.reviews-list { display: flex; flex-direction: column; gap: 12px; }
.review-card {
  padding: 14px 16px; border-radius: 12px;
  background: rgba(139,92,246,0.03); border: 1px solid rgba(139,92,246,0.06);
}
.review-card__head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 6px;
}
.review-avatar {
  width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.review-avatar--initial {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff; font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.review-card__info { flex: 1; }
.review-card__name { font-size: 13px; font-weight: 700; display: block; }
.review-card__date { font-size: 11px; color: var(--text-muted); }
.review-card__stars { display: flex; gap: 1px; flex-shrink: 0; }
.review-card__comment {
  font-size: 13px; color: var(--text-muted); line-height: 1.5;
  margin: 4px 0 0; word-break: break-word;
}

/* Star rating on product cards */
.p-card__rating {
  display: flex; align-items: center; gap: 6px;
  margin-top: 4px; font-size: 11px; color: var(--text-muted); font-weight: 600;
}
.p-card__rating svg { flex-shrink: 0; }

/* Interactive star picker */
.review-star-btn {
  cursor: pointer; display: inline-flex; padding: 2px;
  transition: transform 0.15s ease;
}
.review-star-btn:hover { transform: scale(1.2); }

/* Review form on order page */
.review-form-card {
  padding: 20px; border-radius: 14px;
  background: rgba(14,10,30,0.6); border: 1px solid rgba(139,92,246,0.12);
  margin-top: 12px;
}
.review-form-card h4 {
  font-size: 15px; font-weight: 800; margin: 0 0 4px;
  display: flex; align-items: center; gap: 8px;
}
.review-form-card p {
  font-size: 12px; color: var(--text-muted); margin: 0 0 14px;
}
.review-stars-pick {
  display: flex; gap: 4px; margin-bottom: 12px;
}
.review-textarea {
  width: 100%; padding: 10px 14px; border-radius: 10px;
  border: 1px solid var(--card-border);
  background: rgba(8,6,15,0.6); color: var(--text);
  font-family: inherit; font-size: 13px;
  resize: vertical; outline: none;
  transition: border-color 0.2s;
}
.review-textarea:focus { border-color: rgba(139,92,246,0.4); }
.review-submit-btn {
  margin-top: 10px; width: 100%; padding: 10px; border-radius: 10px;
  border: 1px solid rgba(139,92,246,0.3); background: rgba(139,92,246,0.1);
  color: var(--purple-light); font-family: inherit; font-size: 13px;
  font-weight: 700; cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.review-submit-btn:hover { background: rgba(139,92,246,0.2); }
.review-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.review-success {
  display: none; margin-top: 10px; padding: 12px; border-radius: 10px;
  background: rgba(52,211,153,0.08); border: 1px solid rgba(52,211,153,0.2);
  color: #34d399; font-size: 13px; font-weight: 600; text-align: center;
}

/* ===== AVATAR FRAMES ===== */
.avatar-frame {
  position: relative; display: inline-block; border-radius: 50%;
}
.avatar-frame img {
  display: block; border-radius: 50%; object-fit: cover; position: relative; z-index: 2;
}
.avatar-frame .level-avatar-badge {
  z-index: 25;
}
.avatar-frame::before {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  z-index: 1; pointer-events: none;
}
.avatar-frame::after {
  content: ""; position: absolute; inset: -12px; border-radius: 50%;
  z-index: 0; pointer-events: none;
}

/* Frame: none */
.avatar-frame--none::before, .avatar-frame--none::after { display: none; }

/* ——— Lv1: NEON — Purple intense breathing pulse ——— */
.avatar-frame--purple::before {
  border: 3px solid #a855f7;
  animation: frame-purple-breathe 1.5s ease-in-out infinite;
}
.avatar-frame--purple::after {
  background: radial-gradient(circle, rgba(168,85,247,0.25) 0%, transparent 70%);
  animation: frame-purple-aura 1.5s ease-in-out infinite;
}
@keyframes frame-purple-breathe {
  0%, 100% { border-color: #8b5cf6; box-shadow: 0 0 12px #8b5cf6, 0 0 24px rgba(139,92,246,0.4); }
  50% { border-color: #d8b4fe; box-shadow: 0 0 30px #a855f7, 0 0 60px rgba(168,85,247,0.6), 0 0 90px rgba(139,92,246,0.25), 0 0 5px #fff; }
}
@keyframes frame-purple-aura {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.12); opacity: 1; }
}

/* ——— Lv10: RAIO — Electric lightning rapid flicker ——— */
.avatar-frame--blue::before {
  border: 3px solid #60a5fa;
  animation: frame-blue-zap 1.4s linear infinite;
}
.avatar-frame--blue::after {
  background: radial-gradient(circle, rgba(56,189,248,0.3) 0%, transparent 65%);
  animation: frame-blue-flash 1.4s linear infinite;
}
@keyframes frame-blue-zap {
  0%    { border-color: #60a5fa; box-shadow: 0 0 12px #60a5fa, 0 0 24px rgba(96,165,250,0.4); }
  10%   { border-color: #fff; box-shadow: 0 0 50px #38bdf8, 0 0 100px rgba(56,189,248,0.8), 0 0 8px #fff; }
  13%   { border-color: #60a5fa; box-shadow: 0 0 8px #60a5fa; }
  16%   { border-color: #e0f2fe; box-shadow: 0 0 60px #22d3ee, 0 0 120px rgba(34,211,238,0.6), 0 0 10px #fff; }
  19%   { border-color: #60a5fa; box-shadow: 0 0 12px #60a5fa, 0 0 24px rgba(96,165,250,0.3); }
  50%   { border-color: #93c5fd; box-shadow: 0 0 15px #60a5fa, 0 0 30px rgba(96,165,250,0.4); }
  55%   { border-color: #fff; box-shadow: 0 0 55px #38bdf8, 0 0 110px rgba(56,189,248,0.9), 0 0 10px #fff; }
  58%   { border-color: #60a5fa; box-shadow: 0 0 10px #60a5fa; }
  62%   { border-color: #bae6fd; box-shadow: 0 0 45px #22d3ee, 0 0 90px rgba(34,211,238,0.7), 0 0 6px #fff; }
  65%   { border-color: #60a5fa; box-shadow: 0 0 12px #60a5fa, 0 0 24px rgba(96,165,250,0.3); }
  100%  { border-color: #60a5fa; box-shadow: 0 0 12px #60a5fa, 0 0 24px rgba(96,165,250,0.3); }
}
@keyframes frame-blue-flash {
  0%, 19%, 65%, 100% { opacity: 0.15; transform: scale(1); }
  10% { opacity: 1; transform: scale(1.2); }
  16% { opacity: 0.9; transform: scale(1.18); }
  55% { opacity: 1; transform: scale(1.22); }
  62% { opacity: 0.85; transform: scale(1.15); }
}

/* ——— Lv20: TÓXICA — Green pulsing glow + orbiting dashed ring ——— */
.avatar-frame--green::before {
  border: 3px solid #34d399;
  animation: frame-green-pulse 1.4s ease-in-out infinite;
}
.avatar-frame--green::after {
  border: 2px dashed rgba(52,211,153,0.5);
  animation: frame-green-orbit 2.5s linear infinite;
}
@keyframes frame-green-pulse {
  0%, 100% { border-color: #34d399; box-shadow: 0 0 14px #34d399, 0 0 28px rgba(52,211,153,0.3); }
  50% { border-color: #6ee7b7; box-shadow: 0 0 35px #34d399, 0 0 70px rgba(52,211,153,0.6), 0 0 100px rgba(16,185,129,0.2), 0 0 4px rgba(255,255,255,0.15); }
}
@keyframes frame-green-orbit { to { transform: rotate(360deg); } }

/* ——— Lv30: CHAMAS — Intense fire flicker ——— */
.avatar-frame--gold::before {
  border: 3px solid #fbbf24;
  animation: frame-gold-fire 0.35s ease-in-out infinite alternate;
}
.avatar-frame--gold::after {
  background: radial-gradient(ellipse at 50% 30%, rgba(239,68,68,0.2) 0%, rgba(251,191,36,0.15) 40%, transparent 70%);
  animation: frame-gold-blaze 0.5s ease-in-out infinite alternate;
}
@keyframes frame-gold-fire {
  0% { border-color: #fbbf24; box-shadow: 0 0 14px #fbbf24, 0 0 28px rgba(245,158,11,0.4), 0 -8px 24px rgba(239,68,68,0.2); }
  100% { border-color: #f59e0b; box-shadow: 0 0 30px #f59e0b, 0 0 60px rgba(251,191,36,0.7), 0 -18px 40px rgba(239,68,68,0.5), 0 0 6px rgba(255,255,200,0.3); }
}
@keyframes frame-gold-blaze {
  0% { transform: scale(1) rotate(-1deg); opacity: 0.4; }
  100% { transform: scale(1.12) rotate(1deg); opacity: 1; }
}

/* ——— Lv40: NEVE — Icy shimmer + floating snowflake ——— */
.avatar-frame--red::before {
  border: 3px solid #7dd3fc;
  animation: frame-ice-shimmer 2s ease-in-out infinite;
}
.avatar-frame--red::after {
  content: "❄"; position: absolute; top: -14px; right: -6px;
  font-size: 18px; z-index: 15; border-radius: 0; background: none; border: none; inset: auto;
  filter: drop-shadow(0 0 6px rgba(125,211,252,1)) drop-shadow(0 0 12px rgba(186,230,253,0.6));
  animation: frame-snowflake 2.5s ease-in-out infinite;
}
@keyframes frame-ice-shimmer {
  0%, 100% { border-color: #7dd3fc; box-shadow: 0 0 14px rgba(125,211,252,0.4), 0 0 28px rgba(186,230,253,0.2); }
  33% { border-color: #bae6fd; box-shadow: 0 0 30px rgba(186,230,253,0.8), 0 0 60px rgba(125,211,252,0.4), 0 0 6px rgba(255,255,255,0.5); }
  66% { border-color: #e0f2fe; box-shadow: 0 0 25px rgba(224,242,254,0.7), 0 0 50px rgba(125,211,252,0.35), 0 0 8px rgba(255,255,255,0.6); }
}
@keyframes frame-snowflake {
  0%   { transform: rotate(0deg) scale(1) translateY(0); opacity: 0.7; }
  25%  { transform: rotate(40deg) scale(1.3) translateY(-3px); opacity: 1; }
  50%  { transform: rotate(-15deg) scale(0.85) translateY(2px); opacity: 0.5; }
  75%  { transform: rotate(25deg) scale(1.2) translateY(-4px); opacity: 1; }
  100% { transform: rotate(0deg) scale(1) translateY(0); opacity: 0.7; }
}

/* ——— Lv50: ARCO-ÍRIS — Fast rainbow hue spin + glow ——— */
.avatar-frame--rainbow::before {
  border: 4px solid #ff0000;
  animation: frame-rainbow-hue 2s linear infinite, frame-rainbow-glow 1.5s ease-in-out infinite;
}
.avatar-frame--rainbow::after {
  border: 4px solid #ff0000;
  filter: blur(10px);
  animation: frame-rainbow-hue 2s linear infinite reverse, frame-rainbow-aura 1.5s ease-in-out infinite;
}
@keyframes frame-rainbow-hue {
  to { filter: hue-rotate(360deg); }
}
@keyframes frame-rainbow-glow {
  0%, 100% { box-shadow: 0 0 18px currentColor, 0 0 36px rgba(255,0,0,0.3); }
  50% { box-shadow: 0 0 40px currentColor, 0 0 80px rgba(255,0,0,0.5), 0 0 6px rgba(255,255,255,0.2); }
}
@keyframes frame-rainbow-aura {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.06); }
}

/* ——— Lv60: DIAMANTE — Crystal sparkle + big floating crown ——— */
.avatar-frame--diamond { overflow: visible; }
.avatar-frame--diamond::before {
  border: 4px solid #67e8f9;
  animation: frame-diamond-sparkle 2s ease-in-out infinite, frame-diamond-hue 5s linear infinite;
}
.avatar-frame--diamond::after {
  content: "👑"; position: absolute; inset: auto;
  top: -18px; right: -12px;
  font-size: 24px; z-index: 20; border-radius: 0; background: none; border: none;
  filter: drop-shadow(0 0 10px rgba(251,191,36,1)) drop-shadow(0 0 20px rgba(251,191,36,0.6));
  animation: frame-crown-float 2s ease-in-out infinite;
}
@keyframes frame-diamond-hue { to { filter: hue-rotate(360deg); } }
@keyframes frame-diamond-sparkle {
  0%, 100% { border-color: #67e8f9; box-shadow: 0 0 16px rgba(103,232,249,0.5), 0 0 32px rgba(165,243,252,0.25); }
  25% { border-color: #e0f2ff; box-shadow: 0 0 40px rgba(224,242,255,0.9), 0 0 80px rgba(103,232,249,0.5), 0 0 8px rgba(255,255,255,0.6); }
  50% { border-color: #c4b5fd; box-shadow: 0 0 28px rgba(196,181,253,0.6), 0 0 56px rgba(103,232,249,0.3), 0 0 4px #fff; }
  75% { border-color: #a5f3fc; box-shadow: 0 0 38px rgba(165,243,252,0.8), 0 0 76px rgba(196,181,253,0.4), 0 0 6px rgba(255,255,255,0.5); }
}
@keyframes frame-crown-float {
  0%, 100% { transform: translateY(0px) rotate(-5deg); }
  50% { transform: translateY(-5px) rotate(5deg); }
}

/* Frame selector UI */
.frame-selector {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px;
}
.frame-option {
  width: 64px; height: 64px; border-radius: 50%; cursor: pointer;
  position: relative; display: flex; align-items: center; justify-content: center;
  background: rgba(139,92,246,0.05); border: 2px solid var(--card-border);
  transition: border-color 0.2s, transform 0.2s;
}
.frame-option:hover { transform: scale(1.08); }
.frame-option.active { border-color: var(--purple); }
.frame-option.locked {
  opacity: 0.35; cursor: not-allowed; filter: grayscale(0.8);
}
.frame-option__lock {
  position: absolute; bottom: -2px; right: -2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(0,0,0,0.8); border: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
}
.frame-option__label {
  position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
  font-size: 9px; font-weight: 700; color: var(--text-muted); white-space: nowrap;
}
