/* V5 theme tokens. Later admin panel can override only these variables. */
:root {
  --vg5-bg: #060a11;
  --vg5-bg-2: #0b111b;
  --vg5-surface: rgba(13, 19, 30, .92);
  --vg5-surface-2: rgba(18, 26, 40, .82);
  --vg5-card: rgba(12, 18, 30, .76);
  --vg5-border: rgba(255,255,255,.095);
  --vg5-border-2: rgba(255,255,255,.14);
  --vg5-text: #f4f7fb;
  --vg5-soft: #b7c0cf;
  --vg5-muted: #7f8a9d;
  --vg5-primary: #ff3434;
  --vg5-primary-2: #ff7a1a;
  --vg5-accent: #22d6e8;
  --vg5-green: #23d18b;
  --vg5-gold: #ffc247;
  --vg5-radius: 22px;
  --vg5-radius-sm: 14px;
  --vg5-shadow: 0 24px 80px rgba(0,0,0,.38);
  --vg5-max: 1440px;
}

html[data-vg5-theme="light"] {
  --vg5-bg: #f4f7fb;
  --vg5-bg-2: #eef3fa;
  --vg5-surface: rgba(255,255,255,.94);
  --vg5-surface-2: rgba(244,247,251,.92);
  --vg5-card: rgba(255,255,255,.92);
  --vg5-border: rgba(9, 14, 24, .1);
  --vg5-border-2: rgba(9, 14, 24, .16);
  --vg5-text: #111827;
  --vg5-soft: #4b5565;
  --vg5-muted: #6b7280;
  --vg5-shadow: 0 22px 60px rgba(20,34,60,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.vg5-body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 520px at -10% 5%, rgba(255,52,52,.10), transparent 62%),
    radial-gradient(880px 540px at 105% 3%, rgba(34,214,232,.12), transparent 58%),
    linear-gradient(180deg, var(--vg5-bg), var(--vg5-bg-2));
  color: var(--vg5-text);
  font-family: Manrope, Inter, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  font-weight: 400;
  letter-spacing: -.015em;
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom);
}
body.vg5-body a { color: inherit; text-decoration: none; }
body.vg5-body img { max-width: 100%; display: block; }
body.vg5-body button, body.vg5-body input { font: inherit; }
body.vg5-body h1, body.vg5-body h2, body.vg5-body h3, body.vg5-body strong, body.vg5-body b { font-weight: 520; }

.vg5-container { width: min(var(--vg5-max), calc(100% - 36px)); margin: 0 auto; }
.vg5-ico { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.vg5-ico svg { width: 100%; height: 100%; fill: currentColor; }

.vg5-bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  opacity: .36;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 92%);
}
html[data-vg5-theme="light"] .vg5-bg-grid { opacity: .55; }
.vg5-bg-icons { position: fixed; inset: 0; pointer-events: none; z-index: -2; overflow: hidden; }
.vg5-bg-icons > span {
  position: absolute;
  width: 74px;
  height: 74px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  border: 1px solid var(--vg5-border);
  color: var(--vg5-accent);
  background: color-mix(in srgb, var(--vg5-card) 80%, transparent);
  opacity: .11;
  animation: vg5Float 14s ease-in-out infinite;
}
.vg5-bg-icons > span:nth-child(1){ left: 8%; top: 21%; }
.vg5-bg-icons > span:nth-child(2){ right: 13%; top: 32%; animation-delay: -4s; color: var(--vg5-primary); }
.vg5-bg-icons > span:nth-child(3){ left: 17%; bottom: 18%; animation-delay: -8s; color: var(--vg5-green); }
.vg5-bg-icons > span:nth-child(4){ right: 7%; bottom: 14%; animation-delay: -11s; color: var(--vg5-gold); }
@keyframes vg5Float { 0%,100%{ transform: translate3d(0,0,0) rotate(-4deg); } 50%{ transform: translate3d(0,-18px,0) rotate(5deg); } }

.vg5-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--vg5-border);
  background: color-mix(in srgb, var(--vg5-bg) 82%, transparent);
  backdrop-filter: blur(16px);
}
.vg5-topbar, .vg5-mainbar, .vg5-menubar { display: flex; align-items: center; }
.vg5-topbar { min-height: 42px; justify-content: space-between; gap: 16px; color: var(--vg5-soft); font-size: 13px; }
.vg5-top-left, .vg5-top-right, .vg5-user-actions { display: flex; align-items: center; gap: 10px; }
.vg5-pref-btn, .vg5-top-link, .vg5-theme-toggle, .vg5-login-btn, .vg5-register-btn, .vg5-wallet-pill, .vg5-account-pill, .vg5-cart-pill {
  border: 1px solid var(--vg5-border);
  background: var(--vg5-surface-2);
  color: var(--vg5-text);
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 999px;
  transition: border-color .22s ease, background-color .22s ease, color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.vg5-pref-btn:hover, .vg5-top-link:hover, .vg5-theme-toggle:hover, .vg5-login-btn:hover, .vg5-wallet-pill:hover, .vg5-account-pill:hover, .vg5-cart-pill:hover {
  border-color: color-mix(in srgb, var(--vg5-accent) 58%, var(--vg5-border));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--vg5-accent) 12%, transparent);
  transform: translateY(-1px);
}
.vg5-theme-toggle { width: 42px; padding: 0; justify-content: center; }
.vg5-theme-toggle .vg5-ico:nth-child(2) { display: none; }
html[data-vg5-theme="light"] .vg5-theme-toggle .vg5-ico:nth-child(1) { display: none; }
html[data-vg5-theme="light"] .vg5-theme-toggle .vg5-ico:nth-child(2) { display: inline-flex; }
.vg5-top-note { color: var(--vg5-muted); }
.vg5-mainbar { min-height: 92px; justify-content: space-between; gap: 20px; }
.vg5-brand { display: inline-flex; width: 190px; min-width: 150px; align-items: center; }
.vg5-brand img { max-height: 48px; width: auto; object-fit: contain; }
.vg5-search { flex: 1; max-width: 640px; height: 52px; border: 1px solid var(--vg5-border); background: var(--vg5-surface); border-radius: 20px; display: flex; align-items: center; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255,255,255,.035); }
.vg5-search input { flex: 1; height: 100%; border: 0; outline: 0; background: transparent; color: var(--vg5-text); padding: 0 20px; font-size: 15px; font-weight: 430; }
.vg5-search button { width: 58px; height: 100%; border: 0; color: white; background: linear-gradient(135deg, var(--vg5-primary), var(--vg5-primary-2)); cursor: pointer; }
.vg5-search button:hover .vg5-ico { transform: scale(1.06); }
.vg5-search button .vg5-ico { margin: auto; transition: transform .22s ease; }
.vg5-register-btn { color: white; border-color: transparent; background: linear-gradient(135deg, var(--vg5-primary), var(--vg5-primary-2)); box-shadow: 0 12px 34px rgba(255,52,52,.18); }
.vg5-wallet-pill { color: var(--vg5-green); }
.vg5-cart-pill { width: 46px; justify-content: center; position: relative; padding: 0; }
.vg5-cart-pill::after { content: attr(data-count); position: absolute; right: -5px; top: -7px; min-width: 18px; height: 18px; border-radius: 999px; display: grid; place-items: center; background: var(--vg5-primary); color: #fff; font-size: 11px; font-weight: 600; }
.vg5-menubar { min-height: 54px; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 10px; }
.vg5-menubar::-webkit-scrollbar { display: none; }
.vg5-menubar a { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 15px; background: var(--vg5-surface-2); border: 1px solid var(--vg5-border); color: var(--vg5-soft); white-space: nowrap; transition: transform .22s ease, border-color .22s ease, color .22s ease, background-color .22s ease; position: relative; overflow: hidden; }
.vg5-menubar a::before { content: ''; position: absolute; inset: auto 16px 7px; height: 1px; background: linear-gradient(90deg, transparent, var(--vg5-primary), var(--vg5-accent), transparent); opacity: 0; transform: scaleX(.4); transition: opacity .22s ease, transform .22s ease; }
.vg5-menubar a:hover, .vg5-menubar a.is-active { color: var(--vg5-text); border-color: var(--vg5-border-2); transform: translateY(-1px); }
.vg5-menubar a:hover::before, .vg5-menubar a.is-active::before { opacity: 1; transform: scaleX(1); }
.vg5-main { padding: 24px 0 70px; }
.vg5-stories { margin: 18px auto 24px; }
.vg5-story-track { display: flex; gap: 18px; overflow-x: auto; padding: 8px 2px 12px; scrollbar-width: none; }
.vg5-story-track::-webkit-scrollbar { display: none; }
.vg5-story { min-width: 86px; display: grid; justify-items: center; gap: 8px; color: var(--vg5-soft); font-size: 12px; }
.vg5-story-ring { width: 74px; height: 74px; position: relative; border-radius: 999px; padding: 3px; background: conic-gradient(from 120deg, var(--vg5-primary), var(--vg5-accent), var(--vg5-gold), var(--vg5-primary)); box-shadow: 0 12px 32px rgba(0,0,0,.22); }
.vg5-story-ring::before, .vg5-story-ring::after { content: ''; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--vg5-accent); top: 0; left: 50%; box-shadow: 0 0 12px currentColor; }
.vg5-story-ring::after { top: auto; bottom: 3px; left: 16px; background: var(--vg5-primary); }
.vg5-story img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; border: 5px solid var(--vg5-bg); }
.vg5-story:hover .vg5-story-ring { transform: translateY(-2px); transition: transform .24s ease; }
.vg5-story em { font-style: normal; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.vg5-hero-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 18px; }
.vg5-hero { min-height: 410px; border: 1px solid var(--vg5-border); border-radius: 28px; background: linear-gradient(135deg, color-mix(in srgb, var(--vg5-card) 92%, transparent), color-mix(in srgb, var(--vg5-accent) 10%, var(--vg5-card))); box-shadow: var(--vg5-shadow); position: relative; overflow: hidden; display: grid; grid-template-columns: .74fr 1fr; align-items: center; gap: 26px; padding: 34px; }
.vg5-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(520px 260px at 9% 16%, rgba(255,52,52,.18), transparent 64%), radial-gradient(520px 260px at 95% 88%, rgba(34,214,232,.14), transparent 60%); pointer-events: none; }
.vg5-hero-copy, .vg5-hero-media { position: relative; z-index: 1; }
.vg5-kicker, .vg5-section-head span { color: var(--vg5-accent); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 520; }
.vg5-hero h1 { margin: 14px 0 12px; font-size: clamp(34px, 5vw, 68px); line-height: .98; letter-spacing: -.055em; font-weight: 430; max-width: 620px; }
.vg5-hero p { color: var(--vg5-soft); max-width: 520px; line-height: 1.75; margin: 0 0 22px; font-size: 15px; }
.vg5-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.vg5-hero-primary, .vg5-hero-secondary { height: 48px; border-radius: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; border: 1px solid var(--vg5-border); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.vg5-hero-primary { color: white; background: linear-gradient(135deg, var(--vg5-primary), var(--vg5-primary-2)); border-color: transparent; box-shadow: 0 14px 35px rgba(255,52,52,.18); }
.vg5-hero-secondary { background: var(--vg5-surface-2); color: var(--vg5-soft); }
.vg5-hero-primary:hover, .vg5-hero-secondary:hover { transform: translateY(-2px); border-color: var(--vg5-border-2); }
.vg5-hero-media { min-height: 300px; border-radius: 24px; overflow: hidden; border: 1px solid var(--vg5-border); background: #090f1c; }
.vg5-hero-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.015); transition: opacity .45s ease, transform .6s ease; }
.vg5-hero-slide.is-active { opacity: 1; transform: scale(1); }
.vg5-hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.vg5-hero-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; border-radius: 14px; border: 1px solid var(--vg5-border); background: rgba(255,255,255,.08); color: white; font-size: 28px; cursor: pointer; backdrop-filter: blur(8px); transition: background .22s ease, transform .22s ease; }
.vg5-hero-nav:hover { background: rgba(255,52,52,.84); transform: translateY(-50%) scale(1.03); }
.vg5-prev { left: 12px; } .vg5-next { right: 12px; }
.vg5-hero-dots { position: absolute; z-index: 4; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; gap: 8px; }
.vg5-hero-dots button { width: 28px; height: 4px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.24); cursor: pointer; transition: width .2s ease, background .2s ease; }
.vg5-hero-dots button.is-active { width: 46px; background: linear-gradient(90deg, var(--vg5-primary), var(--vg5-accent)); }
.vg5-hero-side { display: grid; gap: 12px; }
.vg5-mini-stat { border: 1px solid var(--vg5-border); border-radius: 20px; background: var(--vg5-card); min-height: 94px; padding: 16px; display: grid; align-content: center; gap: 5px; transition: border-color .22s ease, transform .22s ease, background .22s ease; }
.vg5-mini-stat:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--vg5-accent) 45%, var(--vg5-border)); }
.vg5-mini-stat .vg5-ico { color: var(--vg5-primary); }
.vg5-mini-stat strong { font-size: 28px; letter-spacing: -.06em; font-weight: 430; }
.vg5-mini-stat span:last-child { color: var(--vg5-muted); font-size: 13px; }

.vg5-section { margin-top: 44px; position: relative; }
.vg5-section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.vg5-section-head h2 { margin: 6px 0 0; font-size: clamp(24px, 3vw, 36px); letter-spacing: -.045em; font-weight: 430; display: flex; align-items: center; gap: 10px; }
.vg5-section-head a { color: var(--vg5-soft); display: inline-flex; align-items: center; gap: 7px; }
.vg5-game-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.vg5-game-card { min-height: 152px; border-radius: 20px; border: 1px solid var(--vg5-border); background: var(--vg5-card); display: grid; place-items: center; gap: 12px; padding: 18px; position: relative; overflow: hidden; transition: transform .22s ease, border-color .22s ease, background .22s ease; }
.vg5-game-card::before { content: ''; position: absolute; inset: auto 20px 12px; height: 1px; background: linear-gradient(90deg, transparent, var(--vg5-primary), var(--vg5-accent), transparent); opacity: 0; transform: scaleX(.4); transition: opacity .22s ease, transform .22s ease; }
.vg5-game-card img { width: 82px; height: 82px; object-fit: cover; border-radius: 18px; transition: transform .25s ease; }
.vg5-game-card strong { font-size: 14px; text-align: center; font-weight: 520; }
.vg5-game-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--vg5-primary) 45%, var(--vg5-border)); }
.vg5-game-card:hover::before { opacity: 1; transform: scaleX(1); }
.vg5-game-card:hover img { transform: scale(1.035); }

.vg5-promo-grid { margin-top: 38px; display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 14px; }
.vg5-promo-card { min-height: 160px; border-radius: 22px; overflow: hidden; position: relative; border: 1px solid var(--vg5-border); background: var(--vg5-card); }
.vg5-promo-card.is-wide { grid-row: span 2; min-height: 335px; }
.vg5-promo-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.02); transition: transform .35s ease; }
.vg5-promo-card span { position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: white; background: rgba(255,52,52,.86); }
.vg5-promo-card:hover img { transform: scale(1.025); }

.vg5-product-section::before, .vg5-review-section::before, .vg5-blog-section::before { content: ''; position: absolute; inset: -18px -24px -24px; border-radius: 30px; background: radial-gradient(720px 260px at 0 20%, rgba(255,52,52,.09), transparent 62%), radial-gradient(720px 260px at 100% 40%, rgba(34,214,232,.08), transparent 60%); z-index: -1; }
.vg5-rail-controls { display: flex; gap: 8px; }
.vg5-rail-controls button { width: 38px; height: 38px; border-radius: 13px; border: 1px solid var(--vg5-border); background: var(--vg5-surface-2); color: var(--vg5-text); cursor: pointer; font-size: 22px; }
.vg5-product-rail, .vg5-review-rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--vg5-primary) 55%, transparent) transparent; }
.vg5-product-card { flex: 0 0 228px; scroll-snap-align: start; border-radius: 22px; border: 1px solid var(--vg5-border); background: var(--vg5-card); overflow: hidden; transition: transform .22s ease, border-color .22s ease, background .22s ease; }
.vg5-product-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--vg5-accent) 42%, var(--vg5-border)); }
.vg5-product-img { height: 150px; display: block; padding: 13px; position: relative; background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.008)); }
.vg5-product-img img { width: 100%; height: 100%; object-fit: contain; border-radius: 16px; background: rgba(0,0,0,.16); }
.vg5-discount { position: absolute; left: 12px; top: 12px; z-index: 2; color: #fff; background: var(--vg5-primary); padding: 5px 9px; border-radius: 999px; font-size: 12px; }
.vg5-product-info { padding: 13px 15px 15px; }
.vg5-product-info small { color: var(--vg5-accent); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.vg5-product-info h3 { min-height: 42px; margin: 7px 0 14px; font-size: 15px; line-height: 1.35; font-weight: 520; }
.vg5-product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.vg5-product-bottom strong { color: var(--vg5-green); font-size: 19px; font-weight: 430; letter-spacing: -.045em; }
.vg5-product-bottom a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 13px; color: white; background: linear-gradient(135deg, var(--vg5-primary), var(--vg5-primary-2)); }

.vg5-trust-section { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.vg5-trust-card { border: 1px solid var(--vg5-border); background: var(--vg5-card); border-radius: 22px; padding: 20px; display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; align-items: center; }
.vg5-trust-card .vg5-ico { grid-row: span 2; width: 42px; height: 42px; color: var(--vg5-primary); padding: 10px; border-radius: 14px; background: rgba(255,52,52,.12); }
.vg5-trust-card strong { font-size: 16px; }
.vg5-trust-card span { color: var(--vg5-muted); font-size: 13px; }

.vg5-review-card { flex: 0 0 340px; border-radius: 22px; border: 1px solid var(--vg5-border); background: var(--vg5-card); padding: 20px; scroll-snap-align: start; }
.vg5-review-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vg5-review-top strong { font-size: 15px; }
.vg5-review-top span { color: var(--vg5-gold); letter-spacing: .08em; }
.vg5-review-card p { color: var(--vg5-soft); line-height: 1.65; margin: 16px 0 0; }

.vg5-blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.vg5-blog-card { border: 1px solid var(--vg5-border); background: var(--vg5-card); border-radius: 22px; overflow: hidden; transition: transform .22s ease, border-color .22s ease; }
.vg5-blog-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--vg5-primary) 45%, var(--vg5-border)); }
.vg5-blog-card img { height: 138px; width: 100%; object-fit: cover; }
.vg5-blog-card div { padding: 15px; display: grid; gap: 8px; }
.vg5-blog-card strong { line-height: 1.4; font-size: 15px; }
.vg5-blog-card span { color: var(--vg5-muted); font-size: 12px; }

.vg5-footer { margin-top: 50px; border-top: 1px solid var(--vg5-border); background: color-mix(in srgb, var(--vg5-surface) 86%, transparent); }
.vg5-footer-inner { padding: 42px 0; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 34px; }
.vg5-footer-brand img { max-height: 46px; width: auto; margin-bottom: 14px; }
.vg5-footer-brand p { color: var(--vg5-soft); line-height: 1.7; max-width: 420px; }
.vg5-footer-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.vg5-footer-tags span { border: 1px solid var(--vg5-border); border-radius: 999px; padding: 8px 12px; color: var(--vg5-soft); background: var(--vg5-surface-2); font-size: 12px; }
.vg5-footer nav { display: grid; align-content: start; gap: 10px; }
.vg5-footer nav strong { margin-bottom: 8px; }
.vg5-footer nav a { color: var(--vg5-soft); display: inline-flex; align-items: center; gap: 8px; transition: color .2s ease, transform .2s ease; }
.vg5-footer nav a:hover { color: var(--vg5-primary); transform: translateX(2px); }
.vg5-copyright { color: var(--vg5-muted); border-top: 1px solid var(--vg5-border); padding: 18px 0 24px; font-size: 13px; }

.vg5-mobile-nav { position: fixed; z-index: 80; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(520px, calc(100% - 28px)); height: 72px; border-radius: 26px; border: 1px solid var(--vg5-border); background: color-mix(in srgb, var(--vg5-surface) 92%, transparent); backdrop-filter: blur(18px); box-shadow: var(--vg5-shadow); display: none; grid-template-columns: repeat(5, 1fr); overflow: hidden; }
.vg5-mobile-nav a { display: grid; place-items: center; gap: 4px; color: var(--vg5-muted); font-size: 11px; padding: 8px 4px; }
.vg5-mobile-nav a .vg5-ico { width: 22px; height: 22px; }
.vg5-mobile-nav a.is-active { color: var(--vg5-primary); }
.vg5-mobile-nav a.is-active .vg5-ico { color: white; background: linear-gradient(135deg, var(--vg5-primary), var(--vg5-primary-2)); border-radius: 14px; width: 40px; height: 40px; padding: 10px; }

.vg5-page-fade { position: fixed; inset: 0; z-index: 9999; background: var(--vg5-bg); opacity: 0; pointer-events: none; transition: opacity .18s ease; }
html.vg5-navigating .vg5-page-fade { opacity: .2; }

@media (max-width: 1180px) {
  .vg5-hero-wrap { grid-template-columns: 1fr; }
  .vg5-hero-side { grid-template-columns: repeat(4, 1fr); }
  .vg5-game-grid { grid-template-columns: repeat(4, 1fr); }
  .vg5-blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .vg5-container { width: min(var(--vg5-max), calc(100% - 24px)); }
  .vg5-topbar { display: none; }
  .vg5-mainbar { min-height: auto; padding: 14px 0; flex-wrap: wrap; }
  .vg5-brand { width: 150px; }
  .vg5-search { order: 3; flex-basis: 100%; max-width: none; height: 46px; border-radius: 16px; }
  .vg5-user-actions { margin-left: auto; }
  .vg5-login-btn span, .vg5-register-btn span, .vg5-wallet-pill span, .vg5-account-pill span { display: none; }
  .vg5-menubar { padding-bottom: 10px; }
  .vg5-main { padding-bottom: 110px; }
  .vg5-hero { grid-template-columns: 1fr; padding: 22px; min-height: auto; }
  .vg5-hero h1 { font-size: 36px; }
  .vg5-hero-media { min-height: 210px; }
  .vg5-hero-side { grid-template-columns: repeat(2, 1fr); }
  .vg5-game-grid { grid-template-columns: repeat(3, 1fr); }
  .vg5-promo-grid { grid-template-columns: 1fr; }
  .vg5-promo-card, .vg5-promo-card.is-wide { min-height: 170px; grid-row: auto; }
  .vg5-trust-section { grid-template-columns: repeat(2, 1fr); }
  .vg5-footer-inner { grid-template-columns: 1fr 1fr; }
  .vg5-mobile-nav { display: grid; }
}
@media (max-width: 560px) {
  body.vg5-body h1, body.vg5-body h2, body.vg5-body h3 { letter-spacing: -.04em; }
  .vg5-brand { width: 132px; min-width: 132px; }
  .vg5-register-btn, .vg5-login-btn, .vg5-wallet-pill, .vg5-account-pill, .vg5-cart-pill { width: 42px; height: 42px; padding: 0; justify-content: center; }
  .vg5-hero { border-radius: 22px; padding: 18px; }
  .vg5-hero p { font-size: 14px; }
  .vg5-hero-actions { align-items: stretch; }
  .vg5-hero-primary, .vg5-hero-secondary { flex: 1; justify-content: center; padding: 0 12px; }
  .vg5-hero-side { gap: 10px; }
  .vg5-mini-stat { min-height: 78px; padding: 12px; border-radius: 16px; }
  .vg5-mini-stat strong { font-size: 22px; }
  .vg5-mini-stat span:last-child { font-size: 11px; }
  .vg5-story { min-width: 72px; }
  .vg5-story-ring { width: 62px; height: 62px; }
  .vg5-game-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .vg5-game-card { min-height: 126px; padding: 13px; border-radius: 17px; }
  .vg5-game-card img { width: 66px; height: 66px; }
  .vg5-product-card { flex-basis: 178px; border-radius: 18px; }
  .vg5-product-img { height: 118px; padding: 10px; }
  .vg5-product-info { padding: 11px; }
  .vg5-product-info h3 { font-size: 13px; min-height: 36px; }
  .vg5-product-bottom strong { font-size: 16px; }
  .vg5-review-card { flex-basis: 286px; }
  .vg5-trust-section, .vg5-blog-grid, .vg5-footer-inner { grid-template-columns: 1fr; }
  .vg5-bg-icons { display: none; }
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .vg5-game-card:hover, .vg5-product-card:hover, .vg5-blog-card:hover, .vg5-mini-stat:hover, .vg5-hero-primary:hover, .vg5-hero-secondary:hover { transform: none; }
}

/* v5.1 refinements: real menu drawer, balanced typography, hidden rails */
body.vg5-body h1, body.vg5-body h2, body.vg5-body h3 { font-weight: 580; }
body.vg5-body strong, body.vg5-body b { font-weight: 560; }
.vg5-hero h1 { font-weight: 590; letter-spacing: -.045em; }
.vg5-section-head h2 { font-weight: 570; letter-spacing: -.035em; }
.vg5-product-bottom strong, .vg5-mini-stat strong { font-weight: 520; }
.vg5-product-info h3, .vg5-game-card strong, .vg5-review-top strong { font-weight: 560; }

.vg5-pref-wrap { position: relative; }
.vg5-pref-panel { position: absolute; top: calc(100% + 10px); left: 0; z-index: 90; width: 280px; padding: 16px; border: 1px solid var(--vg5-border); border-radius: 20px; background: color-mix(in srgb, var(--vg5-surface) 96%, transparent); box-shadow: var(--vg5-shadow); display: none; }
.vg5-pref-panel.is-open { display: block; animation: vg5Pop .16s ease both; }
.vg5-pref-panel form { display: grid; gap: 9px; }
.vg5-pref-panel strong { font-size: 14px; margin-bottom: 4px; }
.vg5-pref-panel label { font-size: 12px; color: var(--vg5-muted); }
.vg5-pref-panel select { width: 100%; height: 42px; border-radius: 13px; border: 1px solid var(--vg5-border); background: var(--vg5-bg-2); color: var(--vg5-text); padding: 0 12px; outline: none; }
.vg5-pref-panel button[type="submit"] { height: 42px; border: 0; border-radius: 13px; color: #fff; background: linear-gradient(135deg, var(--vg5-primary), var(--vg5-primary-2)); cursor: pointer; }
@keyframes vg5Pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

.vg5-hamburger { width: 46px; height: 46px; border-radius: 15px; border: 1px solid var(--vg5-border); background: var(--vg5-surface-2); color: var(--vg5-text); display: none; place-items: center; gap: 4px; padding: 0; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease; }
.vg5-hamburger span { width: 18px; height: 2px; border-radius: 999px; background: currentColor; display: block; transition: transform .2s ease, opacity .2s ease; }
.vg5-hamburger:hover { border-color: color-mix(in srgb, var(--vg5-accent) 50%, var(--vg5-border)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--vg5-accent) 10%, transparent); }

.vg5-drawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; visibility: hidden; }
.vg5-drawer.is-open { pointer-events: auto; visibility: visible; }
.vg5-drawer-backdrop { position: absolute; inset: 0; border: 0; background: rgba(0,0,0,.58); opacity: 0; transition: opacity .22s ease; }
.vg5-drawer.is-open .vg5-drawer-backdrop { opacity: 1; }
.vg5-drawer-panel { position: absolute; top: 0; left: 0; width: min(390px, 88vw); height: 100%; background: color-mix(in srgb, var(--vg5-bg) 94%, #0d1724); border-right: 1px solid var(--vg5-border); transform: translateX(-104%); transition: transform .24s ease; box-shadow: 24px 0 60px rgba(0,0,0,.38); display: flex; flex-direction: column; }
.vg5-drawer.is-open .vg5-drawer-panel { transform: translateX(0); }
.vg5-drawer-head { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 18px; border-bottom: 1px solid var(--vg5-border); }
.vg5-drawer-head img { max-height: 42px; width: auto; }
.vg5-drawer-head button { width: 40px; height: 40px; border-radius: 14px; border: 1px solid var(--vg5-border); background: var(--vg5-surface-2); color: var(--vg5-text); font-size: 24px; cursor: pointer; }
.vg5-drawer-body { padding: 16px; overflow-y: auto; display: grid; align-content: start; gap: 9px; scrollbar-width: none; }
.vg5-drawer-body::-webkit-scrollbar { display: none; }
.vg5-drawer-body a { min-height: 48px; display: flex; align-items: center; gap: 12px; border-radius: 16px; border: 1px solid var(--vg5-border); background: var(--vg5-surface-2); color: var(--vg5-soft); padding: 0 14px; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.vg5-drawer-body a:hover { color: var(--vg5-text); border-color: color-mix(in srgb, var(--vg5-accent) 42%, var(--vg5-border)); background: color-mix(in srgb, var(--vg5-surface-2) 80%, var(--vg5-accent)); }

.vg5-menubar, .vg5-story-track, .vg5-product-rail, .vg5-review-rail { scrollbar-width: none !important; -ms-overflow-style: none; cursor: grab; }
.vg5-menubar::-webkit-scrollbar, .vg5-story-track::-webkit-scrollbar, .vg5-product-rail::-webkit-scrollbar, .vg5-review-rail::-webkit-scrollbar { display: none !important; width: 0; height: 0; }
.vg5-menubar.is-dragging, .vg5-story-track.is-dragging, .vg5-product-rail.is-dragging, .vg5-review-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }

.vg5-section { padding: 28px 0; }
.vg5-product-section, .vg5-review-section, .vg5-blog-section, .vg5-games-section { overflow: visible; }
.vg5-product-section::before, .vg5-review-section::before, .vg5-blog-section::before, .vg5-games-section::before { content: ''; position: absolute; inset: 0 calc((100vw - min(var(--vg5-max), calc(100vw - 36px))) / -2); border-radius: 0; background:
  radial-gradient(560px 240px at 10% 20%, color-mix(in srgb, var(--vg5-primary) 12%, transparent), transparent 70%),
  radial-gradient(640px 260px at 88% 56%, color-mix(in srgb, var(--vg5-accent) 13%, transparent), transparent 72%),
  linear-gradient(90deg, transparent, color-mix(in srgb, var(--vg5-surface) 44%, transparent), transparent); z-index: -1; }
.vg5-product-section::after, .vg5-review-section::after, .vg5-blog-section::after, .vg5-games-section::after { content: ''; position: absolute; right: 2%; top: 18px; width: 62px; height: 62px; border-radius: 18px; border: 1px solid var(--vg5-border); opacity: .1; background: linear-gradient(135deg, var(--vg5-primary), var(--vg5-accent)); animation: vg5Float 15s ease-in-out infinite; z-index: -1; }
.vg5-review-section::after { right: auto; left: 4%; background: linear-gradient(135deg, var(--vg5-gold), var(--vg5-primary)); }
.vg5-blog-section::after { background: linear-gradient(135deg, var(--vg5-green), var(--vg5-accent)); }

@media (max-width: 860px) {
  .vg5-hamburger { display: grid; }
  .vg5-mainbar { display: grid; grid-template-columns: 46px 1fr auto; gap: 10px; align-items: center; }
  .vg5-brand { width: 142px; min-width: 0; justify-self: start; }
  .vg5-user-actions { margin-left: 0; justify-self: end; }
  .vg5-search { grid-column: 1 / -1; order: initial; }
  .vg5-menubar { display: none; }
  .vg5-topbar { display: none; }
}
@media (max-width: 560px) {
  .vg5-mainbar { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .vg5-hamburger { width: 44px; height: 44px; }
  .vg5-brand img { max-height: 39px; }
  .vg5-product-card { flex-basis: 168px; }
  .vg5-section { padding: 20px 0; margin-top: 26px; }
  .vg5-section-head h2 { font-size: 24px; font-weight: 580; }
}


/* v5.2 real menu icons + typography balance + mobile header correction */
body.vg5-body {
  font-weight: 410;
}
body.vg5-body h1,
body.vg5-body h2,
body.vg5-body h3 {
  font-weight: 600;
  letter-spacing: -.035em;
}
body.vg5-body strong,
body.vg5-body b {
  font-weight: 570;
}
.vg5-kicker,
.vg5-section-head span,
.vg5-product-info small {
  font-weight: 560;
  letter-spacing: .11em;
}
.vg5-hero h1 {
  font-weight: 610;
  letter-spacing: -.042em;
}
.vg5-section-head h2 {
  font-weight: 610;
  letter-spacing: -.032em;
}
.vg5-product-info h3,
.vg5-game-card strong,
.vg5-review-top strong {
  font-weight: 570;
}
.vg5-product-bottom strong,
.vg5-mini-stat strong {
  font-weight: 540;
}
.vg5-menubar a,
.vg5-drawer-body a {
  font-weight: 510;
}

.vg5-admin-menu-ico {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: currentColor;
}
.vg5-admin-menu-ico i {
  font-size: 17px;
  line-height: 1;
  color: currentColor;
}
.vg5-admin-menu-ico img,
.vg5-admin-menu-ico svg {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}
.vg5-menu-chip:not(.vg5-menu-all) .vg5-ico {
  display: none;
}

.vg5-login-btn,
.vg5-register-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.vg5-login-btn::before,
.vg5-register-btn::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  opacity: 0;
  transform: translateX(-18%);
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.16) 45%, transparent 70%);
  transition: opacity .28s ease, transform .42s ease;
  z-index: -1;
}
.vg5-login-btn:hover::before,
.vg5-register-btn:hover::before {
  opacity: 1;
  transform: translateX(18%);
}
.vg5-login-btn {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--vg5-surface-2) 90%, transparent), color-mix(in srgb, var(--vg5-bg-2) 80%, transparent));
}
.vg5-register-btn {
  box-shadow: 0 14px 34px color-mix(in srgb, var(--vg5-primary) 20%, transparent), inset 0 1px 0 rgba(255,255,255,.18);
}
.vg5-register-btn:hover {
  box-shadow: 0 16px 40px color-mix(in srgb, var(--vg5-primary) 28%, transparent), 0 0 0 4px color-mix(in srgb, var(--vg5-primary) 12%, transparent);
}

.vg5-product-section,
.vg5-review-section,
.vg5-blog-section,
.vg5-games-section {
  isolation: isolate;
}
.vg5-product-section::before,
.vg5-review-section::before,
.vg5-blog-section::before,
.vg5-games-section::before {
  inset: -26px calc((100vw - min(var(--vg5-max), calc(100vw - 36px))) / -2) -30px !important;
  background:
    radial-gradient(760px 300px at 6% 18%, color-mix(in srgb, var(--vg5-primary) 14%, transparent), transparent 72%),
    radial-gradient(840px 320px at 91% 62%, color-mix(in srgb, var(--vg5-accent) 15%, transparent), transparent 74%),
    linear-gradient(90deg, transparent, color-mix(in srgb, var(--vg5-surface) 58%, transparent), transparent) !important;
}
.vg5-product-section::after,
.vg5-review-section::after,
.vg5-blog-section::after,
.vg5-games-section::after {
  opacity: .14 !important;
}

@media (max-width: 860px) {
  .vg5-site-header {
    overflow: clip;
  }
  .vg5-site-header .vg5-container {
    width: min(var(--vg5-max), calc(100% - 28px));
  }
  .vg5-mainbar {
    min-height: 0;
    padding: 14px 0 12px;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    overflow: visible;
  }
  .vg5-hamburger {
    display: grid;
    grid-column: 1;
    grid-row: 1;
  }
  .vg5-brand {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    min-width: 0;
    max-width: 170px;
    justify-self: start;
  }
  .vg5-brand img {
    max-height: 42px;
    max-width: 160px;
  }
  .vg5-user-actions {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    margin: 0;
    gap: 7px;
    min-width: 0;
  }
  .vg5-user-actions .vg5-login-btn,
  .vg5-user-actions .vg5-register-btn,
  .vg5-user-actions .vg5-wallet-pill,
  .vg5-user-actions .vg5-account-pill {
    display: none !important;
  }
  .vg5-cart-pill,
  .vg5-theme-toggle {
    width: 44px;
    height: 44px;
    min-height: 44px;
    flex: 0 0 44px;
  }
  .vg5-search {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 46px;
    border-radius: 16px;
  }
  .vg5-search input {
    min-width: 0;
    padding: 0 15px;
    font-size: 14px;
  }
  .vg5-search button {
    width: 56px;
    flex: 0 0 56px;
  }
  .vg5-menubar {
    display: none !important;
  }
  .vg5-topbar {
    display: none !important;
  }
}
@media (max-width: 420px) {
  .vg5-site-header .vg5-container {
    width: calc(100% - 22px);
  }
  .vg5-mainbar {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
  }
  .vg5-brand img {
    max-width: 142px;
  }
  .vg5-cart-pill {
    width: 42px;
    height: 42px;
    min-height: 42px;
    flex-basis: 42px;
  }
}

/* V5 menu admin icon fallback: admin paneldəki FontAwesome class-ları SVG kimi göstərilir. */
.vg5-admin-menu-ico--svg > .vg5-ico {
  width: 19px;
  height: 19px;
  display: inline-flex;
  color: currentColor;
}
.vg5-admin-menu-ico--svg > .vg5-ico svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  display: block;
}
.vg5-admin-menu-ico--svg > i {
  display: none !important;
}
.vg5-admin-menu-ico--raw i,
.vg5-admin-menu-ico--raw .fa,
.vg5-admin-menu-ico--raw .fas,
.vg5-admin-menu-ico--raw .far,
.vg5-admin-menu-ico--raw .fab,
.vg5-admin-menu-ico--raw .fa-solid,
.vg5-admin-menu-ico--raw .fa-regular,
.vg5-admin-menu-ico--raw .fa-brands {
  font-size: 17px;
  line-height: 1;
  color: currentColor;
}

/* V5 fix: admin menu SVG fallback must not be hidden by generic menu-chip icon rule. */
.vg5-menu-chip .vg5-admin-menu-ico--svg > .vg5-ico,
.vg5-drawer-body .vg5-admin-menu-ico--svg > .vg5-ico {
  display: inline-flex !important;
  width: 19px;
  height: 19px;
  color: currentColor;
  opacity: 1;
  visibility: visible;
}

.vg5-menu-chip .vg5-admin-menu-ico--svg > .vg5-ico svg,
.vg5-drawer-body .vg5-admin-menu-ico--svg > .vg5-ico svg {
  display: block !important;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.vg5-menu-chip .vg5-admin-menu-ico--svg > i,
.vg5-drawer-body .vg5-admin-menu-ico--svg > i {
  display: none !important;
}

/* v6: hero background shadow from active slider image + calmer typography balance */
.vg5-hero-scene {
  position: relative;
  overflow: hidden;
  padding: 30px 0 34px;
  margin: 10px 0 20px;
  isolation: isolate;
}
.vg5-hero-scene.has-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--vg5-hero-bg);
  background-size: cover;
  background-position: center;
  opacity: .34;
  filter: blur(28px) saturate(1.1);
  transform: scale(1.08);
  transition: background-image .45s ease, opacity .25s ease;
}
.vg5-hero-scene.has-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--vg5-bg) 0%, color-mix(in srgb, var(--vg5-bg) 70%, transparent) 18%, color-mix(in srgb, var(--vg5-bg) 38%, transparent) 48%, color-mix(in srgb, var(--vg5-bg) 78%, transparent) 100%),
    radial-gradient(600px 260px at 16% 6%, rgba(255, 60, 60, .12), transparent 70%),
    radial-gradient(640px 320px at 88% 96%, rgba(34, 214, 232, .12), transparent 72%);
  pointer-events: none;
}
.vg5-hero-scene .vg5-hero-wrap { position: relative; }
.vg5-hero { background: color-mix(in srgb, var(--vg5-card) 86%, transparent); }
.vg5-hero-media { box-shadow: 0 22px 60px rgba(0,0,0,.34); }

.vg5-section-head h2,
.vg5-hero h1,
.vg5-auth-title,
.vg5-auth-brand strong {
  font-weight: 560 !important;
  letter-spacing: -.035em;
}
.vg5-product-name,
.vg5-game-card strong,
.vg5-menu-chip,
.vg5-auth-label,
.vg5-auth-submit {
  font-weight: 520 !important;
}
.vg5-product-price,
.vg5-mini-stat strong {
  font-weight: 440 !important;
  letter-spacing: -.025em;
}

.vg5-story-track,
.vg5-product-rail,
.vg5-review-rail,
.vg5-menu-scroll {
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}
.vg5-story-track::-webkit-scrollbar,
.vg5-product-rail::-webkit-scrollbar,
.vg5-review-rail::-webkit-scrollbar,
.vg5-menu-scroll::-webkit-scrollbar { display: none; }
.vg5-story-track.is-dragging,
.vg5-product-rail.is-dragging,
.vg5-review-rail.is-dragging,
.vg5-menu-scroll.is-dragging { cursor: grabbing; }

@media (max-width: 760px) {
  .vg5-hero-scene { padding: 18px 0 24px; margin-top: 0; }
  .vg5-hero-scene.has-hero-bg::before { filter: blur(22px) saturate(1.05); opacity: .28; }
}

/* v5.7 fixes: stable admin icons, stronger slider background, real footer, modern reviews */
.vg5-menu-chip .vg5-admin-menu-ico,
.vg5-drawer-body .vg5-admin-menu-ico {
  width: 20px;
  height: 20px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  color: currentColor;
}
.vg5-menu-chip .vg5-admin-menu-ico .vg5-ico,
.vg5-drawer-body .vg5-admin-menu-ico .vg5-ico {
  display: inline-flex !important;
  width: 20px;
  height: 20px;
  color: currentColor;
}
.vg5-menu-chip .vg5-admin-menu-ico svg,
.vg5-drawer-body .vg5-admin-menu-ico svg,
.vg5-menu-chip .vg5-admin-menu-ico img,
.vg5-drawer-body .vg5-admin-menu-ico img {
  display: block !important;
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.vg5-menu-chip .vg5-admin-menu-ico i,
.vg5-drawer-body .vg5-admin-menu-ico i { display: none !important; }
.vg5-menu-chip:not(.vg5-menu-all) .vg5-admin-menu-ico + span { margin-left: 0; }

.vg5-hero-scene {
  min-height: 520px;
  display: grid;
  align-items: center;
  overflow: hidden;
  position: relative;
  margin-top: 0;
}
.vg5-hero-scene.has-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--vg5-hero-bg);
  background-size: cover;
  background-position: center;
  filter: blur(30px) saturate(1.12) brightness(.55);
  transform: scale(1.12);
  opacity: .48;
  z-index: -3;
  transition: background-image .25s ease, opacity .25s ease;
}
.vg5-hero-scene.has-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--vg5-bg) 0%, rgba(6,10,17,.55) 26%, rgba(6,10,17,.32) 55%, var(--vg5-bg) 100%),
    radial-gradient(820px 360px at 50% 70%, color-mix(in srgb, var(--vg5-primary) 14%, transparent), transparent 68%),
    linear-gradient(180deg, rgba(6,10,17,.22), var(--vg5-bg));
  z-index: -2;
}
.vg5-hero-scene .vg5-hero-wrap { position: relative; z-index: 1; }
.vg5-hero-copy { overflow: visible; }
.vg5-hero-copy::before,
.vg5-hero-copy::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  opacity: .22;
}
.vg5-hero-copy::before {
  width: 70px; height: 70px; left: -18px; top: -14px;
  border: 1px solid var(--vg5-border-2);
  background: radial-gradient(circle at 40% 40%, var(--vg5-accent), transparent 62%);
  animation: vg5HeroChip 6s ease-in-out infinite;
}
.vg5-hero-copy::after {
  width: 42px; height: 42px; right: 10%; bottom: 8%;
  border: 1px solid color-mix(in srgb, var(--vg5-primary) 44%, transparent);
  background: radial-gradient(circle, var(--vg5-primary), transparent 62%);
  animation: vg5HeroChip 7s ease-in-out infinite reverse;
}
@keyframes vg5HeroChip { 0%,100%{ transform: translate3d(0,0,0) scale(1); } 50%{ transform: translate3d(0,-10px,0) scale(1.06); } }

.vg5-trust-card {
  overflow: hidden;
  position: relative;
}
.vg5-trust-card::after {
  content: '';
  position: absolute;
  inset: auto 18px 10px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--vg5-primary), var(--vg5-accent), transparent);
  transform: scaleX(.25);
  opacity: 0;
  transition: transform .28s ease, opacity .28s ease;
}
.vg5-trust-card:hover::after { transform: scaleX(1); opacity: 1; }
.vg5-trust-card:hover .vg5-ico { transform: translateY(-1px) scale(1.04); }

.vg5-review-rail { padding: 6px 2px 18px; }
.vg5-review-card {
  flex: 0 0 360px;
  min-height: 188px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(360px 120px at 8% 0%, color-mix(in srgb, var(--vg5-primary) 12%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--vg5-card) 96%, transparent), color-mix(in srgb, var(--vg5-surface) 92%, transparent));
  transition: border-color .24s ease, transform .24s ease, background .24s ease;
}
.vg5-review-card::after {
  content: '';
  position: absolute;
  inset: auto 18px 12px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--vg5-gold), var(--vg5-accent), transparent);
  transform: scaleX(.25);
  opacity: 0;
  transition: transform .24s ease, opacity .24s ease;
}
.vg5-review-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--vg5-accent) 44%, var(--vg5-border));
}
.vg5-review-card:hover::after { transform: scaleX(1); opacity: 1; }
.vg5-review-top strong { display: block; font-weight: 570; }
.vg5-review-top em { display: block; margin-top: 4px; font-style: normal; color: var(--vg5-muted); font-size: 12px; }
.vg5-review-product {
  margin-top: 13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--vg5-accent);
  background: color-mix(in srgb, var(--vg5-accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--vg5-accent) 20%, transparent);
  font-size: 12px;
}
.vg5-review-product .vg5-ico { width: 16px; height: 16px; }
.vg5-review-product span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.vg5-footer { position: relative; overflow: hidden; }
.vg5-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(680px 260px at 10% 16%, color-mix(in srgb, var(--vg5-primary) 11%, transparent), transparent 70%),
    radial-gradient(760px 300px at 92% 52%, color-mix(in srgb, var(--vg5-accent) 10%, transparent), transparent 72%);
  opacity: .72;
}
.vg5-footer-inner,
.vg5-copyright { position: relative; z-index: 1; }
.vg5-footer-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.vg5-footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--vg5-text);
  border: 1px solid var(--vg5-border);
  background: var(--vg5-surface-2);
  transition: transform .22s ease, border-color .22s ease, color .22s ease;
}
.vg5-footer-socials a:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--vg5-accent) 45%, var(--vg5-border)); color: var(--vg5-accent); }

@media (max-width: 860px) {
  .vg5-hero-scene { min-height: auto; padding: 22px 0 28px; }
  .vg5-hero-scene.has-hero-bg::before { opacity: .32; filter: blur(24px) saturate(1.06) brightness(.55); }
  .vg5-review-card { flex-basis: 300px; }
}

/* v8: real-data polish, visible SVG icons, stronger hero shadow, better review/trust effects */
.vg5-menu-chip:not(.vg5-menu-all) > .vg5-ico { display: none !important; }
.vg5-menu-chip .vg5-admin-menu-ico,
.vg5-drawer-body .vg5-admin-menu-ico {
  width: 21px !important;
  height: 21px !important;
  min-width: 21px !important;
  display: inline-grid !important;
  place-items: center !important;
  opacity: 1 !important;
  visibility: visible !important;
  color: currentColor !important;
  flex: 0 0 21px !important;
}
.vg5-menu-chip .vg5-admin-menu-ico .vg5-ico,
.vg5-drawer-body .vg5-admin-menu-ico .vg5-ico,
.vg5-menu-chip .vg5-admin-svg-real,
.vg5-drawer-body .vg5-admin-svg-real {
  width: 21px !important;
  height: 21px !important;
  display: inline-flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  color: currentColor !important;
}
.vg5-menu-chip .vg5-admin-menu-ico svg,
.vg5-drawer-body .vg5-admin-menu-ico svg,
.vg5-section-head a .vg5-ico,
.vg5-product-bottom a .vg5-ico,
.vg5-footer-socials a .vg5-ico,
.vg5-footer nav a .vg5-ico {
  display: inline-block !important;
  fill: currentColor !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.vg5-section-head a .vg5-ico { width: 18px !important; height: 18px !important; }

.vg5-hero-scene.has-hero-bg {
  background-image:
    linear-gradient(90deg, var(--vg5-bg) 0%, rgba(6,10,17,.56) 18%, rgba(6,10,17,.38) 54%, var(--vg5-bg) 100%),
    var(--vg5-hero-bg) !important;
  background-size: cover !important;
  background-position: center !important;
  background-blend-mode: normal, screen !important;
}
.vg5-hero-scene.has-hero-bg::before {
  inset: -42px -24px !important;
  z-index: 0 !important;
  background-image: var(--vg5-hero-bg) !important;
  background-size: cover !important;
  background-position: center !important;
  filter: blur(34px) saturate(1.25) brightness(.52) !important;
  opacity: .62 !important;
  transform: scale(1.14) !important;
  mix-blend-mode: screen;
}
.vg5-hero-scene.has-hero-bg::after { z-index: 0 !important; }
.vg5-hero-scene .vg5-hero-wrap { position: relative !important; z-index: 2 !important; }
.vg5-hero { box-shadow: 0 26px 80px rgba(0,0,0,.46), inset 0 1px 0 rgba(255,255,255,.05) !important; }
.vg5-hero-media { box-shadow: 0 24px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08) !important; }

.vg5-hero-float-icons { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.vg5-hero-float-icons span {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--vg5-accent);
  background: color-mix(in srgb, var(--vg5-surface) 75%, transparent);
  border: 1px solid var(--vg5-border);
  box-shadow: 0 14px 40px rgba(0,0,0,.25);
  opacity: .56;
  animation: vg5FloatIcon 6.5s ease-in-out infinite;
}
.vg5-hero-float-icons span:nth-child(1) { left: -8px; top: 10px; }
.vg5-hero-float-icons span:nth-child(2) { right: 12%; top: 18%; animation-delay: -2s; color: var(--vg5-primary); }
.vg5-hero-float-icons span:nth-child(3) { left: 22%; bottom: 12%; animation-delay: -4s; color: var(--vg5-green); }
.vg5-hero-copy > .vg5-kicker,
.vg5-hero-copy > h1,
.vg5-hero-copy > p,
.vg5-hero-copy > .vg5-hero-actions { position: relative; z-index: 2; }
@keyframes vg5FloatIcon { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(0,-10px,0); } }

.vg5-trust-card { position: relative; overflow: hidden; transition: border-color .22s ease, background .22s ease, box-shadow .22s ease; }
.vg5-trust-card::before {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 10px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--vg5-primary), var(--vg5-accent), transparent);
  opacity: 0;
  transform: scaleX(.45);
  transition: opacity .22s ease, transform .22s ease;
}
.vg5-trust-card:hover { border-color: color-mix(in srgb, var(--vg5-primary) 40%, var(--vg5-border)); box-shadow: 0 18px 56px rgba(0,0,0,.24); }
.vg5-trust-card:hover::before { opacity: 1; transform: scaleX(1); }

.vg5-review-card { position: relative; overflow: hidden; transition: border-color .22s ease, background .22s ease, box-shadow .22s ease; }
.vg5-review-card::before {
  content: '“';
  position: absolute;
  right: 18px;
  top: 4px;
  font-size: 96px;
  line-height: 1;
  color: color-mix(in srgb, var(--vg5-primary) 16%, transparent);
  font-family: Georgia, serif;
  pointer-events: none;
}
.vg5-review-card:hover { border-color: color-mix(in srgb, var(--vg5-accent) 38%, var(--vg5-border)); box-shadow: 0 18px 56px rgba(0,0,0,.24); }
.vg5-review-top em { display: block; margin-top: 4px; color: var(--vg5-muted); font-style: normal; font-size: 12px; }
.vg5-review-product {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: var(--vg5-accent);
  background: color-mix(in srgb, var(--vg5-accent) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--vg5-accent) 18%, transparent);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
}
.vg5-review-product .vg5-ico { display: inline-flex !important; width: 15px !important; height: 15px !important; }

.vg5-footer-contact-line { color: var(--vg5-soft); display: inline-flex; align-items: center; gap: 8px; line-height: 1.5; }
.vg5-footer-contact-line .vg5-ico { width: 18px; height: 18px; color: var(--vg5-primary); }

@media (hover: none), (pointer: coarse) {
  .vg5-hero-float-icons span { animation: none; opacity: .32; }
}

/* v9: final visibility and shared shell polish */
.vg5-menu-chip .vg5-admin-menu-ico,
.vg5-menu-chip .vg5-admin-menu-ico .vg5-ico,
.vg5-drawer-body .vg5-admin-menu-ico,
.vg5-drawer-body .vg5-admin-menu-ico .vg5-ico,
.vg5-section-head a .vg5-ico,
.vg5-product-bottom a .vg5-ico,
.vg5-footer .vg5-ico,
.vg5-mobile-nav .vg5-ico {
  display: inline-flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  align-items: center !important;
  justify-content: center !important;
  color: currentColor !important;
}
.vg5-menu-chip .vg5-admin-menu-ico svg,
.vg5-menu-chip .vg5-admin-menu-ico .vg5-ico svg,
.vg5-drawer-body .vg5-admin-menu-ico svg,
.vg5-section-head a .vg5-ico svg,
.vg5-product-bottom a .vg5-ico svg,
.vg5-footer .vg5-ico svg,
.vg5-mobile-nav .vg5-ico svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  fill: currentColor !important;
  stroke: none !important;
  opacity: 1 !important;
}
.vg5-menu-chip .vg5-admin-menu-ico { margin-right: 8px; }
.vg5-menu-chip:not(.vg5-menu-all) > .vg5-ico:not(.vg5-admin-svg-real) { display: none !important; }
.vg5-hero-scene.has-hero-bg::before {
  opacity: .62 !important;
  filter: blur(34px) saturate(1.28) brightness(.72) !important;
  transform: scale(1.18) !important;
}
.vg5-hero-scene.has-hero-bg::after {
  background:
    linear-gradient(90deg, rgba(6,10,17,.98) 0%, rgba(6,10,17,.78) 20%, rgba(6,10,17,.28) 52%, rgba(6,10,17,.86) 100%),
    radial-gradient(760px 360px at 22% 0%, rgba(255,65,65,.18), transparent 70%),
    radial-gradient(760px 360px at 83% 100%, rgba(20,206,220,.20), transparent 72%) !important;
}
.vg5-hero-scene.has-hero-bg { box-shadow: inset 0 -1px 0 rgba(255,255,255,.05); }
.vg5-hero-float-icons span { animation: vg5SoftFloat 5.4s ease-in-out infinite; }
.vg5-hero-float-icons span:nth-child(2) { animation-delay: .8s; }
.vg5-hero-float-icons span:nth-child(3) { animation-delay: 1.6s; }
@keyframes vg5SoftFloat { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(4deg); } }
.vg5-review-card.vg5-feed-card {
  flex-basis: 360px;
  display: flex;
  gap: 16px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(16,22,35,.92), rgba(8,13,23,.96));
  border: 1px solid rgba(255,255,255,.08);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.vg5-review-card.vg5-feed-card:hover {
  border-color: rgba(20,214,229,.55);
  box-shadow: 0 18px 42px rgba(0,0,0,.26), 0 0 0 1px rgba(20,214,229,.08);
  transform: translateY(-2px);
}
.vg5-review-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: 0 0 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255,64,64,.9), rgba(255,112,39,.72));
  color: #fff; font-weight: 620; position: relative;
}
.vg5-review-avatar i { position:absolute; right:-2px; bottom:-2px; width:13px; height:13px; border-radius:50%; background:#14d9b1; border:2px solid var(--vg5-card); }
.vg5-review-content { flex: 1; min-width: 0; }
.vg5-review-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.vg5-review-head strong { font-weight: 610 !important; color: var(--vg5-text); }
.vg5-review-head em, .vg5-review-top em { font-style: normal; font-size: 12px; color: var(--vg5-muted); display:block; margin-top: 4px; }
.vg5-review-stars { color: rgba(255,255,255,.18); white-space: nowrap; letter-spacing: 1px; }
.vg5-review-stars b { color: rgba(255,255,255,.18); font-weight: 500; }
.vg5-review-stars b.filled { color: #f7b733; }
.vg5-review-card p { margin: 12px 0 12px; line-height: 1.65; }
.vg5-review-meta { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.vg5-review-product, .vg5-review-chip {
  display:inline-flex; align-items:center; gap:6px; border-radius:999px;
  padding:5px 10px; font-size:12px; text-decoration:none;
  border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.035); color:var(--vg5-muted);
}
.vg5-review-product { color: var(--vg5-accent); }
.vg5-review-chip { color: #ff6b52; }
.vg5-trust-card { position: relative; overflow: hidden; }
.vg5-trust-card::before {
  content:""; position:absolute; inset:-1px; opacity:0; pointer-events:none;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.10) 50%, transparent 80%);
  transform: translateX(-110%); transition: opacity .2s ease, transform .7s ease;
}
.vg5-trust-card:hover::before { opacity:1; transform: translateX(110%); }
.vg5-trust-card:hover { border-color: rgba(20,214,229,.32); box-shadow: 0 16px 38px rgba(0,0,0,.20); transform: translateY(-2px); }
.vg5-shared-header + .vg5-auth-shell,
.vg5-shared-header + .vg5-panel-page,
.vg5-shared-header + .vg5-product-page { margin-top: 0; }
@media (max-width: 760px) {
  .vg5-review-card.vg5-feed-card { flex-basis: 315px; }
  .vg5-hero-scene.has-hero-bg::before { opacity: .45 !important; filter: blur(24px) saturate(1.1) brightness(.62) !important; }
}

/* V13: shared shell must be visible on panel/auth/product pages, because silent missing headers are apparently a hobby now. */
.vg5-panel-body .vg5-site-header,
.vg5-panel-body .vg5-footer,
.vg5-panel-body .vg5-mobile-nav { display: block; }
.vg5-panel-body .vg5-site-header { position: sticky; top: 0; z-index: 80; }
.vg5-panel-body .vg5-footer { margin-top: 0; }
.vg5-review-card .vg5-review-top strong { letter-spacing: .01em; }
.vg5-review-card .vg5-review-content p { word-break: break-word; }

/* V17 single-shell fixes */
.vg5-search{position:relative;}
.vg5-search-results{position:absolute;left:0;right:0;top:calc(100% + 10px);z-index:80;display:none;max-height:420px;overflow:auto;background:var(--vg5-surface, #101722);border:1px solid var(--vg5-border, rgba(255,255,255,.12));border-radius:18px;box-shadow:0 24px 70px rgba(0,0,0,.42);padding:10px;scrollbar-width:none;}
.vg5-search-results::-webkit-scrollbar{display:none;}
.vg5-search-results.is-open{display:block;}
.vg5-search-empty{padding:18px;color:var(--vg5-muted, #97a3b6);font-size:14px;text-align:center;}
.vg5-search-results .search__item,.vg5-search-results .gs-item{display:block;border-radius:14px;transition:border-color .22s ease,background .22s ease,transform .22s ease;}
.vg5-search-results .search__item:hover,.vg5-search-results .gs-item:hover{background:rgba(255,255,255,.045);transform:translateY(-1px);}
.vg5-search-results .search__link{display:flex;gap:12px;align-items:center;padding:10px;text-decoration:none;color:inherit;}
.vg5-search-results .search__preview{width:52px;height:52px;border-radius:14px;overflow:hidden;background:rgba(255,255,255,.05);flex:0 0 auto;}
.vg5-search-results .search__preview img{width:100%;height:100%;object-fit:cover;}
.vg5-search-results .search__title{font-weight:600;color:var(--vg5-text, #f5f7fb);font-size:14px;line-height:1.25;}
.vg5-search-results .search__category,.vg5-search-results .search__price{font-size:12px;color:var(--vg5-muted, #97a3b6);margin-top:3px;}
.vg5-main{min-height:60vh;}
body.vg5-panel-body .vg5-main{padding-top:0;}
