@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;800&family=Plus+Jakarta+Sans:wght@300;500;700&display=swap');

:root {
  --deep: #06141B;
  --green: #253745;
  --mint: #4A5C6A;
  --dark: #11212D;
  --g1: #06141B;
  --g2: #11212D;
  --g3: #253745;
  --g4: #4A5C6A;
  --g5: #9BA8AB;
  --text: #CCD0CF;
  --muted: #9BA8AB;
  --neon: #9BA8AB;
  --glass: rgba(6, 20, 27, 0.62);
  --stroke: rgba(155, 168, 171, 0.32);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}


* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 20%, rgba(155, 168, 171, 0.12), transparent 48%),
    radial-gradient(circle at 80% 10%, rgba(74, 92, 106, 0.18), transparent 40%),
    linear-gradient(130deg, var(--g1), var(--g2), var(--g3), var(--g4));
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 10% 80%, rgba(155, 168, 171, 0.12), transparent 45%),
    radial-gradient(circle at 90% 30%, rgba(74, 92, 106, 0.16), transparent 45%);
  pointer-events: none;
  z-index: 0;
}

canvas#snow-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.orbitals {
  position: fixed;
  inset: -10vh -10vw;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.orbitals span {
  position: absolute;
  border: 1px solid rgba(155, 168, 171, 0.2);
  border-radius: 50%;
  animation: orbit 40s linear infinite;
}

.orbitals .ring-1 {
  width: 70vw;
  height: 70vw;
  top: -10vh;
  left: -12vw;
}

.orbitals .ring-2 {
  width: 40vw;
  height: 40vw;
  bottom: -8vh;
  right: -6vw;
  animation-duration: 55s;
}

.orbitals .ring-3 {
  width: 25vw;
  height: 25vw;
  top: 20vh;
  right: 20vw;
  animation-duration: 35s;
}

@keyframes orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(6, 20, 27, 0.9), rgba(17, 33, 45, 0.86), rgba(37, 55, 69, 0.78));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(155, 168, 171, 0.18);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px) 1fr;
  align-items: center;
  gap: 24px;
  padding: 20px 4vw;
}

.logo {
  font-family: 'TASA Orbiter', 'Syne', sans-serif;
  font-weight: 700;
  letter-spacing: 0.4px;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo-image {
  height: 30px;
  width: auto;
  max-width: min(40vw, 240px);
  object-fit: contain;
  display: block;
}

.logo-fallback {
  color: var(--neon);
  text-shadow: 0 0 16px rgba(155, 168, 171, 0.6);
}

.search-wrap {
  position: relative;
}

.search-wrap input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(155, 168, 171, 0.35);
  background: rgba(6, 20, 27, 0.58);
  color: var(--text);
  font-size: 14px;
  box-shadow: var(--shadow);
  outline: none;
}

.search-wrap input:focus {
  border-color: var(--neon);
  box-shadow: 0 0 24px rgba(155, 168, 171, 0.35);
}

.search-results {
  position: absolute;
  top: 110%;
  left: 0;
  right: 0;
  background: rgba(17, 33, 45, 0.94);
  border: 1px solid rgba(155, 168, 171, 0.35);
  border-radius: 14px;
  padding: 10px;
  display: none;
  box-shadow: var(--shadow);
  z-index: 30;
}

.search-results.active {
  display: block;
}

.search-results a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--text);
  transition: background 0.2s ease, color 0.2s ease;
}

.search-results a:hover {
  background: rgba(155, 168, 171, 0.18);
  color: #ffffff;
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
}

.nav-link,
.categories-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.nav-link:hover,
.categories-toggle:hover {
  border-color: rgba(155, 168, 171, 0.6);
  box-shadow: 0 0 18px rgba(155, 168, 171, 0.4);
  color: #ffffff;
}

.nav-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-icon svg {
  width: 100%;
  height: 100%;
}


.categories-panel {
  position: absolute;
  right: 4vw;
  top: 85px;
  width: min(800px, 90vw);
  background: rgba(17, 33, 45, 0.92);
  border: 1px solid rgba(155, 168, 171, 0.35);
  border-radius: 18px;
  padding: 18px;
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  box-shadow: var(--shadow);
  z-index: 40;
}

.categories-panel.active {
  display: grid;
  animation: rise 0.3s ease;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.category-link {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(155, 168, 171, 0.2);
  background: rgba(17, 33, 45, 0.62);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.category-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(155, 168, 171, 0.3), transparent);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.category-link:hover {
  border-color: rgba(155, 168, 171, 0.8);
  box-shadow: 0 0 16px rgba(155, 168, 171, 0.45);
}

.category-link:hover::after {
  transform: translateX(120%);
}

.hamburger {
  display: none;
  border: 1px solid rgba(155, 168, 171, 0.4);
  background: transparent;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: absolute;
  right: 4vw;
  top: 80px;
  background: rgba(17, 33, 45, 0.95);
  border: 1px solid rgba(155, 168, 171, 0.35);
  border-radius: 16px;
  padding: 16px;
  width: min(320px, 90vw);
  box-shadow: var(--shadow);
  z-index: 40;
}

.mobile-menu.active {
  display: grid;
  gap: 12px;
}

.hero {
  min-height: 100vh;
  display: grid;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.carousel {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.8s ease;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  display: grid;
  align-items: center;
  padding: 0 6vw;
  background-size: cover;
  background-position: center;
}

.slide-content {
  max-width: 560px;
  background: rgba(7, 19, 16, 0.6);
  border: 1px solid rgba(155, 168, 171, 0.35);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.slide-content h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4vw, 54px);
  margin: 0 0 12px;
  text-transform: uppercase;
}

.slide-content p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(155, 168, 171, 0.4);
  background: linear-gradient(120deg, rgba(17, 33, 45, 0.88), rgba(37, 55, 69, 0.72));
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn:hover {
  border-color: rgba(155, 168, 171, 0.8);
  box-shadow: 0 0 20px rgba(155, 168, 171, 0.4);
  transform: translateY(-2px);
}

.section {
  padding: 80px 4vw;
  position: relative;
  z-index: 2;
}

.section-title {
  font-family: 'Syne', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 22px;
  margin-bottom: 24px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  background: rgba(17, 33, 45, 0.74);
  border: 1px solid rgba(155, 168, 171, 0.25);
  border-radius: 16px;
  padding: 14px;
  display: grid;
  gap: 12px;
  min-height: 230px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(155, 168, 171, 0.12), transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.product-card:hover::after {
  opacity: 1;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: contain;
  background: rgba(6, 20, 27, 0.72);
  border-radius: 12px;
  border: 1px solid rgba(155, 168, 171, 0.2);
}

.product-card h4 {
  font-size: 13px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-card .card-actions {
  display: grid;
  gap: 8px;
}

.product-card .card-actions-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.buy-options {
  display: none;
  gap: 8px;
}

.buy-options.active {
  display: grid;
}

.buy-options a {
  text-align: center;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(155, 168, 171, 0.4);
  font-size: 12px;
}

.buy-modal-content {
  width: min(520px, 92vw);
}

.buy-modal-body {
  display: grid;
  gap: 16px;
}

.buy-modal-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.buy-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.buy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #ffffff;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.buy-link:hover {
  transform: translateY(-2px);
}

.buy-yandex {
  background: #ff1f1f;
  box-shadow: 0 0 20px rgba(255, 31, 31, 0.35);
}

.buy-uzum {
  background: #7b3cff;
  box-shadow: 0 0 20px rgba(123, 60, 255, 0.35);
}

.buy-call {
  background: #0f7b4f;
  box-shadow: 0 0 20px rgba(15, 123, 79, 0.35);
}

.buy-telegram {
  background: #229ed9;
  box-shadow: 0 0 20px rgba(34, 158, 217, 0.35);
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(6, 20, 27, 0.78);
  backdrop-filter: blur(16px);
  z-index: 80;
}

.modal.active {
  display: grid;
}

.modal-content {
  width: min(980px, 92vw);
  background: rgba(17, 33, 45, 0.92);
  border: 1px solid rgba(155, 168, 171, 0.35);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  text-transform: uppercase;
}

.modal-close {
  border: 1px solid rgba(155, 168, 171, 0.4);
  background: transparent;
  color: var(--text);
  border-radius: 10px;
  padding: 6px 10px;
  cursor: pointer;
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr 0.6fr;
  gap: 16px;
}

.modal-specs {
  border: 1px solid rgba(155, 168, 171, 0.2);
  border-radius: 14px;
  padding: 12px;
  background: rgba(37, 55, 69, 0.52);
  display: grid;
  gap: 8px;
  font-size: 13px;
}

.modal-main-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: rgba(6, 20, 27, 0.72);
  border-radius: 16px;
  border: 1px solid rgba(155, 168, 171, 0.25);
}

.modal-thumbs {
  display: grid;
  gap: 12px;
}

.modal-thumbs img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: rgba(6, 20, 27, 0.72);
  border-radius: 12px;
  border: 1px solid rgba(155, 168, 171, 0.25);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.modal-thumbs img:hover {
  transform: scale(1.02);
}

.toast {
  position: fixed;
  right: 4vw;
  bottom: 30px;
  background: rgba(17, 33, 45, 0.92);
  border: 1px solid rgba(155, 168, 171, 0.4);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 90;
}

.toast.active {
  opacity: 1;
  transform: translateY(0);
}

.footer {
  border-top: 1px solid rgba(155, 168, 171, 0.2);
  padding: 40px 4vw;
  display: grid;
  gap: 16px;
  background: linear-gradient(180deg, rgba(6, 20, 27, 0.9), rgba(17, 33, 45, 0.9));
  z-index: 2;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.footer h4 {
  font-family: 'Syne', sans-serif;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-size: 14px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #fff;
}

.social-icon.instagram {
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 8%, #fd5949 35%, #d6249f 62%, #285aeb 100%);
}

.social-icon.telegram {
  background: #229ed9;
}

.page-hero {
  min-height: 50vh;
  display: grid;
  align-items: center;
  padding: 100px 4vw 40px;
  background: linear-gradient(140deg, rgba(6, 20, 27, 0.9), rgba(17, 33, 45, 0.84));
}

.page-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 46px);
  margin: 0 0 12px;
  text-transform: uppercase;
}

.page-hero p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.7;
}

.category-hero {
  min-height: 45vh;
  display: grid;
  align-items: center;
  padding: 80px 4vw 30px;
}

.category-hero span {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(155, 168, 171, 0.5);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.category-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(26px, 4vw, 42px);
  margin: 0 0 10px;
}

.category-hero p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.7;
}

