/* ============================================================
   VGScripts – Main Stylesheet
   ============================================================ */

:root {
  --cyan:      #00d4ff;
  --cyan-dark: #0099cc;
  --cyan-glow: rgba(0, 212, 255, 0.15);
  --bg:        #080810;
  --bg2:       #0d0d1a;
  --bg3:       #111122;
  --card:      #0f0f1e;
  --border:    #1a1a2e;
  --border2:   #252540;
  --text:      #e0e0f0;
  --text2:     #9090b0;
  --text3:     #606080;
  --white:     #ffffff;
  --red:       #ff4444;
  --green:     #00cc66;
  --yellow:    #ffcc00;
  --radius:    10px;
  --radius-lg: 16px;
  --shadow:    0 4px 24px rgba(0,0,0,0.5);
  --shadow-c:  0 0 30px rgba(0, 212, 255, 0.15);
  --font:      'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--cyan); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }

img { max-width: 100%; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan-dark); }

/* ── Utility ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-cyan  { color: var(--cyan); }
.text-muted { color: var(--text2); }
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.hidden { display: none !important; }

/* ── Backgrounds ── */
.bg-grid {
  background-image:
    linear-gradient(rgba(0,212,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8,8,16,.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
}
.navbar-logo img { height: 38px; }
.navbar-logo span { color: var(--cyan); }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.navbar-nav a {
  display: block;
  padding: 8px 14px;
  color: var(--text2);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  transition: all .2s;
}
.navbar-nav a:hover,
.navbar-nav a.active { color: var(--cyan); background: var(--cyan-glow); }

.navbar-actions { display: flex; align-items: center; gap: 10px; }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

@media(max-width:768px) {
  .hamburger { display: flex; }
  .navbar-nav {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(8,8,16,.98);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
  }
  .navbar-nav.open { display: flex; }
  .navbar-nav a { padding: 12px 24px; border-radius: 0; }
  .navbar-actions .btn { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all .2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
  color: #000;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #33ddff, var(--cyan));
  color: #000;
  box-shadow: 0 0 20px rgba(0,212,255,.4);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--border2);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-glow);
}
.btn-danger  { background: var(--red); color: #fff; }
.btn-success { background: var(--green); color: #000; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0,212,255,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(0,153,204,.08) 0%, transparent 60%);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 20px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--cyan-glow);
  border: 1px solid rgba(0,212,255,.3);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(36px, 7vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero h1 .gradient {
  background: linear-gradient(135deg, var(--cyan), #fff, var(--cyan-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text2);
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number { font-size: 36px; font-weight: 900; color: var(--cyan); }
.stat-label  { font-size: 13px; color: var(--text2); margin-top: 4px; }

/* ============================================================
   SECTION
   ============================================================ */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--cyan-glow);
  border: 1px solid rgba(0,212,255,.25);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}
.section-sub { font-size: 16px; color: var(--text2); max-width: 520px; margin: 0 auto; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .3s;
}
.card:hover {
  border-color: rgba(0,212,255,.3);
  box-shadow: var(--shadow-c);
  transform: translateY(-4px);
}
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--bg3), var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.card-body { padding: 20px; }
.card-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.tag-fivem  { background: rgba(255,100,0,.15); color: #ff6400; border: 1px solid rgba(255,100,0,.3); }
.tag-bot    { background: rgba(88,101,242,.15); color: #7289da; border: 1px solid rgba(88,101,242,.3); }
.tag-web    { background: var(--cyan-glow);      color: var(--cyan); border: 1px solid rgba(0,212,255,.3); }
.card-title { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.card-desc  { font-size: 13px; color: var(--text2); margin-bottom: 16px; line-height: 1.5; }
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg3);
}
.card-price { font-size: 20px; font-weight: 800; color: var(--cyan); }
.card-price .old-price { font-size: 13px; color: var(--text3); text-decoration: line-through; margin-right: 6px; }

/* ============================================================
   GRID LAYOUTS
   ============================================================ */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.team-grid     { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }

/* ============================================================
   FEATURES
   ============================================================ */
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all .3s;
}
.feature-card:hover {
  border-color: rgba(0,212,255,.3);
  background: var(--bg3);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--cyan-glow);
  border: 1px solid rgba(0,212,255,.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feature-title { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.feature-desc  { font-size: 13px; color: var(--text2); }

/* ============================================================
   TEAM
   ============================================================ */
.team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: all .3s;
}
.team-card:hover { border-color: rgba(0,212,255,.3); transform: translateY(-4px); }
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  margin: 0 auto 14px;
  object-fit: cover;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  overflow: hidden;
}
.team-name { font-size: 16px; font-weight: 700; color: var(--white); }
.team-role {
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}
.team-discord { font-size: 13px; color: var(--text2); margin-top: 8px; }

/* ============================================================
   FORMS
   ============================================================ */
.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 420px;
  margin: 0 auto;
}
.form-title { font-size: 24px; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.form-sub   { font-size: 14px; color: var(--text2); margin-bottom: 28px; }

.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 6px;
  letter-spacing: .3px;
}
.form-control {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  font-family: var(--font);
}
.form-control:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,212,255,.1);
}
.form-control::placeholder { color: var(--text3); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }

.form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text3);
  font-size: 13px;
}
.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success { background: rgba(0,204,102,.1); border: 1px solid rgba(0,204,102,.3); color: var(--green); }
.alert-error   { background: rgba(255,68,68,.1);  border: 1px solid rgba(255,68,68,.3);  color: var(--red); }
.alert-info    { background: var(--cyan-glow);      border: 1px solid rgba(0,212,255,.3);  color: var(--cyan); }
.alert-warning { background: rgba(255,204,0,.1); border: 1px solid rgba(255,204,0,.3); color: var(--yellow); }

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}
.badge-admin    { background: rgba(255,68,68,.15);    color: var(--red);    border: 1px solid rgba(255,68,68,.3); }
.badge-mod      { background: rgba(255,165,0,.15);    color: #ffa500;       border: 1px solid rgba(255,165,0,.3); }
.badge-support  { background: rgba(88,101,242,.15);   color: #7289da;       border: 1px solid rgba(88,101,242,.3); }
.badge-user     { background: var(--cyan-glow);        color: var(--cyan);   border: 1px solid rgba(0,212,255,.3); }
.badge-success  { background: rgba(0,204,102,.15);    color: var(--green);  border: 1px solid rgba(0,204,102,.3); }
.badge-danger   { background: rgba(255,68,68,.15);    color: var(--red);    border: 1px solid rgba(255,68,68,.3); }

/* ============================================================
   DASHBOARD / ADMIN LAYOUT
   ============================================================ */
.dash-layout { display: flex; min-height: 100vh; }

.sidebar {
  width: 240px;
  min-height: 100vh;
  background: var(--bg2);
  border-right: 1px solid var(--border);
  position: sticky;
  top: 0;
  padding: 20px 0;
  flex-shrink: 0;
  overflow-y: auto;
}
.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
.sidebar-logo img { height: 32px; }
.sidebar-logo span { font-size: 16px; font-weight: 700; color: var(--white); }

.sidebar-section { padding: 16px 12px 8px; }
.sidebar-section-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--text3);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0 8px;
  margin-bottom: 6px;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--text2);
  font-size: 14px;
  font-weight: 500;
  transition: all .2s;
  cursor: pointer;
  text-decoration: none;
}
.sidebar-link:hover  { color: var(--white); background: var(--border); }
.sidebar-link.active { color: var(--cyan);  background: var(--cyan-glow); }
.sidebar-link svg    { width: 20px; height: 20px; flex-shrink: 0; opacity: .8; transition: opacity .2s; }
.sidebar-link:hover svg, .sidebar-link.active svg { opacity: 1; }
.sidebar-link span   { flex: 1; }
.sidebar-badge {
  background: var(--red);
  color: #fff;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  min-width: 20px;
  text-align: center;
}
.sidebar-footer {
  padding: 12px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.dash-content { flex: 1; padding: 32px; overflow-x: hidden; }

.dash-header { margin-bottom: 28px; }
.dash-title  { font-size: 26px; font-weight: 800; color: var(--white); }
.dash-sub    { font-size: 14px; color: var(--text2); margin-top: 4px; }

/* Stats row */
.stats-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.stat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--cyan-glow);
  border: 1px solid rgba(0,212,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  color: var(--cyan);
}
.stat-icon svg { width: 24px; height: 24px; }
.stat-info .number { font-size: 26px; font-weight: 800; color: var(--white); }
.stat-info .label  { font-size: 12px; color: var(--text2); margin-top: 2px; }

/* Data table */
.data-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.data-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.data-card-title { font-size: 16px; font-weight: 700; color: var(--white); }

table { width: 100%; border-collapse: collapse; }
thead tr { background: var(--bg3); }
th {
  padding: 12px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border);
}
td {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(255,255,255,.02); }

/* Search / filter bar */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.search-input {
  flex: 1;
  min-width: 200px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
}
.search-input:focus { border-color: var(--cyan); }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  margin-top: 24px;
}
.pagination a, .pagination span {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text2);
  transition: all .2s;
}
.pagination a:hover { border-color: var(--cyan); color: var(--cyan); }
.pagination .active { background: var(--cyan); color: #000; border-color: var(--cyan); }
.pagination .disabled { opacity: .4; pointer-events: none; }

/* Tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.tab-btn {
  padding: 12px 20px;
  background: none;
  border: none;
  color: var(--text2);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all .2s;
  font-family: var(--font);
}
.tab-btn:hover { color: var(--white); }
.tab-btn.active { color: var(--cyan); border-bottom-color: var(--cyan); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(.95);
  transition: transform .2s;
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.modal-title { font-size: 20px; font-weight: 700; color: var(--white); }
.modal-close {
  background: none;
  border: none;
  color: var(--text2);
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
  transition: color .2s;
}
.modal-close:hover { color: var(--white); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 20px 30px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media(max-width:900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:500px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand img { height: 40px; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; color: var(--text2); max-width: 260px; line-height: 1.7; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 13px; color: var(--text2); transition: color .2s; }
.footer-col a:hover { color: var(--cyan); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 13px; color: var(--text3); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--text3); }
.footer-links a:hover { color: var(--cyan); }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
@media(max-width:900px) { .product-detail { grid-template-columns: 1fr; } }

.product-gallery img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.product-info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 80px;
}
.product-price-big { font-size: 36px; font-weight: 900; color: var(--cyan); margin: 12px 0; }
.product-features { list-style: none; margin: 20px 0; }
.product-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.product-features li:last-child { border-bottom: none; }
.product-features li::before { content: '✓'; color: var(--cyan); font-weight: 700; }

/* ============================================================
   LOADING / SKELETON
   ============================================================ */
.skeleton {
  background: linear-gradient(90deg, var(--border) 25%, var(--border2) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: skeleton 1.5s infinite;
  border-radius: 6px;
}
@keyframes skeleton { to { background-position: -200% 0; } }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn  { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:none; } }
@keyframes glow    { 0%,100% { box-shadow: 0 0 20px rgba(0,212,255,.3); } 50% { box-shadow: 0 0 40px rgba(0,212,255,.6); } }
@keyframes float   { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-8px); } }

.fade-in { animation: fadeIn .5s ease forwards; }
.glow-pulse { animation: glow 2s ease-in-out infinite; }

/* ============================================================
   MISC
   ============================================================ */
.divider { height: 1px; background: var(--border); margin: 24px 0; }
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text3);
}
.empty-state .icon { font-size: 48px; margin-bottom: 16px; }
.empty-state h3 { font-size: 18px; color: var(--text2); margin-bottom: 8px; }

.user-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cyan-glow);
  border: 1px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan);
}

.tag-new {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(0,204,102,.15);
  border: 1px solid rgba(0,204,102,.3);
  color: var(--green);
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.tag-sale {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(255,68,68,.15);
  border: 1px solid rgba(255,68,68,.3);
  color: var(--red);
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 6px;
  box-shadow: var(--shadow);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all .2s;
}
.dropdown.open .dropdown-menu { opacity: 1; pointer-events: all; transform: none; }
.dropdown-item {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--text);
  transition: all .15s;
}
.dropdown-item:hover { background: var(--border); color: var(--cyan); }
.dropdown-divider { height: 1px; background: var(--border); margin: 4px 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:768px) {
  .dash-layout { flex-direction: column; }
  .sidebar { width: 100%; min-height: auto; position: static; }
  .dash-content { padding: 20px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 24px; }
  section.section { padding: 50px 0; }
  th:nth-child(n+4), td:nth-child(n+4) { display: none; }
}
@media(max-width:480px) {
  .stats-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
}
