:root {
  --bg: #030303;
  --bg2: #121212;
  --card: #161616;
  --card-2: #202020;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f5f5;
  --muted: #9a9a9a;
  --primary: #bd0001;
  --primary-soft: rgba(189, 0, 1, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-size: 18px;
  overflow-x: hidden;
  max-width: 100vw;
  cursor: none;
}

.cursor {
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
  box-shadow: 0 0 14px var(--primary), 0 0 28px rgba(189, 0, 1, 0.3);
  mix-blend-mode: screen;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(189, 0, 1, 0.42);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.15s, height 0.15s;
}

@media (hover: none), (pointer: coarse) {
  body {
    cursor: auto;
  }
  .cursor,
  .cursor-ring {
    display: none !important;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(189, 0, 1, 0.007) 2px,
    rgba(189, 0, 1, 0.007) 4px
  );
}

img {
  display: block;
  max-width: 100%;
}

a,
button {
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.logo-lina {
  color: #fff;
}

.logo-dot {
  color: var(--primary);
}

.logo-nerd {
  color: #969696;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px 48px;
  background: rgba(3, 3, 3, 0.92);
  border-bottom: 1px solid rgba(189, 0, 1, 0.08);
}

.nav-logo,
.flogo {
  font-family: "Orbitron", monospace;
  text-decoration: none;
  letter-spacing: 3px;
}

.nav-logo {
  font-size: 18px;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.nav-links a,
.product-breadcrumb a,
.product-backlink {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover,
.product-breadcrumb a:hover,
.product-backlink:hover {
  color: var(--text);
}

.nav-links a {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.product-hero {
  min-height: 44vh;
  max-height: 44vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 84px 48px 18px;
}

.product-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(3, 3, 3, 0) 0%,
      rgba(3, 3, 3, 0.45) 35%,
      rgba(3, 3, 3, 0.92) 78%,
      var(--bg) 100%
    ),
    radial-gradient(
      ellipse 95% 72% at 50% 100%,
      rgba(3, 3, 3, 0.95),
      transparent 72%
    ),
    radial-gradient(
      ellipse 42% 28% at 15% 88%,
      rgba(189, 0, 1, 0.16),
      transparent 72%
    ),
    radial-gradient(
      ellipse 36% 24% at 86% 88%,
      rgba(189, 0, 1, 0.08),
      transparent 72%
    );
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(3, 3, 3, 0.18),
      rgba(3, 3, 3, 0.5) 68%,
      rgba(3, 3, 3, 0.9)
    ),
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(189, 0, 1, 0.06), transparent 60%),
    url("../image/Linabg.webp") 42% center/cover no-repeat,
    #030303;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(189, 0, 1, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(189, 0, 1, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, black 10%, transparent 65%);
  opacity: 0.18;
}

.product-hero__copy {
  position: absolute;
  right: clamp(72px, 8vw, 124px);
  bottom: clamp(34px, 6vw, 64px);
  z-index: 2;
  max-width: min(32vw, 420px);
  text-align: left;
  pointer-events: none;
}

.hero-copy__text {
  font-family: "Orbitron", monospace;
  font-size: clamp(16px, 1.9vw, 28px);
  line-height: 1.18;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.96);
  text-wrap: balance;
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.42);
}

.hero-copy__accent {
  display: block;
  margin-top: 4px;
  font-size: calc(1.18em + 3px);
}

.hero-copy__accent-outline,
.hero-copy__accent-fill {
  display: inline-block;
}

.hero-copy__accent-outline {
  color: transparent;
  -webkit-text-stroke: 1.2px #d10a0a;
  text-stroke: 1.2px #d10a0a;
  text-shadow: 0 0 12px rgba(189, 0, 1, 0.2);
}

.hero-copy__accent-fill {
  margin-left: 10px;
  color: #d10a0a;
  text-shadow: 0 0 12px rgba(189, 0, 1, 0.24);
}

.product-page {
  padding: 18px 48px 80px;
}

.product-loader {
  display: none;
}

.product-page.is-loading .product-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 80px 0;
}

.product-page.is-loading .product-shell,
.product-page.is-loading .related-shell {
  display: none;
}

.product-loader__spinner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--primary);
  animation: product-spin 0.8s linear infinite;
}

@keyframes product-spin {
  to {
    transform: rotate(360deg);
  }
}

.product-shell,
.related-shell {
  max-width: 980px;
  margin: 0 auto;
}

.product-shell {
  padding-top: 18px;
}

.product-shell__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-family: "Share Tech Mono", monospace;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 0;
  max-width: 100%;
}

.product-breadcrumb strong {
  color: var(--text);
  overflow-wrap: anywhere;
  min-width: 0;
}

.product-backlink {
  font-family: "Share Tech Mono", monospace;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 18px;
}

.product-media__frame,
.product-info,
.related-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-media__frame {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 520px;
  aspect-ratio: 1 / 1;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  background:
    radial-gradient(circle at center, rgba(189, 0, 1, 0.08), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.03));
}

.product-media__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.product-media__frame img.is-ready {
  opacity: 1;
}

.product-media__price-note {
  font-family: "Share Tech Mono", monospace;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.72;
  margin: 12px 4px 0;
  text-align: center;
}

.product-info {
  padding: 22px;
  display: grid;
  gap: 16px;
  min-width: 0;
}

.product-kicker,
.related-kicker {
  color: var(--primary);
  font-family: "Share Tech Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 12px;
}

.product-title,
.related-title {
  font-family: "Orbitron", monospace;
  font-weight: 700;
  text-transform: uppercase;
}

.product-title {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 0.96;
  overflow-wrap: anywhere;
}

.product-rating,
.product-copy,
.product-meta-row {
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
}

.product-meta-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.product-meta-row .product-store {
  padding: 0;
  border-top: none;
  min-width: 0;
}

.product-meta-row .product-price {
  min-width: 0;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.product-meta-row > [hidden] + * {
  border-left: none;
  padding-left: 0;
}

.product-rating__label,
.product-copy h2,
.product-store__label,
.product-price__label {
  font-family: "Share Tech Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--muted);
  margin-bottom: 10px;
}

.product-price__box {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 3px;
  background: transparent;
  margin-bottom: 6px;
  max-width: 100%;
}

.product-price__value {
  font-family: "Orbitron", monospace;
  font-size: 16px;
  letter-spacing: 0.6px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-price__note {
  font-family: "Share Tech Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.7;
  margin: 0;
}

.product-rating__stars {
  color: #f3d37a;
  font-size: 24px;
  letter-spacing: 4px;
  margin-bottom: 10px;
}

.product-rating__copy,
.product-copy p,
.product-store__copy {
  color: #dbdbdb;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.product-store__name {
  font-family: "Orbitron", monospace;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}

.product-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 1fr 1fr;
  gap: 10px;
  padding-top: 4px;
}

.btn-primary,
.btn-secondary {
  min-height: 54px;
  border-radius: 4px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-family: "Orbitron", monospace;
  font-size: 11px;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #fff;
  box-shadow: 0 0 24px rgba(189, 0, 1, 0.18);
}

.btn-primary.is-disabled {
  background: #3a3a3a;
  border-color: #3a3a3a;
  color: rgba(255, 255, 255, 0.7);
  pointer-events: none;
  box-shadow: none;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  color: var(--text);
}

.btn-secondary.is-liked {
  border-color: rgba(189, 0, 1, 0.7);
  color: var(--primary);
  background: rgba(189, 0, 1, 0.08);
}

.related-shell {
  margin-top: 56px;
}

.related-head {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.related-title {
  font-size: clamp(22px, 3vw, 34px);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.related-card {
  overflow: hidden;
}

.related-card a {
  color: inherit;
  text-decoration: none;
  display: block;
  height: 100%;
}

.related-card img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
}

.related-card__body {
  padding: 12px;
  display: grid;
  gap: 6px;
}

.related-card__body span {
  color: var(--primary);
  font-family: "Share Tech Mono", monospace;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1.5px;
}

.related-card__body strong {
  font-size: 17px;
  overflow-wrap: anywhere;
}

.related-card--placeholder {
  display: flex;
  align-items: center;
  min-height: 120px;
}

.newsletter-section {
  margin-top: 64px;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  margin: 0 48px;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  padding: 40px 48px 28px;
}

.flogo {
  font-size: 17px;
  margin-bottom: 10px;
  display: block;
}

.flogo-kicker {
  font-size: 13px;
  color: var(--muted);
  font-family: "Rajdhani", sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

.fdesc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 360px;
  margin-bottom: 16px;
}

.flinks {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.flink {
  font-family: "Share Tech Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  border: 1px solid var(--primary);
  background: var(--primary);
  border-radius: 2px;
  min-width: 140px;
  text-align: center;
}

.fcopy {
  font-family: "Share Tech Mono", monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1px;
  text-align: right;
  line-height: 2.2;
}

.fcopy b {
  color: var(--primary);
}

@media (max-width: 1180px) {
  .related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-nav {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 14px 20px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links a {
    font-size: 13px;
  }

  .product-hero {
    padding: 96px 20px 28px;
    min-height: 44vh;
    max-height: 44vh;
  }

  .product-hero::after {
    height: 34%;
  }

  .hero-bg {
    background:
      linear-gradient(
        180deg,
        rgba(3, 3, 3, 0.1),
        rgba(3, 3, 3, 0.34) 62%,
        rgba(3, 3, 3, 0.82)
      ),
      radial-gradient(ellipse 82% 58% at 50% 4%, rgba(189, 0, 1, 0.05), transparent 60%),
      url("../image/bglina-mobile.webp") calc(50% - 30px) center/cover no-repeat,
      #030303;
  }

  .product-hero__copy {
    display: none;
  }

  .product-page {
    padding: 24px 20px 56px;
  }

  .product-shell,
  .related-shell {
    max-width: 100%;
    min-width: 0;
  }

  .product-shell__head,
  .product-layout {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .product-shell__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-media,
  .product-media__frame {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .product-media__frame {
    min-height: 0;
    justify-content: center;
    padding: 24px;
  }

  .product-media__frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

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

  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  footer {
    grid-template-columns: 1fr;
    padding: 32px 20px;
  }

  .divider {
    margin: 0 20px;
  }

  .fcopy {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .nav-links {
    gap: 16px;
  }

  .product-title {
    font-size: 28px;
  }

  .product-info {
    padding: 20px;
  }

  .product-media__frame {
    padding: 18px;
  }

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