/* ==========================================================================
   CreativeConor Clone — Neon Gaming Theme
   ========================================================================== */

:root {
  --bg: #0a0a0f;
  --bg-2: #101018;
  --card: #14141d;
  --card-2: #1a1a26;
  --border: #23233a;
  --border-glow: rgba(184, 56, 255, 0.45);
  --text: #ededf2;
  --muted: #9ca3b4;
  --purple: #b838ff;
  --cyan: #00d4ff;
  --green: #00ff88;
  --red: #ff3c5f;
  --yellow: #ffb800;
  --pink: #ff3cac;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.container { width: min(1200px, 92vw); margin: 0 auto; }

::selection { background: var(--purple); color: #fff; }

/* Scrollbar -------------------------------------------------------------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #33334d; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--purple); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 18px;
  color: #fff;
  box-shadow: 0 0 18px rgba(184, 56, 255, 0.55);
}
.brand-name {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1.5px;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}
.header-search {
  flex: 1;
  max-width: 460px;
  display: flex;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 8px 6px 16px;
  gap: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.header-search:focus-within {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(184, 56, 255, 0.18);
}
.header-search input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  font-size: 14px;
}
.header-search button {
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  border: 0;
  color: #fff;
  border-radius: 999px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 15px;
}
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(184, 56, 255, 0.9), rgba(0, 130, 255, 0.9));
  border: 0;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
  transition: transform 0.15s, filter 0.15s;
}
.icon-btn:hover { transform: translateY(-2px); filter: brightness(1.15); }
.icon-btn.admin {
  background: var(--card-2);
  border: 1px solid var(--border);
  color: var(--cyan);
}
.icon-btn.btn-danger { background: linear-gradient(135deg, var(--red), #ff6b35); }

/* ==========================================================================
   Navigation
   ========================================================================== */
.site-nav { border-top: 1px solid var(--border); background: rgba(16, 16, 24, 0.6); }
.nav-inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 8px 0;
  scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar { display: none; }
.nav-link {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  transition: all 0.2s;
}
.nav-link:hover { color: var(--text); background: var(--card-2); }
.nav-link.active {
  background: linear-gradient(135deg, var(--purple), #8b2fd6);
  color: #fff;
  box-shadow: 0 0 16px rgba(184, 56, 255, 0.4);
}

/* ==========================================================================
   Hero Slider
   ========================================================================== */
.hero { position: relative; padding: 24px 0 8px; }
.hero-slider { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.hero-slide { display: none; position: relative; min-height: 420px; }
.hero-slide.active { display: block; animation: fadeIn 0.6s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.hero-bg { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 15, 0.995) 0%, rgba(10, 10, 15, 0.97) 48%, rgba(10, 10, 15, 0.28) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 48px 72px;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.hero-badge {
  background: linear-gradient(135deg, #8d20cf, #075f78);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}
.hero-title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}
.hero-tagline { font-size: 18px; font-weight: 700; color: var(--cyan); }
.hero-desc { color: #c7c9d4; font-size: 15px; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  border: 2px solid transparent;
  transition: all 0.2s;
}
.btn-primary { background: var(--cyan); color: #04121a; }
.btn-primary:hover { box-shadow: 0 0 22px rgba(0, 212, 255, 0.55); transform: translateY(-2px); }
.btn-ghost { background: rgba(10, 10, 15, 0.6); color: var(--text); border-color: rgba(0, 212, 255, 0.6); }
.btn-ghost:hover { background: rgba(0, 212, 255, 0.12); box-shadow: 0 0 18px rgba(0, 212, 255, 0.35); }
.btn-purple { background: linear-gradient(135deg, var(--purple), #8b2fd6); color: #fff; }
.btn-purple:hover { box-shadow: 0 0 24px rgba(184, 56, 255, 0.6); transform: translateY(-2px); }
.btn-green { background: var(--green); color: #04120c; }
.btn-green:hover { box-shadow: 0 0 22px rgba(0, 255, 136, 0.55); transform: translateY(-2px); }
.btn-red { background: linear-gradient(135deg, var(--red), #ff6b35); color: #fff; }
.btn-red:hover { box-shadow: 0 0 22px rgba(255, 60, 95, 0.55); transform: translateY(-2px); }
.btn-sm { padding: 8px 16px; font-size: 13px; }

.hero-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.hero-dot { width: 10px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.35); border: 0; transition: all 0.2s; }
.hero-dot.active { background: var(--cyan); width: 26px; box-shadow: 0 0 10px rgba(0, 212, 255, 0.7); }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(10, 10, 15, 0.65); border: 1px solid var(--border);
  color: #fff; font-size: 18px; display: grid; place-items: center;
  transition: all 0.2s;
}
.hero-arrow:hover { background: var(--purple); border-color: var(--purple); }
.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }

/* ==========================================================================
   Quick action buttons (Join Discord / Donate / etc)
   ========================================================================== */
.quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 22px 0; }
.quick-action {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  font-weight: 800;
  transition: all 0.2s;
}
.quick-action .qa-icon {
  width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 18px; color: #fff;
}
.quick-action .qa-label { font-size: 14px; line-height: 1.3; }
.quick-action:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.qa-discord .qa-icon { background: #5865f2; }
.qa-donate .qa-icon { background: linear-gradient(135deg, var(--purple), var(--pink)); }
.qa-console .qa-icon { background: linear-gradient(135deg, var(--green), #00c853); }
.qa-instagram .qa-icon { background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7); }

/* ==========================================================================
   Content sections
   ========================================================================== */
.section { padding: 26px 0; }
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.section-title::before {
  content: "";
  width: 5px;
  height: 26px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--purple), var(--cyan));
  box-shadow: 0 0 12px rgba(184, 56, 255, 0.7);
}
.section-link { color: var(--cyan); font-size: 14px; font-weight: 700; }
.section-link:hover { text-decoration: underline; }

/* Card grid */
.card-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.card-grid.horizontal { grid-template-columns: repeat(5, 1fr); }

/* ==========================================================================
   Product cards
   ========================================================================== */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-5px); border-color: var(--purple); box-shadow: 0 14px 34px rgba(184, 56, 255, 0.18); }
.card-cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.card:hover .card-cover img { transform: scale(1.06); }
.card-cover.portrait { aspect-ratio: 3 / 4; }
.card-type {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: rgba(10, 10, 15, 0.75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(184, 56, 255, 0.4);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.card-badge {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  background: var(--purple); color: #fff; font-size: 11px; font-weight: 800;
  padding: 3px 10px; border-radius: 999px;
}
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-title { font-size: 15px; font-weight: 800; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 39px; }
.card-title a:hover { color: var(--cyan); }
.card-meta { display: flex; gap: 8px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.card-meta .chip {
  background: var(--card-2);
  border: 1px solid var(--border);
  padding: 2px 9px;
  border-radius: 999px;
  font-weight: 600;
}

/* ==========================================================================
   Feature list / list rows
   ========================================================================== */
.featured-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.featured-hero {
  position: relative;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  min-height: 420px;
}
.featured-hero img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.featured-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10, 10, 15, 0.95) 100%);
}
.featured-hero-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 22px;
  display: flex; flex-direction: column; gap: 8px;
}
.featured-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

/* ==========================================================================
   Library / listing pages
   ========================================================================== */
.page-hero { padding: 34px 0 10px; }
.page-hero h1 { font-size: 32px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; }
.page-hero p { color: var(--muted); margin-top: 6px; max-width: 640px; }

.library-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 20px 0;
}
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card-2);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s;
}
.chip:hover { color: var(--text); border-color: var(--purple); }
.chip.active { background: var(--purple); border-color: var(--purple); color: #fff; box-shadow: 0 0 14px rgba(184, 56, 255, 0.4); }
.toolbar-spacer { flex: 1; }
.sort-select {
  background: var(--card-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  outline: 0;
}
.result-count { color: var(--muted); font-size: 14px; }
.result-count strong { color: var(--cyan); }

/* Pagination */
.pagination { display: flex; gap: 8px; justify-content: center; padding: 30px 0 10px; flex-wrap: wrap; }
.page-link {
  min-width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  padding: 0 12px;
  transition: all 0.2s;
}
.page-link:hover { border-color: var(--purple); }
.page-link.active { background: var(--purple); border-color: var(--purple); }
.page-link.disabled { opacity: 0.4; pointer-events: none; }

/* ==========================================================================
   Product detail
   ========================================================================== */
.product-layout { display: grid; grid-template-columns: 300px 1fr; gap: 24px; padding: 26px 0; }
.product-cover-wrap { position: sticky; top: 140px; align-self: start; }
.product-cover-wrap .cover-img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.product-title { font-size: 32px; font-weight: 900; text-transform: uppercase; line-height: 1.15; }
.product-sub { color: var(--muted); margin-top: 8px; }
.product-meta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.meta-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.meta-pill .icon { color: var(--cyan); }
.rating-big { display: flex; align-items: center; gap: 10px; margin: 12px 0; }
.stars { color: var(--yellow); font-size: 18px; letter-spacing: 2px; }
.stars .empty { color: #3a3a4e; }
.rating-text { color: var(--muted); font-size: 14px; }
.recommend-bar { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--green); }
.recommend-track { width: 160px; height: 8px; background: var(--card-2); border-radius: 999px; overflow: hidden; }
.recommend-fill { height: 100%; background: linear-gradient(90deg, var(--green), var(--cyan)); border-radius: 999px; }

.product-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0; }

.detail-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin: 26px 0 0; overflow-x: auto; }
.detail-tab {
  padding: 12px 22px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  font-size: 15px;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.detail-tab.active { color: var(--cyan); border-bottom-color: var(--cyan); }
.detail-panel { padding: 24px 0; }
.detail-panel h3 { font-size: 18px; margin-bottom: 12px; color: var(--text); }
.detail-panel p { color: #c7c9d4; margin-bottom: 14px; }
.detail-panel ul { list-style: none; display: grid; gap: 10px; margin-bottom: 16px; }
.detail-panel ul li { padding: 14px 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); color: #c7c9d4; }
.detail-panel ul li strong { color: var(--text); }
.steps-list { counter-reset: step; list-style: none; display: grid; gap: 12px; }
.steps-list li { counter-increment: step; position: relative; padding: 16px 18px 16px 64px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); color: #c7c9d4; }
.steps-list li::before {
  content: counter(step);
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: #fff; font-weight: 900;
  display: grid; place-items: center;
  border-radius: 9px;
}
.genre-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.genre-tag { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(0, 212, 255, 0.4); color: var(--cyan); font-size: 13px; font-weight: 700; transition: all 0.2s; }
.genre-tag:hover { background: rgba(0, 212, 255, 0.12); }

/* Reviews */
.review-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 12px; }
.review-top { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  display: grid; place-items: center;
  font-weight: 900; color: #fff;
  flex-shrink: 0;
}
.review-name { font-weight: 800; font-size: 15px; }
.review-date { color: var(--muted); font-size: 12px; }
.review-card .stars { font-size: 14px; }
.review-comment { color: #c7c9d4; font-size: 14px; }

.review-form { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-top: 26px; }
.review-form h3 { margin-bottom: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13px; font-weight: 700; color: var(--muted); }
.form-control {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text);
  font-size: 14px;
  outline: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-control:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(184, 56, 255, 0.15); }
textarea.form-control { resize: vertical; min-height: 100px; }
.star-input { display: flex; gap: 4px; flex-direction: row-reverse; justify-content: flex-end; }
.star-input input { display: none; }
.star-input label { font-size: 24px; color: #3a3a4e; cursor: pointer; transition: color 0.15s; }
.star-input label:hover, .star-input label:hover ~ label,
.star-input input:checked ~ label { color: var(--yellow); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); margin-top: 50px; }
.footer-inner { padding: 30px 0; display: grid; gap: 22px; }
.footer-cats { display: flex; flex-direction: column; gap: 10px; }
.footer-cats-label { font-size: 13px; font-weight: 800; text-transform: uppercase; color: var(--muted); letter-spacing: 1.5px; }
.footer-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-pill {
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  border: 2px solid transparent;
  transition: all 0.2s;
}
.footer-pill:hover { transform: translateY(-2px); }
.footer-pill.active { background: var(--purple); color: #fff; box-shadow: 0 0 18px rgba(184, 56, 255, 0.45); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--cyan); }

/* Popular searches */
.popular-searches { padding: 20px 0; }
.popular-searches h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 12px; }
.popular-searches .chips { display: flex; gap: 8px; flex-wrap: wrap; }

/* ==========================================================================
   Admin login
   ========================================================================== */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(ellipse at top, rgba(184, 56, 255, 0.18), transparent 60%), var(--bg); }
.auth-card { width: min(420px, 100%); background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 34px; box-shadow: var(--shadow); }
.auth-logo { width: 60px; height: 60px; border-radius: 16px; background: linear-gradient(135deg, var(--purple), var(--cyan)); display: grid; place-items: center; font-size: 26px; font-weight: 900; color: #fff; margin: 0 auto 14px; box-shadow: 0 0 24px rgba(184, 56, 255, 0.5); }
.auth-card h1 { text-align: center; font-size: 22px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; }
.auth-card .sub { text-align: center; color: var(--muted); font-size: 14px; margin: 6px 0 22px; }
.auth-card .form-group { margin-bottom: 16px; }
.auth-card .btn { width: 100%; justify-content: center; }
.auth-error { background: rgba(255, 60, 95, 0.12); border: 1px solid rgba(255, 60, 95, 0.4); color: #ff8ba0; padding: 10px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; }
.auth-info { background: rgba(0, 212, 255, 0.1); border: 1px solid rgba(0, 212, 255, 0.35); color: #9ae8ff; padding: 10px 14px; border-radius: 10px; font-size: 13px; margin-top: 18px; text-align: center; }

/* ==========================================================================
   Installer
   ========================================================================== */
.install-steps { display: grid; gap: 14px; margin-top: 22px; }
.install-step { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.install-step .step-num { width: 34px; height: 34px; flex-shrink: 0; background: linear-gradient(135deg, var(--purple), var(--cyan)); color: #fff; font-weight: 900; border-radius: 10px; display: grid; place-items: center; }
.install-step.done .step-num { background: var(--green); color: #04120c; }
.install-step .step-body h4 { font-size: 15px; font-weight: 800; }
.install-step .step-body p { color: var(--muted); font-size: 13px; }

/* ==========================================================================
   Utility
   ========================================================================== */
.text-muted { color: var(--muted); }
.mt-1 { margin-top: 6px; } .mt-2 { margin-top: 12px; } .mt-3 { margin-top: 18px; } .mt-4 { margin-top: 26px; }
.mb-1 { margin-bottom: 6px; } .mb-2 { margin-bottom: 12px; } .mb-3 { margin-bottom: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state .big { font-size: 48px; margin-bottom: 12px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .card-grid, .card-grid.horizontal { grid-template-columns: repeat(4, 1fr); }
  .featured-split { grid-template-columns: 1fr; }
  .product-layout { grid-template-columns: 240px 1fr; }
}
@media (max-width: 768px) {
  .card-grid, .card-grid.horizontal { grid-template-columns: repeat(2, 1fr); }
  .quick-actions { grid-template-columns: repeat(2, 1fr); }
  .brand-name { font-size: 16px; }
  .header-search { display: none; }
  .product-layout { grid-template-columns: 1fr; }
  .product-cover-wrap { position: static; max-width: 280px; }
  .hero-content { padding: 30px 22px; }
  .hero-slide { min-height: 360px; }
  .form-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-title { font-size: 13px; }
  .hero-title { font-size: 28px; }
  .hero-arrow { display: none; }
  .quick-actions { grid-template-columns: 1fr; }
}

/* Fade-in on load for cards */
.card { animation: cardIn 0.45s ease; }
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* Public page additions -------------------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--cyan);
  color: #04121a;
  font-weight: 900;
  transform: translateY(-150%);
  transition: transform 0.15s;
}
.skip-link:focus { transform: translateY(0); }

.search-toggle { display: none; }

.hero-pause {
  position: absolute;
  right: 72px;
  bottom: 14px;
  z-index: 4;
  padding: 5px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(10, 10, 15, 0.72);
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
}
.hero-pause:hover { border-color: var(--cyan); color: var(--cyan); }

.eyebrow {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.feature-title {
  color: #fff;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.65);
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
  color: var(--muted);
  font-size: 13px;
}
.breadcrumb a { color: var(--cyan); }
.breadcrumb a:hover { text-decoration: underline; }

.product-cover-download {
  width: 100%;
  justify-content: center;
  margin-top: 14px;
}

.detail-panel,
.detail-block { scroll-margin-top: 140px; }
.detail-panel h2 { font-size: 19px; margin-bottom: 12px; }
.detail-block { border-top: 1px solid var(--border); }

.download-list { display: grid; gap: 10px; }
.download-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
}
.download-row > div { display: grid; gap: 2px; }
.download-row span { color: var(--muted); font-size: 12px; }
.download-row .demo-download { color: var(--muted); cursor: not-allowed; opacity: 0.72; }

.popular-searches h2 {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.not-found { min-height: 52vh; display: grid; place-items: center; align-content: center; gap: 8px; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; }
  .search-toggle { display: grid; }
  .header-search {
    flex-basis: 100%;
    max-width: none;
    order: 10;
  }
  .header-search.mobile-open { display: flex; }
  .download-row { align-items: stretch; flex-direction: column; }
  .download-row .btn { justify-content: center; }
}

@media (min-width: 481px) and (max-width: 768px) {
  .hero-content { padding-left: 64px; }
}

@media (max-width: 480px) {
  .hero-pause { right: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
