/* GTA 6 Mods World - Vice City Theme */
:root {
  --gta6-pink: #FF3C78;
  --gta6-hot-pink: #FF6EC7;
  --gta6-magenta: #C026D3;
  --gta6-coral: #FF6B35;
  --gta6-orange: #FF8C42;
  --gta6-yellow: #FFD166;
  --gta6-teal: #00CED1;
  --gta6-cobalt: #0A2463;
  --gta6-blue: #1E3A8A;
  --gta6-purple: #7C3AED;
  --bg-primary: #0A0A12;
  --bg-secondary: #12121F;
  --bg-card: #1A1A2E;
  --bg-card-hover: #22223A;
  --bg-glass: rgba(26, 26, 46, 0.9);
  --text-primary: #F0F0FF;
  --text-secondary: #A0A0C0;
  --text-muted: #6B6B8A;
  --accent-gradient: linear-gradient(135deg, #FF3C78 0%, #C026D3 50%, #FF6B35 100%);
  --accent-gradient-blue: linear-gradient(135deg, #0A2463 0%, #7C3AED 50%, #FF3C78 100%);
  --border-color: rgba(255, 60, 120, 0.2);
  --border-glow: 1px solid rgba(255, 60, 120, 0.3);
  --shadow-neon: 0 0 30px rgba(255, 60, 120, 0.15);
  --radius: 12px;
  --radius-lg: 16px;
  --nav-h: 70px;
  --font: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: var(--gta6-pink); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gta6-hot-pink); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--gta6-pink); border-radius: 4px; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 3rem 0; }
.section-title {
  font-size: 1.5rem; font-weight: 800; margin-bottom: 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.section-title span { background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.see-all { font-size: .9rem; font-weight: 600; color: var(--gta6-teal); white-space: nowrap; }

/* Profile dropdown */
.profile-dropdown { position: relative; }
.profile-trigger {
  display: flex; align-items: center; gap: 0.6rem;
  background: rgba(255,60,120,.08); border: 1px solid var(--border-color);
  border-radius: 999px; padding: 0.35rem 0.85rem 0.35rem 0.35rem;
  cursor: pointer; color: var(--text-primary); font-size: 0.85rem; font-weight: 600;
  transition: all 0.2s;
}
.profile-trigger:hover, .profile-dropdown.open .profile-trigger {
  border-color: var(--gta6-pink); background: rgba(255,60,120,.15);
}
.profile-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent-gradient); display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem; color: #fff; flex-shrink: 0;
  box-shadow: 0 0 12px rgba(255,60,120,.4);
}
.profile-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.profile-name { max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-chevron { color: var(--text-muted); transition: transform 0.2s; display: flex; }
.profile-dropdown.open .profile-chevron { transform: rotate(180deg); }
.profile-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 220px;
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: 12px; padding: 0.5rem; box-shadow: 0 20px 50px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all 0.2s; z-index: 1100;
}
.profile-dropdown.open .profile-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.profile-menu-header {
  padding: 0.75rem 1rem; border-bottom: 1px solid var(--border-color); margin-bottom: 0.35rem;
}
.profile-menu-header .role-badge {
  font-size: 0.7rem; padding: 0.15rem 0.5rem; border-radius: 4px;
  background: rgba(255,60,120,.15); color: var(--gta6-pink); font-weight: 600; text-transform: uppercase;
}
.profile-menu a, .profile-menu button {
  display: flex; align-items: center; gap: 0.65rem; width: 100%;
  padding: 0.65rem 1rem; border: none; background: none;
  color: var(--text-secondary); font-size: 0.88rem; font-weight: 500;
  border-radius: 8px; cursor: pointer; text-align: left; text-decoration: none;
  transition: all 0.15s;
}
.profile-menu a:hover, .profile-menu button:hover {
  background: rgba(255,60,120,.1); color: var(--text-primary);
}
.profile-menu .menu-danger:hover { background: rgba(220,38,38,.15); color: #f87171; }
.profile-menu hr { border: none; border-top: 1px solid var(--border-color); margin: 0.35rem 0; }

/* Icons */
.icon { display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; flex-shrink: 0; }
.icon-lg svg { width: 40px; height: 40px; }
.icon-section svg { filter: drop-shadow(0 0 6px rgba(255,60,120,.35)); }
.icon-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
}
.icon-placeholder svg { width: 48px; height: 48px; opacity: 0.85; }
.logo .icon { margin-right: 0.35rem; }
.logo .icon-palm svg { filter: drop-shadow(0 0 4px rgba(0, 206, 209, 0.45)); }
.nav-search-btn .icon svg { width: 22px; height: 22px; }
.dash-nav a, .admin-nav a { display: flex; align-items: center; gap: 0.65rem; }
.dash-nav .icon svg, .admin-nav .icon svg { width: 18px; height: 18px; }
.hero-badge .icon { margin-right: 0.35rem; }
.hero-badge .icon-palm svg { filter: drop-shadow(0 0 5px rgba(0, 206, 209, 0.5)); }
.btn .icon { margin-right: 0.25rem; }
.category-badge .icon svg { width: 14px; height: 14px; }
.mod-card-stats .icon-inline svg { width: 14px; height: 14px; vertical-align: -2px; }
.featured-badge { display: inline-flex; align-items: center; gap: 0.3rem; }
.promo-card { font-size: 0; }
.promo-card .icon svg { width: 48px; height: 48px; }

/* NAVBAR */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--bg-glass); backdrop-filter: blur(16px);
  border-bottom: var(--border-glow); height: var(--nav-h);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1rem; }
.logo {
  display: inline-flex;
  align-items: center;
  font-size: 1.35rem; font-weight: 900; letter-spacing: -.02em;
  background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  white-space: nowrap;
}
.nav-links { display: flex; gap: .25rem; }
.nav-links a {
  color: var(--text-secondary); padding: .5rem .85rem; border-radius: 8px;
  font-size: .9rem; font-weight: 500; transition: all .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); background: rgba(255,60,120,.1); }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-search-btn {
  background: none; border: none; color: var(--text-secondary); cursor: pointer;
  padding: .5rem; font-size: 1.1rem;
}
.nav-search-btn:hover { color: var(--gta6-pink); }
.mobile-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .65rem 1.25rem; border-radius: 10px; font-weight: 600; font-size: .9rem;
  border: none; cursor: pointer; transition: all .2s; text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--accent-gradient); color: #fff; box-shadow: var(--shadow-neon); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(255,60,120,.35); color: #fff; }
.btn-outline { background: transparent; border: 1px solid var(--border-color); color: var(--text-primary); }
.btn-outline:hover { border-color: var(--gta6-pink); color: var(--gta6-pink); }
.btn-ghost { background: rgba(255,255,255,.05); color: var(--text-secondary); }
.btn-ghost:hover { background: rgba(255,60,120,.1); color: var(--text-primary); }
.btn-sm { padding: .4rem .85rem; font-size: .8rem; }
.btn-lg { padding: .85rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-danger { background: #dc2626; color: #fff; }
.btn-success { background: #16a34a; color: #fff; }

/* HERO */
.hero {
  position: relative; padding: 5rem 0 4rem; overflow: hidden; text-align: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 60%, rgba(255,60,120,.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(192,38,211,.14) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(0,206,209,.08) 0%, transparent 50%);
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: .35rem 1rem; border-radius: 999px;
  background: rgba(255,60,120,.12); border: 1px solid rgba(255,60,120,.3);
  color: var(--gta6-pink); font-size: .8rem; font-weight: 600; letter-spacing: .06em;
  margin-bottom: 1.25rem; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; line-height: 1.1; margin-bottom: 1rem;
  background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p { color: var(--text-secondary); font-size: 1.1rem; max-width: 560px; margin: 0 auto 2rem; }

/* SEARCH */
.search-box {
  max-width: 600px; margin: 0 auto; position: relative;
}
.search-box input {
  width: 100%; padding: 1rem 1.25rem 1rem 3rem;
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: 14px; color: var(--text-primary); font-size: 1rem; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.search-box input:focus { border-color: var(--gta6-pink); box-shadow: 0 0 0 3px rgba(255,60,120,.15); }
.search-box .search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.search-suggestions {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: 12px; overflow: hidden; z-index: 50; display: none;
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
}
.search-suggestions.show { display: block; }
.search-suggestions a {
  display: block; padding: .75rem 1rem; color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.search-suggestions a:hover { background: rgba(255,60,120,.08); color: var(--text-primary); }

/* CATEGORY PILLS */
.category-pills { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 2rem; }
.category-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem 1rem; border-radius: 999px;
  background: var(--bg-card); border: 1px solid var(--border-color);
  color: var(--text-secondary); font-size: .85rem; font-weight: 500; transition: all .2s;
}
.category-pill:hover { border-color: var(--gta6-pink); color: var(--gta6-pink); transform: translateY(-2px); }

/* MOD CARDS */
.mods-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.mods-grid.list-view { grid-template-columns: 1fr; }
.mod-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); overflow: hidden; transition: all .25s;
}
.mod-card:hover { transform: translateY(-4px); border-color: rgba(255,60,120,.4); box-shadow: var(--shadow-neon); }
.mod-card-thumb {
  aspect-ratio: 16/9; background: var(--bg-secondary); position: relative; overflow: hidden;
}
.mod-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mod-card-thumb .placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
}
.mod-card-body { padding: 1rem; }
.mod-card-title {
  font-weight: 700; font-size: .95rem; margin-bottom: .4rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  color: var(--text-primary);
}
.mod-card-title a { color: inherit; }
.mod-card-title a:hover { color: var(--gta6-pink); }
.mod-card-meta { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--text-muted); margin-bottom: .6rem; }
.mod-card-stats { display: flex; gap: .75rem; font-size: .78rem; color: var(--text-secondary); }
.mod-card-stats span { display: flex; align-items: center; gap: .25rem; }
.category-badge {
  display: inline-block; padding: .2rem .55rem; border-radius: 6px;
  font-size: .7rem; font-weight: 600; background: rgba(255,60,120,.12); color: var(--gta6-pink);
}
.featured-badge {
  position: absolute; top: .6rem; left: .6rem;
  background: var(--accent-gradient); color: #fff; font-size: .7rem;
  font-weight: 700; padding: .2rem .55rem; border-radius: 6px;
}

/* STARS */
.stars { display: inline-flex; align-items: center; gap: 2px; font-size: .85rem; }
.stars .empty { opacity: 0.35; filter: grayscale(1); }
.stars-count { color: var(--text-muted); margin-left: 4px; font-size: .8rem; }

/* HORIZONTAL SCROLL */
.scroll-row { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: .5rem; scroll-snap-type: x mandatory; scroll-behavior: smooth; }
.scroll-row .mod-card { min-width: 280px; scroll-snap-align: start; flex-shrink: 0; }

/* Horizontal carousel with arrow nav (no scrollbar) */
.scroll-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.scroll-carousel .scroll-row {
  flex: 1;
  min-width: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0;
}

.scroll-carousel .scroll-row::-webkit-scrollbar {
  display: none;
}

.scroll-arrow-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: rgba(26, 26, 46, 0.9);
  color: var(--gta6-pink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s, transform 0.15s, opacity 0.2s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.scroll-arrow-btn:hover:not(:disabled) {
  border-color: var(--gta6-pink);
  background: rgba(255, 60, 120, 0.15);
  transform: scale(1.06);
}

.scroll-arrow-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.scroll-arrow-btn .icon svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 600px) {
  .scroll-arrow-btn {
    width: 34px;
    height: 34px;
  }
  .scroll-carousel .scroll-row .mod-card {
    min-width: 260px;
  }
}

/* AD SLOTS */
.ad-slot { margin: 1.5rem 0; text-align: center; min-height: 50px; }
.ad-slot img { max-width: 100%; border-radius: 8px; cursor: pointer; }
.ad-label { font-size: .65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .25rem; }

/* BLOG CARDS */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.blog-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); overflow: hidden; transition: all .25s;
}
.blog-card:hover { transform: translateY(-3px); border-color: rgba(255,60,120,.35); }
.blog-card-img { aspect-ratio: 16/9; background: var(--bg-secondary); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 1.25rem; }
.blog-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.blog-card h3 a { color: var(--text-primary); }
.blog-card h3 a:hover { color: var(--gta6-pink); }
.blog-card p { font-size: .85rem; color: var(--text-secondary); margin-bottom: .75rem; }
.blog-meta { font-size: .78rem; color: var(--text-muted); }

/* PAGE HEADER */
.page-header { padding: 2.5rem 0 1.5rem; border-bottom: 1px solid var(--border-color); margin-bottom: 2rem; }
.page-header h1 { font-size: 2rem; font-weight: 800; margin-bottom: .5rem; }
.page-header p { color: var(--text-secondary); }
.breadcrumbs { font-size: .85rem; color: var(--text-muted); margin-bottom: .75rem; }
.breadcrumbs a { color: var(--text-secondary); }
.breadcrumbs a:hover { color: var(--gta6-pink); }

/* LAYOUT SIDEBAR */
.page-layout { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; align-items: start; }
.page-main { min-width: 0; }
.sidebar { position: sticky; top: calc(var(--nav-h) + 1rem); }

/* MOD DETAIL */
.mod-detail-header { margin-bottom: 2rem; }
.mod-detail-header h1 { font-size: 1.75rem; font-weight: 800; margin-bottom: .75rem; }
.mod-gallery { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1.5rem; background: var(--bg-card); }
.mod-gallery img { width: 100%; max-height: 420px; object-fit: cover; }
.mod-gallery-placeholder {
  height: 300px; display: flex; align-items: center; justify-content: center;
  font-size: 4rem; background: var(--bg-card);
}
.download-box {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.5rem;
  text-align: center;
}
.download-box .btn-download { font-size: 1.1rem; padding: 1rem 2rem; width: 100%; margin-bottom: .75rem; }
.download-info { font-size: .85rem; color: var(--text-muted); }
.mod-description { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.5rem; }
.mod-description h2 { font-size: 1.1rem; margin-bottom: 1rem; color: var(--gta6-teal); }
.mod-description p, .mod-description li { color: var(--text-secondary); margin-bottom: .5rem; }
.mod-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.mod-tag { padding: .3rem .7rem; background: rgba(255,60,120,.1); border-radius: 6px; font-size: .8rem; color: var(--gta6-pink); }

/* SIDEBAR CARD */
.info-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 1rem;
}
.info-card h3 { font-size: .9rem; font-weight: 700; margin-bottom: 1rem; color: var(--gta6-teal); text-transform: uppercase; letter-spacing: .05em; }
.info-row { display: flex; justify-content: space-between; padding: .4rem 0; font-size: .85rem; border-bottom: 1px solid rgba(255,255,255,.04); }
.info-row:last-child { border: none; }
.info-row span:first-child { color: var(--text-muted); }
.author-card { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.author-avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--accent-gradient);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem;
}
.author-name { font-weight: 600; }
.author-meta { font-size: .8rem; color: var(--text-muted); }

/* FILTERS */
.filters-bar {
  display: flex; flex-wrap: wrap; gap: .75rem; align-items: center;
  margin-bottom: 1.5rem; padding: 1rem; background: var(--bg-card);
  border: 1px solid var(--border-color); border-radius: var(--radius);
}
.filters-bar select, .filters-bar input {
  padding: .5rem .75rem; background: var(--bg-secondary); border: 1px solid var(--border-color);
  border-radius: 8px; color: var(--text-primary); font-size: .85rem; outline: none;
}
.filters-bar select:focus, .filters-bar input:focus { border-color: var(--gta6-pink); }

/* FORMS */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; color: var(--text-secondary); }
.form-control {
  width: 100%; padding: .75rem 1rem; background: var(--bg-card);
  border: 1px solid var(--border-color); border-radius: 10px;
  color: var(--text-primary); font-size: .9rem; outline: none; transition: border-color .2s;
}
.form-control:focus { border-color: var(--gta6-pink); box-shadow: 0 0 0 3px rgba(255,60,120,.1); }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-hint { font-size: .78rem; color: var(--text-muted); margin-top: .3rem; }
.form-error { color: #f87171; font-size: .8rem; margin-top: .3rem; }

/* AUTH */
.auth-page { min-height: calc(100vh - var(--nav-h)); display: flex; align-items: center; justify-content: center; padding: 2rem; }
.auth-card {
  width: 100%; max-width: 420px; background: var(--bg-card);
  border: 1px solid var(--border-color); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow-neon);
}
.auth-card h1 { font-size: 1.5rem; font-weight: 800; text-align: center; margin-bottom: .5rem; }
.auth-card .subtitle { text-align: center; color: var(--text-secondary); font-size: .9rem; margin-bottom: 1.5rem; }
.auth-divider { text-align: center; color: var(--text-muted); font-size: .85rem; margin: 1rem 0; }

/* DASHBOARD */
.dashboard-layout { display: grid; grid-template-columns: 240px 1fr; gap: 1.5rem; min-height: calc(100vh - var(--nav-h) - 4rem); }
.dash-sidebar {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: 1rem; height: fit-content; position: sticky; top: calc(var(--nav-h) + 1rem);
}
.dash-nav a {
  display: flex; align-items: center; gap: .6rem; padding: .65rem .85rem;
  border-radius: 8px; color: var(--text-secondary); font-size: .9rem; margin-bottom: .2rem;
}
.dash-nav a:hover, .dash-nav a.active { background: rgba(255,60,120,.1); color: var(--gta6-pink); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius); padding: 1.25rem;
}
.stat-card .value { font-size: 1.75rem; font-weight: 800; color: var(--gta6-teal); }
.stat-card .label { font-size: .8rem; color: var(--text-muted); margin-top: .25rem; }

/* TABLE */
.data-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.data-table th, .data-table td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--border-color); }
.data-table th { color: var(--text-muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.data-table tr:hover td { background: rgba(255,255,255,.02); }
.status-badge { padding: .2rem .6rem; border-radius: 6px; font-size: .75rem; font-weight: 600; }
.status-approved { background: rgba(22,163,74,.15); color: #4ade80; }
.status-pending { background: rgba(234,179,8,.15); color: #facc15; }
.status-rejected { background: rgba(220,38,38,.15); color: #f87171; }

/* PAGINATION */
.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.pagination button {
  padding: .5rem .85rem; background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: 8px; color: var(--text-secondary); cursor: pointer; font-size: .85rem;
}
.pagination button:hover, .pagination button.active { border-color: var(--gta6-pink); color: var(--gta6-pink); }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }

/* TOAST */
.toast-container { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999; display: flex; flex-direction: column; gap: .5rem; }
.toast {
  padding: .85rem 1.25rem; border-radius: 10px; font-size: .9rem; font-weight: 500;
  box-shadow: 0 10px 30px rgba(0,0,0,.4); animation: slideIn .3s ease;
  max-width: 360px;
}
.toast-success { background: #166534; color: #bbf7d0; border: 1px solid #22c55e; }
.toast-error { background: #7f1d1d; color: #fecaca; border: 1px solid #ef4444; }
.toast-info { background: var(--bg-card); color: var(--text-primary); border: 1px solid var(--border-color); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* SKELETON */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 8px;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skeleton-card { height: 280px; }

/* FOOTER */
.footer {
  background: var(--bg-secondary); border-top: 1px solid var(--border-color);
  padding: 3rem 0 1.5rem; margin-top: 4rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer h4 { font-size: .9rem; font-weight: 700; margin-bottom: 1rem; color: var(--gta6-teal); }
.footer ul li { margin-bottom: .4rem; }
.footer ul a { color: var(--text-secondary); font-size: .85rem; }
.footer ul a:hover { color: var(--gta6-pink); }
.footer-bottom {
  border-top: 1px solid var(--border-color); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem;
  font-size: .8rem; color: var(--text-muted);
}
.footer-tagline { color: var(--text-secondary); font-size: .85rem; margin-top: .5rem; max-width: 320px; }

/* 404 */
.error-page { text-align: center; padding: 6rem 1rem; }
.error-page h1 { font-size: 6rem; font-weight: 900; background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.error-page p { color: var(--text-secondary); margin: 1rem 0 2rem; font-size: 1.1rem; }

/* BLOG POST */
.blog-post-content { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 2rem; }
.blog-post-content h2 { font-size: 1.3rem; margin: 1.5rem 0 .75rem; color: var(--gta6-teal); }
.blog-post-content p { color: var(--text-secondary); margin-bottom: 1rem; line-height: 1.8; }
.blog-post-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.blog-post-content li { color: var(--text-secondary); margin-bottom: .4rem; list-style: disc; }
.blog-cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 2rem; max-height: 400px; }
.blog-cover img { width: 100%; height: 100%; object-fit: cover; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dash-sidebar { position: static; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions .hide-mobile { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: var(--nav-h); left: 0; right: 0; background: var(--bg-glass);
    backdrop-filter: blur(16px); padding: 1rem; border-bottom: var(--border-glow);
  }
  .footer-grid { grid-template-columns: 1fr; }
  .mods-grid { grid-template-columns: 1fr; }
}

/* CART & CHECKOUT */
.nav-cart-btn { position: relative; display: inline-flex; align-items: center; padding: .4rem; color: var(--text-secondary); }
.nav-cart-btn:hover { color: var(--gta6-pink); }
.nav-cart-badge {
  position: absolute; top: -2px; right: -4px; min-width: 18px; height: 18px;
  background: var(--gta6-pink); color: #fff; font-size: .65rem; font-weight: 700;
  border-radius: 999px; align-items: center; justify-content: center; padding: 0 4px;
}
.cart-layout { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; align-items: start; }
.cart-item { display: flex; align-items: center; gap: 1rem; padding: 1rem; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); margin-bottom: .75rem; }
.cart-item-thumb { width: 64px; height: 64px; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-elevated); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-title { font-weight: 600; display: block; }
.cart-item-author { font-size: .85rem; color: var(--text-muted); }
.cart-item-price { font-weight: 700; color: var(--gta6-teal); }
.cart-total .info-row span:last-child { font-size: 1.2rem; font-weight: 800; color: var(--gta6-pink); }
.checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.mod-price-badge { background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 800; }
@media (max-width: 768px) {
  .cart-layout, .checkout-grid { grid-template-columns: 1fr; }
}
