/* public/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=optional');

:root {
  --navy-deep: #f8fafc; /* Soft cool background (slate-50) */
  --navy-dark: #ffffff; /* Pure white for cards */
  --navy-card: rgba(255, 255, 255, 0.8); /* Translucent glass card background */
  --navy-hover: #ffffff; /* Card hover state */
  --purple-accent: #6366f1; /* Indigo Accent */
  --blue-accent: #3b82f6; /* Electric Blue */
  --cyan-accent: #0284c7; /* Ocean Sky Blue */
  --cyan-glow: rgba(2, 132, 199, 0.08);
  --blue-glow: rgba(59, 130, 246, 0.08);
  --purple-glow: rgba(99, 102, 241, 0.08);
  --white: #475569; /* Body text: dark slate grey for contrast */
  --white-bright: #0f172a; /* Headings color: deep dark slate */
  --gray-muted: #64748b; /* Subtext/descriptions color: cool slate grey */
  --gray-border: rgba(15, 23, 42, 0.06); /* Thin dark-tint borders */
  --green: #10b981;
  --green-glow: rgba(16, 185, 129, 0.08);
  --orange: #ea580c;
  --red: #ef4444;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --shadow-premium: 0 16px 36px -12px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.02);
  --border-radius-lg: 24px;
  --border-radius-md: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 23, 42, 0.15) transparent;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.15);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(15, 23, 42, 0.25);
}

/* ── Anti-FOUC: smooth appearance without hiding entire page ── */
body {
  background-color: var(--navy-deep);
  color: var(--white);
  font-family: var(--font-body);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* ── AMBIENT BACKGROUND BLOBS ── */
.ambient-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  -webkit-filter: blur(140px);
  z-index: -2;
  pointer-events: none;
  opacity: 0.75;
  animation: floatBlobs 25s infinite alternate ease-in-out;
}

.blob-1 {
  top: -100px;
  left: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(99, 102, 241, 0.02) 70%, transparent 100%);
  animation-duration: 28s;
}

.blob-2 {
  bottom: -100px;
  right: -100px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.12) 0%, rgba(2, 132, 199, 0.02) 70%, transparent 100%);
  animation-duration: 32s;
  animation-delay: -5s;
}

.blob-3 {
  top: 35%;
  left: 45%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.01) 70%, transparent 100%);
  animation-duration: 24s;
  animation-delay: -10s;
}

@keyframes floatBlobs {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(40px, -60px) scale(1.08);
  }
  100% {
    transform: translate(-30px, 40px) scale(0.95);
  }
}

/* ── PREMIUM FLOATING CAPSULE NAVIGATION ── */
nav {
  position: sticky;
  top: 1rem;
  max-width: 1280px;
  width: calc(100% - 2rem);
  margin: 0 auto 2rem;
  z-index: 100;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--gray-border);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  border-radius: 40px;
  box-shadow: var(--shadow-premium);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white-bright);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo-img {
  width: 40px;
  height: 40px;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.15));
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover .logo-img {
  transform: scale(1.08) rotate(-5deg);
}

.logo-accent {
  background: linear-gradient(to right, var(--purple-accent), var(--blue-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-right {
  display: flex;
  align-items: center;
}

.nav-badge {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.18);
  color: #059669;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.03);
  letter-spacing: 0.01em;
}

/* ── HERO SECTION ── */
.hero {
  padding: 6rem 2rem 4rem;
  text-align: center;
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #059669;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--white-bright);
}

.hero h1 em {
  background: linear-gradient(135deg, var(--white-bright) 20%, var(--gray-muted) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal;
}

.hero h1 span.gradient-text {
  background: linear-gradient(135deg, var(--purple-accent), var(--blue-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  color: var(--gray-muted);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 3rem;
  font-weight: 400;
  line-height: 1.7;
}

/* ── MODERN SEARCH CONTAINER ── */
.search-wrap {
  max-width: 720px;
  margin: 0 auto 1.75rem;
  position: relative;
  border-radius: var(--border-radius-lg);
  background: var(--navy-dark);
  padding: 2px;
  box-shadow: var(--shadow-premium);
  transition: all 0.3s;
}

.search-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--border-radius-lg);
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.02));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: all 0.3s;
}

.search-wrap:focus-within::before {
  background: linear-gradient(135deg, var(--purple-accent), var(--blue-accent));
  padding: 2px;
}

.search-wrap input {
  width: 100%;
  background: var(--navy-dark);
  border: none;
  border-radius: calc(var(--border-radius-lg) - 2px);
  padding: 1.25rem 1.25rem 1.25rem 3.6rem;
  color: var(--white-bright);
  font-size: 1.1rem;
  font-family: var(--font-body);
  outline: none;
  transition: background 0.3s;
}

.search-icon {
  position: absolute;
  left: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-muted);
  font-size: 1.4rem;
  pointer-events: none;
}

.search-clear {
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.05);
  border: none;
  color: var(--gray-muted);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.85rem;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.search-clear:hover {
  background: rgba(239, 68, 68, 0.1);
  color: var(--red);
}

/* Trending tags */
.trending-searches {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--gray-muted);
}

.trending-tag {
  background: var(--navy-dark);
  border: 1px solid var(--gray-border);
  color: var(--white);
  padding: 5px 16px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.02);
}

.trending-tag:hover {
  background: var(--navy-deep);
  border-color: var(--purple-accent);
  color: var(--purple-accent);
  transform: translateY(-1.5px);
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.08);
}

/* ── FUTURISTIC CATEGORY CHIPS ── */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 3.5rem;
}

.chip {
  background: var(--navy-dark);
  border: 1px solid var(--gray-border);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.chip:hover {
  border-color: var(--purple-accent);
  color: var(--purple-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

.chip.active {
  background: linear-gradient(135deg, var(--purple-accent), var(--blue-accent));
  border-color: transparent;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.25);
  position: relative;
}

.chip.active::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--purple-accent), var(--blue-accent));
  z-index: -1;
  opacity: 0.3;
  filter: blur(6px);
}

/* ── FILTER BAR ── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 1.25rem 2rem;
  background: var(--navy-dark);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--gray-border);
  max-width: 1280px;
  width: calc(100% - 2rem);
  margin: 1.5rem auto;
  box-shadow: var(--shadow-premium);
}

.filter-label {
  color: var(--gray-muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.filter-select {
  background: #f1f5f9;
  border: 1px solid var(--gray-border);
  color: var(--white-bright);
  padding: 10px 16px;
  border-radius: var(--border-radius-md);
  font-size: 0.88rem;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: all 0.2s;
}

.filter-select:hover {
  border-color: var(--purple-accent);
  background: #e2e8f0;
}

.filter-select:focus {
  border-color: var(--purple-accent);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.15);
}

.result-count {
  display: none;
}

.result-count strong {
  color: var(--white-bright);
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--gray-muted);
  max-width: 1280px;
  width: calc(100% - 2rem);
  margin: 2rem auto 0;
  padding: 0;
}

.breadcrumbs a {
  color: var(--gray-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: var(--purple-accent);
}

.breadcrumbs span.current {
  color: var(--white-bright);
  font-weight: 600;
}

.breadcrumbs-separator {
  opacity: 0.3;
}

/* ── MAIN CONTENT CONTAINER ── */
main {
  max-width: 1280px;
  width: calc(100% - 2rem);
  margin: 0 auto;
  padding: 0 0 4rem 0;
  border: none;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
}

.driver-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

/* ── CYBER GLOW DRIVER CARD ── */
.driver-card {
  background: var(--navy-dark);
  border: 1px solid var(--gray-border);
  border-radius: var(--border-radius-lg);
  padding: 1.75rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
}

/* Inner glow element */
.driver-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(600px circle at var(--x, 0px) var(--y, 0px), rgba(99, 102, 241, 0.04), transparent 40%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.driver-card:hover {
  border-color: var(--purple-accent);
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08), 0 0 15px rgba(99, 102, 241, 0.1);
}

.driver-card:hover::after {
  opacity: 1;
}

/* ── PREMIUM INLINE GRID AD CARD ── */
.driver-card.ad-card-inline {
  border: none !important;
}

.driver-card.ad-card-inline::after {
  background: radial-gradient(600px circle at var(--x, 0px) var(--y, 0px), rgba(255, 255, 255, 0.15), transparent 40%) !important;
}

.driver-card.ad-card-inline:hover {
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12), 0 0 25px rgba(59, 130, 246, 0.25) !important;
}

.card-top {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  position: relative;
  z-index: 2;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--border-radius-md);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease;
}

.driver-card:hover .card-icon {
  transform: scale(1.06) rotate(3deg);
}

.card-info {
  flex: 1;
  min-width: 0;
}

.card-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--white-bright);
}

.card-brand {
  color: var(--gray-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.card-verified {
  width: 24px;
  height: 24px;
  color: var(--green);
  flex-shrink: 0;
  font-size: 1.05rem;
  background: rgba(16, 185, 129, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 185, 129, 0.18);
}

/* OS Badges */
.os-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  position: relative;
  z-index: 2;
}

.os-badge {
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.os-win11 { background: rgba(59, 130, 246, 0.08); border-color: rgba(59, 130, 246, 0.15); color: #2563eb; }
.os-win10 { background: rgba(14, 165, 233, 0.08); border-color: rgba(14, 165, 233, 0.15); color: #0284c7; }
.os-win7  { background: rgba(100, 116, 139, 0.08); border-color: rgba(100, 116, 139, 0.15); color: #475569; }
.os-mac   { background: rgba(168, 85, 247, 0.08); border-color: rgba(168, 85, 247, 0.15); color: #7c3aed; }
.os-linux { background: rgba(249, 115, 22, 0.08); border-color: rgba(249, 115, 22, 0.15); color: #ea580c; }

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--gray-muted);
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  padding: 10px 0;
  position: relative;
  z-index: 2;
}

.card-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-version {
  font-family: 'JetBrains Mono', monospace;
  color: var(--cyan-accent);
  font-weight: 600;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--gray-muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.9rem;
  position: relative;
  z-index: 2;
}

.card-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
  position: relative;
  z-index: 2;
}

.btn-detail {
  flex: 1;
  padding: 12px 18px;
  border-radius: var(--border-radius-md);
  background: #f1f5f9;
  border: 1px solid var(--gray-border);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-detail:hover {
  border-color: var(--purple-accent);
  background: #e2e8f0;
  color: var(--purple-accent);
}

.btn-download {
  flex: 1.6;
  padding: 12px 18px;
  border-radius: var(--border-radius-md);
  background: linear-gradient(135deg, var(--purple-accent), var(--blue-accent));
  border: none;
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
  position: relative;
}

.btn-download::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--purple-accent), var(--blue-accent));
  z-index: -1;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.3s;
}

.btn-download:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35);
}

.btn-download:hover::before {
  opacity: 0.6;
}

/* ── PREMIUM STANDALONE DETAIL LAYOUT ── */
.detail-container {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 2.5rem;
  max-width: 1280px;
  width: calc(100% - 2rem);
  margin: 2rem auto 4rem;
  padding: 0;
}

@media (max-width: 1000px) {
  .detail-container {
    grid-template-columns: 1fr;
  }
}

.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.detail-card-left {
  background: var(--navy-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--gray-border);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  box-shadow: var(--shadow-premium);
  position: sticky;
  top: 94px;
}

.detail-icon-large {
  width: 110px;
  height: 110px;
  border-radius: 24px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.04);
  position: relative;
}

.detail-icon-large::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--purple-accent), var(--cyan-accent));
  z-index: -1;
  opacity: 0.15;
  filter: blur(8px);
}

.detail-name-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--white-bright);
}

.detail-sub-meta {
  font-size: 0.9rem;
  color: var(--gray-muted);
}

.detail-actions-vertical {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.btn-download-primary {
  width: 100%;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--border-radius-md);
  border: none;
  background: linear-gradient(135deg, var(--purple-accent), var(--blue-accent));
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.btn-download-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--purple-accent), var(--blue-accent));
  z-index: -1;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.3s;
}

.btn-download-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.35);
}

.btn-download-primary:hover::before {
  opacity: 0.6;
}

.btn-action-outline {
  width: 100%;
  padding: 14px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--gray-border);
  background: #f1f5f9;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
}

.btn-action-outline:hover {
  border-color: var(--purple-accent);
  background: #e2e8f0;
  color: var(--purple-accent);
}

/* Sharing buttons */
.share-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  border-top: 1px solid var(--gray-border);
  padding-top: 1.5rem;
}

.share-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: left;
}

.share-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
}

.share-buttons button:last-child {
  grid-column: span 2;
}

.btn-share {
  flex: 1;
  padding: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid var(--gray-border);
  background: #f1f5f9;
  color: var(--gray-muted);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-share:hover {
  color: var(--white-bright);
  border-color: var(--gray-muted);
  background: #e2e8f0;
}

.btn-share.wa:hover {
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.2);
  color: #128C7E;
}

.btn-share.fb:hover {
  background: rgba(24, 119, 242, 0.08);
  border-color: rgba(24, 119, 242, 0.2);
  color: #1877F2;
}

.detail-main-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.detail-section-card {
  background: var(--navy-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--gray-border);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-premium);
}

.detail-section-card h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white-bright);
  border-bottom: 1px solid var(--gray-border);
  padding-bottom: 12px;
}

.detail-text {
  color: var(--white);
  font-size: 1rem;
  line-height: 1.75;
}

/* Specs layout */
.specs-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.spec-detail-item {
  background: #f8fafc;
  border: 1px solid var(--gray-border);
  border-radius: var(--border-radius-md);
  padding: 14px 18px;
}

.spec-detail-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gray-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.spec-detail-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white-bright);
}

.spec-detail-val.mono {
  font-family: 'JetBrains Mono', monospace;
  color: var(--cyan-accent);
}

/* Cyber checklist steps */
.steps-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-check-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 20px;
  background: #f8fafc;
  border: 1px solid var(--gray-border);
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-check-item:hover {
  background: #ffffff;
  border-color: var(--purple-accent);
  transform: translateX(4px);
  box-shadow: var(--shadow-premium);
}

.step-checkbox {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid var(--gray-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s;
  color: transparent;
  font-size: 0.85rem;
  font-weight: bold;
}

.step-check-item.completed .step-checkbox {
  background: var(--green);
  border-color: var(--green);
  color: white;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.step-check-item.completed .step-text-wrap {
  text-decoration: line-through;
  opacity: 0.5;
}

.step-text-wrap {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--white);
  transition: opacity 0.2s;
}

.step-index {
  font-weight: 700;
  color: var(--cyan-accent);
  margin-right: 6px;
}

/* Version archives */
.archive-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.archive-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #f8fafc;
  border: 1px solid var(--gray-border);
  border-radius: var(--border-radius-md);
  font-size: 0.95rem;
}

.archive-ver {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: var(--cyan-accent);
}

.archive-tag {
  background: var(--cyan-glow);
  border: 1px solid rgba(2, 132, 199, 0.2);
  color: var(--cyan-accent);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  margin-left: 10px;
}

.archive-date {
  color: var(--gray-muted);
}

.archive-dl-link {
  color: var(--cyan-accent);
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.archive-dl-link:hover {
  text-decoration: underline;
}

/* ── MODAL (FALLBACK) ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 23, 42, 0.15);
  backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--navy-dark);
  border: 1px solid var(--gray-border);
  border-radius: var(--border-radius-lg);
  width: 100%;
  max-width: 780px;
  max-height: 85vh;
  overflow-y: auto;
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
}

.modal-header {
  padding: 2rem;
  border-bottom: 1px solid var(--gray-border);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  position: sticky;
  top: 0;
  background: var(--navy-dark);
  z-index: 10;
}

.modal-icon {
  width: 68px;
  height: 68px;
  border-radius: var(--border-radius-md);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  background: #f1f5f9;
  border: 1px solid var(--gray-border);
}

.modal-title-wrap {
  flex: 1;
}

.modal-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--white-bright);
}

.modal-sub {
  color: var(--gray-muted);
  font-size: 0.88rem;
  margin-bottom: 12px;
}

.modal-close {
  background: rgba(15, 23, 42, 0.05);
  border: none;
  color: var(--gray-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.1);
  color: var(--red);
}

.modal-body {
  padding: 2.5rem;
}

.modal-section {
  margin-bottom: 2.5rem;
}

.modal-section h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan-accent);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-section h3::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-border);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.spec-item {
  background: #f8fafc;
  border-radius: var(--border-radius-md);
  padding: 14px;
  border: 1px solid var(--gray-border);
}

.spec-label {
  font-size: 0.7rem;
  color: var(--gray-muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.spec-value {
  font-size: 0.95rem;
  font-weight: 700;
}

.spec-value.mono {
  font-family: 'JetBrains Mono', monospace;
  color: var(--cyan-accent);
}

.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.steps-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--gray-muted);
  line-height: 1.65;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--purple-accent);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.modal-download-bar {
  padding: 1.5rem 2.5rem;
  border-top: 1px solid var(--gray-border);
  display: flex;
  gap: 14px;
  align-items: center;
  position: sticky;
  bottom: 0;
  background: var(--navy-dark);
}

.btn-download-main {
  flex: 1;
  padding: 14px 22px;
  border-radius: var(--border-radius-md);
  background: linear-gradient(135deg, var(--purple-accent), var(--blue-accent));
  border: none;
  color: white;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.btn-copy {
  padding: 14px 22px;
  border-radius: var(--border-radius-md);
  background: #f1f5f9;
  border: 1px solid var(--gray-border);
  color: var(--white);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-copy:hover {
  border-color: var(--purple-accent);
  background: #e2e8f0;
  color: var(--purple-accent);
}

.btn-copy.copied {
  border-color: var(--green);
  color: var(--green);
  background: rgba(16, 185, 129, 0.08);
}

/* ── EMPTY STATE ── */
.empty {
  text-align: center;
  padding: 7rem 2rem;
  display: none;
}

.empty.show {
  display: block;
}

.empty-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  opacity: 0.15;
}

.empty h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--white-bright);
}

.empty p {
  color: var(--gray-muted);
  font-size: 1rem;
  max-width: 450px;
  margin: 0 auto;
}

/* ── LOADING SKELETON ── */
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.75rem;
}

.skeleton-card {
  background: var(--navy-dark);
  border: 1px solid var(--gray-border);
  border-radius: var(--border-radius-lg);
  padding: 1.75rem;
  height: 250px;
  position: relative;
  overflow: hidden;
}

.skeleton-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.03), transparent);
  transform: translateX(-100%);
  animation: loading-shimmer 1.6s infinite;
}

@keyframes loading-shimmer {
  100% {
    transform: translateX(100%);
  }
}

/* ── TOAST NOTIFICATION ── */
.toast {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 300;
  background: var(--navy-dark);
  border: 1px solid var(--green);
  color: var(--white-bright);
  padding: 16px 24px;
  border-radius: var(--border-radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(100px);
  opacity: 0;
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08), 0 0 15px rgba(16, 185, 129, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ── HEADER EXTENSIONS ── */
.nav-left {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

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

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover {
  background: rgba(15, 23, 42, 0.05);
  color: var(--purple-accent);
}

.nav-link.active {
  background: rgba(99, 102, 241, 0.08);
  color: var(--purple-accent);
}

.dropdown {
  position: relative;
}

.dropdown-arrow {
  font-size: 1.1rem !important;
  transition: transform 0.2s;
}

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -50px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--gray-border);
  border-radius: 20px;
  box-shadow: var(--shadow-premium);
  padding: 1.25rem;
  min-width: 580px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.97);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 110;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  color: var(--white);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-item:hover {
  background: #f1f5f9;
}

.dd-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.dd-icon-box.printer { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.dd-icon-box.gpu { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.dd-icon-box.audio { background: rgba(219, 39, 119, 0.1); color: #db2777; }
.dd-icon-box.network { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
.dd-icon-box.chipset { background: rgba(249, 115, 22, 0.1); color: #f97316; }
.dd-icon-box.usb { background: rgba(13, 148, 136, 0.1); color: #0d9488; }
.dd-icon-box.software { background: rgba(22, 163, 74, 0.1); color: #16a34a; }
.dd-icon-box.coupons { background: rgba(236, 72, 153, 0.1); color: #ec4899; }


.dd-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  text-align: left;
}

.dd-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white-bright);
}

.dd-desc {
  font-size: 0.75rem;
  color: var(--gray-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lang-selector {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid var(--gray-border);
  padding: 3px;
  border-radius: 30px;
  margin-left: 1rem;
  position: relative;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--gray-muted);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 20px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-btn.active {
  background: var(--purple-accent);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

.lang-btn:not(.active):hover {
  color: var(--purple-accent);
}

.nav-mobile-toggle {
  display: none;
}

@media (max-width: 768px) {
  .nav-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--white-bright);
    font-size: 1.5rem;
    cursor: pointer;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
    margin-left: 0.5rem;
    outline: none;
  }
  .nav-mobile-toggle:hover {
    background: rgba(15, 23, 42, 0.05);
    color: var(--purple-accent);
  }
  
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px); /* Position dynamically below the sticky capsule */
    left: 0;
    right: 0; /* Stretches to the exact inner width of the nav padding-box */
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--gray-border);
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: var(--shadow-premium);
    z-index: 105;
    gap: 0.5rem;
    align-items: stretch;
  }
  
  .nav-links.mobile-active {
    display: flex;
    animation: navSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  
  .nav-link {
    width: 100%;
    padding: 10px 16px;
    border-radius: 12px;
  }
  
  .nav-link:hover {
    background: rgba(15, 23, 42, 0.04);
  }
  
  /* Suppress desktop hover dropdown trigger on mobile */
  .dropdown:hover .dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
  }
  
  /* Dropdown inside Mobile Menu */
  .dropdown-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    min-width: unset;
    box-shadow: none;
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid var(--gray-border);
    border-radius: 14px;
    padding: 0.5rem;
    transform: none;
    margin-top: 0.25rem;
  }
  
  .dropdown.expanded .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
  }
  
  .dropdown.expanded .dropdown-arrow {
    transform: rotate(180deg);
  }
  
  .dropdown-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  
  .dropdown-item {
    padding: 8px 12px;
    border-radius: 8px;
  }
  
  .dropdown-item:hover {
    background: rgba(15, 23, 42, 0.04);
  }
  
  .dd-desc {
    display: none; /* Hide category description on mobile to stay compact */
  }
  
  .dropdown-arrow {
    margin-left: auto;
    transition: transform 0.2s ease;
  }
}

@media (max-width: 480px) {
  nav {
    height: 56px;
    padding: 0 1rem;
    width: calc(100% - 1.25rem);
    top: 0.5rem;
    margin-bottom: 1.5rem;
  }
  .logo-text {
    font-size: 1.25rem;
  }
  .logo-img {
    width: 32px;
    height: 32px;
  }
  .nav-mobile-toggle {
    width: 2.2rem;
    height: 2.2rem;
    margin-left: 0.25rem;
  }
  .lang-selector {
    padding: 2px;
    margin-left: 0.25rem;
  }
  .lang-btn {
    padding: 3px 6px;
    font-size: 0.72rem;
  }
  .nav-links {
    top: calc(100% + 6px);
    padding: 1rem;
  }
}

@keyframes navSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── FOOTER EXTENSIONS ── */
footer {
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  padding: 6rem 2rem 4rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(241, 245, 249, 0.9) 100%);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  margin-top: 6rem;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--gray-border);
}

.brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--white-bright);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.footer-desc {
  color: var(--gray-muted);
  font-size: 0.88rem;
  line-height: 1.8;
  max-width: 340px;
  text-align: left;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-dark);
  border: 1px solid var(--gray-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-muted);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 6px rgba(15, 23, 42, 0.02);
}

.footer-socials a:hover {
  transform: translateY(-4px) scale(1.08);
  border-color: transparent;
  color: white;
}

.footer-socials a[aria-label="Facebook"]:hover {
  background: #1877F2;
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.35);
}

.footer-socials a[aria-label="Twitter"]:hover {
  background: #0f172a;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.3);
}

.footer-socials a[aria-label="GitHub"]:hover {
  background: #333;
  box-shadow: 0 8px 20px rgba(51, 51, 51, 0.3);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--white-bright);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  text-align: left;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-accent), var(--blue-accent));
  border-radius: 2px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.footer-col ul a {
  color: var(--gray-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  text-align: left;
}

.footer-col ul a::before {
  content: '→';
  opacity: 0;
  width: 0;
  font-size: 0.8rem;
  color: var(--purple-accent);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-col ul a:hover {
  color: var(--purple-accent);
  transform: translateX(4px);
}

.footer-col ul a:hover::before {
  opacity: 1;
  width: 12px;
  margin-right: 4px;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--gray-muted);
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

.footer-bottom a {
  color: var(--purple-accent);
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  footer {
    padding: 4rem 2rem 2.5rem;
  }
  .footer-container {
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
  }
  .brand-col {
    grid-column: span 2;
    align-items: center;
    text-align: center;
    border-bottom: 1px solid var(--gray-border);
    padding-bottom: 2rem;
    margin-bottom: 0.5rem;
  }
  .brand-col .footer-desc {
    max-width: 450px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .brand-col {
    grid-column: span 1;
  }
  .footer-col h4 {
    text-align: center;
    display: inline-block;
    width: auto;
  }
  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-col ul {
    align-items: center;
  }
  .footer-col ul a {
    text-align: center;
  }
  .footer-col ul a:hover {
    transform: translateY(-2px);
  }
  .footer-col ul a::before {
    display: none;
  }
}


/* ── RESPONSIVE STYLING ── */
@media (max-width: 768px) {
  nav {
    padding: 0 1.5rem;
  }
  .hero {
    padding: 4rem 1.5rem 3rem;
  }
  .search-wrap-kbd {
    display: none !important;
  }
  main {
    padding: 1.5rem 0;
    border-radius: 0;
    border: none;
  }
  .filter-bar {
    padding: 1.25rem 1.5rem;
    border-radius: var(--border-radius-md);
    margin: 1rem auto;
  }
  .breadcrumbs {
    padding: 0;
  }
  .modal-body {
    padding: 1.5rem;
  }
  .modal-header {
    padding: 1.5rem;
    gap: 1rem;
  }
  .spec-grid {
    grid-template-columns: 1fr;
  }
  .modal-download-bar {
    padding: 1.5rem;
    flex-direction: column;
  }
  .btn-download-main, .btn-copy {
    width: 100%;
    justify-content: center;
  }
  .detail-container {
    padding: 0;
  }
  .detail-section-card {
    padding: 1.75rem;
  }
}

/* ── GOOGLE MATERIAL SYMBOLS CUSTOM STYLING ── */
.material-symbols-outlined {
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

/* Gradient effect on card icons */
.card-icon-symbol {
  background: linear-gradient(135deg, var(--purple-accent), var(--cyan-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.85rem;
}

/* Header section symbols alignment */
.detail-section-card h2 .material-symbols-outlined {
  color: var(--purple-accent);
  font-size: 1.5rem;
  filter: drop-shadow(0 0 4px var(--cyan-glow));
}

/* Sidebar huge symbol custom styling */
.detail-icon-large-symbol {
  background: linear-gradient(135deg, var(--purple-accent), var(--cyan-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 3.8rem !important;
}

/* Chip symbols */
.chip .material-symbols-outlined {
  font-size: 1.15rem;
  transition: transform 0.2s;
}

.chip:hover .material-symbols-outlined {
  transform: scale(1.1);
}

/* ── HOMEPAGE SECTIONS ── */
.section-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white-bright);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.5rem;
  text-align: left;
}

.section-title-icon {
  font-size: 1.7rem !important;
}

.home-section {
  position: relative;
}

/* Keyboard Shortcut Badge inside Search Bar */
.search-wrap-kbd {
  position: absolute;
  right: 3.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--gray-muted);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  pointer-events: none;
  letter-spacing: 0.02em;
  font-family: var(--font-body);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
}

.search-wrap:focus-within .search-wrap-kbd {
  opacity: 0;
  transform: translateY(-50%) scale(0.9);
}

/* ── BRAND SVG ICON RESPONSIVE SIZING ── */
.brand-svg-icon {
  width: 34px;
  height: 34px;
  display: block;
  transition: transform 0.3s ease;
}

/* Larger sizing on the detail page */
.detail-icon-large .brand-svg-icon {
  width: 68px;
  height: 68px;
}

/* ── COMPANY PAGE PREMIUM LAYOUT ── */
.company-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  max-width: 1280px;
  width: calc(100% - 2rem);
  margin: 2rem auto 4rem;
  padding: 0;
}

@media (max-width: 900px) {
  .company-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.company-sidebar {
  background: var(--navy-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--gray-border);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-premium);
  height: fit-content;
  position: sticky;
  top: 94px;
  z-index: 10;
}

.company-tabs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}

@media (max-width: 900px) {
  .company-sidebar {
    position: static;
    padding: 1rem;
  }
  .company-tabs-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }
}

.company-tab {
  width: 100%;
  padding: 12px 20px;
  border-radius: var(--border-radius-md);
  background: transparent;
  border: 1px solid transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 900px) {
  .company-tab {
    width: auto;
    padding: 8px 16px;
    font-size: 0.88rem;
  }
}

.company-tab:hover {
  background: rgba(15, 23, 42, 0.03);
  color: var(--purple-accent);
}

.company-tab.active {
  background: var(--navy-dark);
  border-color: var(--gray-border);
  color: var(--purple-accent);
  box-shadow: var(--shadow-premium), 0 0 0 1px rgba(99, 102, 241, 0.05);
  font-weight: 700;
}

/* Content Area */
.company-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.company-panel {
  background: var(--navy-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--gray-border);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-premium);
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.company-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 600px) {
  .company-panel {
    padding: 1.75rem;
  }
}

.panel-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--white-bright);
  display: flex;
  align-items: center;
  gap: 12px;
}

.panel-title span.material-symbols-outlined {
  font-size: 2.2rem;
  background: linear-gradient(135deg, var(--purple-accent), var(--blue-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.panel-text {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--white);
  margin-bottom: 1.5rem;
}

/* About Page Specific styling */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0 1rem;
}

@media (max-width: 600px) {
  .about-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.stat-card {
  background: var(--navy-dark);
  border: 1px solid var(--gray-border);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.01);
  transition: transform 0.3s;
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--purple-accent);
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--purple-accent), var(--blue-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--gray-muted);
  font-weight: 600;
}

.values-box {
  background: var(--navy-dark);
  border: 1px solid var(--gray-border);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  margin-top: 2rem;
}

.values-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--white-bright);
}

/* Contact Page Form & Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 1000px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-card {
  background: var(--navy-dark);
  border: 1px solid var(--gray-border);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  transition: border-color 0.3s, transform 0.3s;
}

.info-card:hover {
  border-color: var(--purple-accent);
  transform: translateY(-2px);
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-md);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-accent);
  flex-shrink: 0;
}

.info-icon span {
  font-size: 1.3rem;
}

.info-details h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--white-bright);
}

.info-details p {
  font-size: 0.9rem;
  color: var(--gray-muted);
  line-height: 1.5;
}

/* Contact Form styling */
.contact-form-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--navy-dark);
  border: 1px solid var(--gray-border);
  border-radius: var(--border-radius-md);
  color: var(--white-bright);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s;
}

.form-input:focus {
  border-color: var(--purple-accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.08);
  background: #ffffff;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white-bright);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input::placeholder {
  color: var(--gray-muted);
  opacity: 0.45;
}

.btn-submit {
  width: 100%;
  padding: 14px 24px;
  border-radius: var(--border-radius-md);
  background: linear-gradient(135deg, var(--purple-accent), var(--blue-accent));
  border: none;
  color: white;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
  transition: all 0.3s;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Success View */
.contact-success-state {
  text-align: center;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  background: var(--navy-dark);
  border: 1px solid var(--gray-border);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-premium);
  animation: scaleUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleUp {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.success-icon-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon-badge span {
  font-size: 2.75rem;
}

.btn-back-form {
  margin-top: 1rem;
  background: #f1f5f9;
  border: 1px solid var(--gray-border);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--border-radius-md);
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-back-form:hover {
  background: #e2e8f0;
  color: var(--white-bright);
}

/* Document content */
.doc-section {
  margin-bottom: 2.25rem;
}

.doc-section:last-child {
  margin-bottom: 0;
}

.doc-section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--white-bright);
}

/* ── ADVERTISEMENT STYLING ── */
.ad-slot {
  margin: 1.75rem auto;
  padding: 0;
  width: 100%;
  display: block;
  text-align: center;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  transition: all 0.3s ease-in-out;
}

.ad-slot.ad-hidden {
  margin: 0;
  padding: 0;
  height: 0;
  display: none !important;
  opacity: 0;
  pointer-events: none;
}

/* Base custom banner link styling */
.ad-banner-link {
  display: flex;
  position: relative;
  text-decoration: none;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-border);
  box-sizing: border-box;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ad-banner-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
}

/* Position-specific layouts */
.ad-horizontal {
  max-width: 728px;
  min-height: 90px;
  margin: 0 auto;
}

.ad-sidebar {
  max-width: 100%;
  min-height: 220px;
  margin: 0 auto;
}

/* Banner image display */
.ad-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Sponsor Badge on Image Banners */
.ad-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Premium CSS-Gradient Text Banners */
.ad-content-wrapper {
  display: flex;
  width: 100%;
  padding: 1.25rem 2rem;
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  position: relative;
  overflow: hidden;
}

/* Add a premium shine highlight to text banners */
.ad-content-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.08),
    transparent
  );
  transform: skewX(-25deg);
  transition: 0.75s;
}

.ad-banner-link:hover .ad-content-wrapper::before {
  left: 150%;
  transition: 0.75s;
}

/* Sidebar layout modifications for text banners */
.ad-sidebar .ad-content-wrapper {
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 1.75rem 1.25rem;
  gap: 1.25rem;
  min-height: 220px;
}

.ad-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 6px;
}

.ad-sidebar .ad-body {
  align-items: center;
  text-align: center;
}

.ad-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.ad-description {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.9;
  line-height: 1.45;
}

.ad-badge-row {
  display: flex;
}

.ad-badge-premium {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

.ad-action-row {
  flex-shrink: 0;
}

/* Call-to-action Button inside banner */
.ad-cta-btn {
  display: inline-block;
  padding: 10px 18px;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.82rem;
  font-weight: 750;
  border-radius: var(--border-radius-md);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ad-banner-link:hover .ad-cta-btn {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  background: #f8fafc;
}

  .ad-title {
    font-size: 1rem;
  }

  .ad-description {
    font-size: 0.8rem;
  }
}

/* ── ADMIN PANEL & LOGIN STYLING ── */
.admin-page-body {
  background: var(--navy-deep);
  min-height: 100vh;
}

.admin-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--navy-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-badge-indicator {
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--purple-accent);
  padding: 3px 10px;
  border-radius: 6px;
  margin-left: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-block;
  vertical-align: middle;
}

.admin-user-email {
  font-size: 0.88rem;
  color: var(--white);
  font-weight: 600;
  margin-right: 1.5rem;
}

.btn-logout {
  padding: 10px 18px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.18);
  color: var(--red);
  border-radius: var(--border-radius-md);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.btn-logout:hover {
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.admin-container {
  max-width: 1280px;
  width: 100%;
  padding: 0 1.25rem;
  margin: 0 auto;
  box-sizing: border-box;
}

/* When showing login card, center it vertically in remaining viewport */
.admin-container:has(#adminLoginCard:not([style*='display: none'])) {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 65px);
  padding: 2rem 1.25rem;
}

/* ── Glassmorphic Login Card ── */
.admin-login-card {
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 24px;
  padding: 3rem 2.75rem;
  box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(255,255,255,0.04) inset,
              0 8px 32px rgba(99, 102, 241, 0.08);
  animation: loginCardIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.admin-login-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

@keyframes loginCardIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

.login-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.login-logo-badge {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(59, 130, 246, 0.1));
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: var(--purple-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

.login-logo-badge span {
  font-size: 2.25rem;
}

.login-header h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.login-header p {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* Login form inputs — override global .form-input for dark card context */
.admin-login-form .form-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 2px;
}

.admin-login-form .form-input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 12px;
  color: #f1f5f9;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.admin-login-form .form-input::placeholder {
  color: #475569;
}

.admin-login-form .form-input:focus {
  border-color: var(--purple-accent);
  background: rgba(99, 102, 241, 0.05);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
  color: #f1f5f9;
}

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

.admin-btn-login {
  margin-top: 0.75rem;
  padding: 14px;
  background: linear-gradient(135deg, #6366f1, #3b82f6);
  border-radius: 12px;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.4);
}

/* Login error message */
#loginError {
  padding: 12px 16px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 10px;
  color: #f87171;
  font-size: 0.875rem;
  text-align: center;
  margin-top: 0.25rem;
  display: none;
}

/* Dashboard Layout Grid */
.admin-dashboard-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 2.5rem 0 12rem; /* top clearance + bottom for sticky save bar */
}

.admin-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 80px;
}

.admin-tabs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.admin-tab {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--border-radius-md);
  border: 1px solid transparent;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-tab:hover {
  background: #f1f5f9;
  color: var(--purple-accent);
  border-color: var(--gray-border);
}

.admin-tab.active {
  background: #ffffff;
  color: var(--purple-accent);
  border-color: var(--gray-border);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
}

.admin-content-panel {
  background: var(--navy-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--border-radius-lg);
  padding: 3rem 3rem 10rem 3rem; /* Expanded bottom padding to prevent sticky save bar overlap */
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.05);
  min-height: 480px;
}

.admin-panel-section {
  display: none;
}

.admin-panel-section.active {
  display: block;
  animation: fadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.panel-section-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white-bright);
  margin-bottom: 2.25rem;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--gray-border);
  padding-bottom: 14px;
}

.panel-section-title span {
  color: var(--purple-accent);
}

/* Forms Grid */
.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.col-span-2 {
  grid-column: span 2;
}

/* Specific styling overrides for admin inputs to look neat and readable */
.admin-content-panel .form-input {
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  color: var(--white-bright);
  background: #ffffff;
}

.admin-content-panel .form-input:focus {
  border-color: var(--purple-accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.08);
}

.admin-content-panel textarea.form-input {
  min-height: 90px;
  resize: vertical;
  line-height: 1.6;
}

.select-styled {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 40px !important;
}

/* Translation Tabs & Badges */
.lang-input-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f8fafc;
  padding: 1.25rem;
  border: 1px solid var(--gray-border);
  border-radius: var(--border-radius-md);
  margin-top: 6px;
}

.lang-input-row {
  display: flex;
  align-items: flex-start; /* Stop badge from stretching vertically */
  gap: 12px;
}

.lang-badge {
  background: #e2e8f0;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 850;
  height: 44px; /* Align perfectly with input fields */
  width: 44px;
  border-radius: 8px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,0.05);
}

/* Toggles Labels styling */
.toggle-label-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white-bright);
}

/* Toggles Switches */
.inline-checkbox-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #cbd5e1;
  transition: .3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

input:checked + .slider {
  background-color: var(--purple-accent);
}

input:focus + .slider {
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.08);
}

input:checked + .slider:before {
  transform: translateX(24px);
}

/* Custom Ad Units Card Configuration */
.ad-unit-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
  transition: all 0.25s ease;
}

.ad-unit-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.ad-unit-card:last-child {
  margin-bottom: 0;
}

.ad-unit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
}

.ad-unit-header h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white-bright);
  margin: 0;
}

.switch-small {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}

.switch-small input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-small {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #cbd5e1;
  transition: .3s;
  border-radius: 20px;
}

.slider-small:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider-small {
  background-color: var(--cyan-accent);
}

input:checked + .slider-small:before {
  transform: translateX(18px);
}

.form-label-small {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 5px;
  display: block;
}

.form-input-small {
  padding: 10px 14px;
  font-size: 0.88rem;
  width: 100%;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: var(--white-bright); /* High contrast dark text instead of washed-out grey */
  box-sizing: border-box;
  font-family: var(--font-body);
}

.form-input-small:focus {
  outline: none;
  border-color: var(--purple-accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Database Tab stats summary */
.admin-stats-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.admin-stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
  transition: all 0.25s ease;
}

.admin-stat-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.stat-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
}

.stat-icon-wrapper.drivers { background: rgba(99, 102, 241, 0.08); color: var(--purple-accent); }
.stat-icon-wrapper.downloads { background: rgba(6, 182, 212, 0.08); color: var(--cyan-accent); }
.stat-icon-wrapper.messages { background: rgba(16, 185, 129, 0.08); color: var(--green); }
.stat-icon-wrapper.coupons { background: rgba(236, 72, 153, 0.08); color: #ec4899; }

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.75rem;
  font-weight: 850;
  color: var(--white-bright);
  line-height: 1.1;
  margin-bottom: 2px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--gray-muted);
  font-weight: 600;
}

.db-actions-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
}

.db-actions-box h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white-bright);
  margin: 0 0 12px 0;
}

.db-actions-row {
  display: flex;
  gap: 14px;
}

.btn-db-action {
  padding: 12px 20px;
  font-size: 0.88rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
}

/* Bottom submit bar sticky styling */
.admin-submit-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--gray-border);
  padding: 1.25rem 2.5rem;
  box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.05);
  z-index: 100;
  animation: slideUp 0.3s ease-out;
}

.submit-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.change-indicator {
  font-size: 0.92rem;
  color: var(--gray-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.change-indicator span {
  font-size: 1.35rem;
}

.btn-save-settings {
  min-width: 220px;
}

/* responsive Dashboard Layout */
@media (max-width: 1000px) {
  .admin-dashboard-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .admin-sidebar {
    position: static;
  }

  .admin-tabs-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .admin-tab {
    flex: 1;
    min-width: 180px;
    justify-content: center;
    font-size: 0.88rem;
  }

  .admin-submit-bar {
    padding: 1.25rem 1.25rem;
  }
}

@media (max-width: 768px) {
  .admin-navbar {
    padding: 0.85rem 1.25rem;
  }

  .admin-badge-indicator {
    display: none;
  }

  .admin-user-email {
    display: none;
  }

  .admin-container {
    padding: 0 1rem;
  }

  /* Login card full-width on mobile */
  .admin-login-card {
    padding: 2rem 1.5rem;
    border-radius: 18px;
    margin: 1.5rem auto;
  }

  .login-logo-badge {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }

  .login-logo-badge span {
    font-size: 1.85rem;
  }

  .login-header h2 {
    font-size: 1.3rem;
  }

  .admin-stats-summary-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .admin-form-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .col-span-2 {
    grid-column: span 1;
  }

  .admin-content-panel {
    padding: 1.5rem;
  }

  .admin-tabs-list {
    flex-wrap: wrap;
    gap: 6px;
  }

  .admin-tab {
    flex: none;
    min-width: 0;
    padding: 10px 14px;
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  .admin-login-card {
    padding: 1.75rem 1.25rem;
    border-radius: 16px;
  }

  .admin-btn-login {
    padding: 13px;
    font-size: 0.9rem;
  }

  .login-header {
    margin-bottom: 1.75rem;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════
   COUPONS PAGE — PUBLIC
═══════════════════════════════════════════════════════════ */

/* ── Hero ── */
.coupons-hero {
  padding: 6rem 1.5rem 3rem;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.coupons-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.coupons-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(59,130,246,0.08));
  border: 1px solid rgba(99,102,241,0.18);
  color: var(--purple-accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
}
.coupons-hero-badge .material-symbols-outlined { font-size: 1rem; }

.coupons-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white-bright);
  line-height: 1.15;
  margin: 0;
}

.coupons-hero-sub {
  font-size: 1.05rem;
  color: var(--gray-muted);
  max-width: 600px;
  line-height: 1.7;
}

/* ── Hero Search ── */
.coupon-search-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
  display: flex;
  align-items: center;
}
.coupon-search-wrap .material-symbols-outlined {
  position: absolute;
  left: 1rem;
  color: var(--gray-muted);
  font-size: 1.3rem;
  pointer-events: none;
}
.coupon-search-wrap input {
  width: 100%;
  padding: 0.9rem 3rem 0.9rem 3rem;
  border: 1.5px solid var(--gray-border);
  border-radius: 50px;
  background: var(--navy-dark);
  color: var(--white-bright);
  font-family: var(--font-body);
  font-size: 0.95rem;
  box-shadow: var(--shadow-premium);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.coupon-search-wrap input:focus {
  border-color: var(--purple-accent);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}
.coupon-search-clear {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  color: var(--gray-muted);
  font-size: 0.9rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  transition: background 0.15s;
}
.coupon-search-clear:hover { background: var(--gray-border); }

/* ── Stats Bar ── */
.coupon-stats-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--gray-muted);
}
.coupon-stat-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.coupon-stat-item .material-symbols-outlined { font-size: 1rem; color: var(--green); }
.coupon-stat-item span:nth-child(2) { font-weight: 700; color: var(--white-bright); }
.coupon-stat-divider {
  width: 1px;
  height: 16px;
  background: var(--gray-border);
}

/* ── Main layout ── */
.coupons-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

/* ── Filter Bar ── */
.coupon-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 0.75rem 1.25rem;
  background: var(--navy-dark);
  border: 1px solid var(--gray-border);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-premium);
  overflow: hidden;
}
.coupon-filter-scroll {
  display: flex;
  gap: 0.5rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0;
  flex: 1;
  min-width: 0;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.coupon-filter-scroll:active {
  cursor: grabbing;
}
.coupon-filter-scroll::-webkit-scrollbar {
  display: none;
}
.coupon-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--gray-border);
  border-radius: 50px;
  background: transparent;
  color: var(--gray-muted);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.coupon-filter-chip .material-symbols-outlined { font-size: 0.95rem; }
.coupon-filter-chip:hover {
  border-color: var(--purple-accent);
  color: var(--purple-accent);
  background: rgba(99,102,241,0.06);
}
.coupon-filter-chip.active {
  background: var(--purple-accent);
  border-color: var(--purple-accent);
  color: #fff;
}
.coupon-sort-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--gray-muted);
  white-space: nowrap;
}
.coupon-sort-select {
  padding: 0.4rem 0.75rem;
  border: 1.5px solid var(--gray-border);
  border-radius: 8px;
  background: var(--navy-card);
  color: var(--white-bright);
  font-family: var(--font-body);
  font-size: 0.82rem;
  cursor: pointer;
  outline: none;
}

/* ── Coupon Grid ── */
.coupon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  animation: fadeIn 0.3s ease;
}

/* ── Coupon Card ── */
.coupon-card {
  background: var(--navy-dark);
  border: 1px solid var(--gray-border);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.3s ease;
}
.coupon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(15,23,42,0.12);
}
.coupon-card.coupon-expired {
  opacity: 0.65;
}

.coupon-card-header {
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  position: relative;
  min-height: 80px;
}

.coupon-brand-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,0.25);
}

.coupon-header-info {
  flex: 1;
  min-width: 0;
  padding-right: 5.5rem;
}
.coupon-brand-name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.25);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.coupon-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.18);
  padding: 0.15rem 0.5rem;
  border-radius: 50px;
  margin-top: 0.2rem;
}
.coupon-verified-badge .material-symbols-outlined { font-size: 0.8rem; }

.coupon-type-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.coupon-type-badge .material-symbols-outlined { font-size: 0.85rem; }
.badge-code { background: rgba(255,255,255,0.9); color: #6366f1; }
.badge-sale { background: rgba(255,255,255,0.9); color: #ea580c; }
.badge-free { background: rgba(255,255,255,0.9); color: #10b981; }

/* ── Card Body ── */
.coupon-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.coupon-discount-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white-bright);
  line-height: 1;
}

.coupon-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white-bright);
  line-height: 1.4;
  margin: 0;
}

.coupon-desc {
  font-size: 0.82rem;
  color: var(--gray-muted);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Success Rate Bar ── */
.coupon-rate-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--gray-muted);
}
.coupon-rate-row .material-symbols-outlined { font-size: 0.95rem; color: var(--green); }
.coupon-rate-bar-wrap {
  flex: 1;
  height: 5px;
  background: var(--gray-border);
  border-radius: 50px;
  overflow: hidden;
}
.coupon-rate-bar {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #34d399);
  border-radius: 50px;
  transition: width 0.4s ease;
}
.coupon-rate-pct { font-weight: 600; color: var(--white-bright); white-space: nowrap; }

/* ── Expiry ── */
.coupon-expiry {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  margin-top: auto;
}
.coupon-expiry .material-symbols-outlined { font-size: 0.9rem; }
.expiry-ok      { background: rgba(16,185,129,0.08); color: var(--green); }
.expiry-soon    { background: rgba(234,88,12,0.08); color: var(--orange); }
.expiry-expired { background: rgba(239,68,68,0.08); color: var(--red); }

/* ── Card Footer ── */
.coupon-card-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--gray-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Code wrap */
.coupon-code-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  border: 2px dashed var(--purple-accent);
  border-radius: 10px;
  overflow: hidden;
  flex: 1;
  min-width: 0;
  transition: border-color 0.2s;
}
.coupon-code-wrap.code-copied {
  border-color: var(--green);
}
.coupon-code-text {
  flex: 1;
  padding: 0.5rem 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--purple-accent);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.coupon-code-wrap.code-copied .coupon-code-text { color: var(--green); }

.btn-copy-code {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.85rem;
  background: var(--purple-accent);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: background 0.18s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-copy-code:hover { background: #4f46e5; }
.btn-copy-code .material-symbols-outlined { font-size: 0.95rem; }
.coupon-code-wrap.code-copied .btn-copy-code { background: var(--green); }

.btn-get-deal {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  background: linear-gradient(135deg, var(--purple-accent), var(--blue-accent));
  color: #fff;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.18s, transform 0.18s;
  flex: 1;
  justify-content: center;
}
.btn-get-deal:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-get-deal .material-symbols-outlined { font-size: 0.95rem; }

.coupon-visit-link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.78rem;
  color: var(--gray-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
.coupon-visit-link:hover { color: var(--purple-accent); }

/* ── Skeleton Loading ── */
.coupon-skeleton {
  height: 300px;
  background: linear-gradient(90deg,
    rgba(15,23,42,0.04) 0%,
    rgba(15,23,42,0.08) 50%,
    rgba(15,23,42,0.04) 100%);
  background-size: 200% 100%;
  border-radius: var(--border-radius-md);
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Empty & Error States ── */
.coupon-empty-state, .coupon-error-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--gray-muted);
  grid-column: 1 / -1;
}
.coupon-empty-state .material-symbols-outlined,
.coupon-error-state .material-symbols-outlined {
  font-size: 3.5rem;
  color: var(--gray-border);
}
.coupon-empty-state h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--white-bright);
}
.btn-reset-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.4rem;
  background: var(--purple-accent);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: opacity 0.18s;
}
.btn-reset-filter:hover { opacity: 0.85; }
.btn-reset-filter .material-symbols-outlined { font-size: 1rem; }

/* ── Load More ── */
.coupon-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}
.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border: 1.5px solid var(--gray-border);
  border-radius: 50px;
  background: var(--navy-dark);
  color: var(--white-bright);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-premium);
}
.btn-load-more:hover {
  border-color: var(--purple-accent);
  color: var(--purple-accent);
}

/* ── Copy Toast ── */
.coupon-copy-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  background: var(--white-bright);
  color: var(--navy-deep);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(15,23,42,0.15);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  z-index: 9999;
}
.coupon-copy-toast .material-symbols-outlined { color: var(--green); font-size: 1.1rem; }
.coupon-copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   ADMIN — COUPON MANAGER PANEL
═══════════════════════════════════════════════════════════ */

/* ── Form Card ── */
.coupon-admin-form-card {
  background: var(--navy-card);
  border: 1.5px solid rgba(99,102,241,0.2);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 0 4px rgba(99,102,241,0.05);
  animation: fadeIn 0.25s ease;
}
.coupon-form-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white-bright);
  margin-bottom: 1.25rem;
}
.coupon-form-header .material-symbols-outlined { font-size: 1.3rem; }
.coupon-form-header .btn-icon-close {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--gray-muted);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  transition: background 0.15s;
}
.coupon-form-header .btn-icon-close:hover { background: var(--gray-border); }
.coupon-form-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-border);
}

/* ── Action Bar ── */
.coupon-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.coupon-admin-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 320px;
}
.coupon-admin-search-wrap .material-symbols-outlined {
  position: absolute;
  left: 0.75rem;
  font-size: 1rem;
  color: var(--gray-muted);
  pointer-events: none;
}
.coupon-admin-search-wrap .form-input {
  padding-left: 2.4rem;
}

/* ── Admin List ── */
.coupon-admin-list {
  border: 1px solid var(--gray-border);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  background: var(--navy-dark);
}
.coupon-admin-loading {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 2rem;
  color: var(--gray-muted);
  font-size: 0.9rem;
}
.coupon-admin-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 3rem;
  color: var(--gray-muted);
  text-align: center;
}
.coupon-admin-empty .material-symbols-outlined { font-size: 2.5rem; color: var(--gray-border); }

/* ── Table ── */
.coupon-admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.coupon-admin-table thead {
  background: rgba(15,23,42,0.04);
  border-bottom: 1px solid var(--gray-border);
}
.coupon-admin-table th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-muted);
  white-space: nowrap;
}
.coupon-admin-row {
  border-bottom: 1px solid var(--gray-border);
  transition: background 0.15s;
}
.coupon-admin-row:last-child { border-bottom: none; }
.coupon-admin-row:hover { background: rgba(99,102,241,0.03); }
.coupon-admin-table td {
  padding: 0.85rem 1rem;
  vertical-align: middle;
  color: var(--white);
}
.coupon-admin-title {
  font-weight: 600;
  color: var(--white-bright);
  margin-bottom: 0.2rem;
}
.coupon-admin-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  background: rgba(99,102,241,0.08);
  color: var(--purple-accent);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  letter-spacing: 0.08em;
}

/* ── Pills ── */
.coupon-brand-pill {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: rgba(15,23,42,0.05);
  border: 1px solid var(--gray-border);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white-bright);
  white-space: nowrap;
}
.coupon-type-pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.type-code { background: rgba(99,102,241,0.1); color: var(--purple-accent); }
.type-sale { background: rgba(234,88,12,0.1); color: var(--orange); }
.type-free { background: rgba(16,185,129,0.1); color: var(--green); }

/* ── Admin Action Buttons ── */
.coupon-admin-actions { display: flex; gap: 0.4rem; }
.btn-admin-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  background: var(--navy-card);
  color: var(--gray-muted);
  cursor: pointer;
  transition: all 0.15s;
}
.btn-admin-action .material-symbols-outlined { font-size: 1rem; }
.btn-edit:hover { border-color: var(--blue-accent); color: var(--blue-accent); background: rgba(59,130,246,0.06); }
.btn-del:hover  { border-color: var(--red); color: var(--red); background: rgba(239,68,68,0.06); }

/* ── Misc utils ── */
.text-red { color: var(--red) !important; }
.rotating { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Responsive ── */
@media (max-width: 768px) {
  .coupons-hero { padding: 5rem 1rem 2rem; }
  .coupon-grid  { grid-template-columns: 1fr; }
  .coupon-filter-bar { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .coupon-filter-scroll { width: 100%; }
  .coupon-sort-group { width: 100%; justify-content: space-between; }
  .coupon-action-bar { flex-direction: column; }
  .coupon-admin-search-wrap { max-width: 100%; width: 100%; }
  .coupon-admin-table { font-size: 0.8rem; }
  .coupon-admin-table th,
  .coupon-admin-table td { padding: 0.65rem 0.6rem; }
}

/* ── Masked Coupon Code Styles ── */
.coupon-code-wrap.code-masked {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.02);
}
.coupon-code-text.text-masked {
  filter: blur(4px);
  user-select: none;
  -webkit-user-select: none;
  opacity: 0.6;
}

/* ── Coupon Reveal Modal Styles ── */
.coupon-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.2s ease-out;
  padding: 1.5rem;
}
.coupon-modal-card {
  background: var(--navy-dark);
  border: 1px solid var(--gray-border);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 24px 64px -12px rgba(15, 23, 42, 0.18);
  max-width: 500px;
  width: 100%;
  padding: 2rem;
  position: relative;
  animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.coupon-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(15, 23, 42, 0.05);
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--gray-muted);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.coupon-modal-close:hover {
  background: rgba(15, 23, 42, 0.1);
  color: var(--white-bright);
}
.coupon-modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--gray-border);
  padding-bottom: 1.25rem;
}
.coupon-modal-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.coupon-modal-header-text {
  padding-right: 2.2rem;
  flex: 1;
}
.coupon-modal-header-text h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white-bright);
  margin-bottom: 0.15rem;
}
.coupon-modal-header-text p {
  font-size: 0.85rem;
  color: var(--gray-muted);
  line-height: 1.4;
}
.coupon-modal-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.coupon-modal-instruction {
  font-size: 0.88rem;
  color: var(--gray-muted);
}
.coupon-modal-code-box {
  display: flex;
  align-items: center;
  border: 2px dashed var(--purple-accent);
  background: rgba(99, 102, 241, 0.03);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  padding: 0.25rem;
}
.coupon-modal-code {
  flex: 1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--purple-accent);
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}
.coupon-modal-btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--purple-accent);
  color: #fff;
  border: none;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.18s;
}
.coupon-modal-btn-copy:hover {
  background: #4f46e5;
}
.coupon-modal-copied-alert {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-glow);
  padding: 0.6rem;
  border-radius: 8px;
  animation: fadeIn 0.25s ease;
}
.coupon-modal-redirect-info {
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid var(--gray-border);
  border-radius: var(--border-radius-md);
  padding: 1rem;
  font-size: 0.82rem;
  color: var(--gray-muted);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: center;
  align-items: center;
}
.btn-modal-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--purple-accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.82rem;
  transition: color 0.15s;
}
.btn-modal-go:hover {
  color: #4f46e5;
  text-decoration: underline;
}

/* ── Modal Ad Slot Custom Beautification ── */
.coupon-modal-ad-section {
  border-top: 1px solid var(--gray-border);
  padding-top: 1.25rem;
  margin-top: 0.25rem;
}
.coupon-modal-ad-section .ad-slot {
  margin: 0 !important;
  border-radius: var(--border-radius-md) !important;
  overflow: hidden;
}
.coupon-modal-ad-section .ad-banner-link {
  border: 1px solid rgba(99, 102, 241, 0.15) !important;
  box-shadow: none !important;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(59, 130, 246, 0.03) 100%) !important;
  color: var(--white-bright) !important;
  transform: none !important;
}
.coupon-modal-ad-section .ad-content-wrapper {
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  padding: 1.15rem !important;
  gap: 0.75rem !important;
  justify-content: center !important;
}
.coupon-modal-ad-section .ad-badge-premium {
  background: rgba(99, 102, 241, 0.1) !important;
  border-color: rgba(99, 102, 241, 0.18) !important;
  color: var(--purple-accent) !important;
}
.coupon-modal-ad-section .ad-body {
  align-items: center !important;
  text-align: center !important;
  gap: 4px !important;
}
.coupon-modal-ad-section .ad-title {
  font-size: 0.95rem !important;
  color: var(--white-bright) !important;
  font-weight: 750 !important;
  line-height: 1.3 !important;
}
.coupon-modal-ad-section .ad-description {
  font-size: 0.8rem !important;
  color: var(--gray-muted) !important;
  line-height: 1.4 !important;
}
.coupon-modal-ad-section .ad-cta-btn {
  background: var(--purple-accent) !important;
  color: #ffffff !important;
  padding: 7px 16px !important;
  font-size: 0.78rem !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.2) !important;
}
.coupon-modal-ad-section .ad-banner-link:hover .ad-cta-btn {
  background: #4f46e5 !important;
  transform: scale(1.03) !important;
}

@keyframes modalSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
  .coupon-modal-card {
    padding: 1.5rem;
    max-height: 85vh;
    overflow-y: auto;
  }
  .coupon-modal-btn-copy {
    padding: 0.75rem 1.25rem;
    font-size: 0.88rem;
  }
  .coupon-modal-code {
    font-size: 1.2rem;
  }
  .coupon-modal-close {
    top: 1rem;
    right: 1rem;
  }
  .coupon-modal-header-text {
    padding-right: 2rem;
  }
}

@media (max-width: 480px) {
  .coupon-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .coupon-code-wrap {
    width: 100%;
  }
  .coupon-visit-link {
    display: inline-flex;
    justify-content: center;
    padding: 0.55rem;
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid var(--gray-border);
    border-radius: 8px;
    width: 100%;
    text-align: center;
  }
}

/* ── GENERAL MOBILE RESPONSIVELY POLISHED ── */
@media (max-width: 768px) {
  .driver-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 0 1rem;
  }
}

@media (max-width: 600px) {
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 1.25rem 1rem;
    width: calc(100% - 1.5rem);
  }
  .filter-select {
    width: 100%;
  }
  .filter-label {
    text-align: center;
    margin-bottom: 2px;
  }
  
  .chips {
    gap: 8px;
    margin-top: 2rem;
  }
  .chip {
    padding: 8px 16px;
    font-size: 0.8rem;
    gap: 6px;
  }
}

@media (max-width: 500px) {
  .specs-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .driver-card {
    padding: 1.25rem;
    gap: 1.25rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   ADMIN — REAL-TIME VISITOR ANALYTICS
   ═══════════════════════════════════════════════════════════ */
.analytics-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.analytics-stat-card {
  background: var(--navy-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--gray-border);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: var(--shadow-premium);
  transition: transform 0.2s, box-shadow 0.2s;
}

.analytics-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(15, 23, 42, 0.08);
}

.analytics-stat-icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.analytics-stat-icon.online {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.18);
}

.analytics-stat-icon.views {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.18);
}

.analytics-stat-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.analytics-stat-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-muted);
}

.analytics-stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--white-bright);
}

.analytics-table-card {
  background: var(--navy-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--gray-border);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-premium);
}

.analytics-table-card .card-subtitle {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 750;
  color: var(--white-bright);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.analytics-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--gray-border);
}

.analytics-table-wrap .coupon-admin-table {
  margin-bottom: 0;
}

