:root {
  --bg: #05050f;
  --bg2: #0a0a1a;
  --bg3: #0f0f22;
  --card: #0d0d20;
  --card2: #13132a;
  --accent: #3f52ff;
  --accent2: #5b6fff;
  --accent3: #1a2bcc;
  --glow: rgba(63, 82, 255, 0.3);
  --text: #f0f0ff;
  --text2: #9898bb;
  --text3: #6666aa;
  --gold: #f0c040;
  --silver: #b0b8cc;
  --bronze: #cd7f32;
  --green: #2ecc71;
  --red: #e74c3c;
  --border: rgba(63, 82, 255, 0.18);
  --radius: 14px;
  --radius-sm: 8px;
  --font-head: 'Rajdhani', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }

#particles-canvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent3); border-radius: 3px; }

#main-header { position: sticky; top: 0; z-index: 100; background: rgba(5,5,15,0.85); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.header-inner { max-width: 1400px; margin: 0 auto; padding: 0 40px; height: 70px; display: flex; align-items: center; gap: 40px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: var(--font-head); font-size: 22px; font-weight: 700; letter-spacing: 0.5px; white-space: nowrap; }
.logo-icon { width: 36px; height: 36px; background: var(--accent); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; box-shadow: 0 0 12px var(--glow); }
.logo em { color: var(--accent2); font-style: normal; }
nav { display: flex; gap: 6px; flex: 1; }
nav a { text-decoration: none; color: var(--text2); padding: 7px 14px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; transition: var(--transition); display: flex; align-items: center; gap: 6px; }
nav a i { color: var(--accent2); font-size: 12px; }
nav a:hover { color: var(--text); background: rgba(63,82,255,0.12); }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.cart-btn { position: relative; background: rgba(63,82,255,0.15); border: 1px solid var(--border); color: var(--text); width: 42px; height: 42px; border-radius: var(--radius-sm); cursor: pointer; font-size: 16px; transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.cart-btn:hover { background: rgba(63,82,255,0.3); border-color: var(--accent); }
.cart-count { position: absolute; top: -6px; right: -6px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: none; align-items: center; justify-content: center; }
.cart-count.show { display: flex; }
.btn-discord-login { display: flex; align-items: center; gap: 8px; background: #5865F2; color: #fff; border: none; padding: 9px 18px; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 14px; font-weight: 600; cursor: pointer; transition: var(--transition); white-space: nowrap; }
.btn-discord-login:hover { background: #4752c4; transform: translateY(-1px); }
.admin-badge { display: inline-flex; align-items: center; gap: 4px; background: linear-gradient(135deg,#f0c040,#ff9500); color: #111; font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 99px; margin-left: 6px; letter-spacing: 0.3px; vertical-align: middle; }
.user-chip { display: flex; align-items: center; gap: 10px; background: var(--card2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 6px 14px 6px 6px; cursor: pointer; transition: var(--transition); }
.user-chip:hover { border-color: var(--accent); }
.user-chip img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.user-chip .user-name { font-size: 13px; font-weight: 600; color: var(--text); }
.user-chip .user-tag { font-size: 11px; color: var(--text3); }
.user-dropdown { position: relative; }
.user-menu { display: none; position: absolute; top: calc(100% + 8px); right: 0; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); min-width: 190px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.4); z-index: 200; }
.user-menu.open { display: block; }
.user-menu a, .user-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 16px; color: var(--text2); text-decoration: none; font-size: 14px; background: none; border: none; cursor: pointer; font-family: var(--font-body); transition: var(--transition); }
.user-menu a:hover, .user-menu button:hover { background: rgba(63,82,255,0.12); color: var(--text); }
.user-menu .logout { color: var(--red); }
.user-menu .logout:hover { background: rgba(231,76,60,0.12); }

.cart-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 150; backdrop-filter: blur(4px); }
.cart-overlay.open { display: block; }
.cart-sidebar { position: fixed; top: 0; right: -420px; width: 400px; height: 100vh; background: var(--bg2); border-left: 1px solid var(--border); z-index: 160; transition: right 0.35s cubic-bezier(0.4,0,0.2,1); display: flex; flex-direction: column; }
.cart-sidebar.open { right: 0; }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.cart-header h3 { font-family: var(--font-head); font-size: 20px; display: flex; align-items: center; gap: 10px; }
.cart-header h3 i { color: var(--accent2); }
.close-cart { background: none; border: none; color: var(--text2); font-size: 20px; cursor: pointer; transition: color var(--transition); padding: 4px; }
.close-cart:hover { color: var(--text); }
.cart-items { flex: 1; overflow-y: auto; padding: 16px; }
.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 200px; color: var(--text3); gap: 12px; }
.cart-empty i { font-size: 48px; opacity: 0.4; }
.cart-item { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--card); border-radius: var(--radius-sm); margin-bottom: 10px; border: 1px solid var(--border); animation: slideIn 0.2s ease; }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.cart-item-icon { width: 46px; height: 46px; background: rgba(63,82,255,0.15); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; overflow: hidden; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 14px; font-weight: 600; color: var(--text); }
.cart-item-price { font-size: 13px; color: var(--accent2); font-weight: 700; }
.cart-item-qty { display: flex; align-items: center; gap: 6px; }
.qty-btn { width: 26px; height: 26px; background: var(--card2); border: 1px solid var(--border); color: var(--text); border-radius: 4px; cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.qty-btn:hover { background: var(--accent); border-color: var(--accent); }
.qty-num { font-size: 14px; font-weight: 600; min-width: 20px; text-align: center; }
.cart-item-remove { background: none; border: none; color: var(--text3); cursor: pointer; font-size: 14px; padding: 4px; transition: color var(--transition); }
.cart-item-remove:hover { color: var(--red); }
.cart-footer { padding: 16px 24px; border-top: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 16px; }
.cart-total strong { font-size: 22px; color: var(--accent2); font-family: var(--font-head); }
.btn-checkout { width: 100%; padding: 14px; background: var(--accent); color: #fff; border: none; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 15px; font-weight: 700; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 4px 20px var(--glow); }
.btn-checkout:hover { background: var(--accent2); transform: translateY(-2px); }
.cart-note { text-align: center; font-size: 12px; color: var(--text3); margin-top: 8px; }

.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.75); z-index: 200; backdrop-filter: blur(6px); align-items: center; justify-content: center; }
.modal-overlay.open { display: flex; animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal { background: var(--bg2); border: 1px solid var(--border); border-radius: 20px; padding: 40px; position: relative; max-height: 90vh; overflow-y: auto; animation: modalUp 0.25s ease; }
@keyframes modalUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateX(0); } }
.modal-close { position: absolute; top: 16px; right: 16px; background: var(--card2); border: 1px solid var(--border); color: var(--text2); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.modal-close:hover { background: var(--red); color: #fff; border-color: var(--red); }
.login-modal-box { width: 460px; text-align: center; }
.modal-icon { font-size: 52px; color: #5865F2; margin-bottom: 20px; }
.login-modal-box h2 { font-family: var(--font-head); font-size: 32px; margin-bottom: 12px; }
.login-modal-box p { color: var(--text2); margin-bottom: 28px; font-size: 15px; }
.btn-discord-big { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 16px; background: #5865F2; color: #fff; border: none; border-radius: var(--radius); font-family: var(--font-body); font-size: 17px; font-weight: 700; cursor: pointer; transition: var(--transition); box-shadow: 0 4px 24px rgba(88,101,242,0.4); }
.btn-discord-big:hover { background: #4752c4; transform: translateY(-2px); }
.modal-small { font-size: 12px; color: var(--text3); margin-top: 14px; }
.checkout-modal-box { width: 580px; }
.checkout-modal-box h2 { font-family: var(--font-head); font-size: 26px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.checkout-modal-box h2 i { color: var(--accent2); }
.checkout-summary-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: var(--card); border-radius: var(--radius-sm); margin-bottom: 8px; font-size: 14px; border: 1px solid var(--border); }
.checkout-summary-item span:last-child { color: var(--accent2); font-weight: 700; }
.checkout-summary-total { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: rgba(63,82,255,0.08); border-radius: var(--radius-sm); margin-bottom: 6px; border: 1px solid var(--border); font-weight: 600; font-size: 14px; }
.checkout-summary-total.checkout-final { background: rgba(63,82,255,0.15); margin-top: 4px; }
.checkout-summary-total.checkout-final span:last-child { font-size: 24px; color: var(--accent2); font-family: var(--font-head); }
.checkout-summary-total.checkout-original span:last-child { text-decoration: line-through; color: var(--text3); }
.checkout-summary-total.checkout-saving span:last-child { color: var(--green); font-family: var(--font-head); font-size: 16px; }
.checkout-summary-total-block { margin-bottom: 4px; }

.checkout-discount-row { margin: 10px 0; padding: 12px 14px; background: var(--card2); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.discount-input-row { display: flex; gap: 8px; }
.discount-input-row input { flex: 1; background: var(--bg3); border: 1px solid var(--border); color: var(--text); padding: 9px 12px; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 14px; outline: none; text-transform: uppercase; letter-spacing: 1px; transition: border-color var(--transition); }
.discount-input-row input:focus { border-color: var(--accent); }
.discount-input-row input::placeholder { text-transform: none; letter-spacing: 0; color: var(--text3); }
.btn-apply-discount { background: var(--accent); color: #fff; border: none; padding: 9px 16px; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 13px; font-weight: 700; cursor: pointer; transition: var(--transition); white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.btn-apply-discount:hover { background: var(--accent2); }
.discount-result { display: none; margin-top: 8px; align-items: center; gap: 8px; font-size: 13px; }
.discount-result.visible { display: flex; }
.discount-code-tag { background: rgba(240,192,64,0.15); border: 1px solid rgba(240,192,64,0.4); color: var(--gold); padding: 2px 10px; border-radius: 99px; font-weight: 700; font-size: 12px; letter-spacing: 1px; }
.discount-pct { color: var(--green); font-weight: 800; font-family: var(--font-head); font-size: 15px; }

.checkout-form label { display: block; font-size: 13px; color: var(--text2); margin-bottom: 6px; margin-top: 14px; }
.checkout-form label span { color: var(--red); }
.checkout-form input, .checkout-form textarea { width: 100%; background: var(--card); border: 1px solid var(--border); color: var(--text); padding: 11px 14px; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 14px; outline: none; transition: border-color var(--transition); }
.checkout-form textarea { height: 80px; resize: vertical; }
.checkout-form input:focus, .checkout-form textarea:focus { border-color: var(--accent); }
.checkout-form input::placeholder, .checkout-form textarea::placeholder { color: var(--text3); }
.checkout-modal-box .btn-checkout { margin-top: 20px; }
.cashbill-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; font-size: 12px; color: var(--text3); }
.cashbill-note img { height: 16px; opacity: 0.5; filter: grayscale(1); }
.success-modal-box { width: 420px; text-align: center; }
.success-icon { font-size: 64px; color: var(--green); margin-bottom: 20px; animation: popIn 0.4s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes popIn { from { transform: scale(0); } to { transform: scale(1); } }
.success-modal-box h2 { font-family: var(--font-head); font-size: 28px; margin-bottom: 12px; }
.success-modal-box p { color: var(--text2); margin-bottom: 10px; }
.order-id { font-size: 13px; }
.success-modal-box .btn-checkout { margin-top: 20px; }


.shop-hero {
  position: relative; z-index: 1; min-height: 540px;
  max-width: 1400px; margin: 0 auto; padding: 80px 40px;
  display: flex; align-items: center; gap: 60px;
}
.hero-content { flex: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(63,82,255,0.15); border: 1px solid var(--border); color: var(--accent2); padding: 6px 14px; border-radius: 99px; font-size: 13px; font-weight: 600; margin-bottom: 24px; }
.hero-content h1 { font-family: var(--font-head); font-size: clamp(36px, 5vw, 62px); font-weight: 700; line-height: 1.1; margin-bottom: 20px; }
.gradient-text { background: linear-gradient(135deg, var(--accent2) 0%, #a78bfa 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-content p { color: var(--text2); font-size: 17px; max-width: 500px; margin-bottom: 36px; }
.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: 28px; color: var(--text); }
.stat span { font-size: 13px; color: var(--text3); }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

.hero-visual {
  position: relative;
  width: 420px; height: 420px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}

.hero-ring-outer {
  position: absolute; inset: 10px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(63,82,255,0.10) 0%, transparent 65%);
  border: 1px solid rgba(63,82,255,0.10);
  animation: pulse-ring 5s ease-in-out infinite;
  overflow: hidden;
}
.hero-ring-outer::after {
  content: '';
  position: absolute; inset: -20px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(63,82,255,0.12) 0%, transparent 60%);
  filter: blur(24px);
  pointer-events: none;
}
@keyframes pulse-ring { 0%,100%{transform:scale(1);opacity:.7;} 50%{transform:scale(1.04);opacity:1;} }

.hero-ring {
  position: absolute; inset: 0; width: 100%; height: 100%;
  animation: ring-spin 40s linear infinite;
  border-radius: 50%;
  overflow: visible;
}
@keyframes ring-spin { to { transform: rotate(360deg); } }

.hero-orb-center {
  position: absolute; text-align: center; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.orb-center-label { font-size: 11px; color: var(--text3); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.orb-center-count { font-family: var(--font-head); font-size: 38px; font-weight: 700; color: var(--text); line-height: 1; background: linear-gradient(135deg,#fff 0%,var(--accent2) 100%); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.orb-center-sub { font-size: 12px; color: var(--text3); margin-top: 2px; }

.hero-orb-inner { position: absolute; inset: 0; pointer-events: none; }

.orb-card {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  background: rgba(13,13,32,0.92);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 10px 14px;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
  white-space: nowrap;
  pointer-events: all;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 200px;
}
.orb-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 36px rgba(0,0,0,0.55), 0 0 18px var(--rg, rgba(63,82,255,0.25));
}
.orb-card::before {
  content: '';
  position: absolute; left: 0; top: 10%; bottom: 10%;
  width: 3px; border-radius: 99px;
  background: var(--rc, var(--accent2));
  /* Use box-shadow for glow to stay within rounded card */
  box-shadow: 0 0 8px 2px var(--rc, var(--accent2));
}

.orb-card-0 { top: 12px; left: 50%; transform: translateX(-50%); animation: floatCard0 3.5s ease-in-out infinite; }
.orb-card-1 { bottom: 60px; left: -10px; animation: floatCard1 4s ease-in-out infinite 0.5s; }
.orb-card-2 { bottom: 60px; right: -10px; animation: floatCard2 3.8s ease-in-out infinite 1s; }

@keyframes floatCard0 { 0%,100%{top:12px} 50%{top:4px} }
@keyframes floatCard1 { 0%,100%{bottom:60px} 50%{bottom:52px} }
@keyframes floatCard2 { 0%,100%{bottom:60px} 50%{bottom:68px} }

.orb-card-rank { font-family: var(--font-head); font-size: 18px; font-weight: 800; line-height: 1; flex-shrink: 0; width: 24px; text-align: center; }
.orb-card-thumb { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; overflow: hidden; }
.orb-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.orb-card-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.orb-card-name { font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 130px; }
.orb-card-bar-track { height: 4px; background: rgba(255,255,255,0.08); border-radius: 99px; overflow: hidden; }
.orb-card-bar-fill { height: 100%; border-radius: 99px; transition: width 1s ease; }
.orb-card-stats { display: flex; align-items: center; gap: 8px; }
.orb-pct { font-size: 12px; font-weight: 800; font-family: var(--font-head); }
.orb-count { font-size: 11px; color: var(--text3); }

.categories-bar { position: sticky; top: 70px; z-index: 90; background: rgba(5,5,15,0.9); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 14px 40px; }
.categories-inner { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.cat-btn { background: none; border: 1px solid var(--border); color: var(--text2); padding: 8px 20px; border-radius: 99px; font-family: var(--font-body); font-size: 14px; font-weight: 500; cursor: pointer; transition: var(--transition); white-space: nowrap; display: flex; align-items: center; gap: 7px; }
.cat-btn i { font-size: 12px; }
.cat-btn:hover { border-color: var(--accent); color: var(--text); }
.cat-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }

.products-section { position: relative; z-index: 1; max-width: 1400px; margin: 0 auto; padding: 60px 40px; }
.section-title { margin-bottom: 40px; }
.section-title h2 { font-family: var(--font-head); font-size: 36px; font-weight: 700; margin-bottom: 8px; }
.section-title p { color: var(--text2); font-size: 15px; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.products-empty { grid-column: 1/-1; text-align: center; color: var(--text3); padding: 60px 0; }
.products-empty i { font-size: 48px; display: block; margin-bottom: 16px; opacity: 0.3; }
.product-card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); position: relative; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-6px); border-color: rgba(63,82,255,0.5); box-shadow: 0 12px 40px rgba(63,82,255,0.2); }
.product-card.featured { border-color: var(--gold); box-shadow: 0 0 20px rgba(240,192,64,0.15); }
.product-badge { position: absolute; top: 14px; right: 14px; padding: 4px 10px; border-radius: 99px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; z-index: 2; }
.badge-sale { background: var(--red); color: #fff; }
.badge-new  { background: var(--green); color: #fff; }
.badge-hot  { background: var(--gold); color: #111; }
.badge-popular { background: var(--accent); color: #fff; }
.product-purchase-badge { position: absolute; top: 14px; left: 14px; background: rgba(0,0,0,0.7); border: 1px solid rgba(240,192,64,0.4); color: var(--gold); padding: 3px 9px; border-radius: 99px; font-size: 11px; font-weight: 700; z-index: 2; display: flex; align-items: center; gap: 4px; }
.product-img-area { height: 160px; display: flex; align-items: center; justify-content: center; background: var(--card2); font-size: 64px; position: relative; overflow: hidden; }
.product-img-area img { width: 100%; height: 100%; object-fit: cover; }
.product-img-area::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(63,82,255,0.12) 0%, transparent 70%); pointer-events: none; }
.product-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-cat { font-size: 11px; color: var(--accent2); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.product-name { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.product-desc { font-size: 13px; color: var(--text2); margin-bottom: 14px; flex: 1; line-height: 1.5; }
.product-perks { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.perk { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text2); }
.perk i { color: var(--green); font-size: 10px; width: 14px; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.product-price { display: flex; flex-direction: column; }
.price-old { font-size: 12px; color: var(--text3); text-decoration: line-through; }
.price-current { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--text); line-height: 1; }
.price-current .currency { font-size: 14px; color: var(--text2); margin-left: 2px; }
.btn-add-cart { display: flex; align-items: center; gap: 7px; background: var(--accent); color: #fff; border: none; padding: 10px 18px; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 13px; font-weight: 700; cursor: pointer; transition: var(--transition); white-space: nowrap; box-shadow: 0 4px 14px var(--glow); }
.btn-add-cart:hover { background: var(--accent2); transform: scale(1.03); }

.how-it-works { position: relative; z-index: 1; max-width: 1400px; margin: 0 auto; padding: 60px 40px; text-align: center; }
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 20px; margin-top: 40px; flex-wrap: wrap; }
.step { flex: 1; min-width: 180px; max-width: 220px; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 28px 20px; transition: var(--transition); }
.step:hover { border-color: var(--accent); transform: translateY(-4px); }
.step-num { font-family: var(--font-head); font-size: 48px; font-weight: 700; color: rgba(63,82,255,0.2); line-height: 1; margin-bottom: 12px; }
.step-icon { font-size: 30px; color: var(--accent2); margin-bottom: 14px; }
.step h3 { font-family: var(--font-head); font-size: 20px; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--text2); }
.step-arrow { font-size: 20px; color: var(--text3); padding-top: 60px; flex-shrink: 0; }

.regulamin-banner {
  position: relative; z-index: 1;
  max-width: 1400px; margin: 0 auto 20px; padding: 0 40px;
}
.regulamin-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  transition: border-color var(--transition);
}
.regulamin-card:hover { border-color: rgba(63,82,255,0.4); }
.regulamin-left { display: flex; align-items: center; gap: 16px; }
.regulamin-icon { width: 46px; height: 46px; background: rgba(63,82,255,0.12); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--accent2); flex-shrink: 0; }
.regulamin-text h4 { font-family: var(--font-head); font-size: 18px; color: var(--text); margin-bottom: 2px; }
.regulamin-text p { font-size: 13px; color: var(--text2); }
.btn-regulamin { display: flex; align-items: center; gap: 8px; background: rgba(63,82,255,0.15); border: 1px solid var(--border); color: var(--accent2); padding: 9px 18px; border-radius: var(--radius-sm); text-decoration: none; font-size: 13px; font-weight: 600; transition: var(--transition); white-space: nowrap; }
.btn-regulamin:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

footer { position: relative; z-index: 1; border-top: 1px solid var(--border); margin-top: 40px; }
.footer-inner { max-width: 1400px; margin: 0 auto; padding: 60px 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--text2); font-size: 14px; margin-top: 14px; max-width: 280px; line-height: 1.7; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-socials a { width: 36px; height: 36px; background: var(--card2); border: 1px solid var(--border); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--text2); text-decoration: none; transition: var(--transition); }
.footer-socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-links h4 { font-family: var(--font-head); font-size: 16px; color: var(--text); margin-bottom: 16px; }
.footer-links a { display: block; color: var(--text2); text-decoration: none; font-size: 14px; margin-bottom: 10px; transition: color var(--transition); }
.footer-links a:hover { color: var(--accent2); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 40px; text-align: center; font-size: 12px; color: var(--text3); }

.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 300; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 18px; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; box-shadow: 0 4px 20px rgba(0,0,0,0.4); animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards; min-width: 260px; }
.toast.success { border-left: 3px solid var(--green); }
.toast.error   { border-left: 3px solid var(--red); }
.toast.info    { border-left: 3px solid var(--accent); }
.toast i { font-size: 16px; }
.toast.success i { color: var(--green); }
.toast.error i   { color: var(--red); }
.toast.info i    { color: var(--accent2); }
@keyframes toastIn  { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }

#pz-loading { position: fixed; inset: 0; z-index: 999; background: var(--bg); display: flex; align-items: center; justify-content: center; }
.pz-loader { text-align: center; }
.pz-spinner { width: 40px; height: 40px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; margin: 0 auto 16px; }
@keyframes spin { to { transform: rotate(360deg); } }
.pz-loader p { color: var(--text3); font-size: 14px; }
@keyframes fadeOut { to { opacity: 0; } }


.admin-overlay { display: none; position: fixed; inset: 0; z-index: 500; background: rgba(0,0,0,0.82); backdrop-filter: blur(8px); align-items: stretch; }
.admin-overlay.open { display: flex; animation: fadeIn 0.2s ease; }
.admin-sidebar { width: 440px; height: 100vh; overflow-y: auto; background: var(--bg2); border-right: 1px solid var(--border); display: flex; flex-direction: column; flex-shrink: 0; }
.admin-header { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px; border-bottom: 1px solid var(--border); background: rgba(63,82,255,0.08); position: sticky; top: 0; z-index: 2; }
.admin-title { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--text); }
.admin-title i { color: var(--gold); font-size: 20px; }
.admin-close-btn { width: 34px; height: 34px; background: var(--card2); border: 1px solid var(--border); color: var(--text2); border-radius: 50%; cursor: pointer; font-size: 15px; display: flex; align-items: center; justify-content: center; transition: var(--transition); flex-shrink: 0; }
.admin-close-btn:hover { background: var(--red); color: #fff; border-color: var(--red); }
.admin-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 20px 28px; }
.admin-stat { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; text-align: center; }
.admin-stat-val { font-family: var(--font-head); font-size: 32px; font-weight: 700; color: var(--accent2); }
.admin-stat-lbl { font-size: 12px; color: var(--text3); margin-top: 2px; }

.admin-tabs { display: flex; gap: 4px; padding: 0 28px 12px; }
.admin-tab-btn { flex: 1; padding: 8px 10px; background: var(--card2); border: 1px solid var(--border); color: var(--text2); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 12px; font-weight: 600; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 5px; }
.admin-tab-btn i { font-size: 11px; }
.admin-tab-btn:hover { border-color: var(--accent); color: var(--text); }
.admin-tab-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.admin-section-label { padding: 0 28px 10px; font-size: 11px; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: 1px; }
.admin-product-list { flex: 1; overflow-y: auto; padding: 0 28px; display: flex; flex-direction: column; gap: 8px; }
.admin-product-row { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; transition: border-color var(--transition); }
.admin-product-row:hover { border-color: rgba(63,82,255,0.4); }
.admin-product-icon { width: 40px; height: 40px; background: rgba(63,82,255,0.12); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; overflow: hidden; }
.admin-product-info { flex: 1; min-width: 0; }
.admin-product-name { font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-product-meta { font-size: 12px; color: var(--text3); margin-top: 2px; }
.admin-product-actions { display: flex; gap: 6px; flex-shrink: 0; }
.admin-btn-edit, .admin-btn-del { width: 30px; height: 30px; border-radius: 6px; border: 1px solid var(--border); cursor: pointer; font-size: 12px; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.admin-btn-edit { background: rgba(63,82,255,0.15); color: var(--accent2); }
.admin-btn-edit:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.admin-btn-del { background: rgba(231,76,60,0.1); color: var(--red); }
.admin-btn-del:hover { background: var(--red); color: #fff; border-color: var(--red); }
.admin-add-product-btn { margin: 20px 28px 28px; padding: 13px; background: var(--accent); color: #fff; border: none; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 14px; font-weight: 700; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 4px 16px var(--glow); }
.admin-add-product-btn:hover { background: var(--accent2); transform: translateY(-1px); }
.admin-form-panel { flex: 1; height: 100vh; overflow-y: auto; background: var(--bg3); border-left: 1px solid var(--border); display: none; flex-direction: column; }
.admin-form-panel.open { display: flex; animation: slideInForm 0.25s ease forwards; }
/* Stats fullscreen overlay */
.stats-fullscreen-overlay { display:none; position:fixed; inset:0; z-index:600; background:var(--bg); overflow-y:auto; flex-direction:column; }
.stats-fullscreen-overlay.open { display:flex; animation: fadeIn 0.2s ease; }
.stats-fs-header { display:flex; align-items:center; justify-content:space-between; padding:18px 32px; border-bottom:1px solid var(--border); background:var(--bg2); position:sticky; top:0; z-index:2; }
.stats-fs-body { flex:1; padding:28px 32px; max-width:1400px; margin:0 auto; width:100%; box-sizing:border-box; }

@keyframes slideInForm { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.admin-form-header { display: flex; align-items: center; justify-content: space-between; padding: 24px 32px; border-bottom: 1px solid var(--border); background: rgba(63,82,255,0.06); position: sticky; top: 0; z-index: 2; }
.admin-form-header h3 { font-family: var(--font-head); font-size: 22px; color: var(--text); }
.admin-form-body { padding: 28px 32px; display: flex; flex-direction: column; gap: 16px; }
.ap-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ap-field-sm { max-width: 120px; }
.ap-field { display: flex; flex-direction: column; gap: 6px; }
.ap-field label { font-size: 12px; font-weight: 600; color: var(--text2); text-transform: uppercase; letter-spacing: 0.5px; }
.ap-field input, .ap-field select, .ap-field textarea { background: var(--card); border: 1px solid var(--border); color: var(--text); padding: 10px 14px; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 14px; outline: none; transition: border-color var(--transition); width: 100%; }
.ap-field input:focus, .ap-field select:focus, .ap-field textarea:focus { border-color: var(--accent); }
.ap-field input::placeholder, .ap-field textarea::placeholder { color: var(--text3); }
.ap-field select option { background: var(--card2); }
.ap-field textarea { height: 90px; resize: vertical; }
.ap-image-upload { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ap-upload-btn { display: inline-flex; align-items: center; gap: 7px; background: var(--card2); border: 1px solid var(--border); color: var(--text2); padding: 9px 16px; border-radius: var(--radius-sm); font-size: 13px; cursor: pointer; transition: var(--transition); white-space: nowrap; }
.ap-upload-btn:hover { border-color: var(--accent); color: var(--text); }
.ap-upload-or { font-size: 12px; color: var(--text3); flex-shrink: 0; }
.ap-image-preview { margin-top: 8px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); max-width: 200px; }
.ap-image-preview img { display: block; width: 100%; height: auto; max-height: 120px; object-fit: cover; }
.ap-checkbox-field { flex-direction: row !important; align-items: center; }
.ap-checkbox-label { display: flex; align-items: center; gap: 10px; font-size: 14px !important; font-weight: 500 !important; color: var(--text2) !important; text-transform: none !important; letter-spacing: 0 !important; cursor: pointer; }
.ap-checkbox-label input[type="checkbox"] { display: none; }
.ap-checkbox-custom { width: 18px; height: 18px; border: 2px solid var(--border); border-radius: 4px; background: var(--card); flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.ap-checkbox-label input[type="checkbox"]:checked + .ap-checkbox-custom { background: var(--accent); border-color: var(--accent); }
.ap-checkbox-label input[type="checkbox"]:checked + .ap-checkbox-custom::after { content: '✓'; font-size: 11px; color: #fff; font-weight: 700; }
.ap-actions { display: flex; gap: 12px; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--border); }
.ap-btn-cancel { flex: 1; padding: 12px; background: var(--card2); color: var(--text2); border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 14px; font-weight: 600; cursor: pointer; transition: var(--transition); }
.ap-btn-cancel:hover { border-color: var(--red); color: var(--red); }
.ap-btn-save { flex: 2; padding: 12px; background: var(--accent); color: #fff; border: none; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 14px; font-weight: 700; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 4px 16px var(--glow); }
.ap-btn-save:hover { background: var(--accent2); transform: translateY(-1px); }
.fivemanage-badge { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--text3); margin-top: 4px; }
.fivemanage-badge i { color: var(--accent2); }

@media (max-width: 1100px) {
  .hero-visual { width: 360px; height: 360px; }
  .orb-card { min-width: 170px; }
  .orb-card-name { max-width: 100px; }
}
@media (max-width: 900px) {
  .hero-visual { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .header-inner { padding: 0 20px; gap: 16px; }
  nav { display: none; }
  .shop-hero { padding: 50px 20px; }
  .categories-bar { padding: 12px 16px; }
  .categories-inner { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .products-section, .how-it-works { padding: 40px 20px; }
  .step-arrow { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; padding: 40px 20px; }
  .footer-bottom { padding: 16px 20px; }
  .cart-sidebar { width: 100%; right: -100%; }
  .modal { padding: 28px 20px; margin: 20px; }
  .login-modal-box, .checkout-modal-box, .success-modal-box { width: auto; }
  .admin-overlay { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; max-height: 50vh; }
  .admin-form-panel { height: auto; min-height: 50vh; border-left: none; border-top: 1px solid var(--border); }
  .ap-row { grid-template-columns: 1fr; }
  .regulamin-banner { padding: 0 20px; }
  .regulamin-card { flex-direction: column; align-items: flex-start; gap: 14px; }
}

.product-contact-badge {
  position: absolute; top: 44px; left: 14px;
  background: rgba(0,0,0,0.75); border: 1px solid rgba(240,192,64,0.5);
  color: var(--gold); padding: 3px 9px; border-radius: 99px;
  font-size: 11px; font-weight: 700; z-index: 2;
  display: flex; align-items: center; gap: 4px;
}
.product-card:not(:has(.product-purchase-badge)) .product-contact-badge { top: 14px; }

.product-contact-info {
  display: flex; align-items: flex-start; gap: 8px;
  background: rgba(240,192,64,0.08); border: 1px solid rgba(240,192,64,0.2);
  border-radius: var(--radius-sm); padding: 9px 12px;
  font-size: 12px; color: var(--gold); margin-bottom: 12px; line-height: 1.5;
}
.product-contact-info i { flex-shrink: 0; margin-top: 2px; }

.cart-contact-notice {
  display: flex; align-items: flex-start; gap: 10px;
  background: rgba(240,192,64,0.08); border: 1px solid rgba(240,192,64,0.2);
  border-radius: var(--radius-sm); padding: 12px 14px;
  margin-top: 10px; font-size: 13px; color: var(--gold); line-height: 1.5;
}
.cart-contact-notice i { font-size: 16px; flex-shrink: 0; margin-top: 2px; }

.checkout-contact-notice {
  display: flex; align-items: flex-start; gap: 14px;
  background: rgba(240,192,64,0.08); border: 1px solid rgba(240,192,64,0.25);
  border-radius: var(--radius-sm); padding: 14px 16px;
  margin-bottom: 14px;
}
.checkout-contact-notice i { font-size: 22px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.checkout-contact-notice strong { display: block; color: var(--gold); font-size: 14px; margin-bottom: 4px; }
.checkout-contact-notice p { font-size: 13px; color: var(--text2); margin-bottom: 8px; }
.btn-discord-notice {
  display: inline-flex; align-items: center; gap: 6px;
  background: #5865F2; color: #fff; text-decoration: none;
  padding: 6px 14px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600; transition: var(--transition);
}
.btn-discord-notice:hover { background: #4752c4; }

.pesel-tip {
  display: flex; align-items: flex-start; gap: 8px;
  background: rgba(63,82,255,0.08); border: 1px solid rgba(63,82,255,0.2);
  border-radius: var(--radius-sm); padding: 9px 12px;
  font-size: 12px; color: var(--text2); margin-top: 6px; margin-bottom: 4px; line-height: 1.5;
}
.pesel-tip i { color: var(--accent2); flex-shrink: 0; margin-top: 2px; }
.pesel-tip code { background: rgba(63,82,255,0.15); color: var(--accent2); padding: 1px 6px; border-radius: 4px; font-family: monospace; font-size: 12px; }

.success-contact-info {
  display: flex; align-items: flex-start; gap: 14px;
  background: rgba(46,204,113,0.08); border: 1px solid rgba(46,204,113,0.25);
  border-radius: var(--radius-sm); padding: 14px 16px;
  margin: 12px 0; text-align: left;
}
.success-contact-info i { font-size: 22px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.success-contact-info strong { display: block; color: var(--green); font-size: 14px; margin-bottom: 4px; }
.success-contact-info p { font-size: 13px; color: var(--text2); }

.admin-tabs { display: flex; gap: 4px; padding: 0 28px 12px; flex-wrap: wrap; }
.admin-tab-btn { flex: 1; min-width: 70px; padding: 7px 8px; background: var(--card2); border: 1px solid var(--border); color: var(--text2); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 11px; font-weight: 600; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 4px; white-space: nowrap; }
.admin-tab-btn i { font-size: 10px; }
.admin-tab-btn:hover { border-color: var(--accent); color: var(--text); }
.admin-tab-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.steps { flex-wrap: wrap; }
.step { min-width: 150px; max-width: 180px; }