:root {
  --bg: #060203;
  --surface: #0e0407;
  --surface-2: #1a060b;
  --primary: #dc2626;
  --primary-2: #ff2a4b;
  --accent: #fb7185;
  --text: #f8fafc;
  --text-dim: #fda4af;
  --danger: #ef4444;
  --success: #22c55e;
  --silver: #d1d5db;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(220, 38, 38, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* Global dark scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #0e0407;
}

::-webkit-scrollbar-thumb {
  background: rgba(220, 38, 38, 0.35);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(220, 38, 38, 0.55);
}

::-webkit-scrollbar-button {
  display: none;
}

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(220, 38, 38, 0.35) #0e0407;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 3, 5, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220, 38, 38, 0.18);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.2s ease;
}

.logo:hover {
  text-decoration: none;
  transform: scale(1.02);
}

.logo-img {
  height: 2.2rem;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(220, 38, 38, 0.8));
}

.logo-text {
  background: linear-gradient(90deg, #e2e8f0, #ffffff, #fda4af);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.admin-badge {
  display: inline-block;
  margin-left: 0.5rem;
  background: linear-gradient(135deg, #dc2626, #ff2a4b);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  vertical-align: middle;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-icon {
  flex-shrink: 0;
  opacity: 0.75;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
  color: #fff;
  background: rgba(220, 38, 38, 0.12);
  border-color: rgba(255, 42, 75, 0.3);
  text-decoration: none;
  box-shadow: 0 0 12px rgba(220, 38, 38, 0.15);
}

.nav-link:hover .nav-icon {
  opacity: 1;
  transform: scale(1.1);
}

.nav-admin-btn {
  background: rgba(255, 42, 75, 0.1);
  border-color: rgba(255, 42, 75, 0.35);
  color: #fecdd3;
}

.nav-admin-btn:hover {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.25), rgba(255, 42, 75, 0.25));
  border-color: rgba(255, 42, 75, 0.6);
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 42, 75, 0.35);
}

.nav-dashboard-btn {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.nav-dashboard-btn:hover {
  background: rgba(255, 42, 75, 0.18);
  border-color: rgba(255, 42, 75, 0.4);
}

.nav-logout-btn {
  color: #fca5a5;
}

.nav-logout-btn:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.2);
}

/* ==================== PRELOADER STYLES ==================== */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #1c0409 0%, #090204 65%, #040102 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.site-loader.loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-backdrop {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.25) 0%, rgba(255, 42, 75, 0.1) 40%, transparent 70%);
  filter: blur(50px);
  animation: loader-bg-pulse 3s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes loader-bg-pulse {
  0% { transform: scale(0.85); opacity: 0.5; }
  100% { transform: scale(1.2); opacity: 0.9; }
}

.loader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.loader-orb-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-pulse-ring {
  position: absolute;
  border-radius: 50%;
  inset: 0;
}

.loader-ring-1 {
  border: 2px dashed rgba(255, 42, 75, 0.7);
  animation: loader-spin-cw 6s linear infinite;
}

.loader-ring-2 {
  inset: -8px;
  border: 2px solid transparent;
  border-top-color: #fb7185;
  border-bottom-color: #dc2626;
  animation: loader-spin-ccw 2.2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.loader-ring-3 {
  inset: -16px;
  border: 1px solid rgba(220, 38, 38, 0.25);
  box-shadow: 0 0 25px rgba(220, 38, 38, 0.35);
  animation: loader-orb-scale 2s ease-in-out infinite alternate;
}

.loader-logo-frame {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(14, 4, 7, 0.9);
  border: 1px solid rgba(255, 42, 75, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.6);
  animation: loader-logo-float 2.5s ease-in-out infinite alternate;
}

.loader-logo-img {
  width: 36px;
  height: auto;
  filter: drop-shadow(0 0 8px #ff2a4b);
}

@keyframes loader-spin-cw {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes loader-spin-ccw {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

@keyframes loader-orb-scale {
  0% { transform: scale(0.95); opacity: 0.5; }
  100% { transform: scale(1.08); opacity: 0.9; }
}

@keyframes loader-logo-float {
  0% { transform: translateY(0px) scale(0.98); }
  100% { transform: translateY(-3px) scale(1.04); }
}

.loader-brand {
  margin-top: 0.25rem;
}

.loader-brand-title {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  background: linear-gradient(90deg, #fecdd3, #ffffff, #fda4af, #ffffff, #fecdd3);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: loader-shimmer 3s linear infinite;
  text-shadow: 0 0 20px rgba(255, 42, 75, 0.4);
}

@keyframes loader-shimmer {
  to { background-position: 200% center; }
}

.loader-progress-box {
  width: 180px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6);
}

.loader-progress-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 45%;
  background: linear-gradient(90deg, #dc2626, #ff2a4b, #4ade80);
  border-radius: 999px;
  box-shadow: 0 0 10px #ff2a4b;
  animation: loader-bar-anim 1.6s ease-in-out infinite;
}

@keyframes loader-bar-anim {
  0% { left: -45%; width: 35%; }
  50% { width: 60%; }
  100% { left: 100%; width: 40%; }
}

.loader-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.loader-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: loader-dot-blink 1.2s ease-in-out infinite alternate;
}

@keyframes loader-dot-blink {
  0% { opacity: 0.3; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1.2); }
}

.loader-status-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #fb7185;
}

/* ==================== DURATION / SUBSCRIPTION PLANS ==================== */
.duration-plans-box {
  margin: 1.25rem 0;
}

.duration-plans-label {
  display: block;
  font-weight: 800;
  color: var(--silver);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.duration-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
}

.duration-plan-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.85rem 0.6rem;
  background: rgba(26, 6, 11, 0.6);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text);
  font-family: inherit;
}

.duration-plan-card:hover {
  border-color: rgba(255, 42, 75, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.2);
}

.duration-plan-card.active {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.25), rgba(255, 42, 75, 0.15));
  border-color: var(--primary-2);
  box-shadow: 0 0 18px rgba(255, 42, 75, 0.35);
}

.plan-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dim);
  text-align: center;
}

.duration-plan-card.active .plan-name {
  color: #fff;
}

.plan-price {
  font-size: 1.15rem;
  font-weight: 900;
  color: #4ade80;
}

.plan-orig {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

/* Admin: description editor toolbar */
.editor-toolbar {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.editor-btn {
  padding: 0.35rem 0.7rem;
  background: rgba(26, 6, 11, 0.8);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 6px;
  color: #fff;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.15s;
  min-width: 34px;
}

.editor-btn:hover {
  background: rgba(220, 38, 38, 0.25);
  border-color: var(--primary-2);
}

.editor-preview-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.75rem;
  margin-bottom: 0.35rem;
}

.editor-preview {
  background: rgba(14, 4, 7, 0.6);
  border: 1px dashed rgba(220, 38, 38, 0.3);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  min-height: 60px;
  font-size: 0.9rem;
  color: var(--text);
}

/* Collapsible description */
.desc-collapse {
  position: relative;
  max-height: 240px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.desc-collapse.expanded {
  max-height: none;
}

.desc-collapse:not(.expanded)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}

.desc-toggle {
  background: none;
  border: none;
  color: var(--primary-2);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.25rem 0;
  margin-bottom: 1rem;
}

.desc-toggle:hover {
  text-decoration: underline;
}

/* Rendered HTML inside product description */
.product-desc ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0.5rem;
}

.product-desc ul li {
  position: relative;
  padding: 0.55rem 0.75rem 0.55rem 2rem;
  margin: 0;
  line-height: 1.45;
  font-size: 0.88rem;
  background: rgba(220, 38, 38, 0.07);
  border: 1px solid rgba(220, 38, 38, 0.18);
  border-radius: 8px;
}

.product-desc ul li::before {
  content: '▸';
  position: absolute;
  left: 0.8rem;
  color: var(--primary-2);
  font-weight: 800;
}

.product-desc h3 {
  color: #fff;
  font-size: 1.05rem;
  margin: 0.75rem 0 0.4rem;
}

.product-desc b, .product-desc strong { color: #fff; }
.product-desc u { text-decoration-color: var(--primary-2); }

/* Admin: duration tier rows */
.duration-tiers-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 1rem;
  background: rgba(26, 6, 11, 0.4);
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: 8px;
}

.duration-tier-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 0.5rem;
  align-items: center;
}

.duration-tier-row input {
  padding: 0.5rem 0.7rem;
  border-radius: 6px;
  background: rgba(14, 4, 7, 0.8);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: #fff;
  font-size: 0.85rem;
  min-width: 0;
}

.duration-tier-row input:focus {
  outline: none;
  border-color: var(--primary-2);
  box-shadow: 0 0 8px rgba(255, 42, 75, 0.3);
}

.duration-tier-row input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.tier-remove-btn {
  padding: 0.3rem 0.6rem;
  min-width: 28px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 640px) {
  .duration-tier-row {
    grid-template-columns: 1fr 1fr;
  }
  .duration-tier-row .tier-label-input {
    grid-column: 1 / -1;
  }
}

/* ==================== CART DRAWER MODAL ==================== */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  visibility: hidden;
}

.cart-drawer.open {
  pointer-events: auto;
  visibility: visible;
}

.cart-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 1, 3, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cart-drawer.open .cart-drawer-backdrop {
  opacity: 1;
}

.cart-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 100%);
  transform: translateX(105%);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #1a060b 0%, #0c0205 100%);
  border-left: 1px solid rgba(255, 42, 75, 0.35);
  box-shadow: -10px 0 50px rgba(220, 38, 38, 0.35);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-drawer.open .cart-drawer-panel {
  transform: translateX(0);
}

body.cart-drawer-open {
  overflow: hidden;
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(220, 38, 38, 0.2);
}

.cart-drawer-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.cart-drawer-count {
  color: var(--primary-2);
  font-weight: 700;
}

.cart-drawer-close {
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: var(--text);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.cart-drawer-close:hover {
  background: rgba(255, 42, 75, 0.3);
  transform: rotate(90deg);
}

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cart-drawer-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(220, 38, 38, 0.18);
  border-radius: 12px;
}

.cart-drawer-item-img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(220, 38, 38, 0.15);
  font-size: 1.4rem;
}

.cart-drawer-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-drawer-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cart-drawer-item-info strong {
  color: #fff;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-drawer-item-meta {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.cart-drawer-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.cart-drawer-item-total {
  font-weight: 800;
  color: #4ade80;
  font-size: 0.95rem;
}

.cart-drawer-remove {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.cart-drawer-remove:hover {
  color: #f87171;
  background: rgba(248, 113, 113, 0.12);
}

.cart-drawer-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-dim);
}

.cart-drawer-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  opacity: 0.5;
}

.cart-drawer-empty p {
  margin-bottom: 1rem;
}

.cart-drawer-footer {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(220, 38, 38, 0.2);
  background: rgba(0, 0, 0, 0.25);
}

.cart-drawer-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.cart-drawer-total strong {
  font-size: 1.35rem;
  font-weight: 900;
  color: #4ade80;
}

@media (max-width: 640px) {
  .cart-drawer-panel {
    width: 100%;
    border-left: none;
  }
}

/* 404 Error Page */
.error-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1.5rem;
  text-align: center;
}

.error-card {
  background: rgba(14, 4, 7, 0.95);
  border: 1px solid rgba(220, 38, 38, 0.18);
  border-radius: var(--radius);
  padding: 2.5rem;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 0 35px rgba(220, 38, 38, 0.15), var(--shadow);
  backdrop-filter: blur(14px);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.error-code {
  font-size: 6rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #dc2626, #ff2a4b, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 25px rgba(220, 38, 38, 0.5);
}

.error-title {
  font-size: 1.75rem;
  color: var(--silver);
  margin-bottom: 0.75rem;
}

.error-subtitle {
  color: var(--text-dim);
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

.error-footer {
  margin-top: 1.25rem;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.error-footer a {
  color: var(--primary-2);
  font-weight: 800;
}

.error-footer a:hover {
  color: var(--silver);
}

/* Email verification notice banner */
.verify-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  background: linear-gradient(90deg, #450a0a, #24060b);
  border-bottom: 1px solid rgba(255, 42, 75, 0.5);
  padding: 0.6rem 1rem;
  color: #ffe4e6;
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.2);
}

.verify-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.92rem;
}

.verify-banner-icon {
  font-size: 1.1rem;
}

.verify-banner-text strong {
  color: #ff2a4b;
}

.verify-banner-form {
  display: inline-block;
}

.verify-banner-btn {
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  border: none;
  font-weight: 800;
}

body:has(.verify-banner) .navbar,
body:has(.verify-banner) main {
  margin-top: 46px;
}

body:has(.verify-banner) .floating-cart-btn {
  margin-top: 46px;
}

@media (max-width: 640px) {
  .verify-banner-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* Floating Shopping Cart Button */
.floating-cart-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(220, 38, 38, 0.6), 0 8px 20px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s;
  cursor: pointer;
}

.floating-cart-btn:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 0 35px rgba(255, 42, 75, 0.8), 0 12px 25px rgba(0, 0, 0, 0.5);
  text-decoration: none;
  color: #fff;
}

.floating-cart-btn svg {
  stroke: #fff;
  width: 26px;
  height: 26px;
}

.cart-floating-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #050207;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.7);
  animation: badge-pop 0.3s ease;
}

@keyframes badge-pop {
  0% { transform: scale(0.5); }
  80% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

main {
  padding-top: 70px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.narrow {
  max-width: 720px;
}

.hero,
.page-hero,
.auth-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4rem 1.5rem;
  text-align: center;
}

.page-hero {
  min-height: 45vh;
}

/* Auth pages: fit entire card in one viewport, no scrolling */
.auth-section {
  min-height: 100vh;
  padding: 5.5rem 1.5rem 1.5rem;
}

.hero-bg {
  position: absolute;
  inset: -40px;
  z-index: -1;
  background-image: linear-gradient(rgba(6, 2, 3, 0.85), rgba(6, 2, 3, 0.6), rgba(6, 2, 3, 0.9)), url('/images/banner.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: bg-arena 20s ease-in-out infinite alternate;
}

@keyframes bg-arena {
  0% { transform: scale(1) translate(0, 0); filter: blur(1px) brightness(0.65); }
  50% { transform: scale(1.08) translate(-1%, -1%) rotate(0.5deg); filter: blur(2px) brightness(0.8); }
  100% { transform: scale(1.05) translate(1%, 1%) rotate(-0.5deg); filter: blur(1.5px) brightness(0.7); }
}

.flame-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.75;
}

.flame-bg::before,
.flame-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: flame 8s ease-in-out infinite;
}

.flame-bg::before {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #991b1b 0%, #ff2a4b 50%, transparent 70%);
  top: -150px;
  right: -150px;
  animation-delay: 0s;
}

.flame-bg::after {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #fb7185 0%, #991b1b 50%, transparent 70%);
  bottom: -100px;
  left: -100px;
  animation-delay: -4s;
}

@keyframes flame {
  0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.55; }
  33% { transform: scale(1.1) translate(30px, -20px); opacity: 0.7; }
  66% { transform: scale(0.95) translate(-20px, 20px); opacity: 0.5; }
}

.hero-content,
.page-hero-content,
.auth-card {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 1.1;
  font-weight: 900;
  color: var(--silver);
  text-shadow: 0 0 25px rgba(220, 38, 38, 0.8), 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero h2 {
  font-size: clamp(2rem, 6vw, 4rem);
  color: var(--primary-2);
  margin: 0.5rem 0 1.5rem;
  text-shadow: 0 0 25px rgba(255, 42, 75, 0.7);
}

.hero p {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--text-dim);
  font-size: 1.1rem;
}

.hero-actions,
.admin-bar,
.cart-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  background: var(--surface-2);
  color: var(--text);
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.4);
  color: #fff;
}

.btn-primary:hover {
  box-shadow: 0 0 35px rgba(255, 42, 75, 0.5);
}

.btn-outline {
  border-color: var(--primary);
  background: transparent;
  color: var(--primary-2);
}

.btn-outline:hover {
  background: rgba(220, 38, 38, 0.1);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.2);
  border-color: var(--danger);
  color: #f87171;
}

.btn-danger:hover {
  background: var(--danger);
  color: #fff;
}

.btn-small {
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

.section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  background: linear-gradient(90deg, #fff, #fb7185);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.category-grid,
.product-grid,
.stats-grid {
  display: grid;
  gap: 1.5rem;
}

.category-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.category-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(220, 38, 38, 0.2);
  font-weight: 700;
  color: var(--text);
  text-align: center;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-2);
  box-shadow: 0 0 25px rgba(220, 38, 38, 0.2);
  text-decoration: none;
}

.product-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.product-card {
  background: var(--surface);
  border: 1px solid rgba(220, 38, 38, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.product-img,
.product-detail-img img,
.placeholder {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #3b070e, #650915);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.product-card:hover .product-img,
.product-card:hover .placeholder {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.product-detail-img-wrap:hover .product-detail-main-img,
.product-detail-img-wrap:hover .detail-placeholder {
  transform: scale(1.03);
  filter: brightness(1.05);
}

.product-detail-img img,
.product-detail-img .placeholder {
  height: 320px;
  border-radius: var(--radius);
}

.product-body {
  padding: 1.25rem;
}

.product-body h3 a {
  color: var(--text);
  font-size: 1.15rem;
}

.product-cat {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin: 0.25rem 0;
}

.product-price {
  color: var(--accent);
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0.5rem 0 1rem;
}

.product-price.big {
  font-size: 2rem;
  margin: 1rem 0;
}

.add-cart-form {
  margin-top: auto;
}

.features {
  background: linear-gradient(180deg, transparent, rgba(220, 38, 38, 0.05), transparent);
}

.feature-list {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.feature-item {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(6, 182, 212, 0.3);
  background: rgba(6, 182, 212, 0.05);
  color: var(--accent);
  font-weight: 700;
}

.filter-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-pill {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--primary);
  color: var(--text);
  background: var(--surface);
}

.filter-pill.active,
.filter-pill:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  text-decoration: none;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 3rem;
}

.product-detail-info h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.product-desc {
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  background: rgba(26, 6, 11, 0.45);
  border: 1px solid rgba(220, 38, 38, 0.18);
  border-left: 3px solid var(--primary-2);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.inline-form,
.inline {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
}

.reviews {
  max-width: 700px;
  margin: 0 auto 3rem;
}

.review {
  background: var(--surface);
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  border-left: 3px solid var(--primary);
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.stars {
  color: #facc15;
}

.auth-card {
  background: rgba(14, 4, 7, 0.95);
  border: 1px solid rgba(220, 38, 38, 0.18);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 0 25px rgba(220, 38, 38, 0.12), var(--shadow);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2), var(--accent));
  z-index: -1;
  border-radius: calc(var(--radius) + 2px);
  opacity: 0.22;
  animation: border-glow 5s ease-in-out infinite alternate;
}

@keyframes border-glow {
  from { opacity: 0.15; filter: blur(3px); }
  to { opacity: 0.3; filter: blur(6px); }
}

.auth-logo-wrap {
  text-align: center;
  margin-bottom: 0.9rem;
}

.auth-logo {
  height: 3.25rem;
  width: auto;
  margin-bottom: 0.4rem;
  filter: drop-shadow(0 0 12px rgba(220, 38, 38, 0.5));
}

.auth-brand {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  background: linear-gradient(90deg, var(--silver), #ffe4e6, var(--silver));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.25rem;
}

.auth-tagline {
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 700;
}

.auth-title {
  margin-bottom: 1rem;
  font-size: 1.45rem;
  text-align: center;
  color: var(--silver);
}

.auth-card .form {
  gap: 0.9rem;
}

.auth-card .form input {
  padding: 0.75rem 1rem;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

.form label,
.checkout-total span,
.cart-total span {
  font-weight: 800;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.form input,
.form select,
.form textarea {
  padding: 0.95rem 1.1rem;
  border-radius: 10px;
  border: 1px solid rgba(220, 38, 38, 0.25);
  background: rgba(26, 6, 11, 0.8);
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form input::placeholder,
.form textarea::placeholder {
  color: rgba(253, 164, 175, 0.45);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--primary-2);
  background: rgba(26, 6, 11, 1);
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.15);
}

.auth-submit {
  margin-top: 0.5rem;
  font-size: 1.05rem;
  padding: 0.95rem;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.alert {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid var(--danger);
  color: #f87171;
}

.auth-footer {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.auth-footer a {
  color: var(--primary-2);
  font-weight: 800;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.auth-footer a:hover {
  border-bottom-color: var(--primary-2);
  text-decoration: none;
}

.cart-list,
.order-list,
.checkout-summary {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item,
.order-card,
.checkout-item,
.stat-card {
  background: var(--surface);
  border: 1px solid rgba(220, 38, 38, 0.12);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cart-item-info {
  flex: 1;
}

.cart-total,
.checkout-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.4rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(220, 38, 38, 0.2);
}

.cart-actions {
  margin-top: 1.5rem;
  justify-content: space-between;
}

.empty,
.note {
  text-align: center;
  color: var(--text-dim);
  margin: 2rem 0;
}

.order-header,
.checkout-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-date {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(220, 38, 38, 0.15);
  color: var(--primary-2);
}

/* ==================== DASHBOARD & ADMIN SIDEBAR LAYOUT ==================== */

.dash-wrapper {
  display: flex;
  height: calc(100vh - 70px);
  background: var(--bg);
  overflow: hidden;
}

.dash-sidebar {
  width: 220px;
  height: 100%;
  background: rgba(14, 4, 7, 0.95);
  border-right: 1px solid rgba(220, 38, 38, 0.15);
  padding: 0.85rem 0.65rem;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  backdrop-filter: blur(12px);
  overflow-y: auto;
  z-index: 50;
}

.dash-sidebar::-webkit-scrollbar {
  width: 3px;
}

.dash-sidebar::-webkit-scrollbar-thumb {
  background: rgba(220, 38, 38, 0.2);
  border-radius: 4px;
}

.dash-user-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  background: rgba(26, 6, 11, 0.6);
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: 8px;
  margin-bottom: 0.6rem;
}

.dash-avatar {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.35);
  flex-shrink: 0;
}

.dash-avatar.user-color {
  background: linear-gradient(135deg, #991b1b, #dc2626);
}

.dash-user-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dash-username {
  color: #fff;
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.dash-role-badge {
  font-size: 0.68rem;
  color: var(--primary-2);
  font-weight: 800;
}

.dash-role-badge.user {
  color: var(--text-dim);
}

.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.dash-nav-group-title {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(253, 164, 175, 0.4);
  letter-spacing: 0.08em;
  padding: 0.4rem 0.4rem 0.15rem;
}

.dash-nav-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.86rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.dash-nav-link svg {
  stroke: var(--text-dim);
  transition: stroke 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.dash-nav-link:hover {
  background: rgba(220, 38, 38, 0.1);
  color: #fff;
  text-decoration: none;
}

.dash-nav-link:hover svg {
  stroke: var(--primary-2);
  transform: translateX(2px);
}

.dash-nav-link.active {
  background: linear-gradient(90deg, rgba(220, 38, 38, 0.25), rgba(255, 42, 75, 0.15));
  border-left: 3px solid var(--primary-2);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(220, 38, 38, 0.15);
}

.dash-nav-link.active svg {
  stroke: var(--primary-2);
}

.dash-nav-link.admin-highlight {
  border: 1px dashed rgba(255, 42, 75, 0.4);
  color: var(--primary-2);
}

.dash-nav-link.logout-link {
  margin-top: 0.5rem;
  color: #f87171;
}

.dash-nav-link.logout-link svg {
  stroke: #f87171;
}

.dash-nav-link.logout-link:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

/* Dashboard Content Area */
.dash-content-area {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  background: radial-gradient(circle at top right, rgba(220, 38, 38, 0.05), transparent 40%), var(--bg);
  min-width: 0;
}

.dash-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(220, 38, 38, 0.12);
  flex-wrap: wrap;
  gap: 1rem;
}

.dash-heading {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.dash-subheading {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 0.2rem;
}

/* Stats Cards in Dashboard */
.stat-card {
  background: rgba(14, 4, 7, 0.85);
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 42, 75, 0.4);
  box-shadow: 0 0 25px rgba(220, 38, 38, 0.2);
}

.stat-card-icon {
  font-size: 2rem;
  width: 54px;
  height: 54px;
  background: rgba(26, 6, 11, 0.9);
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-card-data h3 {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.stat-card-data p {
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.35rem;
}

/* Cards & Tables */
.dash-card {
  background: rgba(14, 4, 7, 0.85);
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}

.dash-card.narrow-card {
  max-width: 650px;
}

.dash-card-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(220, 38, 38, 0.1);
}

.dash-card-header h2 {
  font-size: 1.35rem;
  color: #fff;
  font-weight: 800;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.dash-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.table-responsive {
  overflow-x: auto;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.dash-table th {
  background: rgba(26, 6, 11, 0.8);
  color: var(--primary-2);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.65rem 0.65rem;
  border-bottom: 1px solid rgba(220, 38, 38, 0.2);
  white-space: nowrap;
}

.dash-table td {
  padding: 0.65rem 0.65rem;
  border-bottom: 1px solid rgba(220, 38, 38, 0.08);
  font-size: 0.85rem;
  color: var(--text);
  vertical-align: middle;
}

.dash-table tr:hover td {
  background: rgba(220, 38, 38, 0.04);
}

.dash-table tr:last-child td {
  border-bottom: none;
}

.order-id {
  color: var(--primary-2);
  font-family: monospace;
  font-size: 1rem;
}

.price-highlight {
  color: #4ade80;
  font-weight: 800;
  font-size: 1.05rem;
}

/* Status Pills */
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-paid {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-shipped {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.status-pending {
  background: rgba(234, 179, 8, 0.15);
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.status-cancelled {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Status Select in Admin */
.status-select {
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  background: rgba(26, 6, 11, 0.9);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.status-select:focus {
  outline: none;
  border-color: var(--primary-2);
}

/* Product Table items */
.product-td-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.table-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.table-thumb-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: rgba(26, 6, 11, 0.9);
  border: 1px solid rgba(220, 38, 38, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.table-subtext {
  display: block;
  font-size: 0.78rem;
  color: var(--text-dim);
  font-family: monospace;
}

.category-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.2);
  font-size: 0.82rem;
  color: var(--text-dim);
}

.stock-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 700;
}

.stock-badge.in-stock { background: rgba(34, 197, 94, 0.12); color: #4ade80; }
.stock-badge.low-stock { background: rgba(234, 179, 8, 0.12); color: #facc15; }
.stock-badge.no-stock { background: rgba(239, 68, 68, 0.12); color: #f87171; }

.table-action-btns {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  flex-wrap: wrap;
  max-width: 220px;
}

.dash-table .btn-small {
  padding: 0.25rem 0.5rem;
  font-size: 0.7rem;
  min-width: 0;
  white-space: nowrap;
}

.slug-badge {
  background: rgba(26, 6, 11, 0.9);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  color: var(--primary-2);
  font-size: 0.85rem;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.stars-gold {
  color: #facc15;
  letter-spacing: 2px;
  font-size: 1.1rem;
}

.comment-bubble {
  max-width: 320px;
  font-style: italic;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.user-inline-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.user-inline-avatar {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Empty State */
.dash-empty-state {
  text-align: center;
  padding: 4rem 1.5rem;
  color: var(--text-dim);
}

.dash-empty-state h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.dash-empty-state p {
  max-width: 420px;
  margin: 0 auto;
  font-size: 0.95rem;
}

/* Licenses Tab */
.license-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.license-card {
  background: rgba(26, 6, 11, 0.7);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, border-color 0.2s;
}

.license-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-2);
}

.license-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.license-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
}

.license-product-name {
  font-size: 1.05rem;
  color: #fff;
  font-weight: 800;
}

.license-date {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.license-key-box {
  background: rgba(14, 4, 7, 0.9);
  border: 1px dashed rgba(220, 38, 38, 0.35);
  border-radius: 8px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.license-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 700;
  text-transform: uppercase;
}

.license-code {
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.95rem;
  color: var(--primary-2);
  font-weight: 800;
  letter-spacing: 0.05em;
  word-break: break-all;
}

.license-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: auto;
}

/* Form Section Titles & Grid */
.form-section-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-2);
  margin: 1rem 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
}

/* Pricing, Duration & Discounts */
.price-box {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.price-old {
  color: rgba(253, 164, 175, 0.45);
  text-decoration: line-through;
  font-size: 0.85rem;
  font-weight: 600;
}

.price-old.big {
  font-size: 1.25rem;
  margin-left: 0.5rem;
}

.discount-pill {
  display: inline-block;
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  width: fit-content;
}

.duration-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(26, 6, 11, 0.8);
  border: 1px solid rgba(220, 38, 38, 0.25);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffe4e6;
}

/* Product Card Top Badges */
.product-card-top {
  position: relative;
  overflow: hidden;
}

.card-discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
  letter-spacing: 0.05em;
}

.card-status-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  background: rgba(14, 4, 7, 0.85);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  backdrop-filter: blur(6px);
}

.product-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.product-duration {
  font-size: 0.75rem;
  color: var(--primary-2);
  font-weight: 700;
  text-align: right;
  line-height: 1.4;
  max-width: 65%;
}

.product-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 0.4rem 0 1rem;
}

/* Detail Page */
.product-detail-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 30px rgba(220, 38, 38, 0.2);
}

.detail-discount-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 5;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.6);
}

.product-detail-main-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

.detail-placeholder {
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-2);
}

.detail-badges-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 0.75rem;
}

.detail-title {
  font-size: 2.3rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.detail-pricing-box {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.stock-live-badge {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.detail-features-chips {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.chip-item {
  background: rgba(26, 6, 11, 0.6);
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--silver);
}

.inline-cart-form {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.quantity-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quantity-input-wrap input {
  width: 70px;
  text-align: center;
  padding: 0.85rem;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}

.btn-large {
  padding: 0.95rem 2rem;
  font-size: 1.1rem;
}

/* Notes Card */
.product-notes-card {
  background: rgba(14, 4, 7, 0.85);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin: 2.5rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.notes-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(220, 38, 38, 0.12);
}

.notes-icon {
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(26, 6, 11, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(220, 38, 38, 0.25);
}

.notes-content pre {
  font-family: inherit;
  white-space: pre-wrap;
  color: var(--silver);
  font-size: 1rem;
  line-height: 1.7;
  background: rgba(26, 6, 11, 0.5);
  padding: 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(220, 38, 38, 0.1);
}

/* Keys Stock Management in Admin */
.existing-keys-box {
  background: rgba(26, 6, 11, 0.6);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 10px;
  padding: 1.25rem;
  margin-top: 1rem;
}

.existing-keys-box h4 {
  font-size: 0.95rem;
  color: var(--silver);
  margin-bottom: 0.75rem;
}

.keys-scroll-list {
  max-height: 180px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.key-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.85rem;
  background: rgba(14, 4, 7, 0.8);
  border-radius: 6px;
  border: 1px solid rgba(220, 38, 38, 0.1);
}

.key-item-row code {
  font-family: monospace;
  font-size: 0.9rem;
  color: #fff;
}

.file-badge-preview {
  margin-top: 0.5rem;
  padding: 0.5rem 0.85rem;
  background: rgba(26, 6, 11, 0.8);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 6px;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
}

/* License Tab in User Dashboard */
.license-meta-tags {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
  flex-wrap: wrap;
}

.btn-copy {
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.4);
  color: var(--primary-2);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-copy:hover {
  background: var(--primary);
  color: #fff;
}

.license-download-box {
  margin-top: 0.5rem;
}

.license-instructions-toggle {
  background: rgba(14, 4, 7, 0.6);
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  cursor: pointer;
}

.license-instructions-toggle summary {
  font-weight: 800;
  color: var(--silver);
  font-size: 0.88rem;
}

.instructions-text {
  font-family: inherit;
  white-space: pre-wrap;
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(220, 38, 38, 0.1);
  line-height: 1.6;
}

/* ==================== BALANCE, DEPOSITS & TICKETS STYLES ==================== */

/* Nav Balance Button */
.nav-balance-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(16, 185, 129, 0.08));
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80 !important;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.12);
}

.balance-icon-svg {
  stroke: #4ade80;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.balance-text {
  font-weight: 800;
  color: #4ade80;
}

.nav-balance-btn:hover {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.28), rgba(16, 185, 129, 0.18));
  border-color: rgba(74, 222, 128, 0.8);
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.35);
  transform: translateY(-1px);
  text-decoration: none;
}

.nav-balance-btn:hover .balance-icon-svg {
  transform: scale(1.1);
}

.plus-add {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #050207;
  font-size: 0.8rem;
  font-weight: 900;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-balance-btn:hover .plus-add {
  transform: scale(1.15) rotate(90deg);
  background: linear-gradient(135deg, #4ade80, #22c55e);
}

/* Sidebar Balance Box */
.sidebar-balance-box {
  background: rgba(26, 6, 11, 0.9);
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: 10px;
  padding: 0.85rem;
  margin-bottom: 1.25rem;
}

.sidebar-balance-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-balance-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 700;
}

.sidebar-balance-amt {
  font-size: 1.15rem;
  color: #4ade80;
  font-weight: 900;
}

.dash-balance-badge-top {
  background: rgba(26, 6, 11, 0.9);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 0.6rem 1.25rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.dash-balance-badge-top span {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.dash-balance-badge-top .balance-number {
  font-size: 1.3rem;
  color: #4ade80;
  font-weight: 900;
}

/* Recharge Layout */
.recharge-grid-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
}

.amount-quick-pills {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.amount-pill {
  background: rgba(26, 6, 11, 0.8);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.amount-pill:hover,
.amount-pill.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-color: var(--primary-2);
  color: #fff;
  box-shadow: 0 0 15px rgba(220, 38, 38, 0.4);
}

/* Payment Methods Grid */
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.payment-method-card {
  background: rgba(14, 4, 7, 0.9);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 10px;
  padding: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}

.payment-method-card:hover {
  border-color: var(--primary-2);
  background: rgba(26, 6, 11, 0.9);
  transform: translateY(-2px);
}

.payment-method-card.active {
  border-color: var(--primary-2);
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.25), rgba(255, 42, 75, 0.15));
  box-shadow: 0 0 18px rgba(220, 38, 38, 0.3);
}

.pm-icon {
  font-size: 1.5rem;
}

.pm-info strong {
  display: block;
  font-size: 0.85rem;
  color: #fff;
  line-height: 1.2;
}

.pm-info span {
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* Payment Details Box */
.payment-details-box {
  background: rgba(26, 6, 11, 0.9);
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: 10px;
  padding: 1.25rem;
  margin: 1.25rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.pd-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(220, 38, 38, 0.15);
}

.pd-title {
  font-weight: 800;
  color: #fff;
  font-size: 1.05rem;
}

.pd-badge {
  font-size: 0.7rem;
  font-weight: 900;
  background: rgba(6, 182, 212, 0.2);
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: var(--accent);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.pd-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.pd-row span {
  color: var(--text-dim);
}

.pd-row strong {
  color: #fff;
}

.pd-copy-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pd-copy-wrap code {
  font-family: 'Consolas', monospace;
  font-size: 1.05rem;
  color: var(--primary-2);
  font-weight: 800;
}

.pd-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
  line-height: 1.4;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(220, 38, 38, 0.1);
}

/* Deposits History Card */
.deposits-history-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.deposit-history-card {
  background: rgba(26, 6, 11, 0.6);
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: 8px;
  padding: 1rem;
}

.deposit-amount {
  color: #4ade80;
  font-size: 1.15rem;
}

.deposit-method-tag {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.deposit-meta-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.6rem;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(220, 38, 38, 0.08);
}

.deposit-admin-note {
  background: rgba(239, 68, 68, 0.1);
  border-left: 3px solid #ef4444;
  padding: 0.5rem;
  font-size: 0.8rem;
  color: #f87171;
  margin-top: 0.5rem;
  border-radius: 0 4px 4px 0;
}

.proof-thumb-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.proof-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.view-proof-label {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
}

.highlight-row td {
  background: rgba(220, 38, 38, 0.07);
}

/* Modal for Rejection */
.custom-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.custom-modal-content {
  background: #160509;
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

.custom-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.btn-close {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.5rem;
  cursor: pointer;
}

.btn-close:hover {
  color: #fff;
}

/* Priority Badges */
.priority-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.priority-baja { background: rgba(100, 116, 139, 0.2); color: #94a3b8; }
.priority-media { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.priority-alta { background: rgba(249, 115, 22, 0.2); color: #fb923c; }
.priority-urgente { background: rgba(239, 68, 68, 0.25); color: #f87171; border: 1px solid #ef4444; }

/* Tickets Discussion Thread */
.ticket-meta-tags-top {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
}

.ticket-thread-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.ticket-message-card {
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.ticket-message-card.user-message {
  background: rgba(20, 5, 9, 0.9);
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.ticket-message-card.staff-message {
  background: linear-gradient(135deg, rgba(26, 6, 11, 0.95), rgba(48, 8, 16, 0.95));
  border: 1px solid rgba(255, 42, 75, 0.4);
  box-shadow: 0 0 25px rgba(220, 38, 38, 0.2);
}

.ticket-message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(220, 38, 38, 0.12);
}

.ticket-message-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.staff-avatar {
  background: linear-gradient(135deg, #ff2a4b, #dc2626) !important;
}

.staff-tag {
  background: linear-gradient(135deg, #dc2626, #ff2a4b);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  margin-left: 0.4rem;
}

.client-tag {
  background: rgba(220, 38, 38, 0.15);
  color: var(--text-dim);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-left: 0.4rem;
}

.ticket-message-time {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.ticket-message-text {
  font-family: inherit;
  white-space: pre-wrap;
  color: #ffe4e6;
  line-height: 1.6;
  font-size: 0.98rem;
  margin: 0;
}

.ticket-attachment-box {
  margin-top: 1rem;
  padding: 0.6rem 0.9rem;
  background: rgba(14, 4, 7, 0.8);
  border: 1px dashed rgba(220, 38, 38, 0.3);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.attachment-link {
  color: var(--accent);
  font-weight: 700;
}

/* Checkout Balance Box */
.checkout-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.checkout-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem;
  background: rgba(26, 6, 11, 0.6);
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: 8px;
}

.checkout-item-main strong {
  display: block;
  font-size: 1.05rem;
  color: #fff;
}

.checkout-item-subtotal {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.checkout-total-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  font-size: 1.2rem;
  font-weight: 800;
}

.total-big-amount {
  font-size: 1.8rem;
  color: #4ade80;
}

.checkout-balance-box {
  border-radius: 10px;
  padding: 1.25rem;
  margin-top: 1rem;
}

.checkout-balance-box.balance-sufficient {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.checkout-balance-box.balance-insufficient {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.balance-icon {
  font-size: 2rem;
}

.user-balance-val {
  font-size: 1.4rem;
  color: #4ade80;
}

.balance-status-msg {
  font-size: 0.92rem;
  margin-top: 0.75rem;
  line-height: 1.5;
}

.balance-status-msg.success {
  color: #4ade80;
}

.balance-status-msg.error {
  color: #f87171;
}

/* Dash Form */
.dash-divider {
  border: none;
  border-top: 1px solid rgba(220, 38, 38, 0.12);
  margin: 1rem 0;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.current-img-preview {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.form-actions-bar {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .dash-wrapper {
    height: auto;
    overflow: visible;
    flex-direction: column;
  }
  .dash-sidebar {
    width: 100%;
    height: auto;
    overflow-y: visible;
    border-right: none;
    border-bottom: 1px solid rgba(220, 38, 38, 0.15);
  }
  .dash-grid-2 {
    grid-template-columns: 1fr;
  }
  .dash-content-area {
    height: auto;
    overflow-y: visible;
    padding: 1.5rem;
  }
}


.thumb {
  max-width: 80px;
  max-height: 80px;
  border-radius: 6px;
  display: block;
  margin-top: 0.5rem;
}

.hint {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer {
  border-top: 1px solid rgba(220, 38, 38, 0.1);
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
  color: var(--text-dim);
  background: var(--bg);
}

.footer-content {
  max-width: 720px;
  margin: 0 auto;
}

.footer-copy {
  font-weight: 800;
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-disclaimer {
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.35);
  max-width: 640px;
  margin: 0 auto 1.25rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.footer-links a {
  color: var(--text-dim);
  font-weight: 700;
  font-size: 0.82rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary-2);
  text-decoration: none;
}

.footer-dot {
  color: rgba(255, 255, 255, 0.2);
}

.footer-pay {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(220, 38, 38, 0.08);
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.78rem;
  font-weight: 700;
  filter: grayscale(1);
  opacity: 0.7;
  transition: all 0.2s;
}

.pay-badge:hover {
  color: #fff;
  opacity: 1;
  filter: none;
}

.footer-slogan {
  margin-top: 0.5rem;
  color: var(--primary-2);
}

.contact-info p {
  margin-bottom: 0.75rem;
  color: var(--text);
}

.faq-item {
  background: var(--surface);
  border: 1px solid rgba(220, 38, 38, 0.12);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  cursor: pointer;
}

.faq-item summary {
  font-weight: 800;
  color: var(--silver);
  list-style: none;
}

.faq-item summary::marker { display: none; }

.faq-item p {
  color: var(--text-dim);
  margin-top: 0.75rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.why-card {
  background: var(--surface);
  border: 1px solid rgba(220, 38, 38, 0.12);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.why-card h3 {
  color: var(--primary-2);
  margin-bottom: 0.75rem;
}

.why-card p {
  color: var(--text-dim);
}

.steps {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 260px;
  text-align: center;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.4);
}

.step p {
  color: var(--text-dim);
}

.cta {
  background: linear-gradient(180deg, transparent, rgba(220, 38, 38, 0.08), transparent);
}

.text-center {
  text-align: center;
}

@media (max-width: 900px) {
  .nav-container {
    padding: 0.65rem 1rem;
    gap: 0.75rem;
  }
  .nav-links {
    gap: 0.35rem;
    flex-wrap: wrap;
  }
  .nav-link {
    padding: 0.35rem 0.6rem;
    font-size: 0.85rem;
    gap: 0.35rem;
  }
  .nav-balance-btn {
    padding: 0.3rem 0.65rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr;
  }
  .admin-table {
    display: block;
    overflow-x: auto;
  }
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .nav-container {
    flex-direction: column;
    align-items: center;
    padding: 0.6rem 0.75rem;
  }
  .logo-text {
    font-size: 1.15rem;
  }
  .nav-links {
    justify-content: center;
    width: 100%;
    gap: 0.3rem;
  }
}

/* ==================== NOTIFICATIONS ==================== */
.notif-bell-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.notif-bell {
  position: relative;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.notif-bell:hover {
  background: rgba(220, 38, 38, 0.25);
  color: #fff;
}

.notif-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

.notif-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 340px;
  max-width: 90vw;
  background: #14041f;
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s;
  z-index: 1000;
  overflow: hidden;
}

.notif-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.notif-dropdown-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(220, 38, 38, 0.15);
  font-size: 0.85rem;
  color: #fff;
}

.notif-read-all {
  background: none;
  border: none;
  color: var(--primary-2);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.notif-read-all:hover {
  text-decoration: underline;
}

.notif-dropdown-list {
  max-height: 380px;
  overflow-y: auto;
}

.notif-empty {
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.notif-item {
  display: flex;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(220, 38, 38, 0.08);
  cursor: pointer;
  transition: background 0.15s;
}

.notif-item:hover {
  background: rgba(220, 38, 38, 0.08);
}

.notif-item.unread {
  background: rgba(220, 38, 38, 0.12);
  border-left: 3px solid var(--primary-2);
}

.notif-item-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.notif-item-body {
  flex: 1;
  min-width: 0;
}

.notif-item-body strong {
  display: block;
  font-size: 0.82rem;
  color: #fff;
  margin-bottom: 0.15rem;
}

.notif-item-body p {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notif-item-time {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.25rem;
  display: block;
}

/* Admin notifications list */
.notif-admin-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.notif-admin-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: 10px;
  padding: 0.8rem 1rem;
}

.notif-admin-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.notif-admin-body {
  flex: 1;
  min-width: 0;
}

.notif-admin-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.2rem;
}

.notif-admin-head strong {
  color: #fff;
  font-size: 0.9rem;
}

.notif-target-badge {
  font-size: 0.68rem;
  background: rgba(220, 38, 38, 0.2);
  color: var(--primary-2);
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  font-weight: 700;
}

.notif-admin-msg {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin: 0.2rem 0;
  white-space: pre-wrap;
}

.notif-admin-date {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
}

.btn-icon-danger {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.btn-icon-danger:hover {
  opacity: 1;
}

/* ==================== POLICY PAGES ==================== */
.policy-hero-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.policy-hero-sub {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.policy-highlight {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.15), rgba(255, 42, 75, 0.08));
  border: 1px solid rgba(255, 42, 75, 0.35);
  border-radius: 12px;
  padding: 1.1rem 1.4rem;
  margin-bottom: 1.5rem;
}

.policy-highlight-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.policy-highlight strong {
  color: #fff;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.15rem;
}

.policy-highlight p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.policy-card {
  background: rgba(26, 6, 11, 0.5);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 12px;
  padding: 1.4rem;
  transition: border-color 0.2s, transform 0.2s;
}

.policy-card:hover {
  border-color: rgba(255, 42, 75, 0.45);
  transform: translateY(-2px);
}

.policy-card-icon {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.policy-card h2 {
  color: #fff;
  font-size: 1.05rem;
  margin: 0 0 0.6rem;
}

.policy-card p {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

.policy-list {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
}

.policy-list li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.45rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.policy-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #4ade80;
  font-size: 0.75rem;
}

/* ==================== RESELLER PANEL ==================== */
.reseller-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.reseller-product-card {
  background: rgba(26, 6, 11, 0.5);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 12px;
  padding: 1rem;
  transition: border-color 0.2s;
}

.reseller-product-card:hover {
  border-color: rgba(255, 42, 75, 0.45);
}

.reseller-product-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(220, 38, 38, 0.12);
}

.reseller-product-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.reseller-product-noimg {
  background: rgba(220, 38, 38, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.reseller-product-name {
  color: #fff;
  font-size: 0.95rem;
  display: block;
}

.reseller-plans {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.reseller-plan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.12);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
}

.reseller-plan-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.reseller-plan-label {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}

.reseller-plan-stock {
  font-size: 0.68rem;
  color: #4ade80;
}

.reseller-plan-stock.out {
  color: #f87171;
}

.reseller-plan-buy {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.reseller-plan-price {
  color: #ff2a4b;
  font-weight: 800;
  font-size: 0.95rem;
}

.reseller-plan-buy .btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ==================== ADMIN RESELLER ==================== */
.reseller-admin-product {
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
  background: rgba(26, 6, 11, 0.35);
}

.reseller-admin-product-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.reseller-admin-product-head strong {
  color: #fff;
  font-size: 0.95rem;
}

.reseller-admin-plans {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.reseller-admin-plan-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  background: rgba(220, 38, 38, 0.05);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
}

.reseller-admin-plan-row .reseller-plan-label {
  min-width: 130px;
}

.reseller-keys-details {
  margin-top: 0.75rem;
}

.reseller-keys-details summary {
  cursor: pointer;
  color: var(--primary-2);
  font-size: 0.82rem;
  font-weight: 600;
}

.reseller-keys-details summary:hover {
  color: #ff2a4b;
}

/* ==================== CUSTOM CONFIRM MODAL & TOAST ==================== */
.sw-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 2, 18, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.sw-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.sw-modal {
  background: linear-gradient(145deg, #1e0a2e, #150722);
  border: 1px solid rgba(255, 42, 75, 0.35);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  max-width: 400px;
  width: calc(100% - 2rem);
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 42, 75, 0.15);
  transform: translateY(12px) scale(0.97);
  transition: transform 0.2s ease;
}

.sw-modal-overlay.open .sw-modal {
  transform: translateY(0) scale(1);
}

.sw-modal-icon {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
}

.sw-modal-msg {
  color: #e9d5ff;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.sw-modal-actions {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
}

.sw-modal-actions .btn {
  padding: 0.55rem 1.4rem;
  font-size: 0.85rem;
}

.sw-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: linear-gradient(145deg, #1e0a2e, #150722);
  border: 1px solid rgba(255, 42, 75, 0.4);
  color: #e9d5ff;
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 10001;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease;
  pointer-events: none;
}

.sw-toast.open {
  transform: translateX(-50%) translateY(0);
}

/* Purchase summary inside confirm modal */
.sw-modal-title {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
}

.sw-buy-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  max-height: 240px;
  overflow-y: auto;
  text-align: left;
}

.sw-buy-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
}

.sw-buy-item-name {
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sw-buy-item-meta {
  color: #fda4af;
  font-size: 0.75rem;
  white-space: nowrap;
}

.sw-buy-item-price {
  color: #4ade80;
  font-weight: 800;
  font-size: 0.88rem;
  white-space: nowrap;
}

.sw-buy-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 42, 75, 0.3);
  padding-top: 0.75rem;
  color: #e9d5ff;
  font-size: 0.95rem;
}

.sw-buy-total strong {
  color: #ff2a4b;
  font-size: 1.15rem;
}

/* Ticket live chat status */
.ticket-online-status {
  color: #4ade80;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.ticket-typing-status {
  color: #fda4af;
  font-size: 0.8rem;
  font-style: italic;
  animation: typingPulse 1.2s ease-in-out infinite;
}

@keyframes typingPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ==================== PROFILE GRID (2 cols) ==================== */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

/* ==================== RESPONSIVE: TABLET ==================== */
@media (max-width: 1024px) {
  .profile-grid { grid-template-columns: 1fr; }
  .recharge-grid-layout { grid-template-columns: 1fr; }
  .reseller-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .license-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .policy-grid { grid-template-columns: 1fr; }
  .payment-methods-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  /* Sidebar becomes horizontal scrollable nav */
  .dash-nav {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 0.35rem;
    padding: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }
  .dash-nav-link {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.5rem 0.8rem;
    font-size: 0.82rem;
  }
  .dash-nav-group-title { display: none; }
  .dash-user-card { margin: 0.5rem; }

  .dash-top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .dash-top-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
  }

  .form-row-2, .form-row-3 { grid-template-columns: 1fr; }

  .hero-content h1, .page-hero-content h1 { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; text-align: center; }

  .filter-bar { flex-wrap: wrap; gap: 0.4rem; }
  .filter-pill { font-size: 0.8rem; padding: 0.35rem 0.7rem; }

  .table-action-btns { flex-wrap: wrap; gap: 0.35rem; }
  .table-action-btns .btn { font-size: 0.75rem; padding: 0.3rem 0.55rem; }

  .checkout-total-banner { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .checkout-item-row { flex-wrap: wrap; }

  .ticket-message-card { padding: 0.9rem; }
  .ticket-message-header { flex-wrap: wrap; gap: 0.5rem; }

  .reseller-plan-row { flex-wrap: wrap; }
  .reseller-admin-plan-row { flex-wrap: wrap; }

  .sw-modal { width: calc(100vw - 2rem); max-width: 420px; }
  .sw-modal-actions { flex-direction: column-reverse; }
  .sw-modal-actions .btn { width: 100%; }
}

/* ==================== RESPONSIVE: MOBILE ==================== */
@media (max-width: 640px) {
  .container { padding: 0 0.85rem; }
  .section { padding: 2rem 0; }
  .dash-content-area { padding: 1rem; }
  .dash-card { padding: 1rem; border-radius: 12px; }
  .dash-card-header h2 { font-size: 1.05rem; }
  .dash-heading { font-size: 1.3rem; }
  .dash-subheading { font-size: 0.85rem; }

  .auth-card { padding: 1.5rem 1.1rem; margin: 0 0.5rem; }
  .auth-title { font-size: 1.3rem; }

  .product-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .product-body { padding: 0.75rem; }
  .product-price.big { font-size: 1.4rem; }

  .payment-methods-grid { grid-template-columns: 1fr; }
  .payment-method-card { padding: 0.85rem; }
  .amount-quick-pills { flex-wrap: wrap; }
  .amount-pill { flex: 1 1 30%; text-align: center; }

  .cart-drawer-panel { width: 100%; max-width: 100%; }
  .cart-actions { flex-direction: column; }
  .cart-actions .btn { width: 100%; text-align: center; }
  .cart-total { font-size: 1.05rem; }

  .license-card { padding: 1rem; }
  .license-code { font-size: 0.8rem; word-break: break-all; }
  .license-actions { flex-wrap: wrap; }

  .key-code { font-size: 0.72rem; word-break: break-all; }
  .key-item-row { flex-wrap: wrap; }

  .dash-table { font-size: 0.78rem; }
  .dash-table th, .dash-table td { padding: 0.5rem 0.4rem; white-space: nowrap; }
  .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  .user-inline-info { flex-direction: row; }
  .ticket-meta-tags-top { flex-wrap: wrap; gap: 0.4rem; }
  .form-actions-bar { flex-direction: column; align-items: stretch; }
  .form-actions-bar .btn { width: 100%; }

  .footer-pay { flex-wrap: wrap; gap: 0.4rem; }
  .pay-badge { font-size: 0.7rem; padding: 0.25rem 0.5rem; }
  .footer-links { gap: 0.5rem; font-size: 0.8rem; }

  .sw-buy-item { flex-wrap: wrap; }
  .sw-buy-item-name { flex-basis: 100%; }

  .notif-dropdown { width: calc(100vw - 1.5rem); right: -0.5rem; }
  .verify-banner { flex-direction: column; text-align: center; gap: 0.5rem; }
}

/* Very small phones */
@media (max-width: 400px) {
  .product-grid { grid-template-columns: 1fr; }
  .nav-link span { font-size: 0.78rem; }
}


/* ═══════════════════════════════════════════════════════════════
   GLIZZY CRIMSON EDITION — UPGRADED UI & CYBER COMPONENTS
   ═══════════════════════════════════════════════════════════════ */

:root {
  --font-head: 'Orbitron', 'Rajdhani', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --border: rgba(255, 42, 75, 0.18);
  --border-glow: rgba(255, 42, 75, 0.50);
  --shadow-glow: 0 0 38px rgba(220, 38, 38, 0.28);
}

.accent {
  color: var(--primary-2);
  text-shadow: 0 0 22px rgba(255, 42, 75, 0.45);
}

.btn-lg {
  padding: 0.9rem 1.85rem;
  font-size: 0.98rem;
  letter-spacing: 0.5px;
}

/* ── Upgraded Logo Emblem & Brand Stack ── */
.logo-emblem-box {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: radial-gradient(circle at center, rgba(220, 38, 38, 0.28), rgba(14, 4, 7, 0.95));
  border: 1px solid rgba(255, 42, 75, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(220, 38, 38, 0.35);
  flex-shrink: 0;
}
.logo-brand-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.logo-text {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 2.5px;
  background: linear-gradient(90deg, #ffffff 0%, #ffe4e6 55%, #ff2a4b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo-subtag {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 2.2px;
  color: var(--text-dim);
  margin-top: 2px;
}

/* ── Cyber Asymmetric Hero V2 + 3D Reactor Showcase ── */
.hero-v2 {
  position: relative;
  padding: 5.5rem 0 5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(6, 2, 3, 0.80) 0%, rgba(6, 2, 3, 0.96) 100%),
    url('/images/banner.jpg') center/cover no-repeat;
}
.hero-v2-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 42, 75, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 42, 75, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 80%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
}
.hero-glow-left {
  width: 520px;
  height: 520px;
  background: rgba(220, 38, 38, 0.25);
  top: -120px;
  left: -100px;
}
.hero-glow-right {
  width: 480px;
  height: 480px;
  background: rgba(255, 42, 75, 0.22);
  bottom: -120px;
  right: -80px;
}
.hero-v2-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}
.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(220, 38, 38, 0.14);
  border: 1px solid rgba(255, 42, 75, 0.42);
  color: #fda4af;
  padding: 0.42rem 1rem;
  border-radius: 50px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 24px rgba(220, 38, 38, 0.2);
}
.status-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff2a4b;
  box-shadow: 0 0 10px #ff2a4b;
  animation: pulseDot 1.6s infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.55; }
}
.hero-v2-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 1.5px;
  color: #fff;
  margin-bottom: 1.35rem;
}
.hero-v2-brand {
  display: block;
  background: linear-gradient(135deg, #ffffff 0%, #ff2a4b 45%, #dc2626 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 28px rgba(255, 42, 75, 0.45));
}
.hero-v2-desc {
  color: #cbd5e1;
  font-size: 1.06rem;
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 2rem;
}
.hero-v2-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}
.hero-trust-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-dim);
}

.hero-v2-right {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-reactor-card {
  position: relative;
  width: 390px;
  height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reactor-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.reactor-ring-1 {
  inset: 10px;
  border: 2px dashed rgba(255, 42, 75, 0.65);
  animation: loader-spin-cw 10s linear infinite;
  box-shadow: 0 0 30px rgba(255, 42, 75, 0.28);
}
.reactor-ring-1::before,
.reactor-ring-1::after {
  content: '';
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff2a4b;
  box-shadow: 0 0 12px #ff2a4b, 0 0 25px #ff2a4b;
}
.reactor-ring-1::before {
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
}
.reactor-ring-1::after {
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
}

.reactor-ring-2 {
  inset: 38px;
  border: 2.5px solid transparent;
  border-top-color: #ff2a4b;
  border-right-color: rgba(220, 38, 38, 0.4);
  border-bottom-color: #dc2626;
  animation: loader-spin-ccw 6s linear infinite;
  box-shadow: 0 0 45px rgba(220, 38, 38, 0.35);
}
.reactor-ring-2::before {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 14px #ff2a4b, 0 0 20px #fff;
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
}

.reactor-core {
  position: relative;
  z-index: 2;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(220, 38, 38, 0.32) 0%, rgba(14, 4, 7, 0.95) 72%);
  border: 2px solid rgba(255, 42, 75, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 65px rgba(220, 38, 38, 0.5), inset 0 0 35px rgba(255, 42, 75, 0.35);
  animation: floatReactor 4s ease-in-out infinite;
  perspective: 900px;
}
@keyframes floatReactor {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.reactor-logo {
  width: 175px;
  height: 175px;
  object-fit: contain;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 22px rgba(255, 42, 75, 0.6));
  animation: logoSpin3D 8s linear infinite;
  transform-style: preserve-3d;
}
@keyframes logoSpin3D {
  0% {
    transform: perspective(700px) rotateY(0deg);
  }
  100% {
    transform: perspective(700px) rotateY(360deg);
  }
}
.telemetry-card {
  position: absolute;
  z-index: 3;
  background: rgba(14, 4, 7, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 42, 75, 0.42);
  border-radius: 14px;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  white-space: nowrap;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(220, 38, 38, 0.2);
  pointer-events: none;
}
.telemetry-top-left { top: 15px; left: -28px; }
.telemetry-top-right { top: 45px; right: -32px; }
.telemetry-bottom-center { bottom: 8px; left: 50%; transform: translateX(-50%); }
.telemetry-bottom-right { bottom: 35px; right: -25px; }
.telemetry-bottom-left { bottom: 15px; left: -20px; }
.telemetry-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}
.telemetry-icon { font-size: 1.25rem; }
.telemetry-label {
  display: block;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-dim);
}
.telemetry-val {
  display: block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
}

/* ── Live Stats Ribbon ── */
.stats-ribbon-section {
  margin-top: -2rem;
  position: relative;
  z-index: 5;
}
.stats-ribbon {
  background: linear-gradient(135deg, rgba(24, 6, 11, 0.96), rgba(14, 4, 7, 0.96));
  border: 1px solid rgba(255, 42, 75, 0.35);
  border-radius: 18px;
  padding: 1.6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.75), 0 0 35px rgba(220, 38, 38, 0.16);
}
.stat-ribbon-item { text-align: center; }
.stat-ribbon-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.65rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 18px rgba(255, 42, 75, 0.45);
}
.stat-ribbon-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.stat-ribbon-divider {
  width: 1px;
  height: 42px;
  background: rgba(255, 42, 75, 0.22);
}

/* ── Section Headers & Categories V2 ── */
.section-dark {
  background: rgba(14, 4, 7, 0.65);
  border-top: 1px solid rgba(255, 42, 75, 0.1);
  border-bottom: 1px solid rgba(255, 42, 75, 0.1);
}
.section-kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary-2);
  background: rgba(220, 38, 38, 0.14);
  border: 1px solid rgba(255, 42, 75, 0.35);
  padding: 0.28rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}
.section-head-center { text-align: center; margin-bottom: 2.75rem; }
.section-head-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.section-sub {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.98rem;
}

.cat-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.35rem;
}
.cat-card-v2 {
  background: linear-gradient(160deg, var(--surface) 0%, rgba(10, 3, 5, 0.95) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none !important;
}
.cat-card-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  opacity: 0;
  transition: opacity 0.25s;
}
.cat-card-v2:hover {
  border-color: var(--border-glow);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}
.cat-card-v2:hover::before { opacity: 1; }
.cat-card-v2-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
}
.cat-card-v2-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(220, 38, 38, 0.14);
  border: 1px solid rgba(255, 42, 75, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.cat-card-v2-index {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 900;
  color: rgba(255, 42, 75, 0.45);
}
.cat-card-v2-title {
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.45rem;
}
.cat-card-v2-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.cat-card-v2-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-2);
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.why-icon { font-size: 2.2rem; margin-bottom: 0.75rem; }

/* ── Catalog Toolbar (Live Search & Sort) ── */
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.catalog-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.catalog-search-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(6, 2, 3, 0.85);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem 0.9rem;
  color: var(--text-dim);
}
.catalog-search-box:focus-within {
  border-color: var(--primary-2);
  box-shadow: 0 0 15px rgba(255, 42, 75, 0.25);
}
.catalog-search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.88rem;
  width: 210px;
}
.catalog-sort-select {
  background: rgba(6, 2, 3, 0.85);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.54rem 0.95rem;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 700;
  outline: none;
  cursor: pointer;
}
.catalog-sort-select:focus { border-color: var(--primary-2); }

/* ── Upgraded Multi-Column Footer ── */
.footer {
  position: relative;
  background: #040102;
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}
.footer-glow-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-2), transparent);
  box-shadow: 0 0 20px var(--primary-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
}
.footer-brand-desc {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin: 1rem 0 1.25rem;
  max-width: 340px;
  line-height: 1.65;
}
.footer-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
}
.status-dot-online {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}
.footer-links-col h4 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.1rem;
}
.footer-links-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links-col a {
  font-size: 0.88rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: all 0.2s;
}
.footer-links-col a:hover {
  color: var(--primary-2);
  padding-left: 4px;
}
.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.payment-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.pay-badge {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.28rem 0.68rem;
  border-radius: 6px;
  font-size: 0.74rem;
  color: var(--text-dim);
}

@media (max-width: 980px) {
  .hero-v2-inner { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .hero-v2-desc { margin-left: auto; margin-right: auto; }
  .hero-v2-actions, .hero-trust-row { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero-reactor-card { width: 290px; height: 290px; }
  .reactor-core { width: 180px; height: 180px; }
  .reactor-logo { width: 135px; height: 135px; }
  .telemetry-card { padding: 0.38rem 0.65rem; gap: 0.45rem; font-size: 0.72rem; border-radius: 10px; }
  .telemetry-label { font-size: 0.54rem; }
  .telemetry-val { font-size: 0.7rem; }
  .telemetry-top-left { top: -6px; left: -10px; }
  .telemetry-top-right { top: 22px; right: -12px; }
  .telemetry-bottom-center { bottom: -12px; left: 50%; transform: translateX(-50%); }
  .stat-ribbon-divider { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .logo-subtag { display: none; }
}