:root {
  --bg: #0b1020;
  --bg-soft: #11172a;
  --card: rgba(19, 26, 46, 0.82);
  --border: #1f2a44;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --primary: #7c3aed;
  --secondary: #22d3ee;
  --accent: #f59e0b;
  --danger: #fb7185;
  --success: #34d399;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(124, 58, 237, 0.18), transparent 28%),
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.12), transparent 22%),
    var(--bg);
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
main { min-height: calc(100vh - 220px); }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(560px, calc(100% - 32px)); }
.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(11,16,32,0.72);
  border-bottom: 1px solid rgba(31,42,68,0.8);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.logo { font-weight: 800; letter-spacing: .02em; }
.nav, .nav-links { display: flex; gap: 20px; color: var(--muted); }
.nav a:hover, .nav-links a:hover, .section-head a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.user-chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 14px; border-radius: 999px;
  background: rgba(255,255,255,.04); border: 1px solid var(--border); color: var(--muted);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px; padding: 12px 18px; border: 1px solid var(--border);
  transition: .2s ease; cursor: pointer; font-weight: 600;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none; color: white; box-shadow: 0 14px 30px rgba(124,58,237,.28);
}
.btn-ghost { background: rgba(255,255,255,.02); }
.btn-secondary, .btn-google { background: rgba(255,255,255,.04); }
.btn-google {
  gap: 12px;
  justify-content: center;
}
.google-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,.16);
  flex: 0 0 22px;
}
.google-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}
.btn-small { padding: 9px 14px; border-radius: 12px; }
.btn-block, .full { width: 100%; }
.hero, .page-hero { padding: 92px 0 60px; }
.page-hero.compact, .page-hero.small { padding-top: 72px; padding-bottom: 22px; }
.hero-grid, .two-col, .dashboard-grid, .catalog-layout, .product-layout { display: grid; gap: 24px; }
.hero-grid { grid-template-columns: 1.2fr .8fr; align-items: center; }
.catalog-layout { grid-template-columns: 280px 1fr; align-items: start; }
.product-layout { grid-template-columns: .9fr 1.1fr; align-items: start; }
.dashboard-grid { grid-template-columns: 260px 1fr; }
.hero h1, .page-hero h1 { font-size: clamp(2.6rem, 4vw, 4.5rem); line-height: 1.05; margin: 12px 0 18px; }
.eyebrow { display: inline-block; color: var(--secondary); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; }
.lead { color: var(--muted); font-size: 1.05rem; max-width: 700px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-panel, .mock-card, .card, .panel, .cta-panel {
  border: 1px solid rgba(31,42,68,.9);
  background: var(--card);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.hero-panel, .panel { padding: 24px; }
.mock-card { padding: 22px; background: linear-gradient(180deg, rgba(19,26,46,.9), rgba(19,26,46,.72)); }
.mock-title { font-weight: 700; margin-bottom: 18px; }
.stats-grid, .stats-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stats-grid div, .stat-card, .stat-card-lg, .mini-card {
  padding: 16px; border-radius: 18px; background: rgba(255,255,255,.03); border: 1px solid rgba(31,42,68,.5);
}
.stat-card strong, .stat-card-lg strong, .stats-grid strong, .mini-card strong { display: block; font-size: 1.4rem; margin-bottom: 6px; }
.stat-card span, .stat-card-lg span, .stats-grid span, .mini-card span { color: var(--muted); font-size: .95rem; }
.section { padding: 44px 0 76px; }
.section.alt, .section-alt { background: linear-gradient(180deg, rgba(255,255,255,.015), rgba(255,255,255,0)); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.section-copy { margin: 8px 0 0; }
.card-grid { display: grid; gap: 20px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card { padding: 24px; }
.card h3, .panel h3, .cta-panel h2 { margin-top: 0; margin-bottom: 10px; }
.card p, .panel p { color: var(--muted); }
.game-card:hover, .product-card:hover, .card:hover, .panel:hover, .cta-panel:hover { border-color: rgba(124,58,237,.55); }
.badge, .pill {
  display: inline-flex; align-items: center; padding: 7px 12px;
  border-radius: 999px; background: rgba(34,211,238,.09); color: var(--secondary);
  border: 1px solid rgba(34,211,238,.18); font-size: .85rem;
}
.badge { margin-bottom: 14px; }
.pill.gold { background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.22); color: var(--accent); }
.product-meta, .meta-row, .product-top {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.product-meta, .meta-row { margin-top: 18px; }
.category-card {
  position: relative;
  overflow: hidden;
}
.exact-style-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.18), transparent 70%);
  pointer-events: none;
}
.category-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--secondary);
  background: linear-gradient(135deg, rgba(124,58,237,.18), rgba(34,211,238,.12));
  border: 1px solid rgba(124,58,237,.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 12px 24px rgba(0,0,0,.18);
}
.category-icon svg { width: 24px; height: 24px; display: block; }
.price-box { font-size: clamp(2rem, 3vw, 3rem); font-weight: 800; letter-spacing: -.03em; margin: 16px 0 18px; }
.site-footer { padding: 28px 0 50px; border-top: 1px solid rgba(31,42,68,.8); background: rgba(8,12,24,.65); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.footer-grid h4 { margin-top: 0; }
.footer-grid a, .footer-grid span { display: block; color: var(--muted); margin-bottom: 8px; }
.footer-logo { margin-bottom: 10px; }
.muted { color: var(--muted) !important; }
.sidebar, .sidebar-filter { display: flex; flex-direction: column; gap: 12px; height: fit-content; }
.sidebar a, .sidebar-filter a { color: var(--muted); }
.sidebar a:hover, .sidebar-filter a:hover, .active-link { color: var(--text) !important; }
.active-link { font-weight: 700; }
.feature-list { margin: 0; padding-left: 18px; color: var(--muted); }
.feature-list li + li { margin-top: 8px; }
.auth-card { padding: 30px; }
.auth-form { display: grid; gap: 14px; }
.auth-form label { display: grid; gap: 8px; color: var(--muted); }
.auth-form input {
  border-radius: 14px; border: 1px solid var(--border);
  background: rgba(255,255,255,.03); color: var(--text); padding: 13px 14px;
}
.auth-form input:focus { outline: 2px solid rgba(124,58,237,.35); border-color: rgba(124,58,237,.5); }
.flash, .note-box {
  border-radius: 16px; padding: 14px 16px; border: 1px solid var(--border); background: rgba(255,255,255,.03);
}
.flash-success { border-color: rgba(52,211,153,.25); color: #d1fae5; background: rgba(52,211,153,.08); }
.flash-error { border-color: rgba(251,113,133,.25); color: #ffe4e6; background: rgba(251,113,133,.08); }
.note-box { color: var(--muted); }
.table-wrap { overflow: auto; }
.table, table { width: 100%; border-collapse: collapse; }
.table th, .table td, table th, table td { text-align: left; padding: 14px 10px; border-bottom: 1px solid rgba(31,42,68,.8); }
.table th, table th { color: var(--muted); font-weight: 600; }
.module-chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.dashboard-mini { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.cta-panel {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(19,26,46,.9), rgba(19,26,46,.74));
}
.cta-actions { margin-top: 0; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-12 { margin-bottom: 12px; }
.grow { min-width: 0; }
@media (max-width: 1080px) {
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .hero-grid, .two-col, .dashboard-grid, .footer-grid, .catalog-layout, .product-layout, .cta-panel { grid-template-columns: 1fr; display: grid; }
  .card-grid.three { grid-template-columns: repeat(2, 1fr); }
  .cta-actions { margin-top: 10px; }
}
@media (max-width: 720px) {
  .nav, .nav-links { display: none; }
  .card-grid.three, .card-grid.four, .stats-row, .stats-grid, .dashboard-mini { grid-template-columns: 1fr; }
  .hero, .page-hero { padding-top: 60px; }
  .hero h1, .page-hero h1 { font-size: 2.4rem; }
  .nav-wrap { flex-wrap: wrap; padding: 14px 0; }
  .nav-actions { width: 100%; }
  .nav-actions .btn, .nav-actions .user-chip { flex: 1; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

.logo-wrap { display: inline-flex; align-items: center; gap: 14px; }
.logo-text-group { display: inline-flex; flex-direction: column; gap: 2px; }
.logo-title { font-size: 1rem; font-weight: 800; letter-spacing: .02em; }
.logo-subtitle { font-size: .72rem; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.logo-cube {
  position: relative;
  width: 34px;
  height: 34px;
  display: inline-block;
  filter: drop-shadow(0 12px 22px rgba(124,58,237,.28));
}
.cube-face {
  position: absolute;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.cube-top {
  width: 22px; height: 22px; left: 6px; top: 0;
  transform: rotate(45deg) skew(-10deg, -10deg);
  background: linear-gradient(135deg, rgba(124,58,237,.95), rgba(34,211,238,.88));
  border-radius: 6px;
}
.cube-left {
  width: 17px; height: 17px; left: 1px; top: 14px;
  transform: skewY(35deg);
  background: linear-gradient(180deg, rgba(124,58,237,.7), rgba(50,30,94,.95));
  border-radius: 0 0 0 7px;
}
.cube-right {
  width: 17px; height: 17px; right: 1px; top: 14px;
  transform: skewY(-35deg);
  background: linear-gradient(180deg, rgba(34,211,238,.72), rgba(13,68,84,.98));
  border-radius: 0 0 7px 0;
}
.sidebar-filter h3, .sidebar h3 { margin-bottom: 4px; }
.admin-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; }
.status-ok { color: var(--success); }
.status-warn { color: var(--accent); }
.status-bad { color: var(--danger); }
.panel-dark {
  background: linear-gradient(180deg, rgba(19,26,46,.95), rgba(11,16,32,.92));
}
.kpi-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.kpi-card { padding: 18px; border-radius: 18px; border: 1px solid rgba(31,42,68,.8); background: rgba(255,255,255,.03); }
.kpi-card strong { display: block; font-size: 1.6rem; margin-bottom: 8px; }
.kpi-card span { color: var(--muted); }
.inline-list { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-list .pill { margin: 0; }
@media (max-width: 980px) {
  .admin-grid, .kpi-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .logo-subtitle { display: none; }
  .admin-grid, .kpi-grid { grid-template-columns: 1fr; }
}

select, textarea {
  border-radius: 14px; border: 1px solid var(--border);
  background: rgba(255,255,255,.03); color: var(--text); padding: 13px 14px; width: 100%;
  font: inherit;
}
textarea { min-height: 140px; resize: vertical; }
.check-line { display:flex; gap:16px; flex-wrap:wrap; }
.check-row { display:inline-flex !important; align-items:center; gap:10px; color: var(--text) !important; }
.check-row input { width:auto; }
.inline-actions { display:flex; gap:8px; flex-wrap:wrap; }
code { background: rgba(255,255,255,.05); padding: 6px 8px; border-radius: 10px; border:1px solid rgba(31,42,68,.8); }


/* Global tech background across all pages */
body {
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  white-space: pre;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  user-select: none;
}

body::before {
  content:
    "PHP\A\A      MySQL\A\A              JavaScript\A\A   HTML\A\A                    API\A\A         CSS\A\A OAuth\A\A            SQL\A\A      Linux";
  color: rgba(255,255,255,0.032);
  font-size: clamp(20px, 2.3vw, 34px);
  line-height: 2.7;
  transform: rotate(-12deg) translate(-8%, -4%);
}

body::after {
  content:
    "JSON\A\A        Backend\A\A              Frontend\A\A    Auth\A\A            Database\A\A   Hosting\A\A      PHP\A\A         MySQL";
  color: rgba(124,58,237,0.05);
  font-size: clamp(18px, 2vw, 30px);
  line-height: 3.15;
  text-align: right;
  transform: rotate(10deg) translate(10%, 6%);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* Hero product panel enhancement */
.hero-panel-product .mock-dashboard {
  position: relative;
  overflow: hidden;
}

.hero-panel-product .mock-dashboard::before {
  content: "";
  position: absolute;
  inset: auto -80px -100px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.20), transparent 70%);
  pointer-events: none;
}

.project-advantages {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.adv-card {
  position: relative;
  padding: 16px 16px 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.05);
  overflow: hidden;
}

.adv-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--secondary), var(--primary));
  opacity: .95;
}

.adv-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--secondary);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.adv-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.adv-card p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
}

.adv-quality::before { background: linear-gradient(180deg, #22d3ee, #7c3aed); }
.adv-guarantee::before { background: linear-gradient(180deg, #34d399, #22c55e); }
.adv-price::before { background: linear-gradient(180deg, #f59e0b, #fb7185); }

@media (max-width: 900px) {
  body::before,
  body::after {
    font-size: clamp(16px, 4vw, 24px);
    line-height: 3.2;
  }
}

/* Hero panel stretch fix */
.hero {
  align-items: stretch !important;
}

.hero-grid,
.hero-inner,
.hero-content-wrap {
  align-items: stretch !important;
}

.hero-panel,
.hero-panel-product,
.mock-dashboard {
  height: 100%;
}

.hero-panel {
  min-height: 100%;
  display: flex;
  align-items: stretch;
}

.hero-panel-product,
.mock-dashboard {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 440px) !important;
  gap: 32px !important;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-panel .stats-grid {
  margin-bottom: 16px;
}

.hero-panel .dashboard-mini {
  margin-bottom: 18px;
}

.project-advantages {
  margin-top: auto;
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-panel,
  .hero-panel-product,
  .mock-dashboard {
    min-height: auto;
  }
}


/* Support system */
.support-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
}
.support-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
}
.ticket-list,
.ticket-mini-list {
  display: grid;
  gap: 10px;
}
.ticket-list-item,
.ticket-mini-item {
  display: block;
  padding: 14px 16px;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}
.ticket-list-item.active {
  border-color: rgba(124,58,237,.45);
  box-shadow: 0 0 0 1px rgba(124,58,237,.2) inset;
}
.ticket-list-item strong,
.ticket-mini-item strong {
  display: block;
  margin-bottom: 4px;
}
.ticket-list-item span,
.ticket-mini-item span {
  color: var(--muted);
  font-size: .9rem;
}
.support-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  font-weight: 600;
}
.support-form input,
.support-form textarea,
.support-form select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.03);
  color: #fff;
  padding: 14px 16px;
}
.support-form select option {
  color: #111827;
}
.ticket-thread {
  display: grid;
  gap: 14px;
}
.ticket-message {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}
.ticket-message.admin {
  border-color: rgba(124,58,237,.30);
  background: linear-gradient(135deg, rgba(124,58,237,.10), rgba(255,255,255,.03));
}
.ticket-message-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  font-size: .92rem;
}
.ticket-message-head span,
.ticket-meta,
.ticket-meta div {
  color: var(--muted);
}
.ticket-message-body {
  line-height: 1.65;
}
.ticket-status {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
}
.status-open { background: rgba(59,130,246,.14); color: #93c5fd; }
.status-waiting { background: rgba(245,158,11,.14); color: #fcd34d; }
.status-answered { background: rgba(34,197,94,.14); color: #86efac; }
.status-closed { background: rgba(148,163,184,.14); color: #cbd5e1; }
.support-guest-box {
  text-align: center;
}
@media (max-width: 980px) {
  .support-layout {
    grid-template-columns: 1fr;
  }
  .support-sidebar {
    position: static;
  }
}


/* Payment page */
.payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 360px;
  gap: 24px;
  align-items: start;
}

.payment-main,
.payment-sidebar {
  display: grid;
  gap: 24px;
}

.payment-product-card {
  overflow: hidden;
}

.payment-product-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.payment-product-head h2 {
  margin: 12px 0 10px;
  font-size: 2rem;
}

.payment-price-box {
  min-width: 160px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.06);
  text-align: right;
}

.payment-price-box strong {
  display: block;
  margin-top: 6px;
  font-size: 2rem;
}

.payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.payment-option,
.currency-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.payment-option input,
.currency-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-option {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.payment-option:hover,
.payment-option.active {
  transform: translateY(-2px);
  border-color: rgba(124,58,237,.32);
  box-shadow: 0 14px 30px rgba(0,0,0,.16);
}

.payment-option-title {
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.payment-option-subtitle {
  color: var(--secondary);
  font-size: .92rem;
  margin-bottom: 10px;
}

.currency-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.currency-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  font-weight: 800;
  transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}

.currency-option:hover span,
.currency-option.active span {
  transform: translateY(-2px);
  border-color: rgba(34,211,238,.30);
  box-shadow: 0 14px 30px rgba(0,0,0,.16);
}

.order-summary .summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.order-summary .summary-row.total {
  margin-top: 8px;
  font-size: 1.08rem;
  border-bottom: 0;
}

.payment-buttons {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

@media (max-width: 980px) {
  .payment-layout {
    grid-template-columns: 1fr;
  }

  .payment-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .payment-product-head {
    flex-direction: column;
  }

  .payment-price-box {
    width: 100%;
    text-align: left;
  }

  .currency-grid {
    grid-template-columns: 1fr;
  }
}



/* Payment DB + orders */
.alert-box {
  padding: 16px 18px;
  border-radius: 16px;
  margin-bottom: 18px;
  font-weight: 600;
}
.alert-success {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.24);
  color: #bff6df;
}
.alert-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.22);
  color: #fecaca;
}
.orders-table {
  padding: 18px;
  overflow-x: auto;
}
.table-orders {
  width: 100%;
  border-collapse: collapse;
}
.table-orders th,
.table-orders td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.table-orders th {
  color: #9ca3af;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.status-badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.status-pending {
  background: rgba(245, 158, 11, 0.14);
  color: #fcd34d;
}
.status-paid {
  background: rgba(34, 197, 94, 0.14);
  color: #86efac;
}
.status-cancelled {
  background: rgba(239, 68, 68, 0.14);
  color: #fca5a5;
}
.empty-state {
  padding: 22px;
  color: #9ca3af;
}



/* Payment and dashboard fixes */
.payment-sidebar {
  min-width: 0;
}
.order-summary .summary-row strong {
  text-align: right;
}
.order-summary .summary-row span,
.order-summary .summary-row strong {
  display: block;
}
.order-summary .summary-row strong {
  max-width: 55%;
  word-break: break-word;
}
.table-card {
  overflow-x: auto;
}
.table th,
.table td {
  white-space: nowrap;
}
.table td:first-child,
.table th:first-child {
  white-space: normal;
}


/* Dashboard spacing fix */
.dashboard-grid > div {
  display: grid;
  gap: 22px;
}

.card-grid.three {
  margin-bottom: 0;
}

.table-card {
  margin-top: 0;
}

.card.table-card + .card.table-card {
  margin-top: 0;
}

#orders,
#licenses {
  scroll-margin-top: 100px;
}

@media (max-width: 900px) {
  .dashboard-grid > div {
    gap: 18px;
  }
}


/* Request page */
.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 360px;
  gap: 24px;
  align-items: start;
}
.order-sidebar {
  display: grid;
  gap: 24px;
}
.order-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field {
  display: grid;
  gap: 10px;
}
.form-field-full {
  grid-column: 1 / -1;
}
.form-field label {
  font-weight: 700;
}
.form-field input,
.form-field select,
.form-field textarea,
.inline-status-form select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.03);
  color: #fff;
  outline: none;
}
.form-field textarea {
  resize: vertical;
  min-height: 170px;
}
.form-actions {
  grid-column: 1 / -1;
}
.feature-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.partner-card {
  padding: 22px;
  border-radius: 20px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.06);
}
.partner-card strong {
  display: block;
  margin-bottom: 8px;
}
.partner-card span {
  color: var(--muted);
  line-height: 1.55;
}
.td-wrap {
  white-space: normal !important;
  min-width: 260px;
}
.inline-status-form {
  min-width: 140px;
}
@media (max-width: 980px) {
  .order-layout {
    grid-template-columns: 1fr;
  }
  .partners-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 680px) {
  .order-form-grid,
  .partners-grid {
    grid-template-columns: 1fr;
  }
}


/* Header user-nav spacing */
.header-user-nav {
  margin-left: 34px;
}

@media (max-width: 1100px) {
  .header-user-nav {
    margin-left: 0;
  }
}

/* Admin request card fix */
.admin-request-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px;
}
.admin-request-card .admin-request-content {
  max-width: 760px;
}
.admin-request-card h3 {
  margin: 0 0 10px;
}
.admin-request-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.admin-request-card .btn {
  white-space: nowrap;
  min-width: 190px;
  justify-content: center;
}
@media (max-width: 900px) {
  .admin-request-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .admin-request-card .btn {
    min-width: 0;
    width: 100%;
  }
}

/* FINAL header spacing fix */
.header-user-nav {
  margin-left: 72px !important;
}

@media (max-width: 1100px) {
  .header-user-nav {
    margin-left: 0 !important;
  }
}


/* Proper header split layout */
.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1 1 auto;
  gap: 24px;
  min-width: 0;
}

.nav-left {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
}

.nav-left .main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  margin-left: auto !important;
}

.header-user-nav {
  margin-left: auto !important;
}

@media (max-width: 1100px) {
  .header-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-left,
  .nav-left .main-nav,
  .nav-right {
    justify-content: center;
  }

  .nav-right,
  .header-user-nav {
    margin-left: 0 !important;
  }
}


/* Active nav */
.main-nav a {
  position: relative;
  transition: color .2s ease, opacity .2s ease;
}

.main-nav a.is-active,
.main-nav a:hover {
  color: #ffffff;
}

.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c3aed, #22d3ee);
  box-shadow: 0 0 12px rgba(124,58,237,.35);
}

/* Better tech background */
body::before,
body::after {
  overflow: hidden;
  width: 100vw;
  height: 100vh;
}

body::before {
  content:
    "PHP        MySQL        JavaScript        HTML        CSS        API        OAuth\A\ASQL        Linux        Backend        Frontend        Auth        Database";
  color: rgba(255,255,255,0.024);
  font-size: clamp(16px, 1.5vw, 24px);
  line-height: 3.6;
  text-align: center;
  transform: rotate(-10deg) translate(-2%, 2%);
}

body::after {
  content:
    "JSON        Hosting        PHP        MySQL        JavaScript        Modules\A\AGame Panel        Admin Tools        Integration        Security        Support";
  color: rgba(124,58,237,0.045);
  font-size: clamp(15px, 1.35vw, 22px);
  line-height: 4;
  text-align: center;
  transform: rotate(8deg) translate(2%, 8%);
}

/* Simplified hero product panel */
.hero-panel-product,
.hero-panel-product .mock-dashboard {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.hero-product-shell {
  width: 100%;
  max-width: 480px;
  padding: 26px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(124,58,237,.16), transparent 36%),
    radial-gradient(circle at bottom left, rgba(34,211,238,.12), transparent 32%),
    rgba(17, 24, 42, 0.78);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 50px rgba(0,0,0,.30);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-product-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.hero-product-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: #22d3ee;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-product-head h3 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.08;
}

.hero-product-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.hero-product-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 12px;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  background: rgba(34, 197, 94, .14);
  border: 1px solid rgba(34, 197, 94, .22);
  color: #86efac;
}

.hero-product-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.hero-stat-card {
  padding: 18px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.06);
}

.hero-stat-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 28px;
  line-height: 1.05;
}

.hero-stat-card span {
  color: var(--muted);
  font-size: 14px;
}

.hero-product-advantages {
  display: grid;
  gap: 12px;
}

.hero-adv-card {
  position: relative;
  padding: 16px 18px 16px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.06);
}

.hero-adv-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #22d3ee, #7c3aed);
}

.hero-adv-label {
  display: inline-block;
  margin-bottom: 8px;
  color: #22d3ee;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-adv-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.hero-adv-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 980px) {
  .hero-product-shell {
    max-width: 100%;
  }

  .hero-product-stats {
    grid-template-columns: 1fr;
  }

  .hero-product-head {
    flex-direction: column;
  }
}


/* Nav active improved */
.main-nav a {
  position: relative;
  color: rgba(255,255,255,.72);
  transition: color .22s ease, text-shadow .22s ease;
}
.main-nav a:hover,
.main-nav a.is-active {
  color: #fff;
  text-shadow: 0 0 18px rgba(124,58,237,.22);
}
.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c3aed, #22d3ee);
  box-shadow: 0 0 12px rgba(124,58,237,.35);
}

/* User dropdown */
.user-dropdown {
  position: relative;
}
.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
}
.user-chip-arrow {
  font-size: 12px;
  opacity: .8;
}
.user-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 250px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(17,24,42,.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 36px rgba(0,0,0,.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 90;
}
.user-dropdown.is-open .user-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.user-menu-head {
  display: grid;
  gap: 4px;
  padding: 10px 12px 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  margin-bottom: 8px;
}
.user-menu-head strong {
  color: #fff;
}
.user-menu-head span {
  color: var(--muted);
  font-size: 13px;
  word-break: break-word;
}
.user-menu a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  color: #d8deee;
  text-decoration: none;
}
.user-menu a:hover {
  background: rgba(255,255,255,.04);
  color: #fff;
}
.user-menu .danger-link {
  color: #fca5a5;
}

/* Hero panel without status */
.hero-product-head {
  align-items: flex-start;
}
.hero-product-head h3 {
  margin-right: 0;
}



/* Current header active nav + dropdown */
.nav-links a {
  position: relative;
  color: rgba(255,255,255,.72);
  transition: color .22s ease, text-shadow .22s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(124,58,237,.22);
}

.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c3aed, #22d3ee);
  box-shadow: 0 0 12px rgba(124,58,237,.35);
}

.user-dropdown {
  position: relative;
}

.user-chip-button {
  cursor: pointer;
  gap: 8px;
  color: #fff;
}

.user-chip-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-chip-arrow {
  font-size: 12px;
  opacity: .8;
}

.user-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 250px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(17,24,42,.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 36px rgba(0,0,0,.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 90;
}

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

.user-menu-head {
  display: grid;
  gap: 4px;
  padding: 10px 12px 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  margin-bottom: 8px;
}

.user-menu-head strong {
  color: #fff;
}

.user-menu-head span {
  color: var(--muted);
  font-size: 13px;
  word-break: break-word;
}

.user-menu a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  color: #d8deee;
  text-decoration: none;
}

.user-menu a:hover {
  background: rgba(255,255,255,.04);
  color: #fff;
}

.user-menu .danger-link {
  color: #fca5a5;
}


/* User menu enhanced + overlay stacking */
.site-header,
.site-header .container,
.nav-actions,
.user-dropdown {
  position: relative;
}

.site-header {
  z-index: 120;
}

.user-dropdown {
  z-index: 160;
}

.hero-panel,
.hero-panel-product,
.hero-product-shell {
  position: relative;
  z-index: 1;
}

.user-chip-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px 0 10px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    rgba(17,24,42,.84);
  box-shadow: 0 10px 24px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.04);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.user-chip-button:hover,
.user-dropdown.is-open .user-chip-button {
  transform: translateY(-1px);
  border-color: rgba(124,58,237,.28);
  box-shadow: 0 14px 28px rgba(0,0,0,.22), 0 0 0 1px rgba(124,58,237,.08);
}

.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #22d3ee);
  box-shadow: 0 0 14px rgba(124,58,237,.28);
  flex: 0 0 auto;
}

.user-chip-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-chip-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 12px;
  opacity: .82;
  transform: rotate(0deg);
  transition: transform .22s ease, opacity .22s ease;
}

.user-dropdown.is-open .user-chip-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.user-menu {
  z-index: 200;
  width: 270px;
}

.user-menu a {
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.user-menu a:hover {
  transform: translateX(2px);
}

.user-menu .danger-link {
  color: #fda4af;
}

.user-menu .danger-link:hover {
  background: rgba(239,68,68,.08);
  color: #fecdd3;
}

@media (max-width: 1100px) {
  .nav-actions {
    flex-wrap: wrap;
    justify-content: center;
  }
}



/* Dashboard nav cards */
.dashboard-sidebar {
  gap: 14px;
}
.dashboard-sidebar .nav-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.05);
  color: #d8deee;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.dashboard-sidebar .nav-card:hover,
.dashboard-sidebar .nav-card.active-link {
  transform: translateY(-1px);
  background: rgba(255,255,255,.045);
  border-color: rgba(124,58,237,.28);
  color: #fff;
}
.nav-icon {
  width: 24px;
  text-align: center;
  opacity: .9;
}
.stat-card strong {
  display: block;
  margin: 6px 0 8px;
}

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.status-success {
  background: rgba(34, 197, 94, .16);
  color: #86efac;
}
.status-pending {
  background: rgba(245, 158, 11, .16);
  color: #fcd34d;
}
.status-error {
  background: rgba(239, 68, 68, .16);
  color: #fca5a5;
}

/* License popup */
.key-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: #fff;
  cursor: pointer;
}
.license-key-pop {
  display: none;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  color: #fff;
  word-break: break-all;
}
.license-key-pop.is-open {
  display: block;
}

/* Files */
.download-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #22d3ee);
}



/* Settings page */
.settings-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.settings-main {
  display: grid;
  gap: 22px;
}
.settings-card {
  padding: 24px;
}
.settings-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.settings-info-item {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}
.settings-info-item span {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}
.settings-info-item strong {
  display: block;
  font-size: 18px;
}
.settings-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}
.settings-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
@media (max-width: 980px) {
  .settings-layout {
    grid-template-columns: 1fr;
  }
  .settings-info-grid,
  .settings-form-grid {
    grid-template-columns: 1fr;
  }
  .settings-link-row {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Auth history country badge */
.country-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  white-space: nowrap;
}


.country-flag {
  width: 18px;
  height: 14px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08);
  flex: 0 0 auto;
}


/* Dashboard tables stability */
.dashboard-main {
  display: grid;
  gap: 22px;
}
.table-wrap {
  width: 100%;
  overflow-x: auto;
}
.table-orders-dashboard,
.table-licenses-dashboard {
  min-width: 980px;
}
.btn-sm {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 13px;
}
.inline-license-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.mini-input {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: #fff;
  width: 120px;
}


/* Dashboard tables stability */
.dashboard-main {
  display: grid;
  gap: 22px;
}
.table-wrap {
  width: 100%;
  overflow-x: auto;
}
.table-orders-dashboard,
.table-licenses-dashboard {
  min-width: 980px;
}
.btn-sm {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 13px;
}
.inline-license-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.mini-input {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: #fff;
  width: 120px;
}


/* Dashboard width and table fix */
.dashboard-container {
  width: min(1380px, calc(100% - 28px));
}

.dashboard-grid {
  grid-template-columns: 230px minmax(0, 1fr) !important;
  align-items: start;
}

.dashboard-main .table-card {
  width: 100%;
  max-width: none;
}

.table-wrap {
  overflow-x: auto;
  overflow-y: hidden;
}

.table-orders-dashboard,
.table-licenses-dashboard {
  width: 100%;
  min-width: 900px;
}

.table-orders-dashboard th,
.table-orders-dashboard td,
.table-licenses-dashboard th,
.table-licenses-dashboard td {
  white-space: nowrap;
}

.table-orders-dashboard td:first-child,
.table-licenses-dashboard td:first-child {
  white-space: normal;
}

.download-link {
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .dashboard-container {
    width: min(100%, calc(100% - 24px));
  }

  .dashboard-grid {
    grid-template-columns: 1fr !important;
  }
}



/* License modal + unbind button */
.btn-unbind {
  color: #fff;
  background: linear-gradient(135deg, #ef4444, #f97316);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 24px rgba(239,68,68,.18);
}

.btn-unbind:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.key-toggle-btn {
  background: linear-gradient(135deg, rgba(124,58,237,.16), rgba(34,211,238,.12));
  border: 1px solid rgba(124,58,237,.22);
  transition: transform .18s ease, filter .18s ease, border-color .18s ease;
}

.key-toggle-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  border-color: rgba(124,58,237,.34);
}

.license-modal {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: none;
}

.license-modal.is-open {
  display: block;
}

.license-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 20, .78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.license-modal-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(560px, calc(100% - 32px));
  padding: 28px;
  transform: translate(-50%, -50%);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at top right, rgba(124,58,237,.16), transparent 38%),
    radial-gradient(circle at bottom left, rgba(34,211,238,.10), transparent 34%),
    rgba(17,24,42,.96);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}

.license-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: #fff;
  cursor: pointer;
}

.license-modal-kicker {
  margin-bottom: 8px;
  color: #22d3ee;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.license-modal-dialog h4 {
  margin: 0 0 16px;
  font-size: 28px;
}

.license-modal-key {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  color: #fff;
  font-size: 18px;
  line-height: 1.6;
  word-break: break-all;
}



/* Wider dashboard sidebar */
.dashboard-container {
  width: min(1480px, calc(100% - 32px));
}

.dashboard-grid {
  grid-template-columns: 280px minmax(0, 1fr) !important;
  gap: 26px;
}

.dashboard-sidebar {
  padding: 20px;
  border-radius: 26px;
}

.dashboard-sidebar h3 {
  margin-bottom: 14px;
  font-size: 24px;
}

.dashboard-sidebar .nav-card {
  min-height: 54px;
  padding: 0 16px;
  border-radius: 18px;
  font-size: 15px;
}

.dashboard-sidebar .nav-icon {
  width: 28px;
  font-size: 16px;
}

.dashboard-main .card.table-card,
.dashboard-main .card.stat-card {
  border-radius: 26px;
}

@media (max-width: 1180px) {
  .dashboard-grid {
    grid-template-columns: 1fr !important;
  }
}


/* Files table fix */
.table-files-dashboard {
  width: 100%;
  min-width: 860px;
}

.table-files-dashboard th,
.table-files-dashboard td {
  white-space: nowrap;
}

.table-files-dashboard td:first-child,
.table-files-dashboard th:first-child {
  white-space: normal;
  min-width: 320px;
}


/* Safe logo enhancements from working base */
.game-card-logo {
  display: flex;
  flex-direction: column;
}
.game-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.game-logo-thumb {
  height: 44px;
  width: auto;
  object-fit: contain;
  flex: 0 0 auto;
}
.game-card-logo h3 {
  margin-top: 0;
}
.sidebar-filter .game-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(31,42,68,.75);
  background: rgba(255,255,255,.02);
}
.sidebar-filter .game-option:hover,
.sidebar-filter .game-option.active-link {
  border-color: rgba(124,58,237,.5);
  background: rgba(124,58,237,.08);
}
.game-option-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 34px;
}
.game-option-title {
  color: var(--text);
  font-weight: 600;
}
@media (max-width: 720px) {
  .game-card-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

.badge-logo {
  padding: 4px 0;
  min-height: auto;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.badge-logo-img {
  display: block;
  height: 30px;
  width: auto;
  object-fit: contain;
}
.game-card-head {
  justify-content: flex-start;
}
.game-card-logo .badge-logo {
  margin-bottom: 4px;
}


/* mobile nav + feature refresh */
.nav-wrap { gap: 20px; }
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex: 1;
}
.mobile-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,.16);
  background: rgba(15,23,42,.72);
  color: var(--text);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 12px 30px rgba(2,6,23,.22);
}
.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.mobile-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.feature-grid { gap: 18px; }
.feature-card {
  border-color: rgba(148,163,184,.14);
  background:
    linear-gradient(180deg, rgba(15,23,42,.9), rgba(15,23,42,.78)),
    radial-gradient(circle at top right, rgba(255,255,255,.06), transparent 40%);
}
.feature-card::before,
.color-game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.12), transparent 32%, transparent 68%, rgba(255,255,255,.05));
  opacity: .45;
}
.feature-card-head,
.game-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.feature-card-index,
.game-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.82);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.feature-card .category-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: #fff;
  border: 0;
  box-shadow: 0 14px 30px rgba(15,23,42,.22);
}
.feature-card .category-icon svg { width: 26px; height: 26px; }
.feature-card-1 .category-icon { background: linear-gradient(135deg, #7c3aed, #c084fc); }
.feature-card-2 .category-icon { background: linear-gradient(135deg, #2563eb, #22d3ee); }
.feature-card-3 .category-icon { background: linear-gradient(135deg, #14b8a6, #34d399); }
.feature-card-4 .category-icon { background: linear-gradient(135deg, #f97316, #facc15); }
.feature-card-5 .category-icon { background: linear-gradient(135deg, #ec4899, #fb7185); }
.feature-card-6 .category-icon { background: linear-gradient(135deg, #6366f1, #38bdf8); }
.feature-card-1 { box-shadow: 0 16px 40px rgba(124,58,237,.14); }
.feature-card-2 { box-shadow: 0 16px 40px rgba(34,211,238,.13); }
.feature-card-3 { box-shadow: 0 16px 40px rgba(16,185,129,.13); }
.feature-card-4 { box-shadow: 0 16px 40px rgba(249,115,22,.13); }
.feature-card-5 { box-shadow: 0 16px 40px rgba(236,72,153,.13); }
.feature-card-6 { box-shadow: 0 16px 40px rgba(59,130,246,.13); }
.eyebrow-soft {
  background: rgba(124,58,237,.12);
  color: #d8b4fe;
  border-color: rgba(192,132,252,.18);
}
.color-game-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
}
.color-game-card .badge-logo {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.badge-logo-img { height: 32px; width: auto; }
.color-game-card-pw {
  background: linear-gradient(180deg, rgba(14,26,48,.96), rgba(10,18,34,.88)), radial-gradient(circle at top left, rgba(59,130,246,.22), transparent 45%);
}
.color-game-card-jd {
  background: linear-gradient(180deg, rgba(20,15,46,.96), rgba(14,11,34,.88)), radial-gradient(circle at top left, rgba(168,85,247,.24), transparent 45%);
}
.color-game-card-fw {
  background: linear-gradient(180deg, rgba(22,24,40,.96), rgba(12,14,26,.88)), radial-gradient(circle at top left, rgba(16,185,129,.22), transparent 45%);
}
.sidebar-filter .game-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid transparent;
  background: rgba(255,255,255,.02);
  transition: .2s ease;
}
.sidebar-filter .game-option:hover,
.sidebar-filter .game-option.active-link {
  background: rgba(255,255,255,.05);
  border-color: rgba(124,58,237,.25);
}
.sidebar-filter .game-option-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .nav-wrap {
    position: relative;
    align-items: center;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-shell {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(148,163,184,.14);
    background: rgba(8,12,24,.96);
    box-shadow: 0 20px 48px rgba(2,6,23,.38);
    backdrop-filter: blur(18px);
    z-index: 30;
  }

  .nav-shell.is-open { display: flex; }

  .nav-links {
    display: grid;
    gap: 8px;
  }

  .nav-links a {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.04);
  }

  .nav-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .nav-actions .btn,
  .nav-actions .user-dropdown,
  .nav-actions .user-chip-button {
    width: 100%;
  }

  .hero-grid { gap: 22px; }
  .hero-panel-product { order: -1; }
  .hero-product-stats { grid-template-columns: repeat(3, 1fr); }
  .card-grid.three { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body.menu-open { overflow: hidden; }
  .nav-links { display: grid; }
  .hero,
  .page-hero {
    padding-top: 42px;
  }
  .hero h1,
  .page-hero h1 {
    font-size: 2rem;
    line-height: 1.08;
  }
  .hero-actions,
  .module-chip-row {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-actions .btn,
  .module-chip-row .pill {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .hero-product-stats,
  .hero-product-advantages,
  .card-grid.three,
  .card-grid.four,
  .stats-row,
  .stats-grid,
  .dashboard-mini {
    grid-template-columns: 1fr;
  }
  .feature-card .category-icon {
    width: 54px;
    height: 54px;
  }
  .badge-logo-img { height: 34px; }
  .section,
  .site-footer {
    padding-left: 0;
    padding-right: 0;
  }
  .container {
    width: min(100% - 28px, 1180px);
  }
  .panel,
  .card,
  .auth-card,
  .cta-panel {
    border-radius: 20px;
  }
  .site-header {
    position: sticky;
    top: 0;
    backdrop-filter: blur(14px);
  }
}


/* final homepage polish */
.section-title-gradient {
  display: inline-block;
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  margin: 0;
}
.section-title-games {
  background: linear-gradient(135deg, #fbbf24 0%, #fb7185 45%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-title-directions {
  background: linear-gradient(135deg, #fbbf24 0%, #fb7185 45%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-title-modules {
  background: linear-gradient(135deg, #fbbf24 0%, #fb7185 45%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.game-card-head,
.feature-card-head {
  justify-content: flex-start;
}
.game-card-logo,
.feature-card {
  overflow: hidden;
}
.game-card-logo .badge-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.badge-logo-img {
  height: 36px;
  filter: drop-shadow(0 8px 18px rgba(255,255,255,.08));
}
.feature-card {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.09);
  background:
    linear-gradient(180deg, rgba(12,18,32,.96), rgba(10,14,24,.9)),
    radial-gradient(circle at top right, rgba(255,255,255,.06), transparent 42%);
}
.feature-card::after,
.color-game-card::after {
  content: "";
  position: absolute;
  inset: auto -20% 55% auto;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  opacity: .16;
  filter: blur(24px);
  pointer-events: none;
}
.feature-card-1::after { background: #a855f7; }
.feature-card-2::after { background: #38bdf8; }
.feature-card-3::after { background: #34d399; }
.feature-card-4::after { background: #fb923c; }
.feature-card-5::after { background: #fb7185; }
.feature-card-6::after { background: #818cf8; }
.color-game-card-pw::after { background: #4f9cff; }
.color-game-card-jd::after { background: #a855f7; }
.color-game-card-fw::after { background: #34d399; }
.feature-card .category-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  position: relative;
  box-shadow:
    0 18px 36px rgba(2,6,23,.28),
    inset 0 1px 0 rgba(255,255,255,.22);
}
.feature-card .category-icon::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.18);
}
.feature-card .category-icon svg {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 4px 10px rgba(255,255,255,.12));
}
.feature-card h3,
.game-card h3 {
  margin-top: 6px;
}
.feature-card p,
.game-card p {
  max-width: 34ch;
}
@media (max-width: 720px) {
  .section-title-gradient {
    font-size: 1.7rem;
  }
  .badge-logo-img {
    height: 34px;
  }
  .feature-card {
    padding: 20px;
  }
  .feature-card .category-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }
}


/* recommended modules refinement */
.section-title-games,
.section-title-directions,
.section-title-modules {
  background: linear-gradient(135deg, #f3f4f6 0%, #cbd5e1 55%, #94a3b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.recommended-grid {
  gap: 22px;
}
.recommended-card {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(148,163,184,.16);
  background: linear-gradient(180deg, rgba(12,18,30,.96), rgba(8,12,22,.93));
  box-shadow: 0 18px 34px rgba(2,6,23,.18);
}
.recommended-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
}
.recommended-card::after {
  content: "";
  position: absolute;
  inset: auto 22px 0 22px;
  height: 3px;
  border-radius: 999px;
  opacity: .9;
}
.recommended-card-pw::after { background: linear-gradient(90deg, rgba(79,156,255,.0), rgba(79,156,255,.88), rgba(79,156,255,.0)); }
.recommended-card-jd::after { background: linear-gradient(90deg, rgba(168,85,247,.0), rgba(168,85,247,.88), rgba(168,85,247,.0)); }
.recommended-card-fw::after { background: linear-gradient(90deg, rgba(52,211,153,.0), rgba(52,211,153,.88), rgba(52,211,153,.0)); }
.recommended-card:hover {
  transform: translateY(-3px);
  border-color: rgba(148,163,184,.28);
  box-shadow: 0 22px 42px rgba(2,6,23,.24);
}
.recommended-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.module-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  border: 1px solid rgba(148,163,184,.18);
  background: rgba(255,255,255,.03);
  color: #e5edf8;
}
.module-mark-soft {
  font-weight: 600;
  color: #9fb0c9;
  background: rgba(255,255,255,.02);
}
.module-mark-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(255,255,255,.04);
}
.module-mark-pw { color: #7ec2ff; background: rgba(79,156,255,.10); border-color: rgba(79,156,255,.18); }
.module-mark-jd { color: #d1a4ff; background: rgba(168,85,247,.10); border-color: rgba(168,85,247,.18); }
.module-mark-fw { color: #82e6c1; background: rgba(52,211,153,.10); border-color: rgba(52,211,153,.18); }
.recommended-card h3 {
  margin-bottom: 10px;
}
.recommended-card p {
  max-width: none;
  color: #96a3b8;
  line-height: 1.65;
}
.recommended-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
}
.recommended-price {
  font-size: 1.45rem;
  letter-spacing: -.03em;
  color: #f8fafc;
}
.recommended-link.btn {
  border-color: rgba(148,163,184,.18);
  background: rgba(255,255,255,.03);
}
.recommended-link.btn:hover {
  border-color: rgba(255,255,255,.26);
  background: rgba(255,255,255,.06);
}
@media (max-width: 720px) {
  .recommended-card {
    padding: 20px;
  }
  .recommended-head,
  .recommended-meta {
    align-items: stretch;
  }
  .recommended-meta {
    flex-direction: column;
  }
  .recommended-link.btn {
    width: 100%;
    justify-content: center;
  }
}


/* Catalog modules refinement */
.all-games-option {
  justify-content: flex-start;
}
.all-games-stack {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 112px;
}
.all-games-stack .game-option-logo-lg {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  object-fit: contain;
  background: transparent;
  border: 0;
  padding: 0;
  margin-left: -8px;
  filter: drop-shadow(0 8px 18px rgba(2,6,23,.28));
}
.all-games-stack .game-option-logo-lg:first-child {
  margin-left: 0;
}
.sidebar-filter .game-option-logo {
  width: 34px;
  height: 34px;
}
.sidebar-filter .game-option-title {
  font-weight: 700;
}
.module-card-catalog {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 336px;
  padding: 28px;
  border-color: rgba(148,163,184,.14);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(15,23,42,.94), rgba(11,18,36,.88));
  box-shadow: 0 18px 42px rgba(2,6,23,.22);
}
.module-card-catalog::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.04), transparent 26%);
  opacity: .55;
}
.module-sheen {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 72px;
  background: radial-gradient(circle at top left, rgba(124,58,237,.12), transparent 58%);
  pointer-events: none;
}
.module-topline,
.module-bottomline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.module-topline {
  margin-bottom: 14px;
}
.module-bottomline {
  margin-top: auto;
}
.module-game-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: #a9b6cf;
  font-size: .92rem;
  font-weight: 700;
}
.module-game-tag-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: 0 0 22px;
}
.module-type-text {
  position: relative;
  z-index: 1;
  margin-top: 2px;
  margin-bottom: 18px;
  color: #93a4c3;
  font-size: .84rem;
  font-weight: 600;
}
.module-card-catalog h3,
.module-card-catalog p {
  position: relative;
  z-index: 1;
}
.module-card-catalog h3 {
  margin-bottom: 12px;
  font-size: 2rem;
  line-height: 1.04;
}
.module-card-catalog p {
  color: #b8c2d8;
  margin-bottom: 0;
  line-height: 1.55;
  min-height: 72px;
}
.module-price {
  position: relative;
  z-index: 1;
  font-size: 1.2rem;
  letter-spacing: -.02em;
}
.module-accent-line {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 10px;
  height: 4px;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(90deg, rgba(124,58,237,.90), rgba(56,189,248,.72));
  opacity: .82;
}
@media (max-width: 720px) {
  .all-games-stack {
    min-width: 124px;
  }
  .all-games-stack .game-option-logo-lg {
    width: 42px;
    height: 42px;
  }
  .module-bottomline {
    align-items: flex-start;
    flex-direction: column;
  }
  .module-card-catalog {
    min-height: auto;
    padding: 24px;
    border-radius: 24px;
  }
  .module-card-catalog h3 {
    font-size: 1.72rem;
  }
  .module-card-catalog p {
    min-height: 0;
  }
  .module-card-catalog .btn {
    width: 100%;
    justify-content: center;
  }
}


/* Service advantages hero */
.hero-service-shell {
  max-width: 540px;
}

.hero-service-head {
  margin-bottom: 18px;
}

.hero-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-adv-card-service {
  min-height: 172px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
}

.hero-adv-card-service::before {
  display: none;
}

.hero-adv-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 14px;
  color: #8b5cf6;
  background: linear-gradient(135deg, rgba(139,92,246,.18), rgba(34,211,238,.14));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.hero-adv-icon svg {
  width: 22px;
  height: 22px;
}

.hero-adv-card-service strong {
  font-size: 17px;
  margin-bottom: 8px;
}

.hero-adv-card-service p {
  font-size: 14px;
  line-height: 1.6;
}

.hero-service-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-service-footer span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.8);
  font-size: 12px;
  font-weight: 700;
}

/* Advantages page */
.advantages-grid {
  gap: 18px;
}

.advantage-service-card {
  min-height: 100%;
  padding: 26px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(124,58,237,.12), transparent 34%),
    linear-gradient(180deg, rgba(17,24,42,.92), rgba(9,14,30,.96));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
}

.advantage-service-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  margin-bottom: 18px;
  color: #b794f6;
  background: linear-gradient(135deg, rgba(124,58,237,.2), rgba(34,211,238,.16));
  border: 1px solid rgba(255,255,255,.08);
}

.advantage-service-icon svg {
  width: 28px;
  height: 28px;
}

.advantage-service-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: #22d3ee;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.advantage-service-card h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.advantage-service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

@media (max-width: 980px) {
  .hero-service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero-service-footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .advantage-service-card {
    padding: 22px;
  }

  .advantage-service-card h3 {
    font-size: 21px;
  }
}


/* Hero service code preview */
.hero-code-shell {
  max-width: 560px;
}

.hero-code-head {
  margin-bottom: 16px;
}

.hero-code-window {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(9,14,28,.98), rgba(12,17,34,.94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 20px 40px rgba(0,0,0,.26);
}

.hero-code-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
}

.hero-code-topbar > span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
}

.hero-code-topbar > span:nth-child(1) { background: #fb7185; }
.hero-code-topbar > span:nth-child(2) { background: #fbbf24; }
.hero-code-topbar > span:nth-child(3) { background: #34d399; }

.hero-code-file {
  display: none;
}

.hero-code-block {
  margin: 0;
  padding: 18px 18px 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  line-height: 1.8;
  color: #dbe8ff;
  white-space: pre-wrap;
}

.hero-code-block code,
.hero-code-block .code-line {
  display: block;
}

.hero-code-block .code-keyword { color: #7dd3fc; }
.hero-code-block .code-class { color: #c4b5fd; }
.hero-code-block .code-string { color: #86efac; }
.hero-code-block .code-operator { color: #f9a8d4; }
.hero-code-block .code-punct { color: rgba(255,255,255,.86); }

.code-caret {
  display: inline-block;
  width: 8px;
  height: 1.15em;
  margin-left: 4px;
  vertical-align: -2px;
  border-radius: 2px;
  background: linear-gradient(180deg, #22d3ee, #8b5cf6);
  box-shadow: 0 0 16px rgba(34,211,238,.35);
  animation: heroCaretBlink 1.2s steps(1) infinite;
}

@keyframes heroCaretBlink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: .2; }
}

.hero-service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.hero-service-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.86);
  font-size: 12px;
  font-weight: 700;
}

.hero-service-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22d3ee, #8b5cf6);
  box-shadow: 0 0 14px rgba(34,211,238,.3);
}

@media (max-width: 980px) {
  .hero-code-shell {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .hero-code-block {
    padding: 16px 14px 18px;
    font-size: 12px;
    line-height: 1.7;
  }

  .hero-service-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .hero-service-chips {
    grid-template-columns: 1fr;
  }

  .hero-code-file {
    font-size: 11px;
  }
}


 .hero-code-shell-visual {
  max-width: 580px;
}

.hero-code-window-visual {
  position: relative;
  border-radius: 30px;
  border-color: rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 84% 14%, rgba(34,211,238,.12), transparent 22%),
    radial-gradient(circle at 12% 88%, rgba(139,92,246,.13), transparent 24%),
    linear-gradient(180deg, rgba(6,10,23,.985), rgba(10,15,30,.965));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    inset 0 -18px 36px rgba(15,23,42,.32),
    0 26px 60px rgba(0,0,0,.34);
}

.hero-code-window-visual::after {
  background:
    linear-gradient(90deg, rgba(255,255,255,.03), transparent 16%),
    radial-gradient(circle at 84% 14%, rgba(34,211,238,.12), transparent 18%),
    radial-gradient(circle at 18% 86%, rgba(139,92,246,.12), transparent 18%);
}

.hero-code-editor-visual-writing {
  position: relative;
  grid-template-columns: 62px minmax(0, 1fr);
  min-height: 500px;
}

.hero-code-editor-visual-writing::before {
  content: "";
  position: absolute;
  top: 26px;
  right: 28px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,.10), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
}

.hero-code-gutter {
  padding: 26px 0 28px 18px;
}

.hero-code-block-writing {
  margin: 0;
  padding: 28px 28px 32px;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-code-block-writing code {
  min-height: 100%;
}

.code-line-write {
  width: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  filter: blur(2px);
  animation: heroCodeWrite 1.15s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: var(--line-delay, 0s);
  animation-play-state: paused;
}

[data-hero-code-preview].is-active .code-line-write {
  animation-play-state: running;
}

.code-line-current {
  position: relative;
}

.code-line-current::before {
  content: "";
  position: absolute;
  inset: -4px -10px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(124,58,237,.10), rgba(34,211,238,.05));
  opacity: 0;
  animation: heroCurrentLine 1.6s ease forwards;
  animation-delay: calc(var(--line-delay, 0s) + .55s);
  animation-play-state: paused;
}

[data-hero-code-preview].is-active .code-line-current::before {
  animation-play-state: running;
}

.code-line-current > * {
  position: relative;
  z-index: 1;
}

[data-hero-code-preview] .code-caret {
  opacity: 0;
  animation-play-state: paused;
}

[data-hero-code-preview].is-active .code-caret {
  opacity: 1;
  animation-play-state: running;
}

@keyframes heroCodeWrite {
  0% {
    width: 0;
    opacity: 0;
    filter: blur(2px);
  }
  15% {
    opacity: .92;
  }
  100% {
    width: 100%;
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes heroCurrentLine {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@media (max-width: 720px) {
  .hero-code-editor-visual-writing {
    grid-template-columns: 46px minmax(0, 1fr);
    min-height: 420px;
  }

  .hero-code-block-writing {
    padding: 20px 16px 24px;
  }
}


/* refined hero code preview */
.hero-panel-code {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.hero-code-shell-visual {
  max-width: 660px;
  width: 100%;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.hero-code-window-visual {
  width: 100%;
  min-width: 0;
  border-radius: 34px;
}

.hero-code-editor-visual-writing {
  grid-template-columns: 68px minmax(0, 1fr);
  min-height: 620px;
}

.hero-code-gutter {
  padding: 28px 0 30px 22px;
}

.hero-code-block-writing {
  padding: 30px 34px 34px;
  font-size: 14px;
  line-height: 2.05;
}

.code-line-write {
  animation-duration: 1.45s;
}

@media (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 500px) !important;
  }
}

@media (min-width: 1201px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 560px) !important;
  }
}

@media (max-width: 980px) {
  .hero-panel-code {
    justify-content: stretch;
  }

  .hero-code-shell-visual {
    max-width: 100%;
  }

  .hero-code-editor-visual-writing {
    min-height: 560px;
  }
}

@media (max-width: 720px) {
  .hero-code-window-visual {
    border-radius: 28px;
  }

  .hero-code-editor-visual-writing {
    grid-template-columns: 52px minmax(0, 1fr);
    min-height: 470px;
  }

  .hero-code-gutter {
    padding: 22px 0 24px 14px;
  }

  .hero-code-block-writing {
    padding: 24px 20px 26px;
    font-size: 12px;
    line-height: 1.95;
  }
}


/* final hero code preview cleanup */
.hero-panel-code {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.hero-code-window-visual {
  width: min(100%, 520px);
  min-width: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(99, 122, 190, 0.18);
  background: linear-gradient(180deg, rgba(6, 11, 24, 0.98), rgba(7, 12, 28, 0.96));
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255,255,255,0.04);
}

.hero-code-window-visual::before,
.hero-code-window-visual::after,
.hero-code-editor-visual-writing::before {
  display: none !important;
}

.hero-code-topbar {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: linear-gradient(180deg, rgba(10, 16, 34, 0.96), rgba(8, 14, 29, 0.92));
}

.hero-code-editor-visual-writing {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  min-height: 430px;
}

.hero-code-gutter {
  padding: 20px 10px 20px 18px;
  border-right: 1px solid rgba(255,255,255,0.04);
  background: linear-gradient(180deg, rgba(10, 14, 30, 0.92), rgba(6, 10, 24, 0.88));
  color: rgba(148, 163, 184, 0.62);
  font-size: 12px;
  line-height: 1.72;
  font-weight: 700;
  letter-spacing: .04em;
}

.hero-code-gutter span {
  display: block;
  text-align: right;
}

.hero-code-block-writing {
  margin: 0;
  padding: 20px 22px 22px;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.hero-code-block-writing pre,
.hero-code-block-writing code {
  margin: 0;
  display: block;
  white-space: pre-wrap;
}

.hero-code-block-writing code {
  min-height: 388px;
  color: #dbe7ff;
  font-size: 14px;
  line-height: 1.72;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.hero-code-line {
  display: block;
  min-height: 1.72em;
}

.hero-code-char {
  opacity: 0;
  animation: heroCodeChar .04s linear forwards;
  animation-play-state: paused;
}

[data-hero-code-preview].is-active .hero-code-char {
  animation-play-state: running;
}

.hero-code-caret-inline {
  display: inline-block;
  width: 8px;
  height: 1.08em;
  margin-left: 2px;
  border-radius: 3px;
  vertical-align: -0.18em;
  background: linear-gradient(180deg, #7c3aed, #22d3ee);
  box-shadow: 0 0 12px rgba(34,211,238,.34);
  animation: blinkCaret 1s step-end infinite;
}

.hero-code-token-keyword { color: #7dd3fc; }
.hero-code-token-class { color: #c4b5fd; }
.hero-code-token-variable { color: #f9a8d4; }
.hero-code-token-string { color: #86efac; }
.hero-code-token-method { color: #dbeafe; }
.hero-code-token-punct { color: rgba(255,255,255,.88); }
.hero-code-token-comment { color: rgba(148,163,184,.72); }

@keyframes heroCodeChar {
  from { opacity: 0; filter: blur(2px); }
  to { opacity: 1; filter: blur(0); }
}

@keyframes blinkCaret {
  50% { opacity: 0; }
}

@media (min-width: 1201px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 520px) !important;
  }
}

@media (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 470px) !important;
  }
}

@media (max-width: 980px) {
  .hero-panel-code { justify-content: stretch; }
  .hero-code-window-visual { width: 100%; }
  .hero-code-editor-visual-writing { min-height: 390px; }
}

@media (max-width: 720px) {
  .hero-code-window-visual {
    border-radius: 20px;
    width: 100%;
  }

  .hero-code-editor-visual-writing {
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 320px;
  }

  .hero-code-gutter {
    padding: 16px 8px 16px 10px;
    font-size: 11px;
  }

  .hero-code-block-writing {
    padding: 16px 14px 18px;
  }

  .hero-code-block-writing code {
    min-height: 0;
    font-size: 12px;
    line-height: 1.62;
  }
}


/* hero code preview final fix */

.hero-panel-code {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  align-items: flex-start !important;
}

.hero-code-window-visual {
  width: min(100%, 430px) !important;
  border-radius: 22px !important;
  border: 1px solid rgba(86, 108, 170, 0.22) !important;
  background: linear-gradient(180deg, rgba(5, 10, 24, 0.98), rgba(7, 12, 28, 0.96)) !important;
  box-shadow: 0 18px 44px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.04) !important;
}

.hero-code-topbar {
  padding: 12px 16px !important;
}

.hero-code-editor-visual-writing {
  grid-template-columns: 48px minmax(0, 1fr) !important;
  min-height: 360px !important;
}

.hero-code-gutter {
  padding: 16px 8px 16px 12px !important;
  font-size: 11px !important;
  line-height: 1.8 !important;
}

.hero-code-block-writing {
  padding: 16px 18px 18px !important;
}

.hero-code-block-writing code {
  min-height: 0 !important;
  font-size: 13px !important;
  line-height: 1.8 !important;
}

.hero-code-line {
  min-height: 1.8em !important;
}

@media (min-width: 1201px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 430px) !important;
  }
}

@media (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 410px) !important;
  }
}

@media (max-width: 980px) {
  .hero-panel-code {
    width: 100%;
  }

  .hero-code-window-visual {
    width: 100% !important;
  }
}


/* hero code preview final fix */
.hero-panel-code {
  align-items: flex-start;
}

.hero-code-window-visual {
  width: min(100%, 470px);
  border-radius: 22px;
  border: 1px solid rgba(116, 144, 214, 0.16);
  background: linear-gradient(180deg, rgba(5, 10, 24, 0.985), rgba(6, 12, 28, 0.97));
  box-shadow: 0 26px 60px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.04);
}

.hero-code-window-visual::before,
.hero-code-window-visual::after,
.hero-code-editor-visual-writing::before {
  display: none !important;
}

.hero-code-topbar {
  padding: 12px 16px;
}

.hero-code-editor-visual-writing {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  min-height: 360px;
}

.hero-code-gutter {
  padding: 18px 8px 18px 14px;
  border-right: 1px solid rgba(255,255,255,.04);
  color: rgba(148,163,184,.56);
  font-size: 12px;
  line-height: 1.78;
}

.hero-code-block-writing {
  padding: 18px 18px 20px;
}

.hero-code-block-writing pre {
  margin: 0;
}

.hero-code-block-writing code {
  display: block;
  min-height: 320px;
  white-space: pre-wrap;
  word-break: break-word;
  color: #dbe7ff;
  font-size: 13px;
  line-height: 1.78;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.hero-code-caret-inline {
  margin-left: 1px;
}

@media (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 470px) !important;
  }
}

@media (max-width: 980px) {
  .hero-code-window-visual {
    width: 100%;
  }

  .hero-code-editor-visual-writing {
    min-height: 330px;
  }
}

@media (max-width: 720px) {
  .hero-code-window-visual {
    border-radius: 20px;
  }

  .hero-code-editor-visual-writing {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 290px;
  }

  .hero-code-gutter {
    padding: 14px 6px 14px 10px;
    font-size: 11px;
  }

  .hero-code-block-writing {
    padding: 14px 14px 16px;
  }

  .hero-code-block-writing code {
    min-height: 250px;
    font-size: 11.5px;
    line-height: 1.7;
  }
}


/* final hero code preview stable fix */
.hero-grid {
  align-items: center !important;
}

.hero-panel-code {
  justify-content: center !important;
  align-self: center !important;
  margin-top: 34px !important;
}

.hero-code-window-visual {
  width: min(100%, 470px) !important;
  max-width: 470px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(79, 104, 168, 0.22) !important;
  background: linear-gradient(180deg, rgba(5, 10, 24, 0.98), rgba(7, 12, 27, 0.98)) !important;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255,255,255,.04) !important;
  overflow: hidden !important;
}

.hero-code-editor-visual-writing {
  grid-template-columns: 58px minmax(0, 1fr) !important;
  min-height: 408px !important;
}

.hero-code-gutter {
  padding: 18px 10px 18px 14px !important;
  font-size: 12px !important;
  line-height: 1.72 !important;
}

.hero-code-block-writing {
  padding: 18px 20px 20px !important;
}

.hero-code-block-writing pre {
  margin: 0 !important;
}

.hero-code-block-writing code {
  min-height: 360px !important;
  color: #dbe7ff !important;
  font-size: 13.5px !important;
  line-height: 1.72 !important;
  white-space: pre-wrap !important;
  word-break: break-word !important;
}

.hero-code-caret-inline {
  width: 9px !important;
  height: 1.12em !important;
  margin-left: 2px !important;
}

@media (max-width: 1200px) {
  .hero-panel-code {
    margin-top: 18px !important;
  }
  .hero-code-window-visual {
    width: min(100%, 430px) !important;
    max-width: 430px !important;
  }
}

@media (max-width: 980px) {
  .hero-grid {
    align-items: start !important;
  }
  .hero-panel-code {
    margin-top: 8px !important;
    width: 100% !important;
  }
  .hero-code-window-visual {
    width: 100% !important;
    max-width: none !important;
  }
}


/* hero code preview final repair */
.hero-grid {
  align-items: center !important;
}

.hero-panel-code {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  padding: 0 !important;
  margin-top: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.hero-code-window-visual {
  width: min(100%, 560px) !important;
  max-width: 560px !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  border: 1px solid rgba(92, 117, 184, 0.24) !important;
  background: linear-gradient(180deg, rgba(4,10,24,.98), rgba(6,12,30,.97)) !important;
  box-shadow: 0 24px 56px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.04) !important;
}

.hero-code-window-visual::before,
.hero-code-window-visual::after,
.hero-code-editor-visual-writing::before,
.hero-code-block-writing::before,
.hero-code-block-writing::after {
  display: none !important;
  content: none !important;
}

.hero-code-topbar {
  padding: 14px 16px !important;
  border-bottom: 1px solid rgba(255,255,255,.05) !important;
  background: linear-gradient(180deg, rgba(10,15,34,.92), rgba(7,12,28,.88)) !important;
}

.hero-code-editor-visual-writing {
  display: grid !important;
  grid-template-columns: 56px minmax(0,1fr) !important;
  min-height: 420px !important;
}

.hero-code-gutter {
  padding: 18px 10px 18px 14px !important;
  border-right: 1px solid rgba(255,255,255,.04) !important;
  background: rgba(7,11,24,.55) !important;
  color: rgba(148,163,184,.58) !important;
  font-size: 12px !important;
  line-height: 1.75 !important;
  font-weight: 700 !important;
}
.hero-code-gutter span { display:block; text-align:right; }

.hero-code-block-writing {
  padding: 18px 20px 20px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.hero-code-block-writing pre,
.hero-code-block-writing code {
  margin: 0 !important;
  display: block !important;
  white-space: pre-wrap !important;
  word-break: break-word !important;
}

.hero-code-block-writing code {
  min-height: 382px !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace !important;
  font-size: 13.5px !important;
  line-height: 1.75 !important;
  color: #dbe7ff !important;
}

.hero-code-line {
  display: block !important;
  min-height: 1.75em !important;
}

.hero-code-caret-inline {
  display: inline-block !important;
  width: 8px !important;
  height: 1.08em !important;
  margin-left: 2px !important;
  vertical-align: -0.16em !important;
  border-radius: 3px !important;
  background: linear-gradient(180deg, #7c3aed, #22d3ee) !important;
  box-shadow: 0 0 10px rgba(34,211,238,.34) !important;
  animation: blinkCaret 1s step-end infinite !important;
}

@media (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px) !important;
  }
  .hero-code-window-visual {
    width: min(100%, 520px) !important;
    max-width: 520px !important;
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
    align-items: start !important;
  }
  .hero-panel-code {
    justify-content: stretch !important;
    margin-top: 14px !important;
  }
  .hero-code-window-visual {
    width: 100% !important;
    max-width: none !important;
  }
}

@media (max-width: 720px) {
  .hero-code-window-visual {
    border-radius: 20px !important;
  }
  .hero-code-editor-visual-writing {
    grid-template-columns: 42px minmax(0,1fr) !important;
    min-height: 310px !important;
  }
  .hero-code-gutter {
    padding: 14px 6px 14px 10px !important;
    font-size: 11px !important;
  }
  .hero-code-block-writing {
    padding: 14px 14px 16px !important;
  }
  .hero-code-block-writing code {
    min-height: 270px !important;
    font-size: 11.5px !important;
    line-height: 1.7 !important;
  }
}


/* final hero code preview fix */
.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(500px, 620px) !important;
  align-items: center !important;
  gap: 40px !important;
}

.hero-panel-code {
  justify-self: end !important;
  width: 100% !important;
  max-width: 620px !important;
  margin-top: 24px !important;
}

.hero-code-window-visual {
  position: relative !important;
  width: 100% !important;
  min-height: 440px !important;
  border-radius: 26px !important;
  overflow: hidden !important;
  border: 1px solid rgba(83, 117, 255, 0.18) !important;
  background: linear-gradient(180deg, rgba(5,10,24,0.98), rgba(4,9,22,0.96)) !important;
  box-shadow: 0 18px 50px rgba(2, 8, 23, 0.42) !important;
}

.hero-code-window-visual::before,
.hero-code-window-visual::after,
.hero-code-editor-visual-writing::before {
  display: none !important;
  content: none !important;
}

.hero-code-topbar {
  padding: 16px 18px !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)) !important;
}

.hero-code-editor-visual-writing {
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr) !important;
  min-height: 390px !important;
  background: transparent !important;
}

.hero-code-gutter {
  padding: 18px 10px 22px 0 !important;
  border-right: 1px solid rgba(255,255,255,0.04) !important;
  background: rgba(255,255,255,0.01) !important;
}

.hero-code-gutter span {
  display: block !important;
  height: 1.7em !important;
  text-align: right !important;
  color: rgba(148,163,184,0.72) !important;
  font: 600 12px/1.7 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
}

.hero-code-block-writing {
  padding: 22px 24px 24px !important;
  background: transparent !important;
}

.hero-code-block-writing pre,
.hero-code-block-writing code {
  display: block !important;
  margin: 0 !important;
  white-space: pre-wrap !important;
  word-break: break-word !important;
}

.hero-code-block-writing code {
  position: relative !important;
  min-height: 344px !important;
  padding: 0 !important;
  color: #dbe7ff !important;
  font: 500 14px/1.72 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
}

.hero-code-block-writing code::after {
  content: '';
  display: inline-block;
  width: 9px;
  height: 1.05em;
  margin-left: 3px;
  vertical-align: -0.15em;
  border-radius: 2px;
  background: linear-gradient(180deg, #7c3aed, #22d3ee);
  box-shadow: 0 0 12px rgba(34,211,238,0.3);
  opacity: 0;
}

[data-hero-code-preview].is-active .hero-code-block-writing code::after {
  opacity: 1;
  animation: heroPreviewCaret 1s step-end infinite;
}

[data-hero-code-preview].is-finished .hero-code-block-writing code::after {
  opacity: 0.5;
}

@keyframes heroPreviewCaret {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0.2; }
}

@media (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 520px) !important;
    gap: 28px !important;
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
  }
  .hero-panel-code {
    max-width: 100% !important;
    margin-top: 0 !important;
  }
  .hero-code-window-visual {
    min-height: 380px !important;
  }
}


/* hero code preview final fix */
.hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(460px, 0.95fr);
  align-items: center;
}
.hero-panel-code-fixed {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  display: flex;
  justify-content: flex-end;
}
.hero-code-window-visual {
  width: min(100%, 620px) !important;
  min-height: 560px !important;
  border-radius: 30px !important;
  border: 1px solid rgba(58,78,120,.48) !important;
  background: linear-gradient(180deg, rgba(4,10,28,.98), rgba(3,8,24,.96)) !important;
  box-shadow: 0 24px 70px rgba(3,8,24,.5), inset 0 1px 0 rgba(255,255,255,.05) !important;
  overflow: hidden;
  position: relative;
}
.hero-code-window-visual::before,
.hero-code-window-visual::after,
.hero-code-editor-visual-writing::before,
.hero-code-block-writing::before,
.hero-code-block-writing::after {
  content: none !important;
}
.hero-code-topbar {
  height: 46px !important;
  padding: 0 18px !important;
  border-bottom: 1px solid rgba(58,78,120,.24) !important;
  background: rgba(8,14,32,.78) !important;
}
.hero-code-editor-visual-writing {
  min-height: 514px !important;
  display: grid !important;
  grid-template-columns: 64px minmax(0,1fr);
  align-items: stretch;
  background: transparent !important;
}
.hero-code-gutter {
  padding: 18px 10px 18px 0 !important;
  background: rgba(255,255,255,.015) !important;
  border-right: 1px solid rgba(58,78,120,.18) !important;
  color: rgba(148,163,184,.55) !important;
  font: 700 12px/1.9 'JetBrains Mono', 'Fira Code', monospace !important;
}
.hero-code-gutter span { display: block; text-align: right; }
.hero-code-block-writing {
  padding: 22px 26px !important;
  background: transparent !important;
  border: 0 !important;
  min-height: 100%;
}
.hero-code-block-writing pre {
  margin: 0 !important;
  min-height: 470px !important;
  width: 100%;
}
.hero-code-block-writing code {
  display: block !important;
  white-space: pre-wrap !important;
  word-break: break-word;
  color: #dbeafe !important;
  font: 500 15px/1.9 'JetBrains Mono', 'Fira Code', monospace !important;
  letter-spacing: .01em;
}
.hero-code-block-writing code::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 20px;
  margin-left: 3px;
  transform: translateY(3px);
  border-radius: 3px;
  background: linear-gradient(180deg, #8b5cf6, #22d3ee);
  opacity: 0;
}
[data-hero-code-preview].is-active .hero-code-block-writing code::after {
  opacity: 1;
  animation: heroCodeCaretBlink .9s steps(1,end) infinite;
}
[data-hero-code-preview].is-finished .hero-code-block-writing code::after {
  opacity: .55;
}
@keyframes heroCodeCaretBlink { 50% { opacity: 0; } }
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel-code-fixed { justify-content: center; }
  .hero-code-window-visual {
    width: min(100%, 760px) !important;
    min-height: 500px !important;
  }
}
@media (max-width: 720px) {
  .hero-code-window-visual {
    width: 100% !important;
    min-height: 390px !important;
    border-radius: 24px !important;
  }
  .hero-code-editor-visual-writing {
    grid-template-columns: 46px minmax(0,1fr);
    min-height: 344px !important;
  }
  .hero-code-block-writing {
    padding: 16px 16px 18px !important;
  }
  .hero-code-block-writing pre { min-height: 300px !important; }
  .hero-code-block-writing code { font-size: 13px !important; line-height: 1.8 !important; }
}


/* Hero code preview: final scoped stabilization */
.hero-panel-code-fixed .hero-code-window-visual {
  width: min(100%, 640px) !important;
  max-width: 640px !important;
  margin-left: auto !important;
  margin-right: 0 !important;
}

.hero-panel-code-fixed .hero-code-editor-visual-writing {
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr) !important;
  align-items: start !important;
  min-height: 360px !important;
  overflow: hidden !important;
}

.hero-panel-code-fixed .hero-code-gutter {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  padding: 26px 12px 26px 0 !important;
  user-select: none !important;
}

.hero-panel-code-fixed .hero-code-block-writing,
.hero-panel-code-fixed .hero-code-block-writing pre,
.hero-panel-code-fixed .hero-code-block-writing code {
  background: transparent !important;
}

.hero-panel-code-fixed .hero-code-block-writing {
  min-width: 0 !important;
  overflow: hidden !important;
}

.hero-panel-code-fixed .hero-code-block-writing pre {
  margin: 0 !important;
  min-height: 360px !important;
  padding: 26px 28px 26px 0 !important;
  overflow: auto !important;
}

.hero-panel-code-fixed .hero-code-block-writing code {
  display: block !important;
  white-space: pre !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
}

.hero-panel-code-fixed .hero-code-window-visual::before,
.hero-panel-code-fixed .hero-code-window-visual::after,
.hero-panel-code-fixed .hero-code-editor-visual-writing::before,
.hero-panel-code-fixed .hero-code-block-writing::before,
.hero-panel-code-fixed .hero-code-block-writing::after {
  display: none !important;
  content: none !important;
}

@media (max-width: 980px) {
  .hero-panel-code-fixed .hero-code-window-visual {
    width: 100% !important;
    max-width: none !important;
    margin-right: auto !important;
  }
}

/* Hero code preview: v12 alignment + larger visual typing */
.hero-grid {
  align-items: center !important;
}

.hero-panel-code-fixed {
  align-self: center !important;
  justify-content: center !important;
  width: 100% !important;
}

.hero-panel-code-fixed .hero-code-window-visual {
  width: min(100%, 720px) !important;
  max-width: 720px !important;
  min-height: 610px !important;
  margin-left: auto !important;
  margin-right: 0 !important;
}

.hero-panel-code-fixed .hero-code-topbar {
  height: 50px !important;
}

.hero-panel-code-fixed .hero-code-editor-visual-writing {
  grid-template-columns: 72px minmax(0, 1fr) !important;
  min-height: 560px !important;
  align-items: stretch !important;
}

.hero-panel-code-fixed .hero-code-gutter {
  padding: 28px 14px 28px 0 !important;
  font-size: 13px !important;
  line-height: 2.05 !important;
}

.hero-panel-code-fixed .hero-code-block-writing {
  padding: 0 !important;
}

.hero-panel-code-fixed .hero-code-block-writing pre {
  min-height: 560px !important;
  padding: 28px 34px 28px 0 !important;
}

.hero-panel-code-fixed .hero-code-block-writing code {
  font-size: 17px !important;
  line-height: 2.05 !important;
  letter-spacing: 0.012em !important;
}

.hero-panel-code-fixed .hero-code-block-writing code::after {
  width: 12px !important;
  height: 24px !important;
  margin-left: 5px !important;
  transform: translateY(4px) !important;
}

@media (max-width: 1180px) {
  .hero-panel-code-fixed {
    justify-content: center !important;
  }

  .hero-panel-code-fixed .hero-code-window-visual {
    width: min(100%, 760px) !important;
    max-width: 760px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 720px) {
  .hero-panel-code-fixed .hero-code-window-visual {
    min-height: 420px !important;
  }

  .hero-panel-code-fixed .hero-code-editor-visual-writing {
    grid-template-columns: 48px minmax(0, 1fr) !important;
    min-height: 370px !important;
  }

  .hero-panel-code-fixed .hero-code-gutter {
    padding: 18px 10px 18px 0 !important;
    font-size: 11px !important;
    line-height: 1.9 !important;
  }

  .hero-panel-code-fixed .hero-code-block-writing pre {
    min-height: 370px !important;
    padding: 18px 18px 18px 0 !important;
  }

  .hero-panel-code-fixed .hero-code-block-writing code {
    font-size: 14px !important;
    line-height: 1.85 !important;
  }
}


/* Hero code preview: v13 composition repair */
.hero-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 560px) !important;
  align-items: center !important;
  gap: 72px !important;
}

.hero-copy-fixed {
  min-width: 0 !important;
  max-width: 680px !important;
  position: relative !important;
  z-index: 2 !important;
}

.hero-copy-fixed h1 {
  max-width: 9.6ch !important;
  font-size: clamp(3.35rem, 5.1vw, 5.2rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.045em !important;
  margin: 14px 0 22px !important;
}

.hero-copy-fixed .lead {
  max-width: 560px !important;
}

.hero-panel-code-fixed {
  position: relative !important;
  z-index: 1 !important;
  justify-content: flex-end !important;
  align-self: center !important;
  min-width: 0 !important;
}

.hero-panel-code-fixed .hero-code-window-visual {
  width: min(100%, 560px) !important;
  max-width: 560px !important;
  min-height: 520px !important;
  margin: 0 0 0 auto !important;
  border-radius: 26px !important;
}

.hero-panel-code-fixed .hero-code-topbar {
  height: 44px !important;
}

.hero-panel-code-fixed .hero-code-editor-visual-writing {
  grid-template-columns: 58px minmax(0, 1fr) !important;
  min-height: 476px !important;
}

.hero-panel-code-fixed .hero-code-gutter {
  padding: 24px 12px 24px 0 !important;
  font-size: 12px !important;
  line-height: 1.95 !important;
}

.hero-panel-code-fixed .hero-code-block-writing pre {
  min-height: 476px !important;
  padding: 24px 28px 24px 0 !important;
}

.hero-panel-code-fixed .hero-code-block-writing code {
  font-size: 18px !important;
  line-height: 1.95 !important;
  font-weight: 600 !important;
  letter-spacing: 0.008em !important;
}

.hero-panel-code-fixed .hero-code-block-writing code::after {
  width: 13px !important;
  height: 25px !important;
  margin-left: 6px !important;
}

@media (max-width: 1280px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 500px) !important;
    gap: 52px !important;
  }

  .hero-copy-fixed h1 {
    font-size: clamp(3rem, 4.5vw, 4.5rem) !important;
    max-width: 10.2ch !important;
  }

  .hero-panel-code-fixed .hero-code-window-visual {
    width: min(100%, 500px) !important;
    max-width: 500px !important;
    min-height: 480px !important;
  }

  .hero-panel-code-fixed .hero-code-editor-visual-writing,
  .hero-panel-code-fixed .hero-code-block-writing pre {
    min-height: 436px !important;
  }

  .hero-panel-code-fixed .hero-code-block-writing code {
    font-size: 16px !important;
  }
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .hero-copy-fixed {
    max-width: none !important;
  }

  .hero-copy-fixed h1 {
    max-width: none !important;
    font-size: clamp(2.8rem, 8vw, 4.2rem) !important;
  }

  .hero-panel-code-fixed {
    justify-content: center !important;
  }

  .hero-panel-code-fixed .hero-code-window-visual {
    width: min(100%, 680px) !important;
    max-width: 680px !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 720px) {
  .hero-copy-fixed h1 {
    font-size: clamp(2.5rem, 11vw, 3.5rem) !important;
    line-height: 1.02 !important;
  }

  .hero-panel-code-fixed .hero-code-window-visual {
    min-height: 400px !important;
    border-radius: 22px !important;
  }

  .hero-panel-code-fixed .hero-code-editor-visual-writing,
  .hero-panel-code-fixed .hero-code-block-writing pre {
    min-height: 356px !important;
  }

  .hero-panel-code-fixed .hero-code-editor-visual-writing {
    grid-template-columns: 46px minmax(0, 1fr) !important;
  }

  .hero-panel-code-fixed .hero-code-block-writing code {
    font-size: 14px !important;
    line-height: 1.8 !important;
  }
}


/* Hero code preview: v14 visual refresh */
.hero-copy-fixed h1 {
  max-width: 11.5ch !important;
  font-size: clamp(3rem, 4.6vw, 4.6rem) !important;
  line-height: 1.02 !important;
}

.hero-code-topbar {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.hero-code-dots {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 0 0 auto !important;
}

.hero-code-title {
  display: inline-flex !important;
  align-items: center !important;
  height: 28px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(92, 117, 182, 0.28) !important;
  background: rgba(18, 27, 56, 0.72) !important;
  color: rgba(191, 219, 254, 0.92) !important;
  font: 700 12px/1 'Inter', system-ui, sans-serif !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

.hero-panel-code-fixed .hero-code-window-visual {
  background: radial-gradient(circle at top right, rgba(59,130,246,.14), transparent 32%), linear-gradient(180deg, rgba(3,9,26,.98), rgba(2,7,20,.98)) !important;
  border: 1px solid rgba(74, 102, 170, 0.45) !important;
}

.hero-panel-code-fixed .hero-code-editor-visual-writing {
  grid-template-columns: 60px minmax(0, 1fr) !important;
}

.hero-panel-code-fixed .hero-code-gutter {
  padding: 24px 10px 24px 0 !important;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)) !important;
}

.hero-panel-code-fixed .hero-code-block-writing {
  padding: 18px 18px 18px 0 !important;
}

.hero-panel-code-fixed .hero-code-block-writing pre {
  min-height: 440px !important;
  padding: 22px 24px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(75, 103, 171, 0.28) !important;
  background: linear-gradient(180deg, rgba(4, 12, 34, 0.92), rgba(3, 10, 28, 0.96)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
  overflow: hidden !important;
}

.hero-panel-code-fixed .hero-code-block-writing code {
  color: #e5eefc !important;
  font-size: 16px !important;
  line-height: 1.9 !important;
  font-weight: 600 !important;
}

.hero-code-token-keyword { color: #7dd3fc; }
.hero-code-token-variable { color: #c084fc; }
.hero-code-token-string { color: #86efac; }
.hero-code-token-method { color: #f8fafc; }
.hero-code-token-number { color: #f9a8d4; }
.hero-code-token-comment { color: rgba(148,163,184,.72); }
.hero-code-token-punct,
.hero-code-token-operator { color: #93c5fd; }

@media (max-width: 1100px) {
  .hero-copy-fixed h1 {
    max-width: none !important;
    font-size: clamp(2.7rem, 7.5vw, 4rem) !important;
  }

  .hero-panel-code-fixed .hero-code-block-writing pre {
    min-height: 380px !important;
  }
}

@media (max-width: 720px) {
  .hero-code-title {
    font-size: 10px !important;
    padding: 0 10px !important;
  }

  .hero-panel-code-fixed .hero-code-block-writing pre {
    padding: 16px 16px !important;
  }

  .hero-panel-code-fixed .hero-code-block-writing code {
    font-size: 13px !important;
    line-height: 1.8 !important;
  }
}


/* v15 terminal-style hero override */
.hero-copy-fixed h1 {
  max-width: 9ch !important;
  font-size: clamp(3.35rem, 7.3vw, 5.8rem) !important;
  line-height: 0.95 !important;
  letter-spacing: -0.055em !important;
}

.hero-copy-fixed .lead {
  max-width: 640px !important;
  font-size: 1.12rem !important;
}

.hero-panel-code-fixed {
  width: min(100%, 760px) !important;
  justify-self: end !important;
  align-self: center !important;
}

.hero-panel-code-fixed .hero-code-window-visual {
  width: min(100%, 760px) !important;
  min-height: 640px !important;
  border-radius: 30px !important;
  overflow: hidden !important;
  border: 1px solid rgba(75, 103, 171, 0.44) !important;
  background:
    radial-gradient(circle at 84% 14%, rgba(56, 189, 248, 0.08), transparent 24%),
    radial-gradient(circle at 18% 0%, rgba(168, 85, 247, 0.10), transparent 28%),
    linear-gradient(180deg, rgba(4,10,26,.98), rgba(3,8,22,.98)) !important;
  box-shadow: 0 34px 80px rgba(2, 6, 23, 0.48), inset 0 1px 0 rgba(255,255,255,.05) !important;
}

.hero-panel-code-fixed .hero-code-topbar {
  min-height: 58px !important;
  padding: 0 18px !important;
  justify-content: flex-start !important;
  background: linear-gradient(180deg, rgba(8,16,38,.92), rgba(5,11,28,.88)) !important;
  border-bottom: 1px solid rgba(79, 102, 163, 0.20) !important;
}

.hero-panel-code-fixed .hero-code-dots {
  margin-right: 0 !important;
}

.hero-panel-code-fixed .hero-code-title {
  display: none !important;
}

.hero-panel-code-fixed .hero-code-editor-visual-writing {
  grid-template-columns: 66px minmax(0, 1fr) !important;
  min-height: 582px !important;
  align-items: stretch !important;
}

.hero-panel-code-fixed .hero-code-gutter {
  padding: 32px 12px 28px 0 !important;
  text-align: right !important;
  color: rgba(137, 157, 196, 0.78) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015)) !important;
  border-right: 1px solid rgba(85, 103, 158, 0.18) !important;
}

.hero-panel-code-fixed .hero-code-gutter span {
  display: block !important;
  height: 30px !important;
  font: 700 12px/30px 'JetBrains Mono', 'Fira Code', monospace !important;
}

.hero-panel-code-fixed .hero-code-block-writing {
  display: flex !important;
  align-items: stretch !important;
  padding: 26px 26px 24px 16px !important;
}

.hero-panel-code-fixed .hero-code-block-writing pre {
  position: relative !important;
  flex: 1 1 auto !important;
  min-height: 500px !important;
  margin: 0 !important;
  padding: 26px 28px 28px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(86, 109, 166, 0.24) !important;
  background:
    linear-gradient(180deg, rgba(5,12,34,.96), rgba(3,9,26,.98)),
    linear-gradient(90deg, rgba(56, 189, 248, 0.02), rgba(168, 85, 247, 0.02)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    inset 0 0 0 1px rgba(255,255,255,.015),
    0 18px 40px rgba(2, 6, 23, 0.18) !important;
  overflow: hidden !important;
}

.hero-panel-code-fixed .hero-code-block-writing pre::before {
  content: '$ php artisan panel:build';
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(82, 110, 180, 0.28);
  background: rgba(14, 24, 52, 0.74);
  color: rgba(173, 191, 232, 0.92);
  font: 700 11px/1 'Inter', system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel-code-fixed .hero-code-block-writing code {
  display: block !important;
  min-height: 390px !important;
  color: #e8f1ff !important;
  font-family: 'JetBrains Mono', 'Fira Code', monospace !important;
  font-size: 18px !important;
  line-height: 1.72 !important;
  font-weight: 600 !important;
  white-space: pre-wrap !important;
  word-break: break-word !important;
}

.hero-panel-code-fixed .hero-code-block-writing code::after {
  width: 11px !important;
  height: 26px !important;
  border-radius: 5px !important;
  margin-left: 3px !important;
  background: linear-gradient(180deg, #a855f7, #22d3ee) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 0 18px rgba(34, 211, 238, 0.34) !important;
}

.hero-code-token-keyword { color: #7dd3fc !important; }
.hero-code-token-variable { color: #d8b4fe !important; }
.hero-code-token-string { color: #86efac !important; }
.hero-code-token-method { color: #f8fafc !important; }
.hero-code-token-number { color: #f9a8d4 !important; }
.hero-code-token-comment { color: #7c8ba7 !important; font-style: italic !important; }
.hero-code-token-punct { color: #cbd5e1 !important; }
.hero-code-token-operator { color: #67e8f9 !important; }

@media (max-width: 1200px) {
  .hero-panel-code-fixed,
  .hero-panel-code-fixed .hero-code-window-visual {
    width: min(100%, 700px) !important;
  }
}

@media (max-width: 1100px) {
  .hero-copy-fixed h1 {
    max-width: none !important;
    font-size: clamp(2.8rem, 7.6vw, 4.6rem) !important;
  }

  .hero-panel-code-fixed .hero-code-window-visual {
    min-height: 560px !important;
  }

  .hero-panel-code-fixed .hero-code-editor-visual-writing,
  .hero-panel-code-fixed .hero-code-block-writing pre {
    min-height: 470px !important;
  }
}

@media (max-width: 720px) {
  .hero-panel-code-fixed .hero-code-window-visual {
    min-height: 470px !important;
    border-radius: 24px !important;
  }

  .hero-panel-code-fixed .hero-code-editor-visual-writing {
    grid-template-columns: 54px minmax(0, 1fr) !important;
    min-height: 412px !important;
  }

  .hero-panel-code-fixed .hero-code-block-writing {
    padding: 16px 16px 16px 10px !important;
  }

  .hero-panel-code-fixed .hero-code-block-writing pre {
    min-height: 360px !important;
    padding: 18px 18px 20px !important;
  }

  .hero-panel-code-fixed .hero-code-block-writing code {
    font-size: 14px !important;
    line-height: 1.7 !important;
  }
}


/* v16 clean single-panel hero terminal override */
.hero-copy-fixed h1 {
  max-width: 9ch !important;
  font-size: clamp(3.3rem, 7vw, 5.6rem) !important;
  line-height: 0.96 !important;
  letter-spacing: -0.055em !important;
}

.hero-copy-fixed .lead {
  max-width: 640px !important;
  font-size: 1.08rem !important;
}

.hero-panel-code-fixed {
  width: min(100%, 820px) !important;
  justify-self: end !important;
  align-self: center !important;
}

.hero-panel-code-fixed .hero-code-window-visual {
  width: min(100%, 820px) !important;
  min-height: 620px !important;
  border-radius: 30px !important;
  overflow: hidden !important;
  border: 1px solid rgba(80, 105, 170, 0.34) !important;
  background:
    radial-gradient(circle at 85% 14%, rgba(34, 211, 238, 0.08), transparent 26%),
    radial-gradient(circle at 18% 0%, rgba(168, 85, 247, 0.09), transparent 30%),
    linear-gradient(180deg, rgba(5, 11, 28, 0.98), rgba(3, 8, 22, 0.99)) !important;
  box-shadow: 0 36px 90px rgba(2, 6, 23, 0.44), inset 0 1px 0 rgba(255,255,255,.05) !important;
}

.hero-panel-code-fixed .hero-code-window-visual::before,
.hero-panel-code-fixed .hero-code-window-visual::after,
.hero-panel-code-fixed .hero-code-editor-visual-writing::before,
.hero-panel-code-fixed .hero-code-block-writing::before,
.hero-panel-code-fixed .hero-code-block-writing::after,
.hero-panel-code-fixed .hero-code-block-writing pre::before,
.hero-panel-code-fixed .hero-code-block-writing pre::after {
  content: none !important;
  display: none !important;
}

.hero-panel-code-fixed .hero-code-topbar {
  min-height: 62px !important;
  padding: 0 20px !important;
  justify-content: flex-start !important;
  background: linear-gradient(180deg, rgba(9, 16, 38, 0.95), rgba(6, 12, 30, 0.90)) !important;
  border-bottom: 1px solid rgba(80, 104, 164, 0.20) !important;
}

.hero-panel-code-fixed .hero-code-editor-visual-writing {
  display: grid !important;
  grid-template-columns: 68px minmax(0, 1fr) !important;
  min-height: 558px !important;
  align-items: stretch !important;
  background: transparent !important;
}

.hero-panel-code-fixed .hero-code-gutter {
  padding: 30px 14px 26px 0 !important;
  color: rgba(137, 157, 196, 0.78) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)) !important;
  border-right: 1px solid rgba(84, 103, 158, 0.18) !important;
}

.hero-panel-code-fixed .hero-code-gutter span {
  display: block !important;
  height: 32px !important;
  font: 700 12px/32px 'JetBrains Mono', 'Fira Code', monospace !important;
  text-align: right !important;
}

.hero-panel-code-fixed .hero-code-block-writing {
  padding: 28px 30px 30px 22px !important;
  background: linear-gradient(180deg, rgba(3,10,28,.20), rgba(3,9,24,.04)) !important;
}

.hero-panel-code-fixed .hero-code-block-writing pre {
  margin: 0 !important;
  min-height: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.hero-panel-code-fixed .hero-code-block-writing code {
  display: block !important;
  min-height: 440px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #e9f2ff !important;
  background: transparent !important;
  font-family: 'JetBrains Mono', 'Fira Code', monospace !important;
  font-size: 19px !important;
  line-height: 1.68 !important;
  font-weight: 600 !important;
  white-space: pre-wrap !important;
  word-break: break-word !important;
}

.hero-panel-code-fixed .hero-code-block-writing code::after {
  width: 11px !important;
  height: 28px !important;
  border-radius: 6px !important;
  margin-left: 4px !important;
  background: linear-gradient(180deg, #8b5cf6, #22d3ee) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 0 18px rgba(34, 211, 238, 0.34) !important;
}

.hero-code-token-keyword { color: #7dd3fc !important; }
.hero-code-token-variable { color: #d8b4fe !important; }
.hero-code-token-string { color: #86efac !important; }
.hero-code-token-method { color: #f8fafc !important; }
.hero-code-token-number { color: #f9a8d4 !important; }
.hero-code-token-comment { color: #7c8ba7 !important; font-style: italic !important; }
.hero-code-token-punct { color: #cbd5e1 !important; }
.hero-code-token-operator { color: #67e8f9 !important; }

@media (max-width: 1200px) {
  .hero-panel-code-fixed,
  .hero-panel-code-fixed .hero-code-window-visual {
    width: min(100%, 760px) !important;
  }
}

@media (max-width: 1100px) {
  .hero-copy-fixed h1 {
    max-width: none !important;
    font-size: clamp(2.8rem, 7.4vw, 4.6rem) !important;
  }

  .hero-panel-code-fixed .hero-code-window-visual {
    min-height: 560px !important;
  }

  .hero-panel-code-fixed .hero-code-editor-visual-writing {
    min-height: 500px !important;
  }

  .hero-panel-code-fixed .hero-code-block-writing code {
    min-height: 380px !important;
    font-size: 17px !important;
  }
}

@media (max-width: 720px) {
  .hero-panel-code-fixed .hero-code-window-visual {
    min-height: 470px !important;
    border-radius: 24px !important;
  }

  .hero-panel-code-fixed .hero-code-editor-visual-writing {
    grid-template-columns: 52px minmax(0, 1fr) !important;
    min-height: 410px !important;
  }

  .hero-panel-code-fixed .hero-code-block-writing {
    padding: 18px 18px 18px 12px !important;
  }

  .hero-panel-code-fixed .hero-code-block-writing code {
    min-height: 320px !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
  }
}


/* v17 flatten hero code area: remove inner nested box */
.hero-panel-code-fixed {
  width: min(100%, 860px) !important;
}

.hero-panel-code-fixed .hero-code-window-visual {
  width: min(100%, 860px) !important;
}

.hero-panel-code-fixed .hero-code-editor-visual-writing {
  grid-template-columns: 66px minmax(0, 1fr) !important;
  min-height: 560px !important;
  padding: 0 !important;
}

.hero-panel-code-fixed .hero-code-gutter {
  padding: 34px 14px 30px 0 !important;
}

.hero-panel-code-fixed .hero-code-stage {
  margin: 0 !important;
  min-height: 100% !important;
  padding: 34px 34px 34px 26px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background:
    linear-gradient(180deg, rgba(6, 14, 34, 0.58), rgba(4, 10, 26, 0.30)),
    radial-gradient(circle at 100% 0%, rgba(34, 211, 238, 0.08), transparent 32%) !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.hero-panel-code-fixed .hero-code-stage::before,
.hero-panel-code-fixed .hero-code-stage::after {
  content: none !important;
  display: none !important;
}

.hero-panel-code-fixed .hero-code-stage code {
  display: block !important;
  min-height: 452px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: #eaf2ff !important;
  font-family: 'JetBrains Mono', 'Fira Code', monospace !important;
  font-size: 18px !important;
  line-height: 1.72 !important;
  font-weight: 600 !important;
  white-space: pre-wrap !important;
  word-break: break-word !important;
}

.hero-panel-code-fixed .hero-code-stage code::after {
  width: 11px !important;
  height: 28px !important;
  border-radius: 6px !important;
  margin-left: 4px !important;
  background: linear-gradient(180deg, #8b5cf6, #22d3ee) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 0 18px rgba(34, 211, 238, 0.34) !important;
}

@media (max-width: 1200px) {
  .hero-panel-code-fixed,
  .hero-panel-code-fixed .hero-code-window-visual {
    width: min(100%, 800px) !important;
  }
}

@media (max-width: 720px) {
  .hero-panel-code-fixed .hero-code-editor-visual-writing {
    grid-template-columns: 52px minmax(0, 1fr) !important;
    min-height: 420px !important;
  }

  .hero-panel-code-fixed .hero-code-stage {
    padding: 20px 18px 20px 12px !important;
  }

  .hero-panel-code-fixed .hero-code-stage code {
    min-height: 320px !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
  }
}


/* Hero code preview redesign v18 */
.hero-grid {
  grid-template-columns: minmax(0, .94fr) minmax(560px, 1.08fr) !important;
  gap: 56px !important;
  align-items: center !important;
}

.hero-copy-fixed {
  max-width: 620px;
}

.hero-copy-fixed h1 {
  max-width: 9.2ch;
  line-height: .94;
  letter-spacing: -.045em;
}

.hero-panel-code-fixed {
  align-items: center !important;
  justify-content: flex-end !important;
}

.hero-panel-code-fixed .hero-code-window-visual {
  width: min(100%, 760px) !important;
  max-width: 760px !important;
  min-height: 540px !important;
  border-radius: 28px !important;
  border: 1px solid rgba(86, 110, 165, .34) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(99, 102, 241, .16), transparent 26%),
    radial-gradient(circle at 0% 100%, rgba(34, 211, 238, .10), transparent 30%),
    linear-gradient(180deg, rgba(5, 11, 29, .98), rgba(3, 8, 21, .98)) !important;
  box-shadow:
    0 30px 80px rgba(2, 6, 23, .55),
    inset 0 1px 0 rgba(255,255,255,.06),
    inset 0 -1px 0 rgba(255,255,255,.03) !important;
}

.hero-panel-code-fixed .hero-code-window-visual::before {
  content: '' !important;
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.03), transparent 32%, transparent 68%, rgba(34,211,238,.035));
  pointer-events: none;
}

.hero-panel-code-fixed .hero-code-topbar {
  height: 52px !important;
  padding: 0 18px !important;
  border-bottom: 1px solid rgba(86,110,165,.20) !important;
  background: linear-gradient(180deg, rgba(11,17,38,.92), rgba(8,14,32,.78)) !important;
  display: flex !important;
  align-items: center !important;
}

.hero-panel-code-fixed .hero-code-topbar::after {
  content: 'live preview';
  margin-left: auto;
  color: rgba(148,163,184,.72);
  font: 700 11px/1 'Inter', system-ui, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero-panel-code-fixed .hero-code-dots {
  display: inline-flex;
  gap: 8px;
}

.hero-panel-code-fixed .hero-code-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 0 18px rgba(255,255,255,.08);
}

.hero-panel-code-fixed .hero-code-editor-visual-writing {
  grid-template-columns: 58px minmax(0, 1fr) !important;
  min-height: 488px !important;
  background: transparent !important;
}

.hero-panel-code-fixed .hero-code-gutter {
  padding: 28px 12px 28px 0 !important;
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01)) !important;
  border-right: 1px solid rgba(86,110,165,.16) !important;
  color: rgba(148,163,184,.46) !important;
  font: 700 12px/2.05 'JetBrains Mono', 'Fira Code', monospace !important;
}

.hero-panel-code-fixed .hero-code-stage {
  position: relative;
  margin: 0 !important;
  min-height: 100% !important;
  padding: 30px 36px 34px 24px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.hero-panel-code-fixed .hero-code-stage::after {
  content: '' !important;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,.24), transparent);
  pointer-events: none;
}

.hero-panel-code-fixed .hero-code-stage code {
  min-height: 420px !important;
  color: #e8f1ff !important;
  font-family: 'JetBrains Mono', 'Fira Code', monospace !important;
  font-size: 18px !important;
  line-height: 2 !important;
  font-weight: 700 !important;
  text-shadow: 0 0 18px rgba(59,130,246,.06);
}

.hero-code-token-keyword { color: #7dd3fc; }
.hero-code-token-variable { color: #f5b8ff; }
.hero-code-token-string { color: #97f7b9; }
.hero-code-token-method { color: #dbeafe; }
.hero-code-token-operator { color: #67e8f9; }
.hero-code-token-number { color: #fdba74; }
.hero-code-token-comment { color: rgba(148,163,184,.74); }

.hero-panel-code-fixed .hero-code-stage code::after {
  width: 12px !important;
  height: 30px !important;
  margin-left: 6px !important;
  border-radius: 6px !important;
  transform: translateY(5px) !important;
  background: linear-gradient(180deg, #8b5cf6, #22d3ee) !important;
  box-shadow: 0 0 20px rgba(34,211,238,.33) !important;
}

@media (max-width: 1280px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(480px, .96fr) !important;
    gap: 40px !important;
  }

  .hero-panel-code-fixed .hero-code-window-visual {
    width: min(100%, 680px) !important;
    min-height: 500px !important;
  }
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-copy-fixed h1 {
    max-width: 12ch;
  }

  .hero-panel-code-fixed {
    justify-content: center !important;
  }
}

@media (max-width: 720px) {
  .hero-panel-code-fixed .hero-code-window-visual {
    min-height: 390px !important;
  }

  .hero-panel-code-fixed .hero-code-topbar {
    height: 46px !important;
  }

  .hero-panel-code-fixed .hero-code-topbar::after {
    font-size: 10px;
    letter-spacing: .14em;
  }

  .hero-panel-code-fixed .hero-code-editor-visual-writing {
    grid-template-columns: 46px minmax(0, 1fr) !important;
    min-height: 340px !important;
  }

  .hero-panel-code-fixed .hero-code-stage {
    padding: 20px 16px 22px 14px !important;
  }

  .hero-panel-code-fixed .hero-code-stage code {
    min-height: 280px !important;
    font-size: 14px !important;
    line-height: 1.82 !important;
  }
}


/* v19: remove extra pre wrapper and render code directly in the editor */
.hero-panel-code-fixed .hero-code-editor-visual-writing {
  align-items: stretch !important;
}

.hero-panel-code-fixed .hero-code-canvas {
  display: block !important;
  margin: 0 !important;
  min-height: 420px !important;
  padding: 30px 36px 34px 24px !important;
  white-space: pre-wrap !important;
  word-break: break-word !important;
  align-self: stretch !important;
  color: #e8f1ff !important;
  font-family: 'JetBrains Mono', 'Fira Code', monospace !important;
  font-size: 18px !important;
  line-height: 2 !important;
  font-weight: 700 !important;
  text-shadow: 0 0 18px rgba(59,130,246,.06);
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.hero-panel-code-fixed .hero-code-canvas::before {
  content: '' !important;
  position: absolute;
  left: 58px;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,.24), transparent);
  pointer-events: none;
}

.hero-panel-code-fixed .hero-code-canvas::after {
  content: '' !important;
  display: inline-block !important;
  width: 12px !important;
  height: 30px !important;
  margin-left: 6px !important;
  border-radius: 6px !important;
  transform: translateY(5px) !important;
  background: linear-gradient(180deg, #8b5cf6, #22d3ee) !important;
  box-shadow: 0 0 20px rgba(34,211,238,.33) !important;
  vertical-align: middle !important;
  animation: heroCodeCaretBlink 1s steps(1, end) infinite;
}

[data-hero-code-preview].is-finished .hero-code-canvas::after {
  opacity: .45 !important;
}

@media (max-width: 720px) {
  .hero-panel-code-fixed .hero-code-canvas {
    min-height: 280px !important;
    padding: 20px 16px 22px 14px !important;
    font-size: 14px !important;
    line-height: 1.82 !important;
  }

  .hero-panel-code-fixed .hero-code-canvas::before {
    left: 46px;
  }
}

/* v20: colored dots, larger code, smaller hero title */
.hero-panel-code-fixed .hero-code-dots {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.hero-panel-code-fixed .hero-code-dots span {
  width: 11px !important;
  height: 11px !important;
  border-radius: 999px !important;
  display: block !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.10) inset,
    0 2px 8px rgba(0,0,0,.22) !important;
}

.hero-panel-code-fixed .hero-code-dots span:nth-child(1) {
  background: linear-gradient(180deg, #ff7b72, #ff5f57) !important;
}

.hero-panel-code-fixed .hero-code-dots span:nth-child(2) {
  background: linear-gradient(180deg, #ffd76a, #ffbd2e) !important;
}

.hero-panel-code-fixed .hero-code-dots span:nth-child(3) {
  background: linear-gradient(180deg, #4ade80, #28c840) !important;
}

.hero-copy-fixed h1 {
  max-width: 11.5ch !important;
  font-size: clamp(2.7rem, 3.7vw, 4.2rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -.038em !important;
}

.hero-copy-fixed .lead {
  max-width: 58ch !important;
}

.hero-panel-code-fixed .hero-code-window-visual {
  width: min(100%, 780px) !important;
  max-width: 780px !important;
}

.hero-panel-code-fixed .hero-code-canvas {
  min-height: 440px !important;
  font-size: 20px !important;
  line-height: 1.88 !important;
  font-weight: 700 !important;
  letter-spacing: -.012em !important;
}

.hero-panel-code-fixed .hero-code-canvas::after {
  width: 13px !important;
  height: 32px !important;
}

@media (max-width: 1100px) {
  .hero-copy-fixed h1 {
    max-width: 13ch !important;
    font-size: clamp(2.4rem, 7vw, 3.6rem) !important;
  }
}

@media (max-width: 720px) {
  .hero-panel-code-fixed .hero-code-dots span {
    width: 10px !important;
    height: 10px !important;
  }

  .hero-panel-code-fixed .hero-code-canvas {
    min-height: 300px !important;
    font-size: 15px !important;
    line-height: 1.76 !important;
  }
}


/* Hero code preview: v21 sizing tune */
.hero-copy-fixed h1 {
  max-width: 10.5ch !important;
  font-size: clamp(2.6rem, 4vw, 3.95rem) !important;
  line-height: 1.03 !important;
}

.hero-panel-code-fixed .hero-code-canvas,
.hero-panel-code-fixed [data-hero-code-output] {
  font-size: 15px !important;
  line-height: 1.78 !important;
  font-weight: 600 !important;
}

.hero-panel-code-fixed .hero-code-editor-visual-writing {
  min-height: 500px !important;
}

.hero-panel-code-fixed .hero-code-gutter span {
  margin-bottom: 2px !important;
}

@media (max-width: 1100px) {
  .hero-copy-fixed h1 {
    max-width: none !important;
    font-size: clamp(2.5rem, 7vw, 3.6rem) !important;
  }

  .hero-panel-code-fixed .hero-code-canvas,
  .hero-panel-code-fixed [data-hero-code-output] {
    font-size: 14px !important;
  }
}


/* v25: keep hero stable while long code flows inside the panel */
.hero-panel-code-fixed .hero-code-window-visual {
  width: min(100%, 760px) !important;
  max-width: 760px !important;
}

.hero-panel-code-fixed .hero-code-editor-visual-writing {
  height: 430px !important;
  min-height: 430px !important;
  max-height: 430px !important;
  overflow: auto !important;
  overscroll-behavior: contain !important;
  scrollbar-width: none !important;
}

.hero-panel-code-fixed .hero-code-editor-visual-writing::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
}

.hero-panel-code-fixed .hero-code-canvas,
.hero-panel-code-fixed [data-hero-code-output] {
  min-height: auto !important;
  padding: 26px 28px 28px 18px !important;
  font-size: 13px !important;
  line-height: 1.62 !important;
  font-weight: 600 !important;
  white-space: pre-wrap !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

.hero-panel-code-fixed .hero-code-canvas::after {
  width: 10px !important;
  height: 24px !important;
  margin-left: 5px !important;
}

.hero-panel-code-fixed .hero-code-gutter {
  padding: 24px 10px 24px 0 !important;
}

.hero-panel-code-fixed .hero-code-gutter span {
  font-size: 11px !important;
  line-height: 1.62 !important;
}

@media (max-width: 1100px) {
  .hero-panel-code-fixed .hero-code-editor-visual-writing {
    height: 390px !important;
    min-height: 390px !important;
    max-height: 390px !important;
  }

  .hero-panel-code-fixed .hero-code-canvas,
  .hero-panel-code-fixed [data-hero-code-output] {
    font-size: 12px !important;
    line-height: 1.58 !important;
    padding: 22px 18px 24px 14px !important;
  }
}


/* Final hero code preview stabilizer */
.hero-panel-code-fixed .hero-code-editor-visual-writing {
  display: grid !important;
  grid-template-columns: 64px minmax(0, 1fr) !important;
  align-items: start !important;
  align-content: start !important;
  overflow: hidden !important;
}
.hero-panel-code-fixed .hero-code-gutter {
  align-self: stretch !important;
  overflow: hidden !important;
}
.hero-panel-code-fixed .hero-code-canvas,
.hero-panel-code-fixed [data-hero-code-output] {
  display: block !important;
  align-self: start !important;
  min-width: 0 !important;
  min-height: auto !important;
  margin: 0 !important;
  white-space: pre-wrap !important;
}


/* v28: fix gutter clipping and sync line numbers with code scroll */
.hero-panel-code-fixed .hero-code-editor-visual-writing {
  grid-template-columns: 64px minmax(0, 1fr) !important;
  height: 430px !important;
  min-height: 430px !important;
  max-height: 430px !important;
  overflow: hidden !important;
}

.hero-panel-code-fixed .hero-code-gutter {
  position: relative !important;
  padding: 24px 10px 24px 0 !important;
  overflow: hidden !important;
}

.hero-panel-code-fixed .hero-code-gutter-track {
  position: absolute !important;
  top: 24px !important;
  right: 10px !important;
  left: 0 !important;
  will-change: transform !important;
}

.hero-panel-code-fixed .hero-code-gutter span {
  display: block !important;
  height: 1.62em !important;
  margin: 0 !important;
  line-height: 1.62 !important;
}

.hero-panel-code-fixed .hero-code-canvas,
.hero-panel-code-fixed [data-hero-code-output] {
  display: block !important;
  height: 430px !important;
  min-height: 430px !important;
  max-height: 430px !important;
  overflow: auto !important;
  scrollbar-width: none !important;
  padding: 24px 28px 24px 18px !important;
  white-space: pre-wrap !important;
  overflow-wrap: anywhere !important;
}

.hero-panel-code-fixed .hero-code-canvas::-webkit-scrollbar,
.hero-panel-code-fixed [data-hero-code-output]::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
}

@media (max-width: 1100px) {
  .hero-panel-code-fixed .hero-code-editor-visual-writing,
  .hero-panel-code-fixed .hero-code-canvas,
  .hero-panel-code-fixed [data-hero-code-output] {
    height: 390px !important;
    min-height: 390px !important;
    max-height: 390px !important;
  }
}


/* v29: VS Code style caret + smooth typing */
.hero-panel-code-fixed .hero-code-window-visual {
  width: min(100%, 780px) !important;
  max-width: 780px !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.10), transparent 34%),
    linear-gradient(180deg, rgba(5, 10, 28, 0.98), rgba(3, 7, 20, 0.98)) !important;
  border: 1px solid rgba(82, 110, 184, 0.38) !important;
  box-shadow: 0 28px 80px rgba(2, 6, 23, 0.42) !important;
}
.hero-panel-code-fixed .hero-code-topbar {
  height: 68px !important;
  padding: 0 20px !important;
  justify-content: space-between !important;
}
.hero-panel-code-fixed .hero-code-topbar::after {
  content: 'LIVE PREVIEW' !important;
  color: rgba(148, 163, 184, 0.82) !important;
  font: 700 11px/1 'Inter', system-ui, sans-serif !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
}
.hero-panel-code-fixed .hero-code-editor-visual-writing {
  grid-template-columns: 64px minmax(0, 1fr) !important;
  height: 430px !important;
  min-height: 430px !important;
  max-height: 430px !important;
  overflow: hidden !important;
  background: linear-gradient(90deg, rgba(7, 18, 46, 0.82) 0, rgba(7, 18, 46, 0.82) 64px, rgba(4, 9, 28, 0.16) 64px, rgba(4, 9, 28, 0.16) 100%) !important;
}
.hero-panel-code-fixed .hero-code-gutter {
  position: relative !important;
  padding: 24px 10px 24px 0 !important;
  border-right: 1px solid rgba(71, 85, 105, 0.22) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)) !important;
}
.hero-panel-code-fixed .hero-code-gutter-track {
  position: absolute !important;
  top: 24px !important;
  right: 10px !important;
  left: 0 !important;
  will-change: transform !important;
}
.hero-panel-code-fixed .hero-code-gutter span {
  display: block !important;
  height: 1.8em !important;
  margin: 0 !important;
  color: rgba(148, 163, 184, 0.72) !important;
  font: 700 12px/1.8 'JetBrains Mono', 'Fira Code', monospace !important;
  text-align: right !important;
}
.hero-panel-code-fixed .hero-code-canvas,
.hero-panel-code-fixed [data-hero-code-output] {
  display: block !important;
  box-sizing: border-box !important;
  height: 430px !important;
  min-height: 430px !important;
  max-height: 430px !important;
  margin: 0 !important;
  padding: 24px 26px 24px 22px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  scroll-behavior: smooth !important;
  scrollbar-width: none !important;
  color: #e5eefc !important;
  font-family: 'JetBrains Mono', 'Fira Code', monospace !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  background: transparent !important;
  text-shadow: 0 0 14px rgba(56, 189, 248, 0.05) !important;
}
.hero-panel-code-fixed .hero-code-canvas::-webkit-scrollbar,
.hero-panel-code-fixed [data-hero-code-output]::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
}
.hero-panel-code-fixed .hero-code-line {
  display: block !important;
  min-height: 1.8em !important;
  padding: 0 !important;
}
.hero-panel-code-fixed .hero-code-line.is-current {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.08), rgba(59, 130, 246, 0)) !important;
}
.hero-panel-code-fixed .hero-code-caret-inline {
  display: inline-block !important;
  width: 2px !important;
  height: 1.2em !important;
  margin-left: 2px !important;
  transform: translateY(0.16em) !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #8b5cf6, #22d3ee) !important;
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.42) !important;
  animation: heroCodeVsCursor 1.05s steps(1, end) infinite !important;
  vertical-align: baseline !important;
}
[data-hero-code-preview].is-finished .hero-code-caret-inline {
  opacity: 0.2 !important;
}
@keyframes heroCodeVsCursor {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}
.hero-panel-code-fixed .hero-code-token-keyword { color: #7dd3fc !important; }
.hero-panel-code-fixed .hero-code-token-variable { color: #e9a8ff !important; }
.hero-panel-code-fixed .hero-code-token-operator { color: #93c5fd !important; }
.hero-panel-code-fixed .hero-code-token-string { color: #86efac !important; }
.hero-panel-code-fixed .hero-code-token-method { color: #f8fafc !important; }
.hero-panel-code-fixed .hero-code-token-number { color: #fbbf24 !important; }
.hero-panel-code-fixed .hero-code-token-comment { color: rgba(148, 163, 184, 0.72) !important; }
.hero-panel-code-fixed .hero-code-token-punct { color: rgba(226, 232, 240, 0.92) !important; }
@media (max-width: 1100px) {
  .hero-panel-code-fixed .hero-code-window-visual {
    width: min(100%, 700px) !important;
    max-width: 700px !important;
  }
  .hero-panel-code-fixed .hero-code-editor-visual-writing,
  .hero-panel-code-fixed .hero-code-canvas,
  .hero-panel-code-fixed [data-hero-code-output] {
    height: 390px !important;
    min-height: 390px !important;
    max-height: 390px !important;
  }
}
@media (max-width: 720px) {
  .hero-panel-code-fixed .hero-code-topbar {
    height: 56px !important;
    padding: 0 16px !important;
  }
  .hero-panel-code-fixed .hero-code-editor-visual-writing {
    grid-template-columns: 48px minmax(0, 1fr) !important;
    height: 320px !important;
    min-height: 320px !important;
    max-height: 320px !important;
    background: linear-gradient(90deg, rgba(7, 18, 46, 0.82) 0, rgba(7, 18, 46, 0.82) 48px, rgba(4, 9, 28, 0.16) 48px, rgba(4, 9, 28, 0.16) 100%) !important;
  }
  .hero-panel-code-fixed .hero-code-gutter span {
    font-size: 11px !important;
  }
  .hero-panel-code-fixed .hero-code-canvas,
  .hero-panel-code-fixed [data-hero-code-output] {
    height: 320px !important;
    min-height: 320px !important;
    max-height: 320px !important;
    padding: 20px 16px 20px 16px !important;
    font-size: 12.5px !important;
    line-height: 1.72 !important;
  }
}

/* final v30: remove duplicate block caret, keep only inline VS Code-style caret */
.hero-code-block-writing code::after,
[data-hero-code-preview].is-active .hero-code-block-writing code::after,
[data-hero-code-preview].is-finished .hero-code-block-writing code::after,
.hero-panel-code-fixed .hero-code-block-writing code::after {
  content: none !important;
  display: none !important;
  animation: none !important;
  opacity: 0 !important;
}

.hero-code-caret-inline {
  width: 2px !important;
  height: 1.08em !important;
  margin-left: 2px !important;
  transform: translateY(0.08em) !important;
  border-radius: 1px !important;
  background: #61afef !important;
  box-shadow: 0 0 8px rgba(97,175,239,.24) !important;
}


/* final v31: hard-disable legacy block caret and keep only inline VS Code caret */
.hero-panel-code-fixed .hero-code-canvas::after,
.hero-panel-code-fixed .hero-code-stage::after,
.hero-panel-code-fixed .hero-code-stage code::after,
.hero-panel-code-fixed .hero-code-block-writing::after,
.hero-panel-code-fixed .hero-code-block-writing pre::after,
.hero-panel-code-fixed .hero-code-block-writing code::after,
.hero-code-canvas::after,
.hero-code-stage::after,
.hero-code-stage code::after,
.hero-code-block-writing::after,
.hero-code-block-writing pre::after,
.hero-code-block-writing code::after,
[data-hero-code-preview].is-active .hero-code-canvas::after,
[data-hero-code-preview].is-finished .hero-code-canvas::after,
[data-hero-code-preview].is-active .hero-code-stage::after,
[data-hero-code-preview].is-finished .hero-code-stage::after,
[data-hero-code-preview].is-active .hero-code-block-writing::after,
[data-hero-code-preview].is-finished .hero-code-block-writing::after,
[data-hero-code-preview].is-active .hero-code-block-writing code::after,
[data-hero-code-preview].is-finished .hero-code-block-writing code::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  animation: none !important;
  opacity: 0 !important;
}

.hero-panel-code-fixed .hero-code-caret-inline,
.hero-code-caret-inline {
  width: 2px !important;
  min-width: 2px !important;
  height: 1.08em !important;
  margin-left: 2px !important;
  transform: translateY(0.08em) !important;
  border-radius: 1px !important;
  background: #61afef !important;
  box-shadow: 0 0 8px rgba(97,175,239,.24) !important;
}


/* v32 catalog card polish */
.module-card-catalog {
  min-height: 352px;
  padding: 30px 30px 34px;
  border-color: rgba(148,163,184,.16);
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.035), transparent 36%),
    linear-gradient(180deg, rgba(14,22,40,.96), rgba(8,13,28,.92));
}
.module-topline {
  margin-bottom: 18px;
}
.module-game-tag {
  gap: 12px;
  color: #d6e0f1;
  font-size: 1rem;
}
.module-game-tag-logo {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  filter: drop-shadow(0 8px 18px rgba(255,255,255,.08));
}
.module-card-catalog h3 {
  margin-top: 14px;
  margin-bottom: 18px;
}
.module-card-catalog p {
  margin-top: 4px;
  min-height: 84px;
}
.module-type-text {
  margin-top: 14px;
  margin-bottom: 22px;
}
.module-accent-line {
  left: 22px;
  right: 22px;
  bottom: 14px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(124,58,237,0), rgba(56,189,248,.88), rgba(124,58,237,0));
  opacity: .95;
}
.module-card-catalog-pw .module-accent-line {
  background: linear-gradient(90deg, rgba(79,156,255,0), rgba(79,156,255,.92), rgba(56,189,248,.88));
}
.module-card-catalog-jd .module-accent-line {
  background: linear-gradient(90deg, rgba(168,85,247,0), rgba(168,85,247,.92), rgba(56,189,248,.86));
}
.module-card-catalog-fw .module-accent-line {
  background: linear-gradient(90deg, rgba(52,211,153,0), rgba(52,211,153,.92), rgba(56,189,248,.82));
}
.module-card-catalog-pw .module-sheen {
  background: radial-gradient(circle at top left, rgba(79,156,255,.16), transparent 58%);
}
.module-card-catalog-jd .module-sheen {
  background: radial-gradient(circle at top left, rgba(168,85,247,.16), transparent 58%);
}
.module-card-catalog-fw .module-sheen {
  background: radial-gradient(circle at top left, rgba(52,211,153,.16), transparent 58%);
}
@media (max-width: 720px) {
  .module-card-catalog {
    padding: 24px 24px 30px;
  }
  .module-game-tag-logo {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }
}

/* v33 product page refresh */
.product-page-hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.product-page-hero .lead {
  max-width: 760px;
}
.product-hero-badge,
.product-mini-game-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(12,18,32,.72);
  border: 1px solid rgba(148,163,184,.18);
}
.product-hero-logo {
  height: 34px;
}
.product-mini-game-logo {
  height: 26px;
}
.product-layout {
  align-items: start;
}
.product-purchase-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.product-showcase {
  margin: -4px -4px 4px;
}
.showcase-window {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(110,134,201,.18);
  background:
    linear-gradient(180deg, rgba(10,16,31,.96), rgba(6,11,24,.98)),
    radial-gradient(circle at top right, rgba(59,130,246,.18), transparent 42%);
  box-shadow: 0 24px 60px rgba(2,6,23,.28);
}
.showcase-window-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(148,163,184,.12);
  background: linear-gradient(180deg, rgba(15,23,42,.72), rgba(15,23,42,.42));
}
.showcase-dots {
  display: inline-flex;
  gap: 8px;
}
.showcase-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: block;
}
.showcase-dots span:nth-child(1) { background: #ff5f56; }
.showcase-dots span:nth-child(2) { background: #ffbd2e; }
.showcase-dots span:nth-child(3) { background: #27c93f; }
.showcase-title {
  color: rgba(226,232,240,.8);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.showcase-slides {
  position: relative;
  min-height: 290px;
  padding: 18px;
}
.showcase-slide {
  display: none;
  min-height: 254px;
}
.showcase-slide.is-active {
  display: block;
  animation: fadeSlide .35s ease;
}
@keyframes fadeSlide {
  from { opacity: .0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.showcase-ui-card {
  min-height: 254px;
  border-radius: 22px;
  border: 1px solid rgba(96,165,250,.16);
  background:
    linear-gradient(180deg, rgba(6,11,24,.98), rgba(7,15,30,.9)),
    radial-gradient(circle at top right, rgba(59,130,246,.14), transparent 40%);
  padding: 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
.showcase-ui-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.showcase-ui-pill {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(124,58,237,.12);
  border: 1px solid rgba(192,132,252,.22);
  color: #d8b4fe;
  font-size: .82rem;
  font-weight: 700;
}
.showcase-ui-muted {
  color: rgba(148,163,184,.82);
  font-size: .9rem;
}
.showcase-bars,
.showcase-grid,
.showcase-chart,
.showcase-log-lines,
.showcase-table {
  display: grid;
  gap: 12px;
}
.showcase-bars span,
.showcase-grid span,
.showcase-chart span,
.showcase-log-lines span,
.showcase-table span {
  display: block;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(124,58,237,.35), rgba(34,211,238,.3));
}
.showcase-bars {
  margin-bottom: 18px;
}
.showcase-bars span:nth-child(1) { height: 18px; width: 58%; }
.showcase-bars span:nth-child(2) { height: 12px; width: 82%; opacity: .72; }
.showcase-bars span:nth-child(3) { height: 12px; width: 46%; opacity: .5; }
.showcase-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.showcase-grid span {
  height: 76px;
  background: linear-gradient(180deg, rgba(30,41,59,.78), rgba(15,23,42,.42));
  border: 1px solid rgba(96,165,250,.16);
}
.showcase-grid.mini {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}
.showcase-grid.mini span { height: 54px; }
.showcase-chart {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  height: 110px;
  margin-bottom: 18px;
}
.showcase-chart span:nth-child(1) { height: 42px; }
.showcase-chart span:nth-child(2) { height: 68px; }
.showcase-chart span:nth-child(3) { height: 88px; }
.showcase-chart span:nth-child(4) { height: 58px; }
.showcase-chart span:nth-child(5) { height: 98px; }
.showcase-log-lines span {
  height: 14px;
}
.showcase-log-lines span:nth-child(1) { width: 90%; }
.showcase-log-lines span:nth-child(2) { width: 72%; opacity: .78; }
.showcase-log-lines span:nth-child(3) { width: 84%; opacity: .58; }
.showcase-table span {
  height: 44px;
  background: linear-gradient(180deg, rgba(15,23,42,.9), rgba(17,24,39,.58));
  border: 1px solid rgba(148,163,184,.12);
}
.showcase-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 18px 18px;
}
.showcase-thumb {
  appearance: none;
  border: 1px solid rgba(148,163,184,.16);
  background: rgba(15,23,42,.6);
  color: rgba(226,232,240,.84);
  border-radius: 14px;
  padding: 12px 10px;
  font: inherit;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: .2s ease;
}
.showcase-thumb:hover,
.showcase-thumb.is-active {
  border-color: rgba(96,165,250,.38);
  background: rgba(37,99,235,.12);
  color: #fff;
}
.product-top-rich {
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.product-top-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.product-mini-game-badge {
  padding: 6px 12px;
}
@media (max-width: 820px) {
  .showcase-thumbs {
    grid-template-columns: 1fr;
  }
  .showcase-slides {
    min-height: 260px;
  }
}


/* v34 product page alignment + manual showcase controls */
.showcase-footer {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  gap: 12px;
  align-items: center;
  padding: 0 18px 18px;
}
.showcase-thumbs {
  padding: 0;
}
.showcase-arrow {
  appearance: none;
  border: 1px solid rgba(148,163,184,.18);
  background: rgba(15,23,42,.78);
  color: rgba(226,232,240,.92);
  width: 52px;
  height: 48px;
  border-radius: 14px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: .2s ease;
}
.showcase-arrow:hover {
  border-color: rgba(96,165,250,.4);
  background: rgba(37,99,235,.14);
  color: #fff;
}
.product-top-rich {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 18px;
}
.product-top-left {
  min-width: 0;
}
.product-mini-game-badge {
  padding: 7px 14px;
}
.product-mini-game-logo {
  height: 30px;
}
.product-version {
  text-align: right;
  white-space: nowrap;
}
@media (max-width: 820px) {
  .showcase-footer {
    grid-template-columns: 1fr 1fr;
  }
  .showcase-thumbs {
    grid-column: 1 / -1;
    order: 3;
  }
  .product-top-rich {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .product-version {
    text-align: left;
  }
}


/* v35 product page top row cleanup */
.product-top-rich {
  display: grid !important;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  column-gap: 16px;
  row-gap: 10px;
}
.product-top-left {
  display: contents !important;
}
.product-mini-game-badge {
  justify-self: start;
  margin: 0;
}
.product-top-rich .pill.gold {
  justify-self: start;
  margin: 0;
}
.product-version {
  justify-self: end;
  text-align: right;
  margin-left: auto;
  white-space: nowrap;
}
@media (max-width: 820px) {
  .product-top-rich {
    grid-template-columns: 1fr;
  }
  .product-top-left {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
  }
  .product-version {
    justify-self: start;
    text-align: left;
    margin-left: 0;
  }
}


/* Admin dark controls and catalog enhancements */
.admin-note { margin-top: -4px; }
.auth-form select,
.auth-form textarea,
.auth-form input,
select,
textarea {
  color-scheme: dark;
}
select option,
select optgroup {
  background: #0b1224;
  color: #e5edf9;
}
.table-wrap table {
  background: linear-gradient(180deg, rgba(7,12,28,.96), rgba(9,15,33,.92));
  border-radius: 18px;
  overflow: hidden;
}
.table-wrap thead th {
  position: sticky;
  top: 0;
  background: rgba(14,22,43,.96);
  backdrop-filter: blur(12px);
  z-index: 1;
}
.table-wrap td,
.table-wrap th {
  background: transparent;
}
.table-wrap tbody tr:hover td {
  background: rgba(255,255,255,.02);
}
.showcase-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
}


/* Admin products page compact layout */
.admin-products-page {
  padding-top: 22px;
}
.admin-products-grid-layout {
  grid-template-columns: 220px minmax(0, 1fr) !important;
  gap: 20px;
  align-items: start;
}
.admin-products-sidebar {
  padding: 18px 16px;
  border-radius: 20px;
  position: sticky;
  top: 92px;
}
.admin-editor-panel,
.admin-table-panel {
  padding: 18px 18px 16px;
  border-radius: 20px;
}
.admin-editor-panel .section-head,
.admin-table-panel .section-head {
  margin-bottom: 14px;
}
.admin-editor-panel .section-head h3,
.admin-table-panel .section-head h3 {
  font-size: 18px;
  margin-bottom: 0;
}
.admin-products-form {
  gap: 10px;
}
.admin-products-fields {
  gap: 12px;
}
.admin-products-form label {
  gap: 6px;
  font-size: 13px;
}
.admin-products-form input,
.admin-products-form select,
.admin-products-form textarea {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
}
.admin-products-form textarea {
  min-height: 108px;
}
.admin-products-form textarea[name="description"] {
  min-height: 88px;
}
.admin-products-form textarea[name="screenshots"] {
  min-height: 84px;
}
.admin-products-form .hero-actions {
  margin-top: 8px;
}
.admin-products-form .btn {
  min-height: 40px;
  padding: 0 16px;
}
.admin-note {
  font-size: 12px;
  line-height: 1.45;
  margin-top: -2px;
}
.admin-table-panel .table-wrap {
  max-height: 420px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.06);
}
.admin-table-panel table {
  min-width: 1180px;
}
.admin-table-panel th,
.admin-table-panel td {
  padding: 10px 12px;
  font-size: 13px;
  vertical-align: top;
}
.admin-table-panel .inline-actions {
  gap: 6px;
}
.admin-table-panel .btn-small {
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12px;
}
@media (max-width: 1180px) {
  .admin-products-grid-layout {
    grid-template-columns: 1fr !important;
  }
  .admin-products-sidebar {
    position: static;
  }
}


/* Admin products polish v42 */
.admin-products-grid-layout {
  grid-template-columns: 260px minmax(0, 1fr) !important;
  gap: 24px;
}
.admin-products-sidebar {
  padding: 24px 20px;
  min-width: 0;
}
.admin-products-sidebar h3 {
  font-size: 16px;
  margin-bottom: 10px;
}
.admin-products-sidebar a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  color: #b9c5da;
  background: transparent;
  border: 1px solid transparent;
  font-weight: 600;
}
.admin-products-sidebar a:hover {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.08);
  color: #eef4ff;
}
.admin-products-sidebar .active-link {
  background: linear-gradient(180deg, rgba(124,58,237,.18), rgba(52,211,235,.10));
  border-color: rgba(124,58,237,.34);
  color: #ffffff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 8px 24px rgba(16,24,40,.26);
}
.admin-editor-panel,
.admin-table-panel {
  padding: 20px 20px 18px;
}
.admin-table-panel .table-wrap {
  max-height: none;
  overflow: auto;
}
.admin-table-panel table {
  min-width: 1220px;
}
.admin-table-panel th {
  white-space: nowrap;
  color: #9fb0cb;
  font-size: 12px;
  letter-spacing: .02em;
}
.admin-table-panel td {
  font-size: 14px;
  line-height: 1.35;
}
.admin-table-panel tbody tr {
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.admin-table-panel tbody tr:last-child {
  border-bottom: none;
}
.admin-table-panel td strong {
  display: inline-block;
  color: #f5f8ff;
  font-size: 15px;
  line-height: 1.15;
  margin-bottom: 3px;
}
.admin-table-panel .muted {
  color: #8fa0bc;
}
.admin-product-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 112px;
}
.admin-table-panel .btn-small {
  width: 100%;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  color: #eef4ff;
  border: 1px solid rgba(255,255,255,.08);
}
.btn-primary-soft {
  background: linear-gradient(135deg, rgba(124,58,237,.18), rgba(52,211,235,.12));
  border-color: rgba(106,142,255,.26);
  color: #eef4ff;
}
.btn-primary-soft:hover {
  background: linear-gradient(135deg, rgba(124,58,237,.24), rgba(52,211,235,.16));
}
.btn-secondary-soft {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.08);
  color: #dfe8f7;
}
.btn-secondary-soft:hover {
  background: rgba(255,255,255,.07);
}
.btn-danger-soft {
  background: linear-gradient(135deg, rgba(239,68,68,.16), rgba(251,146,60,.12));
  border-color: rgba(239,68,68,.28);
  color: #fff2f2;
}
.btn-danger-soft:hover {
  background: linear-gradient(135deg, rgba(239,68,68,.22), rgba(251,146,60,.16));
}
.admin-table-panel .status-ok {
  color: #43f3c4;
  font-weight: 700;
}
.admin-table-panel .status-warn {
  color: #f6b24d;
  font-weight: 700;
}
.admin-table-panel .pill.gold {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
}
@media (max-width: 1180px) {
  .admin-products-sidebar {
    padding: 18px;
  }
  .admin-products-sidebar a {
    min-height: 40px;
  }
}

/* Admin products cleanup v43 */
.admin-products-page .container {
  max-width: 1220px;
}
.admin-products-grid-layout {
  grid-template-columns: 260px minmax(0, 1fr) !important;
  gap: 28px;
  align-items: start;
}
.admin-products-sidebar {
  min-height: 0;
  padding: 24px 20px;
}
.admin-products-sidebar h3 {
  font-size: 17px;
  margin-bottom: 14px;
}
.admin-products-sidebar a {
  min-height: 48px;
  padding: 0 16px;
  font-size: 15px;
  border-radius: 14px;
}
.admin-editor-panel {
  max-width: 100%;
  padding: 22px 22px 18px;
  overflow: hidden;
}
.admin-editor-panel .section-head {
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.admin-editor-panel .section-head .muted {
  margin-left: auto;
  text-align: right;
  max-width: 280px;
}
.admin-products-form {
  gap: 14px;
}
.admin-products-fields-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  align-items: start;
}
.admin-products-fields-two > label,
.admin-products-fields-two > .full {
  min-width: 0;
}
.admin-products-fields-two .full {
  grid-column: 1 / -1;
}
.admin-products-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
}
.admin-products-form input,
.admin-products-form select,
.admin-products-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 11px 14px;
  font-size: 14px;
}
.admin-products-form textarea[name="description"] {
  min-height: 120px;
}
.admin-products-form textarea[name="screenshots"] {
  min-height: 96px;
}
.admin-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  padding-top: 4px;
}
.admin-checks .check-row {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #dce6f7;
}
.admin-checks .check-row input {
  width: 16px;
  height: 16px;
  min-height: 16px;
  padding: 0;
}
.admin-note {
  margin-top: -2px;
  margin-bottom: 0;
}
.admin-table-panel {
  padding: 18px 18px 16px;
}
.admin-table-panel .section-head {
  margin-bottom: 12px;
}
.admin-table-panel .table-wrap {
  max-height: 460px;
  overflow: auto;
}
.admin-table-panel th,
.admin-table-panel td {
  padding: 12px 12px;
}
.admin-product-actions {
  min-width: 132px;
}
.admin-table-panel .btn-small {
  min-height: 40px;
}
@media (max-width: 1180px) {
  .admin-products-grid-layout {
    grid-template-columns: 1fr !important;
  }
  .admin-products-sidebar {
    position: static;
    padding: 18px;
  }
  .admin-editor-panel .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .admin-editor-panel .section-head .muted {
    margin-left: 0;
    max-width: none;
    text-align: left;
  }
}
@media (max-width: 780px) {
  .admin-products-fields-two {
    grid-template-columns: 1fr;
  }
}

/* Admin products compact cleanup v44 */
.page-hero.compact {
  padding: 68px 0 28px;
}
.admin-products-page {
  padding-top: 8px;
}
.admin-products-page .container,
.page-hero.compact .container {
  max-width: 1120px;
}
.page-hero.compact h1 {
  font-size: clamp(46px, 5vw, 64px);
  line-height: 0.98;
  max-width: 980px;
  margin-bottom: 14px;
}
.page-hero.compact .lead {
  max-width: 760px;
  font-size: 16px;
}
.admin-products-grid-layout {
  grid-template-columns: 240px minmax(0, 860px) !important;
  justify-content: start;
  gap: 22px;
}
.admin-products-sidebar {
  padding: 26px 18px;
  border-radius: 24px;
}
.admin-products-sidebar a {
  min-height: 46px;
  font-size: 14px;
}
.admin-products-page .grow {
  width: 100%;
  max-width: 860px;
}
.admin-editor-panel {
  padding: 18px 18px 14px;
  border-radius: 24px;
}
.admin-editor-panel .section-head {
  margin-bottom: 14px;
}
.admin-editor-panel .section-head h3 {
  font-size: 16px;
}
.admin-editor-panel .section-head .muted {
  max-width: 220px;
  font-size: 13px;
}
.admin-products-form {
  gap: 12px;
}
.admin-products-fields-two {
  gap: 12px 14px;
}
.admin-products-form label {
  gap: 6px;
  font-size: 12px;
}
.admin-products-form input,
.admin-products-form select,
.admin-products-form textarea {
  min-height: 42px;
  padding: 10px 12px;
  font-size: 14px;
}
.admin-products-form textarea[name="description"] {
  min-height: 96px;
}
.admin-products-form textarea[name="screenshots"] {
  min-height: 74px;
}
.admin-checks {
  gap: 14px;
}
.admin-note {
  font-size: 12px;
}
.admin-products-form .hero-actions {
  gap: 10px;
}
.admin-products-form .btn {
  min-height: 42px;
  padding: 0 18px;
}
.admin-table-panel {
  margin-top: 18px !important;
  padding: 14px 14px 12px;
  border-radius: 24px;
}
.admin-table-panel .section-head h3 {
  font-size: 18px;
}
.admin-table-panel .table-wrap {
  max-height: 340px;
}
.admin-table-panel th,
.admin-table-panel td {
  padding: 10px 10px;
  font-size: 13px;
  line-height: 1.25;
}
.admin-table-panel strong {
  font-size: 13px;
}
.admin-product-actions {
  gap: 8px;
  min-width: 122px;
}
.admin-table-panel .btn-small {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
}
@media (max-width: 1180px) {
  .admin-products-grid-layout {
    grid-template-columns: 1fr !important;
    justify-content: stretch;
  }
  .admin-products-page .grow {
    max-width: none;
  }
}


/* Admin products real compact layout v45 */
.page-hero.compact {
  padding: 34px 0 12px !important;
}
.page-hero.compact h1 {
  font-size: clamp(34px, 4vw, 52px) !important;
  line-height: 1.02 !important;
  max-width: 760px !important;
  margin-bottom: 10px !important;
}
.page-hero.compact .lead {
  font-size: 14px !important;
  max-width: 720px !important;
  margin: 0 !important;
}
.admin-products-page {
  padding-top: 0 !important;
}
.admin-products-page .container,
.page-hero.compact .container {
  max-width: 1020px !important;
}
.admin-products-grid-layout {
  grid-template-columns: 210px minmax(0, 760px) !important;
  justify-content: center !important;
  align-items: start !important;
  gap: 20px !important;
}
.admin-products-sidebar {
  padding: 18px 16px !important;
  border-radius: 22px !important;
}
.admin-products-sidebar h3 {
  font-size: 18px !important;
  margin-bottom: 10px !important;
}
.admin-products-sidebar a {
  min-height: 42px !important;
  padding: 0 14px !important;
  font-size: 14px !important;
  border-radius: 14px !important;
}
.admin-products-main,
.admin-products-page .grow {
  width: 100% !important;
  max-width: 760px !important;
}
.admin-editor-panel,
.admin-table-panel {
  width: 100% !important;
  max-width: 760px !important;
  margin-inline: auto !important;
  border-radius: 22px !important;
}
.admin-editor-panel {
  padding: 16px !important;
}
.admin-editor-panel .section-head,
.admin-table-panel .section-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
}
.admin-editor-panel .section-head h3,
.admin-table-panel .section-head h3 {
  font-size: 16px !important;
  margin: 0 !important;
}
.admin-editor-panel .section-head .muted {
  max-width: 180px !important;
  text-align: right !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}
.admin-products-form {
  gap: 10px !important;
}
.admin-products-fields-two {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px 12px !important;
}
.admin-products-form label {
  font-size: 12px !important;
  gap: 5px !important;
}
.admin-products-form input,
.admin-products-form select,
.admin-products-form textarea {
  min-height: 40px !important;
  padding: 9px 12px !important;
  font-size: 14px !important;
}
.admin-products-form textarea[name="description"] {
  min-height: 110px !important;
  max-height: 160px !important;
}
.admin-products-form textarea[name="screenshots"] {
  min-height: 74px !important;
  max-height: 120px !important;
}
.admin-note {
  font-size: 12px !important;
  margin: 4px 0 0 !important;
}
.admin-products-form .hero-actions {
  gap: 10px !important;
}
.admin-products-form .btn {
  min-height: 40px !important;
  padding: 0 16px !important;
}
.admin-table-panel {
  margin-top: 16px !important;
  padding: 14px !important;
}
.admin-table-panel .table-wrap {
  max-height: 300px !important;
  overflow: auto !important;
}
.admin-table-panel table {
  min-width: 980px !important;
}
.admin-table-panel th,
.admin-table-panel td {
  padding: 9px 10px !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
}
.admin-table-panel .btn-small {
  min-height: 32px !important;
  padding: 0 10px !important;
  font-size: 12px !important;
}
@media (max-width: 1100px) {
  .admin-products-grid-layout {
    grid-template-columns: 1fr !important;
  }
  .admin-products-main,
  .admin-products-page .grow,
  .admin-editor-panel,
  .admin-table-panel {
    max-width: none !important;
  }
  .admin-editor-panel .section-head,
  .admin-table-panel .section-head {
    flex-direction: column !important;
  }
  .admin-editor-panel .section-head .muted {
    max-width: none !important;
    text-align: left !important;
  }
}
@media (max-width: 760px) {
  .admin-products-fields-two {
    grid-template-columns: 1fr !important;
  }
}

/* Admin products final compact fix v46 */
.page-hero.compact {
  padding: 20px 0 8px !important;
}
.page-hero.compact .eyebrow {
  font-size: 11px !important;
  letter-spacing: 0.18em !important;
}
.page-hero.compact h1 {
  font-size: clamp(28px, 3.4vw, 42px) !important;
  max-width: 680px !important;
  margin-bottom: 8px !important;
}
.page-hero.compact .lead {
  font-size: 13px !important;
  max-width: 620px !important;
}
.admin-products-page .container,
.page-hero.compact .container {
  max-width: 920px !important;
}
.admin-products-grid-layout {
  grid-template-columns: 180px minmax(0, 700px) !important;
  gap: 18px !important;
}
.admin-products-sidebar {
  width: 180px !important;
  padding: 16px 14px !important;
}
.admin-products-sidebar h3 {
  font-size: 16px !important;
  margin-bottom: 10px !important;
}
.admin-products-sidebar a {
  min-height: 38px !important;
  font-size: 13px !important;
  padding: 0 12px !important;
}
.admin-products-main,
.admin-products-page .grow,
.admin-editor-panel,
.admin-table-panel {
  max-width: 700px !important;
}
.admin-editor-panel,
.admin-table-panel {
  border-radius: 20px !important;
}
.admin-editor-panel {
  padding: 14px !important;
}
.admin-editor-panel .section-head,
.admin-table-panel .section-head {
  margin-bottom: 10px !important;
}
.admin-editor-panel .section-head .muted,
.admin-table-panel .section-head .muted {
  max-width: 150px !important;
  font-size: 11px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
.admin-products-fields-two {
  gap: 8px 10px !important;
}
.admin-products-form label {
  font-size: 11px !important;
}
.admin-products-form input,
.admin-products-form select,
.admin-products-form textarea {
  min-height: 38px !important;
  padding: 8px 11px !important;
  font-size: 13px !important;
}
.admin-products-form textarea[name="description"] {
  min-height: 92px !important;
  max-height: 120px !important;
}
.admin-products-form textarea[name="screenshots"] {
  min-height: 64px !important;
  max-height: 88px !important;
}
.admin-products-form .hero-actions {
  margin-top: 8px !important;
}
.admin-products-form .btn {
  min-height: 38px !important;
}
.admin-note {
  font-size: 11px !important;
}
.admin-table-panel {
  padding: 12px !important;
  margin-top: 14px !important;
}
.admin-table-panel .table-wrap {
  max-height: 250px !important;
  overflow: auto !important;
  border-radius: 16px !important;
}
.admin-table-panel table {
  min-width: 860px !important;
}
.admin-table-panel th,
.admin-table-panel td {
  padding: 8px 8px !important;
  font-size: 11px !important;
}
.admin-product-actions {
  gap: 6px !important;
}
.admin-table-panel .btn-small {
  min-height: 30px !important;
  padding: 0 9px !important;
  font-size: 11px !important;
}
@media (max-width: 1024px) {
  .admin-products-grid-layout {
    grid-template-columns: 1fr !important;
  }
  .admin-products-sidebar,
  .admin-products-main,
  .admin-products-page .grow,
  .admin-editor-panel,
  .admin-table-panel {
    width: 100% !important;
    max-width: none !important;
  }
}

/* Admin products table final fix v48 */
.admin-products-page .container {
  max-width: 1180px;
}
.admin-table-panel {
  max-width: 100%;
  padding: 16px 16px 14px;
}
.admin-table-panel .table-wrap {
  max-height: 360px;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 14px;
}
.admin-table-panel table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}
.admin-table-panel thead th:nth-child(1) { width: 36px; }
.admin-table-panel thead th:nth-child(2) { width: 190px; }
.admin-table-panel thead th:nth-child(3) { width: 54px; }
.admin-table-panel thead th:nth-child(4) { width: 96px; }
.admin-table-panel thead th:nth-child(5) { width: 78px; }
.admin-table-panel thead th:nth-child(6) { width: 104px; }
.admin-table-panel thead th:nth-child(7) { width: 72px; }
.admin-table-panel thead th:nth-child(8) { width: 86px; }
.admin-table-panel thead th:nth-child(9) { width: 124px; }
.admin-table-panel thead th:nth-child(10) { width: 126px; }
.admin-table-panel th,
.admin-table-panel td {
  padding: 10px 10px;
  font-size: 13px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.admin-table-panel td {
  line-height: 1.25;
}
.admin-table-panel td strong {
  font-size: 14px;
  margin-bottom: 6px;
}
.admin-table-panel .muted {
  font-size: 12px;
}
.admin-product-actions {
  min-width: 0;
  gap: 7px;
}
.admin-table-panel .btn-small {
  min-height: 34px;
  padding: 0 10px;
  font-size: 12px;
  border-radius: 10px;
}
.admin-status-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.admin-status-cell .pill.gold {
  margin-top: 0;
  padding: 6px 10px;
  line-height: 1.1;
  white-space: normal;
}
.admin-actions-cell {
  vertical-align: top;
}
.admin-table-panel tbody tr {
  height: auto;
}

/* Admin products final real fix v50 */
.admin-products-page .container,
.page-hero.compact .container {
  max-width: 1280px !important;
}
.admin-products-grid-layout {
  grid-template-columns: 220px minmax(0, 1fr) !important;
  gap: 24px !important;
  align-items: start !important;
}
.admin-products-sidebar {
  width: 220px !important;
  padding: 22px 18px !important;
}
.admin-products-sidebar a {
  min-height: 42px !important;
  font-size: 14px !important;
  padding: 0 16px !important;
}
.admin-products-main,
.admin-products-page .grow,
.admin-editor-panel,
.admin-table-panel {
  width: 100% !important;
  max-width: none !important;
}
.admin-editor-panel {
  padding: 18px !important;
}
.admin-table-panel {
  padding: 16px !important;
  margin-top: 18px !important;
}
.admin-editor-panel .section-head .muted,
.admin-table-panel .section-head .muted {
  max-width: none !important;
  overflow: visible !important;
  text-overflow: initial !important;
  white-space: normal !important;
  font-size: 13px !important;
}
.admin-products-fields-two {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px 14px !important;
}
.admin-products-form label {
  font-size: 12px !important;
}
.admin-products-form input,
.admin-products-form select,
.admin-products-form textarea {
  min-height: 42px !important;
  padding: 10px 13px !important;
  font-size: 14px !important;
}
.admin-products-form textarea[name="description"] {
  min-height: 120px !important;
  max-height: 220px !important;
}
.admin-products-form textarea[name="screenshots"] {
  min-height: 90px !important;
  max-height: 180px !important;
}
.admin-note {
  font-size: 12px !important;
}
.admin-table-panel .table-wrap {
  max-height: 420px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  border-radius: 16px !important;
}
.admin-table-panel table {
  width: 100% !important;
  min-width: 0 !important;
  table-layout: auto !important;
}
.admin-table-panel th,
.admin-table-panel td {
  padding: 12px 10px !important;
  font-size: 13px !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: initial !important;
  word-break: break-word !important;
}
.admin-table-panel thead th:nth-child(1) { width: 44px !important; }
.admin-table-panel thead th:nth-child(2) { width: 220px !important; }
.admin-table-panel thead th:nth-child(3) { width: 72px !important; }
.admin-table-panel thead th:nth-child(4) { width: 108px !important; }
.admin-table-panel thead th:nth-child(5) { width: 92px !important; }
.admin-table-panel thead th:nth-child(6) { width: 120px !important; }
.admin-table-panel thead th:nth-child(7) { width: 78px !important; }
.admin-table-panel thead th:nth-child(8) { width: 90px !important; }
.admin-table-panel thead th:nth-child(9) { width: 150px !important; }
.admin-table-panel thead th:nth-child(10) { width: 180px !important; }
.admin-table-panel td strong {
  display: block !important;
  font-size: 15px !important;
  margin-bottom: 6px !important;
}
.admin-status-cell {
  gap: 6px !important;
}
.admin-status-cell .pill.gold {
  display: inline-flex !important;
  white-space: nowrap !important;
  padding: 6px 10px !important;
}
.admin-product-actions {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
}
.admin-table-panel .btn-small {
  width: 100% !important;
  min-height: 34px !important;
  padding: 0 12px !important;
  font-size: 12px !important;
}
@media (max-width: 1100px) {
  .admin-products-grid-layout {
    grid-template-columns: 1fr !important;
  }
  .admin-products-sidebar {
    width: 100% !important;
  }
  .admin-products-fields-two {
    grid-template-columns: 1fr !important;
  }
}


/* Admin licenses polish */
.admin-eye-btn {
  min-width: 46px;
  height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}

.inline-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.inline-actions form {
  margin: 0;
}

.table-wrap td code {
  white-space: normal;
}

@media (max-width: 900px) {
  .inline-actions {
    align-items: stretch;
  }
}


/* Admin licenses final polish */
.license-format-hint {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
  padding-top: 2px;
}

.admin-eye-btn {
  width: 42px;
  min-width: 42px;
  height: 38px;
  padding: 0;
  border-radius: 12px;
  color: #d8e4ff;
  background: linear-gradient(180deg, rgba(90,111,255,.18), rgba(34,211,238,.08));
  border: 1px solid rgba(112,88,255,.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.admin-eye-btn svg {
  width: 16px;
  height: 16px;
  display: block;
}
.admin-eye-btn:hover {
  color: #fff;
  background: linear-gradient(180deg, rgba(90,111,255,.28), rgba(34,211,238,.14));
}

.inline-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  min-width: 142px;
}
.inline-actions form {
  display: block !important;
}
.admin-license-btn {
  width: 100%;
  min-height: 40px;
  justify-content: center;
  color: #eaf1ff;
}
.admin-license-btn--activate {
  background: linear-gradient(135deg, rgba(124,58,237,.9), rgba(34,211,238,.92));
  border: none;
  box-shadow: 0 10px 20px rgba(63,94,251,.22);
}
.admin-license-btn--revoke {
  background: rgba(255,255,255,.03);
  border-color: rgba(120,146,198,.24);
}
.admin-license-btn--delete {
  background: linear-gradient(180deg, rgba(127,29,29,.95), rgba(69,10,10,.95));
  border: 1px solid rgba(248,113,113,.18);
  color: #fff;
}
.admin-license-btn--delete:hover {
  background: linear-gradient(180deg, rgba(153,27,27,.98), rgba(87,10,10,.98));
}

.license-modal-key {
  word-break: break-all;
}


/* Admin overview request card alignment fix */
.dashboard-grid .grow > .admin-request-card {
  width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  margin-right: 0;
}
.admin-request-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 28px 30px;
}
.admin-request-content {
  min-width: 0;
}
.admin-request-card p {
  max-width: 760px;
}
@media (max-width: 900px) {
  .admin-request-card {
    grid-template-columns: 1fr;
  }
  .dashboard-grid .grow > .admin-request-card .btn {
    width: 100%;
  }
}

/* Admin licenses softer buttons + status color */
.licenses-table .btn-primary,
.admin-licenses-panel .btn-primary,
.inline-actions .btn-primary {
  background: linear-gradient(135deg, rgba(111,76,255,.85), rgba(34,211,238,.8)) !important;
  box-shadow: 0 10px 24px rgba(34,211,238,.12) !important;
}
.licenses-table .btn-danger,
.admin-licenses-panel .btn-danger,
.inline-actions .btn-danger {
  background: linear-gradient(135deg, rgba(145,24,24,.92), rgba(185,28,28,.88)) !important;
  box-shadow: 0 10px 22px rgba(185,28,28,.14) !important;
}
.licenses-table .btn-ghost,
.admin-licenses-panel .btn-ghost,
.inline-actions .btn-ghost {
  background: rgba(16, 25, 52, .88) !important;
}
.licenses-table .status-active,
.admin-licenses-panel .status-active,
.status-active {
  color: #34d399 !important;
  font-weight: 700;
}

/* v57 hosting-style navigation icons */
.ui-icon,
.nav-link-icon,
.side-link-icon,
.nav-svg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.ui-icon svg,
.nav-link-icon svg,
.side-link-icon svg,
.nav-svg-icon svg {
  display: block;
  width: 1em;
  height: 1em;
}
.hosting-nav-links {
  align-items: center;
  gap: 8px !important;
}
.hosting-nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  line-height: 1;
}
.hosting-nav-links a::after {
  display: none !important;
}
.hosting-nav-links a:hover,
.hosting-nav-links a.is-active {
  background: linear-gradient(180deg, rgba(124, 58, 237, .16), rgba(34, 211, 238, .08));
  border-color: rgba(124, 58, 237, .30);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 28px rgba(2, 6, 23, .20);
}
.hosting-nav-links .nav-link-icon {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  color: #9fdcff;
  background: rgba(34, 211, 238, .10);
  border: 1px solid rgba(34, 211, 238, .18);
  font-size: 14px;
}
.hosting-nav-links a.is-active .nav-link-icon,
.hosting-nav-links a:hover .nav-link-icon {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(124,58,237,.70), rgba(34,211,238,.45));
  border-color: rgba(255,255,255,.18);
}
.dashboard-sidebar .nav-card,
.sidebar-filter a {
  display: flex !important;
  align-items: center;
  gap: 10px;
}
.dashboard-sidebar .nav-svg-icon,
.sidebar-filter .side-link-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 11px;
  color: #9fdcff;
  background: rgba(15, 23, 42, .72);
  border: 1px solid rgba(148, 163, 184, .16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  font-size: 17px;
  opacity: 1 !important;
}
.dashboard-sidebar .nav-card:hover .nav-svg-icon,
.dashboard-sidebar .nav-card.active-link .nav-svg-icon,
.sidebar-filter a:hover .side-link-icon,
.sidebar-filter a.active-link .side-link-icon {
  color: #fff;
  background: linear-gradient(135deg, rgba(124,58,237,.82), rgba(34,211,238,.50));
  border-color: rgba(255,255,255,.20);
}
.sidebar-filter a span:last-child,
.dashboard-sidebar .nav-card span:last-child {
  min-width: 0;
}
@media (max-width: 900px) {
  .hosting-nav-links {
    align-items: stretch;
  }
  .hosting-nav-links a {
    justify-content: flex-start;
    width: 100%;
  }
}

/* v61 real admin sidebar icons */
.sidebar-filter a {
  position: relative;
  min-height: 44px;
  padding: 8px 12px !important;
  border-radius: 14px;
  color: #b9c4d8 !important;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.sidebar-filter a:hover {
  color: #ffffff !important;
  background: rgba(34, 211, 238, .08);
  transform: translateX(2px);
}
.sidebar-filter a.active-link {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(124, 58, 237, .30), rgba(34, 211, 238, .13));
  border: 1px solid rgba(124, 58, 237, .46);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 12px 28px rgba(2, 6, 23, .22);
}
.sidebar-filter .side-link-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
}
.sidebar-filter .side-link-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}
.sidebar-filter a span:last-child {
  line-height: 1.2;
  font-weight: 700;
}
/* v62: SVG icons in user dropdown menu */
.user-menu a {
  gap: 10px;
}
.user-menu a span:not(.user-menu-icon) {
  display: inline-flex;
  align-items: center;
}
.user-menu-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #7dd3fc;
  background: rgba(34, 211, 238, .09);
  border: 1px solid rgba(34, 211, 238, .18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.user-menu-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}
.user-menu a:hover .user-menu-icon {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(124, 58, 237, .34), rgba(34, 211, 238, .20));
  border-color: rgba(125, 211, 252, .32);
}
.user-menu .danger-link .user-menu-icon {
  color: #fda4af;
  background: rgba(239, 68, 68, .08);
  border-color: rgba(248, 113, 113, .18);
}
.user-menu .danger-link:hover .user-menu-icon {
  color: #fecdd3;
  background: rgba(239, 68, 68, .14);
  border-color: rgba(248, 113, 113, .28);
}

/* v63 support tickets: archive, readable IDs, attachments */
.support-layout-pro {
  align-items: flex-start;
}
.ticket-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ticket-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid rgba(120, 140, 255, .18);
  border-radius: 14px;
  background: rgba(15, 24, 48, .55);
  color: #aebbd1;
  font-weight: 800;
  text-decoration: none;
  transition: .2s ease;
}
.ticket-tab:hover,
.ticket-tab.active {
  color: #fff;
  border-color: rgba(116, 86, 255, .55);
  background: linear-gradient(135deg, rgba(116, 86, 255, .25), rgba(34, 211, 238, .12));
}
.ticket-list-item strong {
  display: block;
  color: #eaf0ff;
  font-size: 13px;
  letter-spacing: .03em;
}
.ticket-list-item span {
  display: block;
  margin-top: 4px;
  color: #b8c3d8;
}
.ticket-list-item small {
  display: block;
  margin-top: 5px;
  color: #7dd3fc;
  font-size: 12px;
}
.ticket-mini-item strong {
  font-size: 12px;
  letter-spacing: .03em;
}
.ticket-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(15, 24, 48, .75);
  border: 1px solid rgba(120, 140, 255, .22);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
}
.ticket-status.status-open { color: #67e8f9; border-color: rgba(34, 211, 238, .35); }
.ticket-status.status-waiting { color: #fbbf24; border-color: rgba(251, 191, 36, .35); }
.ticket-status.status-answered { color: #34d399; border-color: rgba(52, 211, 153, .35); }
.ticket-status.status-closed { color: #cbd5e1; }
.ticket-status.status-archived { color: #a78bfa; border-color: rgba(167, 139, 250, .35); }
.ticket-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  padding: 16px;
  border: 1px solid rgba(120, 140, 255, .14);
  border-radius: 18px;
  background: rgba(4, 10, 24, .28);
}
.ticket-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.ticket-attachments a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(34, 211, 238, .22);
  border-radius: 999px;
  background: rgba(8, 20, 42, .55);
  color: #8be9ff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.support-file-label,
.support-attach-button {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  width: fit-content;
  cursor: pointer;
  border: 1px solid rgba(120, 140, 255, .22);
  background: rgba(15, 24, 48, .65);
  color: #dbe7ff;
  border-radius: 14px;
  font-weight: 900;
  transition: .2s ease;
}
.support-file-label {
  padding: 11px 14px;
  margin: 10px 0 14px;
}
.support-file-label:hover,
.support-attach-button:hover {
  border-color: rgba(34, 211, 238, .45);
  background: rgba(34, 211, 238, .11);
}
.support-file-label input,
.support-attach-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.paperclip-icon {
  font-size: 17px;
  line-height: 1;
}
.support-reply-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.support-attach-button {
  justify-content: center;
  width: 48px;
  height: 44px;
  padding: 0;
  font-size: 18px;
}
.support-admin-actions {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.support-admin-actions label {
  min-width: 240px;
  margin: 0;
}
.support-admin-actions .btn-danger {
  background: linear-gradient(135deg, rgba(127, 29, 29, .95), rgba(185, 28, 28, .75));
  border-color: rgba(248, 113, 113, .25);
  color: #fff;
}
.support-main > .card:first-child:not(:only-child) {
  scroll-margin-top: 120px;
}
@media (max-width: 760px) {
  .ticket-meta { grid-template-columns: 1fr; }
  .support-admin-actions { align-items: stretch; }
  .support-admin-actions label,
  .support-admin-actions .btn { width: 100%; }
}

/* v67 currency and language switchers */
.nav-actions {
  gap: 10px;
}
.nav-tools {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 2px;
}
.currency-switch {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 16px;
  border: 1px solid rgba(34, 211, 238, .20);
  background: rgba(8, 16, 34, .72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.currency-option {
  width: 34px;
  height: 32px;
  border: 0;
  border-radius: 12px;
  color: #9fb0c9;
  background: transparent;
  font-weight: 900;
  cursor: pointer;
  transition: .18s ease;
}
.currency-option:hover,
.currency-option.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(124,58,237,.86), rgba(34,211,238,.78));
  box-shadow: 0 10px 24px rgba(34,211,238,.14);
}
.lang-switch {
  position: relative;
  z-index: 40;
}
.lang-current {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(34,211,238,.28);
  color: #dbeafe;
  background: rgba(8,16,34,.72);
  font-weight: 900;
  cursor: pointer;
  transition: .18s ease;
}
.lang-current:hover,
.lang-switch.is-open .lang-current {
  border-color: rgba(34,211,238,.55);
  background: rgba(34,211,238,.10);
}
.lang-code { letter-spacing: .05em; font-size: 13px; }
.lang-arrow { opacity: .76; font-size: 12px; }
.flag { font-size: 17px; line-height: 1; }
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 240px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(34,211,238,.18);
  background: rgba(5, 10, 21, .98);
  box-shadow: 0 24px 56px rgba(0,0,0,.42);
  display: none;
}
.lang-switch.is-open .lang-menu { display: grid; gap: 4px; }
.lang-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 0;
  border-radius: 12px;
  color: #dbe4f5;
  background: transparent;
  text-align: left;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: .16s ease;
}
.lang-menu button:hover,
.lang-menu button.is-active {
  color: #25f0ff;
  background: rgba(34,211,238,.10);
}
.price-switchable {
  transition: color .18s ease, transform .18s ease;
}
html[data-currency="RUB"] .price-switchable {
  color: #67e8f9;
}
@media (max-width: 1100px) {
  .nav-tools { order: -1; width: 100%; justify-content: flex-end; margin-bottom: 6px; }
}
@media (max-width: 980px) {
  .nav-tools {
    width: 100%;
    justify-content: stretch;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0;
  }
  .currency-switch,
  .lang-current { width: 100%; justify-content: center; }
  .lang-menu { left: 0; right: 0; width: 100%; }
}

/* v68 header polish: fix logo, spacing and RUB price color */
@media (min-width: 981px) {
  .site-header .container.nav-wrap {
    width: min(1480px, calc(100% - 48px));
    gap: 18px;
  }
  .logo.logo-wrap {
    flex: 0 0 auto;
    min-width: 282px;
    max-width: 330px;
    gap: 12px;
  }
  .nav-shell {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
  }
  .nav-links.hosting-nav-links {
    flex: 0 1 auto;
    gap: 14px;
    white-space: nowrap;
  }
  .nav-actions {
    flex: 0 0 auto;
    margin-left: auto;
    gap: 10px;
    justify-content: flex-end;
    white-space: nowrap;
  }
  .nav-actions > .btn {
    min-height: 44px;
    padding: 0 18px;
  }
  .nav-tools {
    margin-right: 4px;
    gap: 8px;
    flex: 0 0 auto;
  }
}

.logo-cube {
  flex: 0 0 34px;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px;
  overflow: visible;
  transform: none !important;
}
.logo-cube .cube-face {
  display: block;
  pointer-events: none;
}
.logo-title,
.logo-subtitle {
  white-space: nowrap;
}
.logo-text-group {
  min-width: 0;
}

@media (max-width: 1280px) and (min-width: 981px) {
  .site-header .container.nav-wrap { width: min(1320px, calc(100% - 32px)); gap: 12px; }
  .logo.logo-wrap { min-width: 238px; max-width: 260px; gap: 10px; }
  .logo-title { font-size: .94rem; }
  .logo-subtitle { font-size: .64rem; letter-spacing: .08em; }
  .nav-links.hosting-nav-links { gap: 8px; }
  .hosting-nav-links a { padding-inline: 10px; }
  .currency-option { width: 30px; height: 30px; }
  .lang-current { min-height: 38px; padding-inline: 10px; }
  .nav-actions > .btn { padding-inline: 14px; }
}

/* RUB prices should stay neutral/white, not cyan */
html[data-currency="RUB"] .price-switchable,
html[data-currency="RUB"] .module-price,
html[data-currency="RUB"] .recommended-price,
html[data-currency="RUB"] .price-box,
html[data-currency="RUB"] .payment-price-box strong {
  color: #f4f7ff !important;
}

/* v69 header nav nudge: move main navigation slightly right on desktop */
@media (min-width: 981px) {
  .nav-links.hosting-nav-links {
    margin-left: 28px !important;
  }
}
@media (max-width: 1280px) and (min-width: 981px) {
  .nav-links.hosting-nav-links {
    margin-left: 18px !important;
  }
}

/* v70 real flag icons + better language dropdown */
.lang-current .flag-icon,
.lang-menu .flag-icon {
  width: 22px;
  height: 16px;
  min-width: 22px;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 4px 10px rgba(0,0,0,.18);
  background: #0f172a;
}
.flag-icon.flag-ru { background: linear-gradient(to bottom, #fff 0 33.33%, #2454d6 33.33% 66.66%, #e3232e 66.66% 100%); }
.flag-icon.flag-en { background: #1d4ed8; }
.flag-icon.flag-en::before { content:""; position:absolute; inset:0; background: linear-gradient(90deg, transparent 42%, #fff 42% 58%, transparent 58%), linear-gradient(0deg, transparent 39%, #fff 39% 61%, transparent 61%); opacity:.95; }
.flag-icon.flag-en::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg, transparent 46%, #ef4444 46% 54%, transparent 54%), linear-gradient(0deg, transparent 45%, #ef4444 45% 55%, transparent 55%); }
.flag-icon.flag-zh { background: #ef1c25; }
.flag-icon.flag-zh::before { content:"★"; position:absolute; left:3px; top:1px; color:#ffde00; font-size:8px; line-height:1; }
.flag-icon.flag-vi { background:#da251d; }
.flag-icon.flag-vi::before { content:"★"; position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:#ffde00; font-size:10px; line-height:1; }
.flag-icon.flag-pt { background: linear-gradient(90deg, #009b3a 0 100%); }
.flag-icon.flag-pt::before { content:""; position:absolute; left:5px; top:3px; width:12px; height:10px; background:#ffdf00; transform:rotate(45deg); border-radius:1px; }
.flag-icon.flag-pt::after { content:""; position:absolute; left:8px; top:4px; width:7px; height:7px; background:#002776; border-radius:50%; }
.lang-menu button span:last-child { white-space: nowrap; }
.lang-current { gap: 9px; }
.lang-menu { width: 282px; }
.lang-menu button { gap: 12px; }

/* v71: final header balance + proper UK flag for English */
@media (min-width: 981px) {
  .site-header .nav-links.hosting-nav-links,
  .nav-links.hosting-nav-links {
    margin-left: 48px !important;
  }
}
@media (max-width: 1280px) and (min-width: 981px) {
  .site-header .nav-links.hosting-nav-links,
  .nav-links.hosting-nav-links {
    margin-left: 34px !important;
  }
}

/* English should use a UK-style Union Jack flag, not the old cross-only flag */
.flag-icon.flag-en {
  background-color: #012169 !important;
  background-image:
    linear-gradient(27deg, transparent 0 35%, #fff 35% 42%, #c8102e 42% 47%, #fff 47% 54%, transparent 54% 100%),
    linear-gradient(-27deg, transparent 0 35%, #fff 35% 42%, #c8102e 42% 47%, #fff 47% 54%, transparent 54% 100%),
    linear-gradient(153deg, transparent 0 35%, #fff 35% 42%, #c8102e 42% 47%, #fff 47% 54%, transparent 54% 100%),
    linear-gradient(-153deg, transparent 0 35%, #fff 35% 42%, #c8102e 42% 47%, #fff 47% 54%, transparent 54% 100%),
    linear-gradient(90deg, transparent 0 39%, #fff 39% 61%, transparent 61% 100%),
    linear-gradient(0deg, transparent 0 34%, #fff 34% 66%, transparent 66% 100%),
    linear-gradient(90deg, transparent 0 44%, #c8102e 44% 56%, transparent 56% 100%),
    linear-gradient(0deg, transparent 0 41%, #c8102e 41% 59%, transparent 59% 100%) !important;
}
.flag-icon.flag-en::before,
.flag-icon.flag-en::after {
  content: none !important;
  display: none !important;
}

/* v72: crisp UK flag and stronger language translation styling */
.flag-icon.flag-en {
  background-color: #012169 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 36'%3E%3CclipPath id='a'%3E%3Cpath d='M0 0h60v36H0z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23a)'%3E%3Cpath fill='%23012169' d='M0 0h60v36H0z'/%3E%3Cpath stroke='%23fff' stroke-width='7.2' d='m0 0 60 36m0-36L0 36'/%3E%3Cpath stroke='%23C8102E' stroke-width='4.2' d='m0 0 60 36m0-36L0 36'/%3E%3Cpath stroke='%23fff' stroke-width='12' d='M30 0v36M0 18h60'/%3E%3Cpath stroke='%23C8102E' stroke-width='7.2' d='M30 0v36M0 18h60'/%3E%3C/g%3E%3C/svg%3E") !important;
  background-size: 100% 100% !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.flag-icon.flag-en::before,
.flag-icon.flag-en::after { content: none !important; display: none !important; }

/* v79: larger navigation icons across header, cabinet and admin menus */
.hosting-nav-links a {
  gap: 9px !important;
}
.hosting-nav-links .nav-link-icon {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  border-radius: 10px !important;
  font-size: 16px !important;
}
.hosting-nav-links .nav-link-icon svg {
  width: 18px !important;
  height: 18px !important;
}

.dashboard-sidebar .nav-card,
.sidebar-filter a {
  gap: 12px !important;
}
.dashboard-sidebar .nav-svg-icon,
.sidebar-filter .side-link-icon {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  flex-basis: 38px !important;
  border-radius: 13px !important;
  font-size: 20px !important;
}
.dashboard-sidebar .nav-svg-icon svg,
.sidebar-filter .side-link-icon svg {
  width: 21px !important;
  height: 21px !important;
}

.user-menu-icon {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  border-radius: 12px !important;
}
.user-menu-icon svg {
  width: 19px !important;
  height: 19px !important;
}
.user-menu a {
  gap: 12px !important;
}

@media (max-width: 760px) {
  .hosting-nav-links .nav-link-icon {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
  }
  .hosting-nav-links .nav-link-icon svg {
    width: 17px !important;
    height: 17px !important;
  }
}
