/* ============================================
   AUTH + DASHBOARD + CART + PRODUCT CSS
   ============================================ */

/* Highly Vibrant Ambient Side Glows */
.ambient-glow-left {
  position: fixed !important;
  top: 15% !important;
  left: -80px !important;
  width: 550px !important;
  height: 550px !important;
  background: radial-gradient(circle at center, rgba(99, 102, 241, 0.45) 0%, rgba(139, 92, 246, 0.25) 45%, rgba(59, 130, 246, 0.1) 65%, transparent 75%) !important;
  filter: blur(30px) !important;
  pointer-events: none !important;
  z-index: 1 !important;
  animation: floatAuraLeft 7s ease-in-out infinite alternate !important;
}

.ambient-glow-right {
  position: fixed !important;
  bottom: 12% !important;
  right: -80px !important;
  width: 550px !important;
  height: 550px !important;
  background: radial-gradient(circle at center, rgba(6, 182, 212, 0.45) 0%, rgba(236, 72, 153, 0.25) 45%, rgba(168, 85, 247, 0.1) 65%, transparent 75%) !important;
  filter: blur(30px) !important;
  pointer-events: none !important;
  z-index: 1 !important;
  animation: floatAuraRight 8s ease-in-out infinite alternate !important;
}

@keyframes floatAuraLeft {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(40px) scale(1.1); }
}

@keyframes floatAuraRight {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-40px) scale(1.12); }
}

/* Social Login Buttons & Divider */
.social-divider-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 16px 0;
}
.social-divider-wrap::before, .social-divider-wrap::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}
.social-divider-wrap span {
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
}

.social-grid-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.btn-social-google {
  height: 42px;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 12px;
  color: #0f172a !important;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  font-family: inherit;
}
.btn-social-google:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.btn-social-discord {
  height: 42px;
  background: #5865F2 !important;
  border: none !important;
  border-radius: 12px;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.3);
  font-family: inherit;
}
.btn-social-discord:hover {
  background: #4752C4 !important;
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.48);
  transform: translateY(-1.5px);
}

/* ---- AUTH PAGES ---- */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; position: relative; z-index: 1; padding-top: 80px; }
.auth-card {
  background: var(--bg-card);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  width: 100%;
  max-width: 480px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.auth-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #8b5cf6, #ec4899, #06b6d4, #8b5cf6);
  background-size: 300% 100%;
  animation: shimmer 6s linear infinite;
}
.auth-logo { text-align: center; margin-bottom: 30px; }
.auth-logo a { display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.auth-title { font-family: 'Outfit', 'Inter', sans-serif; font-size: 26px; font-weight: 900; margin-bottom: 8px; text-align: center; color: var(--text-primary); }
.auth-subtitle { color: var(--text-muted); font-size: 14px; text-align: center; margin-bottom: 32px; }

.form-group { margin-bottom: 22px; }
.form-label { display: block; font-size: 12px; font-weight: 700; color: var(--text-secondary); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.8px; }
.form-input {
  width: 100%;
  background: var(--form-input-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--text-primary);
  font-size: 15px;
  outline: none;
  transition: var(--transition);
  font-family: 'Outfit', 'Inter', sans-serif;
}
.form-input:focus {
  border-color: var(--purple);
  background: rgba(139, 92, 246, 0.08);
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.35);
  transform: translateY(-1px);
}
.form-input::placeholder { color: var(--text-muted); }
.form-input-wrap { position: relative; }
.form-input-icon { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); cursor: pointer; color: var(--text-muted); transition: var(--transition); z-index: 2; }
.form-input-icon:hover { color: var(--text-primary); }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.form-error { font-size: 12px; color: #ef4444; margin-top: 6px; display: none; }
.form-error.show { display: block; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-checkbox-row { display: flex; align-items: center; gap: 10px; }
.form-checkbox-row input[type=checkbox] { accent-color: var(--purple); width: 17px; height: 17px; cursor: pointer; flex-shrink: 0; }
.form-checkbox-label { font-size: 14px; color: var(--text-muted); cursor: pointer; }
.form-checkbox-label a { color: var(--purple-light); text-decoration: none; font-weight: 600; }

.btn-submit {
  width: 100%;
  background: var(--grad-main);
  background-size: 200% 100%;
  color: white;
  border: none;
  border-radius: var(--radius);
  padding: 16px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--btn-shadow);
  font-family: 'Outfit', 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
}
.btn-submit:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: var(--btn-hover-shadow);
}
.btn-submit:active { transform: translateY(0); }
.btn-submit.loading { pointer-events: none; opacity: 0.7; }
.btn-submit .spinner { display: none; }
.btn-submit.loading .btn-text { display: none; }
.btn-submit.loading .spinner { display: inline-block; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.auth-divider { display: flex; align-items: center; gap: 12px; margin: 26px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-divider span { color: var(--text-muted); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

.social-logins { display: flex; flex-direction: column; gap: 12px; }
.btn-social-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter',sans-serif;
}
.btn-social-login:hover { color: var(--text-primary); border-color: rgba(139,92,246,0.4); background: rgba(255,255,255,0.03); }

.btn-facebook {
  background: linear-gradient(135deg, rgba(24, 119, 242, 0.15), rgba(24, 119, 242, 0.05)) !important;
  border: 1px solid rgba(24, 119, 242, 0.3) !important;
  color: #c4d9ff !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  font-weight: 600 !important;
  letter-spacing: 0.5px;
  transition: var(--transition);
}
.btn-facebook:hover {
  background: linear-gradient(135deg, rgba(24, 119, 242, 0.3), rgba(24, 119, 242, 0.15)) !important;
  border-color: rgba(24, 119, 242, 0.8) !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(24, 119, 242, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.btn-google {
  background: linear-gradient(135deg, rgba(234, 67, 53, 0.1), rgba(66, 133, 244, 0.08)) !important;
  border: 1px solid rgba(234, 67, 53, 0.25) !important;
  color: #f0c4c0 !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  font-weight: 600 !important;
  letter-spacing: 0.5px;
  transition: var(--transition);
}
.btn-google:hover {
  background: linear-gradient(135deg, rgba(234, 67, 53, 0.25), rgba(66, 133, 244, 0.18)) !important;
  border-color: rgba(234, 67, 53, 0.7) !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(234, 67, 53, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}
.btn-google svg { flex-shrink: 0; }

.auth-footer { text-align: center; margin-top: 24px; color: var(--text-muted); font-size: 14px; }
.auth-footer a { color: var(--purple-light); text-decoration: none; font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }

.strength-bar { display: flex; gap: 4px; margin-top: 8px; }
.strength-segment { flex: 1; height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; transition: var(--transition); }
.strength-text { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ---- DASHBOARD ---- */
.dashboard-page { padding-top: 80px; min-height: 100vh; display: flex; }
.dashboard-sidebar {
  width: 260px;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--border);
  padding: 32px 0;
  position: sticky;
  top: 80px;
  align-self: start;
  min-height: calc(100vh - 80px);
  flex-shrink: 0;
}
.sidebar-user { padding: 0 24px 24px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.sidebar-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--grad-main);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  border: 2px solid rgba(139,92,246,0.4);
}
.sidebar-name { font-weight: 700; font-size: 16px; }
.sidebar-email { color: var(--text-muted); font-size: 13px; margin-top: 2px; }
.sidebar-plan {
  margin-top: 8px;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.3);
  color: var(--purple-light);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  display: inline-block;
}
.sidebar-menu { padding: 8px; }
.sidebar-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.sidebar-menu-item:hover { background: rgba(139,92,246,0.07); color: var(--text-primary); }
.sidebar-menu-item.active { background: rgba(139,92,246,0.12); color: var(--purple-light); }
.sidebar-menu-item.active .menu-icon { filter: none; }
.menu-icon { font-size: 18px; flex-shrink: 0; }
.menu-badge {
  margin-left: auto;
  background: var(--purple);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
}

.dashboard-content { flex: 1; padding: 40px 48px 80px; overflow-x: hidden; }
.dashboard-section { display: none; }
.dashboard-section.active { display: block; }
.dash-title { font-family:inherit; font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.dash-subtitle { color: var(--text-muted); font-size: 15px; margin-bottom: 36px; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 36px; }
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: var(--transition);
}
.stat-card:hover { border-color: rgba(139,92,246,0.3); }
.stat-card-icon { font-size: 28px; }
.stat-card-value { font-family:'Inter',sans-serif; font-size: 28px; font-weight: 700; background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-card-label { color: var(--text-muted); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.stat-card-change { font-size: 12px; }
.stat-card-change.positive { color: var(--green); }
.stat-card-change.negative { color: #ef4444; }

/* Keys Table */
.keys-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
}
.keys-table { width: 100%; border-collapse: collapse; }
.keys-table th { padding: 14px 20px; text-align: left; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); border-bottom: 1px solid var(--border); background: rgba(0,0,0,0.02); white-space: nowrap; }
.keys-table td { padding: 16px 20px; font-size: 14px; color: var(--text-secondary); border-bottom: 1px solid var(--border); white-space: nowrap; }
.keys-table tr:last-child td { border-bottom: none; }
.keys-table tr:hover td { background: rgba(0,0,0,0.02); color: var(--text-primary); }

[data-theme="dark"] .keys-table th { background: rgba(255,255,255,0.02); }
[data-theme="dark"] .keys-table td { border-bottom: 1px solid rgba(255,255,255,0.04); }
[data-theme="dark"] .keys-table tr:hover td { background: rgba(255,255,255,0.02); }

@media (max-width: 900px) {
  .keys-table thead { display: none; }
  .keys-table, .keys-table tbody { display: block; width: 100%; }
  .keys-table tr { 
    display: flex; 
    flex-wrap: wrap; 
    margin-bottom: 16px; 
    background: #ffffff; 
    box-shadow: 0 8px 24px rgba(0,0,0,0.04); 
    border: 1px solid rgba(0,0,0,0.04); 
    border-radius: var(--radius); 
    padding: 0;
    overflow: hidden;
  }
  [data-theme="dark"] .keys-table tr {
    background: rgba(255,255,255,0.02); 
    border: 1px solid var(--border);
    box-shadow: none;
  }
  
  .keys-table tr::before {
    content: '';
    width: 100%; height: 4px;
    background: var(--grad-main);
  }
  
  .keys-table td { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    width: 100%; 
    padding: 12px 16px; 
    border-bottom: 1px dashed rgba(0,0,0,0.08) !important;
  }
  [data-theme="dark"] .keys-table td {
    border-bottom: 1px dashed rgba(255,255,255,0.05) !important;
  }
  
  .keys-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 16px;
  }
  
  .keys-table td:first-child {
    background: rgba(139,92,246,0.03); 
    font-weight: 700;
    font-size: 14px;
    color: var(--purple-light);
    border-bottom: 1px solid rgba(0,0,0,0.06) !important;
  }
  [data-theme="dark"] .keys-table td:first-child {
    background: rgba(0,0,0,0.1);
    border-bottom: 1px solid var(--border) !important;
  }
  
  .keys-table td:last-child { 
    border-bottom: none !important; 
    background: rgba(0,0,0,0.1); 
    padding-top: 16px; 
    padding-bottom: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .keys-table td:last-child::before { display: none; }
  
  .keys-table td:last-child {
    border-top: 1px solid rgba(0,0,0,0.06) !important;
  }
  [data-theme="dark"] .keys-table td:last-child {
    border-top: none !important;
  }
  
  .keys-table td > div { width: 100%; }
}
.key-value { font-family:'JetBrains Mono',monospace; font-size: 13px; color: var(--purple-light); letter-spacing: 1px; word-break: break-all; }
.key-copy-btn {
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.3);
  color: var(--purple-light);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}
.key-copy-btn:hover { background: rgba(139,92,246,0.2); }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}
.status-active { background: rgba(16,185,129,0.12); color: #34d399; border: 1px solid rgba(16,185,129,0.3); }
.status-expired { background: rgba(239,68,68,0.12); color: #fca5a5; border: 1px solid rgba(239,68,68,0.3); }
.status-pending { background: rgba(245,158,11,0.12); color: #fbbf24; border: 1px solid rgba(245,158,11,0.3); }
.progress-bar-wrap { width: 100px; height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: var(--grad-main); border-radius: 3px; }

/* ---- CART PAGE ---- */
.cart-page { padding-top: 100px; min-height: 100vh; position: relative; z-index: 1; }
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; padding: 40px 0 80px; }
.cart-title { font-family:inherit; font-size: 32px; font-weight: 900; margin-bottom: 8px; }
.cart-count { color: var(--text-muted); font-size: 16px; margin-bottom: 32px; }

.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  align-items: center;
  transition: var(--transition);
}
.cart-item:hover { border-color: rgba(139,92,246,0.3); }
.cart-item-img {
  width: 100px; height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--grad-card);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.cart-item-game { color: var(--text-muted); font-size: 13px; margin-bottom: 8px; }
.cart-item-plan { background: rgba(139,92,246,0.1); border: 1px solid rgba(139,92,246,0.25); color: var(--purple-light); font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 100px; display: inline-block; }
.cart-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cart-item-price { font-family:'Inter',sans-serif; font-size: 20px; font-weight: 700; color: var(--purple-light); }
.cart-remove { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.2); color: #fca5a5; font-size: 12px; padding: 6px 12px; border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition); }
.cart-remove:hover { background: rgba(239,68,68,0.2); color: #ef4444; }

.qty-selector { display: flex; align-items: center; gap: 8px; }
.qty-btn {
  width: 28px; height: 28px;
  background: var(--qty-btn-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.qty-btn:hover { border-color: var(--purple); color: var(--purple-light); }
.qty-num { font-weight: 600; font-size: 15px; min-width: 24px; text-align: center; }

/* Order Summary */
.order-summary {
  position: sticky;
  top: 100px;
  align-self: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.summary-title { font-family:inherit; font-size: 18px; font-weight: 700; margin-bottom: 24px; }
.summary-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 14px; }
.summary-row .label { color: var(--text-muted); }
.summary-row .value { font-weight: 600; }
.summary-divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }
.summary-total { display: flex; justify-content: space-between; align-items: center; }
.summary-total .label { font-weight: 700; font-size: 16px; }
.summary-total .value { font-family:'Inter',sans-serif; font-size: 24px; font-weight: 900; color: var(--purple-light); }
.coupon-wrap { margin: 20px 0; display: flex; gap: 8px; }
.coupon-input {
  flex: 1;
  background: var(--form-input-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  font-family: 'Inter',sans-serif;
}
.coupon-input:focus { border-color: var(--purple); }
.coupon-btn { background: var(--grad-main); border: none; color: white; font-size: 13px; font-weight: 600; padding: 10px 16px; border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition); white-space: nowrap; }
.coupon-btn:hover { box-shadow: 0 4px 20px rgba(139,92,246,0.4); }
.btn-checkout { width: 100%; margin-top: 16px; display: block; text-align: center; }

/* ---- PRODUCT DETAIL ---- */
.product-page { padding-top: 100px; min-height: 100vh; position: relative; z-index: 1; }
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 440px);
  gap: 32px;
  padding: 40px 0 80px;
  align-items: start;
}
.product-gallery {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0,0,0,0.10);
}
.product-gallery-main {
  height: clamp(260px, 34vw, 410px);
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, rgba(139,92,246,0.18), rgba(6,182,212,0.14));
}
.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.45s ease;
}
.product-gallery:hover .product-gallery-main img { transform: scale(1.045); }
.product-gallery-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.02) 35%, rgba(0,0,0,0.50) 100%);
  pointer-events: none;
}
.product-gallery-badges {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.product-gallery-badges span {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(15,23,42,0.70);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}
.product-gallery-thumbs { display: flex; gap: 8px; padding: 12px; overflow-x: auto; }
.product-thumb {
  width: 72px; height: 52px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  flex-shrink: 0;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb.active { border-color: var(--purple); }

.product-video-section {
  margin-top: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.product-video-section h3 {
  margin: 0 0 14px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
}
.product-section-icon { color: var(--danger); }
.product-video-frame {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(0,0,0,0.2);
  border: 1px dashed rgba(255,255,255,0.10);
}

.product-info {
  position: sticky;
  top: 104px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.10);
}
.product-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); margin-bottom: 16px; flex-wrap: wrap; }
.product-breadcrumb a { color: var(--purple-light); text-decoration: none; }
.product-topline { display: none !important; }

/* Corner Floating Badge matching Screenshot 2 & 3 */
.product-corner-badge,
.product-info .product-card-badge {
  position: fixed !important;
  top: 16px !important;
  right: 16px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  z-index: 1002 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
  pointer-events: none;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.product-corner-badge.badge-hot,
.product-corner-badge.hot,
.product-corner-badge.red,
.product-info .product-card-badge.badge-hot,
.product-info .product-card-badge.hot,
.product-info .product-card-badge.red {
  background: linear-gradient(135deg, #ef4444, #f97316) !important;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4) !important;
}

.product-corner-badge.badge-undetected,
.product-corner-badge.undetected,
.product-corner-badge.green,
.product-info .product-card-badge.badge-undetected,
.product-info .product-card-badge.undetected,
.product-info .product-card-badge.green {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4) !important;
}

.product-corner-badge.badge-new,
.product-corner-badge.new,
.product-corner-badge.cyan,
.product-info .product-card-badge.badge-new,
.product-info .product-card-badge.new,
.product-info .product-card-badge.cyan {
  background: linear-gradient(135deg, #06b6d4, #3b82f6) !important;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.4) !important;
}

.product-corner-badge.badge-sale,
.product-corner-badge.sale,
.product-corner-badge.yellow,
.product-corner-badge.orange,
.product-info .product-card-badge.badge-sale,
.product-info .product-card-badge.sale,
.product-info .product-card-badge.yellow,
.product-info .product-card-badge.orange {
  background: linear-gradient(135deg, #f59e0b, #ef4444) !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4) !important;
}

.product-corner-badge.badge-purple,
.product-info .product-card-badge.badge-purple {
  background: linear-gradient(135deg, #8b5cf6, #6366f1) !important;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4) !important;
}
.product-title-big { font-family:'Inter',sans-serif; font-size: clamp(26px, 3vw, 38px); font-weight: 900; margin-bottom: 16px; line-height: 1.15; letter-spacing: 0; }
.product-meta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 20px; }
.product-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 800;
}
.stock-chip.is-ready {
  background: rgba(16,185,129,0.10);
  border-color: rgba(16,185,129,0.22);
  color: #34d399;
}
.stock-chip.is-out {
  background: rgba(239,68,68,0.10);
  border-color: rgba(239,68,68,0.22);
  color: #f87171;
}
.product-rating-display { display: flex; align-items: center; gap: 6px; }
.rating-stars-sm { color: var(--yellow); font-size: 14px; }
.rating-num { font-weight: 700; font-size: 14px; }
.rating-reviews { color: var(--text-muted); font-size: 13px; }
.product-views { color: var(--text-muted); }
.product-desc-big {
  color: var(--text-secondary);
  line-height: 1.68;
  font-size: 14.5px;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.plan-selector { margin-bottom: 22px; }
.plan-selector-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.plan-selector-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.plan-selector-note { display: none; }

.plan-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 640px) {
  .plan-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.plan-option {
  position: relative;
  background: var(--bg-card, #ffffff);
  border: 1.5px solid var(--border, #e2e8f0);
  border-radius: 14px;
  padding: 14px 6px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  box-sizing: border-box;
}

[data-theme="light"] .plan-option {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
}
[data-theme="light"] .plan-option:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
}
[data-theme="light"] .plan-option.selected {
  background: #fdf2f8 !important;
  border-color: #fbcfe8 !important;
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.12);
}

[data-theme="dark"] .plan-option {
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .plan-option:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}
[data-theme="dark"] .plan-option.selected {
  background: rgba(236, 72, 153, 0.08) !important;
  border-color: rgba(236, 72, 153, 0.6) !important;
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.25);
}

.plan-duration {
  font-size: 13.5px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 2px;
  line-height: 1.2;
}
[data-theme="light"] .plan-option.selected .plan-duration {
  color: #db2777;
}
[data-theme="dark"] .plan-option.selected .plan-duration {
  color: #f472b6;
}

.plan-price-sm {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #334155;
  margin: 3px 0 4px;
  line-height: 1.2;
}
[data-theme="dark"] .plan-price-sm {
  color: #f1f5f9;
}
.plan-option.out-of-stock .plan-price-sm {
  color: #94a3b8 !important;
  text-decoration: line-through;
}

.plan-stock-sm {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.plan-sale-label {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, #ec4899, #f59e0b);
  color: #ffffff;
  font-size: 9px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 0 13px 0 8px;
  letter-spacing: 0.5px;
}
.plan-old-price {
  margin-top: 7px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  text-decoration: line-through;
}
.plan-price-sm { font-family:'Inter',sans-serif; font-size: 16px; font-weight: 900; color: var(--text-primary); margin-top: 6px; }
.plan-option.is-sale .plan-price-sm { color: #ec4899; }

.product-price-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(6,182,212,0.08));
  border: 1px solid rgba(139,92,246,0.22);
}
.price-panel-label {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 7px;
}
.price-panel-badge {
  flex-shrink: 0;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(139,92,246,0.10);
  border: 1px solid rgba(139,92,246,0.22);
  color: var(--purple-light);
  font-size: 11px;
  font-weight: 900;
}
.price-panel-badge.is-sale {
  background: rgba(236,72,153,0.12);
  border-color: rgba(236,72,153,0.24);
  color: #ec4899;
}
.product-price-big { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 4px; }
.price-big { font-family:'Inter',sans-serif; font-size: clamp(32px, 4vw, 46px); font-weight: 900; color: var(--purple-light); line-height: 1; }
.price-period-big { font-size: 16px; color: var(--text-muted); }
.price-old-big { font-size: 20px; color: var(--text-muted); text-decoration: line-through; width: 100%; }

.product-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.btn-buy-now {
  flex: 1;
  min-height: 54px;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 55%, #06b6d4 100%) !important;
  background-size: 180% auto !important;
  box-shadow: 0 14px 34px rgba(139,92,246,0.32), 0 0 0 1px rgba(255,255,255,0.12) inset !important;
  letter-spacing: 0.2px;
}
.btn-buy-now:hover {
  background-position: right center !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 18px 42px rgba(139,92,246,0.42), 0 0 0 1px rgba(255,255,255,0.16) inset !important;
}
.btn-add-cart-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  border-radius: 16px !important;
  background: rgba(139,92,246,0.13) !important;
  border: 1px solid rgba(139,92,246,0.34) !important;
  box-shadow: none !important;
  color: var(--purple-light) !important;
  font-weight: 800 !important;
}
.btn-add-cart-detail:hover {
  background: rgba(139,92,246,0.20) !important;
  transform: translateY(-2px);
}
.btn-wishlist {
  background: var(--btn-wishlist-bg);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 20px;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.btn-wishlist:hover { border-color: var(--pink); color: var(--pink); }
.btn-wishlist.active { background: rgba(236,72,153,0.1); border-color: var(--pink); color: var(--pink); }

.product-guarantees-compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 14px;
}
.guarantee-compact-item {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 8px 11px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}
[data-theme="light"] .guarantee-compact-item {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #334155;
}
.guarantee-compact-item:hover {
  border-color: rgba(6, 182, 212, 0.35);
  transform: translateY(-1px);
}
.guarantee-compact-item svg {
  flex-shrink: 0;
}

.product-guarantees {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.guarantee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 10px 11px;
  border-radius: 14px;
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-secondary);
}
.guarantee-icon {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(16,185,129,0.14);
  color: #34d399;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}

.product-share-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.product-mobile-quickbar {
  display: none;
}
.product-share-row span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}
.product-share-row button {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 8px 13px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition: var(--transition);
}
.product-share-row button:hover {
  border-color: rgba(139,92,246,0.45);
  color: var(--text-primary);
  transform: translateY(-1px);
}
.product-share-row button.telegram {
  background: rgba(0,136,204,0.10);
  border-color: rgba(0,136,204,0.28);
  color: #4fc3f7;
}

[data-theme="light"] .product-gallery,
[data-theme="light"] .product-video-section,
[data-theme="light"] .product-info {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 18px 48px rgba(15,23,42,0.08);
}
[data-theme="light"] .product-video-frame {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
}
[data-theme="light"] .video-placeholder-wrap svg {
  color: #64748b !important;
}
[data-theme="light"] .product-meta-chip,
[data-theme="light"] .guarantee-item,
[data-theme="light"] .product-share-row button {
  background: #f8fafc;
  border-color: #e2e8f0;
}
[data-theme="light"] .plan-option {
  background: #ffffff;
  border-color: #e2e8f0;
}
[data-theme="light"] .plan-option.selected {
  background: linear-gradient(135deg, #f5f3ff, #ecfeff);
}
[data-theme="light"] .plan-option.is-sale.selected {
  background: linear-gradient(135deg, #fdf2f8, #f5f3ff);
}

.product-tabs { margin-top: 40px; }
.tab-nav { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.tab-btn {
  padding: 12px 20px;
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: var(--transition);
  font-family: 'Inter',sans-serif;
}
.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active { color: var(--purple-light); border-bottom-color: var(--purple); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.features-list-big { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.feature-item-big {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(16,185,129,0.06);
  border: 1px solid rgba(16,185,129,0.15);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-secondary);
}
.feature-item-big.unavailable { background: rgba(255,255,255,0.02); border-color: var(--border); color: var(--text-muted); }
.feature-check { color: var(--green); font-size: 16px; }
.feature-item-big.unavailable .feature-check { color: var(--text-muted); }

/* Checkout Page */
.checkout-page { padding-top: 100px; min-height: 100vh; position: relative; z-index: 1; }
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; padding: 40px 0 80px; }
.checkout-form-section { display: flex; flex-direction: column; gap: 24px; }
.checkout-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.checkout-section-title { font-family:inherit; font-size: 18px; font-weight: 700; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }

.payment-methods-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px; }
.payment-method-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--payment-method-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}
.payment-method-btn:hover { border-color: rgba(139,92,246,0.4); color: var(--text-primary); }
.payment-method-btn.selected { border-color: var(--purple); background: rgba(139,92,246,0.1); color: var(--purple-light); }
.payment-icon { font-size: 22px; }

/* Responsive */
@media (max-width: 1024px) {
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .product-layout {
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
    gap: 22px;
    padding-top: 28px;
  }
  .product-info {
    position: static;
    padding: 18px;
  }
  .product-gallery-main {
    height: clamp(250px, 38vw, 330px);
  }
  .product-title-big {
    font-size: clamp(24px, 3vw, 32px);
  }
  .plan-options {
    gap: 8px;
  }
  .plan-option {
    min-height: 78px;
    padding: 11px;
  }
  .product-guarantees {
    grid-template-columns: 1fr;
  }
  .order-summary { position: static; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-info { order: 1; }
  .product-left { order: 2; }
}
@media (max-width: 768px) {
  .dashboard-page { flex-direction: column; }
  .dash-mobile-header { display: none !important; }
  .dashboard-sidebar {
    display: none !important;
  }
  .dash-sidebar-overlay {
    display: none !important;
  }
  
  .dashboard-content { padding: 16px 12px; width: 100%; }
  .auth-card { padding: 28px 20px; }
  .stats-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 80px 1fr; }
  .cart-item-actions { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; }
  .cart-layout, .checkout-layout { padding-bottom: 130px !important; }
  .plan-options { grid-template-columns: repeat(2, 1fr); }
  .product-page { padding-bottom: 150px; }
  .product-actions { flex-direction: column; }
  .product-actions .btn-primary {
    width: 100%;
    min-height: 50px;
  }
  .product-mobile-quickbar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 86px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(9, 13, 24, 0.92);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 16px 44px rgba(0,0,0,0.38);
    backdrop-filter: blur(18px);
  }
  [data-theme="light"] .product-mobile-quickbar {
    background: rgba(255,255,255,0.94);
    border-color: #e2e8f0;
    box-shadow: 0 16px 44px rgba(15,23,42,0.16);
  }
  .quickbar-price {
    min-width: 0;
    display: flex;
    flex-direction: column;
  }
  .quickbar-price span {
    color: var(--text-muted);
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
  }
  .quickbar-price strong {
    color: var(--purple-light);
    font-size: 18px;
    font-weight: 900;
    white-space: nowrap;
  }
  .product-mobile-quickbar button {
    min-width: 132px;
    height: 46px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6 56%, #06b6d4);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(139,92,246,0.34);
  }
  .product-mobile-quickbar button:disabled {
    background: #475569;
    color: #cbd5e1;
    box-shadow: none;
    cursor: not-allowed;
  }
  .features-list-big { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr !important; }
}

@media (max-width: 540px) {
  .product-layout {
    gap: 20px;
    padding: 20px 0 56px;
  }
  .product-info {
    padding: 18px;
    border-radius: 18px;
  }
  .product-gallery-main {
    height: 220px;
  }
  .product-breadcrumb {
    display: none;
  }
  .product-topline {
    margin-bottom: 10px;
  }
  .product-title-big {
    margin-bottom: 12px;
  }
  .product-meta {
    margin-bottom: 14px;
  }
  .product-desc-big {
    -webkit-line-clamp: 3;
    margin-bottom: 16px;
  }
  .plan-selector-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .plan-selector-note {
    text-align: left;
  }
  .plan-options,
  .product-guarantees {
    grid-template-columns: 1fr;
  }
  .product-price-panel {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .price-panel-badge {
    align-self: flex-start;
  }
  .product-share-row button {
    flex: 1;
    min-width: 128px;
  }
}

/* Two Column Layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.btn-copy-mini {
  background: var(--btn-copy-mini-bg);
  border: var(--btn-copy-mini-border);
  color: var(--btn-copy-mini-color);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-copy-mini:hover {
  background: var(--purple);
  color: white;
}

.btn-copy-icon {
  background: var(--btn-copy-icon-bg);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--btn-copy-icon-color);
  transition: 0.2s;
}
.btn-copy-icon:hover {
  background: var(--btn-copy-icon-hover-bg);
  color: var(--btn-copy-icon-hover-color);
}

/* ---- PREMIUM QUICK ACTIONS ---- */
.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.quick-action-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  box-sizing: border-box;
}
.quick-action-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139,92,246,0.08) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.quick-action-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.18), 0 0 0 1px rgba(139,92,246,0.1), var(--glow-purple);
}
.quick-action-card:hover::before {
  opacity: 1;
}
.quick-action-card .action-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: rgba(139, 92, 246, 0.08);
  color: var(--purple-light);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(139, 92, 246, 0.15);
}
.quick-action-card:hover .action-icon-wrapper {
  background: var(--grad-main);
  color: white;
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
  border-color: transparent;
}
.quick-action-card .action-title {
  font-weight: 700;
  font-size: 15.5px;
  color: var(--text-primary);
  margin-bottom: 4px;
  transition: color 0.3s ease;
}
.quick-action-card:hover .action-title {
  color: var(--purple-light);
}
.quick-action-card .action-desc {
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 576px) {
  .quick-actions-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .quick-action-card {
    padding: 16px 12px;
    border-radius: var(--radius-sm);
  }
  .quick-action-card .action-icon-wrapper {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    margin-bottom: 12px;
  }
  .quick-action-card .action-icon-wrapper svg {
    width: 18px;
    height: 18px;
  }
  .quick-action-card .action-title {
    font-size: 14px;
  }
  .quick-action-card .action-desc {
    font-size: 11px;
    margin-top: 2px;
  }
}

/* ============================================
   SHOPHACK PROFILE CYBERPUNK THEME
   ============================================ */
.profile-page-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 100px 24px 80px;
}
.profile-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.profile-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}
.profile-breadcrumb a:hover {
  color: #06b6d4;
}
.profile-hero-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.25);
}
.profile-hero-banner {
  height: 130px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(6,182,212,0.18) 0%, rgba(139,92,246,0.22) 50%, rgba(236,72,153,0.2) 100%);
}
.profile-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: linear-gradient(rgba(6,182,212,0.4) 1px, transparent 1px), linear-gradient(90deg, rgba(6,182,212,0.4) 1px, transparent 1px);
  background-size: 30px 30px;
}
.profile-hero-body {
  position: relative;
  padding: 0 28px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.profile-hero-user-info {
  display: flex;
  align-items: center;
  gap: 22px;
}
.profile-avatar-wrap {
  position: relative;
  width: 105px;
  height: 105px;
  border-radius: 24px;
  background: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 50%, #ec4899 100%);
  padding: 3px;
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.35);
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.3s ease;
  margin-top: -45px;
}
.profile-avatar-wrap:hover {
  transform: scale(1.03);
}
.profile-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 21px;
  background: #090d20;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 900;
  color: #fff;
  background-size: cover;
  background-position: center;
  position: relative;
}
.profile-online-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  background: #10b981;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 2s infinite;
}
.profile-user-meta {
  padding-top: 14px;
  padding-bottom: 2px;
}
.profile-username-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.profile-username {
  font-family: 'Space Grotesk', 'Outfit', sans-serif;
  font-size: 25px;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}
[data-theme="light"] .profile-username {
  color: #090d16;
}
.profile-badge-admin {
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.2);
}
.profile-badge-member {
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: #0284c7;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.profile-fullname {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
[data-theme="light"] .profile-fullname {
  color: #1e293b;
}
.profile-sub-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.profile-sub-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.profile-balance-card {
  padding: 12px 24px;
  background: linear-gradient(135deg, rgba(6,182,212,0.08), rgba(139,92,246,0.05));
  border: 1px solid rgba(6,182,212,0.25);
  border-radius: 16px;
  text-align: right;
  box-shadow: 0 0 25px rgba(6,182,212,0.1);
}
.profile-balance-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.profile-balance-val {
  font-family: 'Space Grotesk', 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: #06b6d4;
  text-shadow: 0 0 15px rgba(6,182,212,0.3);
}

/* 4 KPI Stats Grid */
.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.profile-stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.25s ease;
  text-decoration: none;
}
.profile-stat-box:hover {
  transform: translateY(-3px);
  border-color: rgba(236,72,153,0.35);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.profile-stat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.profile-stat-content {
  flex: 1;
  min-width: 0;
}
.profile-stat-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.profile-stat-number {
  font-family: 'Space Grotesk', 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.2;
}
[data-theme="light"] .profile-stat-number {
  color: #090d16;
}
.profile-stat-desc {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Tab Navigation */
.profile-nav-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.profile-nav-tabs::-webkit-scrollbar { display: none; }
.profile-nav-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
[data-theme="light"] .profile-nav-tab-btn {
  color: #334155;
  font-weight: 800;
}
.profile-nav-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(236,72,153,0.08);
  border-color: rgba(236,72,153,0.3);
}
.profile-nav-tab-btn.active {
  color: #fff !important;
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  border-color: #ec4899;
  box-shadow: 0 0 20px rgba(236,72,153,0.35);
}

/* 2 Columns: Profile & Security */
.profile-two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.profile-two-columns > div {
  min-width: 0;
  width: 100%;
}
.profile-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0,0,0,0.15);
}
.profile-form-card-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  background: rgba(255,255,255,0.02);
}
.profile-form-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.profile-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.profile-field-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
}
.profile-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.profile-input-wrapper .profile-input-icon {
  position: absolute;
  left: 14px;
  color: #64748b;
  font-size: 16px;
  pointer-events: none;
}
.profile-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px 12px 42px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: all 0.25s ease;
}
[data-theme="light"] .profile-input {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #0f172a;
}
.profile-input:focus {
  border-color: #ec4899;
  background: rgba(236,72,153,0.06);
  box-shadow: 0 0 20px rgba(236,72,153,0.25);
}
.profile-input.readonly {
  background: rgba(255,255,255,0.02);
  color: var(--text-muted);
  cursor: not-allowed;
}
[data-theme="light"] .profile-input.readonly {
  background: #f1f5f9;
  color: #64748b;
}
.profile-pw-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  transition: color 0.2s ease;
}
.profile-pw-toggle:hover {
  color: var(--text-primary);
}
.profile-btn-submit {
  width: 100%;
  padding: 13px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  transition: all 0.3s ease;
  font-family: inherit;
}
.profile-btn-pink {
  background: linear-gradient(135deg, rgba(236,72,153,0.15) 0%, rgba(139,92,246,0.15) 100%);
  border: 1px solid rgba(236,72,153,0.35);
  color: #ec4899;
}
.profile-btn-pink:hover {
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  color: #fff;
  box-shadow: 0 8px 25px rgba(236,72,153,0.4);
  transform: translateY(-2px);
}
.profile-btn-purple {
  background: linear-gradient(135deg, rgba(139,92,246,0.15) 0%, rgba(6,182,212,0.15) 100%);
  border: 1px solid rgba(139,92,246,0.35);
  color: #8b5cf6;
}
.profile-btn-purple:hover {
  background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
  color: #fff;
  box-shadow: 0 8px 25px rgba(139,92,246,0.4);
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .profile-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (max-width: 900px) {
  .profile-page-wrap { padding-top: 84px; padding-left: 16px; padding-right: 16px; padding-bottom: 130px !important; }
  .profile-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .profile-two-columns { grid-template-columns: 1fr; gap: 16px; }
  .profile-hero-body { flex-direction: column; align-items: flex-start; gap: 16px; padding: 18px 16px; }
  .profile-balance-card { width: 100%; text-align: left; }
}

@media (max-width: 560px) {
  .profile-stats-grid { grid-template-columns: 1fr; gap: 10px; }
  .profile-stat-box { padding: 14px 16px; }
  .profile-hero-user-info { flex-direction: column; align-items: flex-start; gap: 12px; }
  .profile-form-card-body { padding: 16px; gap: 14px; }
  .profile-form-card-header { padding: 14px 16px; }
  .profile-nav-tab-btn { padding: 8px 14px; font-size: 12.5px; }
  .keys-table th, .keys-table td { padding: 10px 12px; font-size: 12.5px; }
}
