/* MIKI handoff visual layer: preserve the supplied Wraith identity and add motion without changing store logic. */
:root {
  --bg: #080b14;
  --bg-2: #0d1120;
  --panel: #101524;
  --panel-2: #171e30;
  --line: rgba(189, 206, 255, .19);
  --line-strong: rgba(189, 206, 255, .34);
  --text: #f4f5ff;
  --muted: #abb2c5;
  --dim: #8792ad;
  --cyan: #c997ff;
  --acid: #b5d9ff;
  --coral: #ff9daa;
  --violet: #aaa6ff;
  --font: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color-scheme: dark;
}

html, body { background: #080b14; }
html { scroll-behavior: smooth; }
body {
  background: radial-gradient(ellipse at 58% -5%, #25133b 0, #0a0d19 40%, #080b14 78%);
  color: var(--text);
  font-family: var(--font);
}
.app-shell { position: relative; z-index: 2; background: transparent; }
.container { width: min(100% - 34px, 1360px); }
.topbar {
  height: 68px;
  border-bottom-color: rgba(183, 156, 255, .22);
  background: rgba(8, 11, 20, .88);
  backdrop-filter: blur(22px);
}
.brand { gap: 8px; }
.brand-mark, .brand-small .brand-mark {
  width: 43px; height: 45px; overflow: visible;
  border: 0; border-radius: 0; background: transparent; box-shadow: none;
}
.brand-mark b, .brand-mark i { display: none; }
.brand-mark img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 0 9px rgba(201, 151, 255, .72));
  animation: miki-logo-float 5.2s ease-in-out infinite;
}
.brand-name { font-family: 'Unbounded', 'Manrope', sans-serif; letter-spacing: -.045em; }
.brand-name span { color: #d4adff; }
.topbar-label { color: #9d8db6; }
.topbar-user { border-radius: 13px; color: #c6b2df; border-color: rgba(185, 134, 244, .35); }
.topbar-user:hover { color: #f5eaff; border-color: #d4adff; box-shadow: 0 0 18px rgba(185, 134, 244, .24); }
.bottom-nav {
  border-color: rgba(185, 134, 244, .4);
  background: rgba(17, 15, 31, .94);
  box-shadow: 0 16px 38px rgba(2, 3, 10, .55);
}
.nav-item { color: #958ba6; }
.nav-item.active { color: #e3c4ff; }
.nav-item.active::before { background: #d4adff; box-shadow: 0 0 14px #c997ff; }
.nav-item .icon { transition: transform .28s ease, filter .28s ease; }
.nav-item.active .icon { filter: drop-shadow(0 0 7px rgba(201, 151, 255, .75)); animation: icon-breathe 2.8s ease-in-out infinite; }
.nav-item:hover .icon { transform: translateY(-2px) scale(1.08); }
.site-footer { border-top-color: rgba(168, 117, 219, .35); color: #8f86a1; }
.site-footer > a:last-child { color: #cfadf0; }
.site-footer .brand-name { font-size: 10px; }

.hero {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center; min-height: 660px; padding-top: 30px; padding-bottom: 76px;
  isolation: isolate;
}
.hero::before {
  left: 16%; right: -13%; top: 5%; height: 80%;
  background: radial-gradient(ellipse, rgba(147, 87, 203, .23), rgba(68, 83, 145, .08) 42%, transparent 70%);
  filter: blur(20px);
}
.hero-copy { width: 100%; max-width: 570px; padding: 40px 0; }
.eyebrow, .section-kicker, .form-count { color: #bea0dc; letter-spacing: .16em; }
.live-light, .metric-dot { background: #b5d9ff; box-shadow: 0 0 14px rgba(181, 217, 255, .85); animation: live-breathe 2.2s ease-in-out infinite; }
.hero-index { color: #837899; }
.hero h1, .page-heading h1 {
  font-family: 'Unbounded', 'Manrope', sans-serif;
  font-weight: 900; letter-spacing: -.09em;
}
.hero h1 em, .page-heading h1 em {
  color: #d4adff; text-shadow: 0 0 34px rgba(201, 151, 255, .34);
  animation: neon-type 6s ease-in-out infinite;
}
.hero-lead, .page-heading > p { color: #c2b8d0; }
.hero-actions { gap: 11px; }
.button, .button-primary, .button-quiet, .button-outline, .filter-chip, .platform-pick, .admin-tab, .currency-option {
  border-radius: 13px;
}
.button {
  min-height: 49px; border-width: 1px; font-weight: 800;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}
.button .icon { transition: transform .22s ease, filter .22s ease; }
.button:hover .icon, .text-link:hover .icon { transform: translateX(4px); }
.button-primary {
  color: #180d23; background: linear-gradient(135deg, #e3bdff, #bf83fa);
  box-shadow: 0 9px 28px rgba(164, 93, 255, .25);
}
.button-primary:hover { color: #12091b; background: #edcfff; box-shadow: 0 12px 36px rgba(180, 109, 255, .42); }
.button-quiet, .button-outline {
  color: #f1e5ff; border-color: rgba(185, 134, 244, .52);
  background: rgba(162, 107, 240, .08);
}
.button-quiet:hover, .button-outline:hover { border-color: #ddb6ff; background: rgba(162, 107, 240, .17); }
.hero-footnote { color: #9488a8; }
.hero-footnote i { width: 4px; height: 4px; background: #d4adff; box-shadow: 0 0 9px #c997ff; }
.hero-art {
  position: relative; top: auto; right: auto; width: 100%; max-width: 530px;
  height: 490px; justify-self: end; opacity: 1;
}
.hero-orbit { border-color: rgba(201, 151, 255, .38); animation: orbit-turn 22s linear infinite; }
.hero-orbit.orbit-two { border-color: rgba(181, 217, 255, .28); animation-direction: reverse; animation-duration: 31s; }
.hero-image-frame {
  inset: 3% 5% 0 11%; border-color: rgba(201, 151, 255, .43);
  border-radius: 43% 18px 38% 18px;
  background: radial-gradient(ellipse at 50% 38%, rgba(143, 81, 193, .26), transparent 56%), linear-gradient(145deg, rgba(201, 151, 255, .12), rgba(13, 17, 32, .4) 55%, rgba(95, 118, 201, .16));
  box-shadow: inset 0 0 60px rgba(201, 151, 255, .09), 0 24px 80px rgba(3, 4, 12, .56), 0 0 55px rgba(158, 88, 250, .13);
}
.hero-image-frame img {
  object-fit: contain; object-position: 50% 50%; padding: 12px;
  mix-blend-mode: screen; opacity: .98;
  filter: drop-shadow(0 0 22px rgba(156, 170, 255, .65)) drop-shadow(0 0 55px rgba(130, 85, 210, .42));
  animation: wraith-float 7s ease-in-out infinite;
}
.hero-image-frame::after { background: linear-gradient(180deg, transparent 56%, rgba(8, 11, 20, .35)); }
.image-stamp { color: #d5b4ff; border-color: rgba(201, 151, 255, .55); border-radius: 10px; background: rgba(12, 11, 24, .44); }
.hero-art-label b { color: #f2e7ff; text-shadow: 0 0 23px rgba(201, 151, 255, .55); }
.hero-art-label span, .hero-vertical, .hero-scroll { color: #9e91b2; }
.hero-scroll span { background: linear-gradient(90deg, #d4adff, transparent); }

.device-row { grid-auto-columns: minmax(220px, 72%); }
.device-tile {
  border-color: rgba(185, 134, 244, .28); border-radius: 18px 18px 18px 7px;
  background: linear-gradient(145deg, rgba(201, 151, 255, .085), rgba(255,255,255,.012));
}
.device-tile:hover { border-color: rgba(212, 173, 255, .75); background: rgba(162, 107, 240, .12); box-shadow: 0 12px 30px rgba(75, 40, 115, .18); }
.device-letter { color: #e3c4ff; border-color: rgba(201, 151, 255, .42); border-radius: 12px; background: rgba(162, 107, 240, .08); }
.device-letter .icon { width: 20px; height: 20px; }
.device-tile:hover .device-letter .icon { animation: icon-pop .42s ease both; }
.device-tile .icon:last-child { color: #c9a8ea; }
.section-kicker { color: #a99ab9; }
.section-heading h2 { font-family: 'Unbounded', 'Manrope', sans-serif; letter-spacing: -.06em; }
.accent-dot, .text-link { color: #d4adff; }
.text-link .icon { transition: transform .22s ease; }

.products-grid { grid-template-columns: 1fr; gap: 14px; }
.product-card {
  display: grid; grid-template-columns: minmax(120px, 36%) minmax(0, 1fr);
  min-height: 190px; overflow: hidden;
  border: 1px solid rgba(173, 123, 230, .36); border-radius: 18px;
  background: linear-gradient(130deg, #20172e, #101522 78%);
  box-shadow: inset 0 1px rgba(255,255,255,.04);
  animation: card-rise .48s both; animation-delay: calc(var(--card-index, 0) * 45ms);
}
.product-card:hover { transform: translateY(-4px); border-color: #d3a5ff; box-shadow: 0 18px 45px rgba(2, 3, 10, .42), 0 0 28px rgba(165, 90, 240, .1); }
.product-art {
  position: relative; min-height: 190px; height: 100%;
  border-radius: 0; background: radial-gradient(circle at 50% 40%, rgba(131, 83, 180, .26), transparent 56%), #180f25;
}
.product-art::before { border-color: rgba(201, 151, 255, .2); animation: orbit-turn 24s linear infinite; }
.product-art::after { background: linear-gradient(0deg, rgba(8, 11, 20, .54), transparent 55%); }
.product-art img { object-fit: cover; transition: transform .55s ease, filter .55s ease; }
.product-card:hover .product-art img { transform: scale(1.06); filter: saturate(1.16) brightness(1.05); }
.product-card-body { min-width: 0; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; }
.product-card h3 { min-height: 0; color: #faf3ff; font-family: 'Oswald', 'Manrope', sans-serif; font-size: clamp(17px, 4vw, 25px); }
.product-card h3 a:hover { color: #e3bdff; }
.product-meta { flex-wrap: wrap; }
.status-online, .status-updating, .status-offline { filter: drop-shadow(0 0 4px currentColor); }
.status-online i { box-shadow: 0 0 10px rgba(181, 217, 255, .75); }
.product-badge { color: #e2c7ff; border-color: rgba(201, 151, 255, .52); border-radius: 9px; background: rgba(13, 10, 25, .79); }
.product-card-bottom { border-top-color: rgba(185, 134, 244, .22); }
.product-price { color: #f4eaff; }
.circle-arrow { color: #e5c9ff; border-color: rgba(201, 151, 255, .48); border-radius: 12px; background: rgba(162, 107, 240, .08); transition: transform .2s, background .2s, box-shadow .2s; }
.circle-arrow:hover { color: #1a1022; background: #d4adff; box-shadow: 0 0 20px rgba(201,151,255,.36); transform: translateX(2px); }
.service-band {
  border-color: rgba(185, 134, 244, .32); border-radius: 19px;
  background: linear-gradient(135deg, rgba(162, 107, 240, .11), rgba(255,255,255,.015));
}
.service-icon { color: #e3c4ff; background: rgba(162, 107, 240, .16); border: 1px solid rgba(201, 151, 255, .3); border-radius: 13px; }
.service-icon .icon { width: 21px; height: 21px; }

.page-heading { padding-top: 54px; }
.page-heading h1 { text-shadow: 0 0 38px rgba(165, 95, 255, .18); }
.catalog-controls { gap: 11px; }
.search-box, .sort-box {
  border-color: rgba(185, 134, 244, .32); border-radius: 13px;
  background: rgba(20, 17, 32, .82);
}
.search-box:focus-within, .sort-box:focus-within { border-color: rgba(212, 173, 255, .8); box-shadow: 0 0 0 3px rgba(162, 107, 240, .1); }
.search-box .icon { color: #c5a4e7; }
.filter-chip, .platform-pick, .admin-tab {
  border-color: rgba(166, 119, 214, .42); background: rgba(16, 14, 27, .75); color: #d7c4e8;
}
.filter-chip:hover, .platform-pick:hover, .admin-tab:hover { border-color: #d3a5ff; color: #fff; }
.filter-chip.active, .platform-pick.active, .admin-tab.active {
  color: #1a1022; border-color: #d4adff; background: #d4adff;
  box-shadow: 0 6px 20px rgba(164, 93, 255, .17);
}
.result-count { color: #a99ab9; }
.empty-state { border-color: rgba(185, 134, 244, .4); border-radius: 18px; background: rgba(20,17,32,.52); }
.empty-mark { color: #d4adff; animation: icon-breathe 2.8s ease-in-out infinite; }

.detail-art { border-color: rgba(185, 134, 244, .38); border-radius: 18px; background: #130e20; }
.detail-art::before { border-color: rgba(201, 151, 255, .23); }
.detail-info h1 { font-family: 'Unbounded', 'Manrope', sans-serif; }
.detail-panel, .order-form, .order-summary, .profile-card, .admin-config-form {
  border-color: rgba(185, 134, 244, .34); border-radius: 18px;
  background: linear-gradient(145deg, rgba(30, 22, 44, .96), rgba(16, 18, 31, .96));
  box-shadow: inset 0 1px rgba(255,255,255,.035);
}
.price-line strong, .summary-price strong { color: #f0dcff; }
.platform-pick, .currency-option { border-radius: 12px; }
.form-field, .admin-config-form input, .admin-inline-field input, .form-field textarea {
  border-color: rgba(185, 134, 244, .32); border-radius: 12px; background: rgba(9, 11, 20, .66);
}
.form-field:focus-within, .admin-config-form input:focus, .admin-inline-field input:focus, .form-field textarea:focus { border-color: #d4adff; }
.notice { border-color: rgba(185, 134, 244, .3); border-radius: 13px; background: rgba(162, 107, 240, .08); }
.notice-warn { border-color: rgba(255, 157, 170, .42); background: rgba(255, 157, 170, .07); }
.checkout-honesty { color: #ffc6d1; }

.profile-card { gap: 16px; }
.profile-avatar { border-radius: 15px; color: #1a1022; background: linear-gradient(135deg, #e3bdff, #b87cf0); box-shadow: 0 0 24px rgba(164, 93, 255, .19); }
.telegram-orb { border-radius: 13px; box-shadow: 0 0 18px rgba(35, 155, 215, .22); }
.profile-links { gap: 10px; }
.profile-link {
  min-height: 66px; border-color: rgba(185, 134, 244, .25); border-radius: 15px;
  background: linear-gradient(120deg, rgba(162, 107, 240, .065), rgba(255,255,255,.018));
}
.profile-link:hover { transform: translateY(-2px); border-color: rgba(212, 173, 255, .7); box-shadow: 0 10px 26px rgba(2,3,10,.24); }
.profile-link-icon { color: #e3c4ff; border-color: rgba(201,151,255,.34); border-radius: 11px; background: rgba(162,107,240,.1); }
.profile-link-icon .icon { width: 18px; height: 18px; }
.admin-link { border-color: rgba(181, 217, 255, .36); }
.status-metric, .admin-metrics article { border-color: rgba(185, 134, 244, .28); border-radius: 15px; background: rgba(18, 17, 31, .86); }
.status-list, .status-row, .guide-steps, .faq-section details { border-color: rgba(185, 134, 244, .23); }
.status-row:hover { background: rgba(162, 107, 240, .08); }
.guide-step { border-color: rgba(185, 134, 244, .27); }
.guide-step > span, .check-list p span { color: #d4adff; }
.faq-section summary span { color: #d4adff; transition: transform .22s; }
.faq-section details[open] summary span { transform: rotate(45deg); }
.admin-tab { border-radius: 12px; }
.admin-row { border-color: rgba(185, 134, 244, .22); }
.admin-config-form input, .admin-inline-field input, .admin-inline-field select, .admin-config-form select { min-height: 42px; color: var(--text); }
.admin-inline-check input { accent-color: #c997ff; }
.support-message { border-color: rgba(185, 134, 244, .25); border-radius: 15px; background: rgba(24, 19, 36, .82); }
#support-form textarea { padding: 12px; color: var(--text); border: 1px solid rgba(185,134,244,.32); border-radius: 13px; background: rgba(9,11,20,.66); }
.toast { border-color: rgba(185, 134, 244, .4); border-radius: 13px; background: #171323; box-shadow: 0 10px 35px rgba(0,0,0,.42), 0 0 23px rgba(162,107,240,.1); }

#site-particles { z-index: 1 !important; opacity: .58; mix-blend-mode: screen; pointer-events: none; }
.hero-art, .hero-copy, .device-tile, .product-card, .service-band, .profile-card { animation: page-in .45s both; }
.hero-art { animation-delay: .08s; }
.product-card:nth-child(2) { animation-delay: .08s; }
.product-card:nth-child(3) { animation-delay: .14s; }

@keyframes wraith-float { 0%,100% { transform: translateY(5px) rotate(-1deg) scale(1); } 50% { transform: translateY(-12px) rotate(1deg) scale(1.025); } }
@keyframes orbit-turn { to { transform: rotate(341deg); } }
@keyframes miki-logo-float { 0%,100% { transform: translateY(1px) rotate(-2deg); } 50% { transform: translateY(-3px) rotate(2deg); } }
@keyframes icon-breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes icon-pop { 0% { transform: scale(.82) rotate(-8deg); } 75% { transform: scale(1.12) rotate(3deg); } 100% { transform: scale(1); } }
@keyframes live-breathe { 0%,100% { box-shadow: 0 0 6px rgba(181,217,255,.45); } 50% { box-shadow: 0 0 16px rgba(181,217,255,.95); } }
@keyframes card-rise { from { opacity: 0; transform: translateY(11px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 680px) {
  .hero { min-height: 650px; }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-band { grid-template-columns: 44px 1fr auto; align-items: center; }
  .service-band > .button { grid-column: auto; margin-top: 0; }
}
@media (min-width: 960px) {
  .hero { min-height: 700px; }
  .hero-art { height: 540px; max-width: 560px; }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 679px) {
  .topbar { height: 64px; }
  .brand-mark { width: 39px; height: 40px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 38px; padding-bottom: 78px; }
  .hero-copy { padding: 0; }
  .hero-index { margin-top: 28px; }
  .hero h1 { max-width: 100%; font-size: clamp(48px, 13vw, 70px); }
  .hero-lead { max-width: 360px; }
  .hero-art { justify-self: center; width: min(100%, 420px); height: 340px; margin-top: -8px; }
  .hero-image-frame { inset: 3% 8% 0; }
  .hero-art-label { display: flex; }
  .hero-vertical { display: none; }
  .device-row { grid-auto-columns: minmax(210px, 78%); }
  .products-grid { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: minmax(105px, 35%) minmax(0, 1fr); min-height: 170px; }
  .product-art { min-height: 170px; }
  .product-card-body { padding: 12px; }
  .product-card h3 { margin: 9px 0 10px; font-size: clamp(16px, 4.4vw, 21px); }
  .product-card-bottom { padding-top: 9px; }
  .site-footer { align-items: flex-start; flex-wrap: wrap; margin-top: 54px; }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 28px); }
  .hero h1 { font-size: 47px; }
  .hero-art { height: 300px; }
  .product-card { grid-template-columns: 34% minmax(0, 1fr); min-height: 158px; }
  .product-art { min-height: 158px; }
  .product-card-body { padding: 10px; }
  .product-card h3 { font-size: 15px; }
  .product-price { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  #site-particles { display: none; }
  .brand-mark img, .hero-image-frame img, .hero-orbit, .nav-item.active .icon,
  .live-light, .metric-dot, .hero-art, .hero-copy, .device-tile, .product-card,
  .service-band, .profile-card, .empty-mark { animation: none !important; }
  .product-card, .device-tile, .profile-link { transition: none !important; }
}

/* Match the supplied handoff's desktop header and split-card composition. */
.topbar { height: 76px; padding-inline: max(17px, calc((100vw - 1360px) / 2)); gap: 20px; }
.desktop-links { display: none; }
.desktop-links a { color: #b8aec8; }
.desktop-links a.active { color: #f3e6ff; }
.desktop-links a:after { background: #d4adff; }
.topbar-user { flex: 0 0 auto; color: #e1c4ff; border-color: rgba(185, 134, 244, .45); }
.bottom-nav { display: grid; }
.device-row { display: grid; grid-auto-columns: unset; grid-auto-flow: initial; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; padding-bottom: 0; }
.device-tile { min-height: 132px; padding: 20px; }
.device-letter { width: 46px; height: 46px; }
.product-card { grid-template-columns: minmax(0, 1fr) minmax(132px, 30%); }
.product-card-body { grid-column: 1; grid-row: 1; min-height: 190px; }
.product-card > .product-art { grid-column: 2; grid-row: 1; min-height: 190px; }
.product-card > .product-art img { object-fit: contain; padding: 7px; }
.product-art.art-fallback { background: radial-gradient(circle at 50% 40%, rgba(131, 83, 180, .28), transparent 56%), #180f25; }
.featured-section .product-card:first-child { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(190px, 31%); min-height: 270px; }
.featured-section .product-card:first-child .product-card-body { padding: 24px 28px; }
.featured-section .product-card:first-child > .product-art { min-height: 270px; }

@media (min-width: 680px) {
  .topbar { height: 76px; }
  .desktop-links { display: flex; align-items: center; gap: clamp(18px, 3vw, 39px); margin-left: auto; }
  .desktop-links a { position: relative; padding: 8px 0; font-size: 13px; font-weight: 750; }
  .desktop-links a:after { content: ''; position: absolute; right: 100%; bottom: 0; left: 0; height: 1px; transition: right .25s; }
  .desktop-links a:hover:after, .desktop-links a.active:after { right: 0; }
  .bottom-nav { display: none; }
  .device-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 679px) {
  .topbar { height: 64px; }
  .desktop-links { display: none; }
  .bottom-nav { display: grid; }
  .device-row { grid-template-columns: 1fr; gap: 9px; }
  .device-tile { min-height: 104px; }
  .product-card { grid-template-columns: minmax(0, 1fr) 100px; min-height: 170px; }
  .product-card-body { min-height: 170px; }
  .product-card > .product-art { min-height: 170px; }
  .featured-section .product-card:first-child { grid-column: auto; grid-template-columns: minmax(0, 1fr) 100px; min-height: 170px; }
  .featured-section .product-card:first-child .product-card-body { padding: 12px; }
  .featured-section .product-card:first-child > .product-art { min-height: 170px; }
}
@media (max-width: 380px) {
  .product-card { grid-template-columns: minmax(0, 1fr) 94px; min-height: 158px; }
  .product-card-body, .product-card > .product-art { min-height: 158px; }
  .featured-section .product-card:first-child { grid-template-columns: minmax(0, 1fr) 94px; min-height: 158px; }
  .featured-section .product-card:first-child > .product-art { min-height: 158px; }
}
.brand-name { font-size: 16px; }
.site-footer .brand-small .brand-mark { width: 29px; height: 30px; }
.site-footer .brand-small .brand-name { font-size: 10px; }
@media (max-width: 679px) {
  .brand-name { font-size: 14px; }
  .site-footer .brand-small .brand-mark { width: 27px; height: 28px; }
}
