:root {
  color-scheme: dark;
  --void: #05060a;
  --panel: rgba(16, 18, 24, 0.92);
  --panel-soft: rgba(24, 26, 36, 0.82);
  --line: rgba(176, 38, 255, 0.26);
  --green: #39ff14;
  --purple: #b026ff;
  --cyan: #00d1ff;
  --amber: #ffb020;
  --red: #ff3b5c;
  --text: #f5f7fa;
  --muted: #a7adba;
  --shadow-green: 0 0 28px rgba(57, 255, 20, 0.34);
  --shadow-purple: 0 0 30px rgba(176, 38, 255, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(57, 255, 20, 0.11), transparent 24rem),
    radial-gradient(circle at 88% 12%, rgba(0, 209, 255, 0.08), transparent 20rem),
    linear-gradient(180deg, #05060a, #07100c 48%, #05060a);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: 4.8rem;
  padding: 0.8rem clamp(1rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 6, 10, 0.9);
  backdrop-filter: blur(16px);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 8px;
  color: var(--green);
  font-weight: 950;
  box-shadow: var(--shadow-green);
}

.brand-lockup strong,
.brand-lockup small {
  display: block;
}

.brand-lockup strong {
  color: var(--green);
  font-weight: 950;
  text-shadow: var(--shadow-green);
}

.brand-lockup small {
  color: var(--muted);
  font-size: 0.72rem;
}

.site-nav,
.header-actions,
.hero-actions,
.category-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.site-nav {
  justify-content: center;
}

.nav-link,
.icon-button,
.cart-button,
.primary-button,
.ghost-button,
.category-chip,
.filter-panel button {
  min-height: 2.35rem;
  border: 1px solid rgba(156, 163, 175, 0.18);
  border-radius: 8px;
  background: rgba(16, 18, 24, 0.72);
  cursor: pointer;
  font-weight: 850;
}

.nav-link,
.icon-button,
.cart-button,
.ghost-button,
.category-chip,
.filter-panel button {
  color: #d8dde6;
}

.nav-link,
.icon-button,
.cart-button,
.ghost-button,
.category-chip {
  padding: 0 0.72rem;
}

.primary-button {
  padding: 0 0.9rem;
  border-color: rgba(57, 255, 20, 0.48);
  background: linear-gradient(180deg, rgba(57, 255, 20, 0.18), rgba(57, 255, 20, 0.08));
  color: var(--text);
  box-shadow: 0 0 16px rgba(57, 255, 20, 0.14);
}

.ghost-button:hover,
.primary-button:hover,
.nav-link:hover,
.cart-button:hover,
.category-chip:hover,
.category-chip.is-active,
.filter-panel button:hover {
  border-color: rgba(57, 255, 20, 0.48);
  background: rgba(57, 255, 20, 0.08);
  color: var(--green);
}

.cart-button span {
  display: inline-grid;
  min-width: 1.35rem;
  height: 1.35rem;
  margin-left: 0.35rem;
  place-items: center;
  border-radius: 999px;
  background: var(--purple);
  color: var(--text);
  font-size: 0.72rem;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  display: none;
  min-width: 13rem;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 6, 10, 0.96);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: grid;
  gap: 0.35rem;
}

.dropdown-menu button {
  min-height: 2.25rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.dropdown-menu button:hover {
  background: rgba(57, 255, 20, 0.08);
  color: var(--green);
}

.hero {
  position: relative;
  min-height: min(36rem, 84vh);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(18rem, 0.82fr);
  gap: 1.5rem;
  align-items: end;
  overflow: hidden;
  padding: clamp(5.2rem, 9vh, 7.2rem) clamp(1rem, 4vw, 4rem) 2.2rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 6, 10, 0.94) 0%, rgba(5, 6, 10, 0.72) 52%, rgba(5, 6, 10, 0.86) 100%),
    radial-gradient(ellipse at 18% 76%, rgba(57, 255, 20, 0.26), transparent 22rem),
    radial-gradient(ellipse at 74% 30%, rgba(176, 38, 255, 0.26), transparent 24rem),
    linear-gradient(145deg, #07130f 0%, #090912 52%, #10051a 100%);
}

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  inset: auto auto -7rem -5rem;
  width: 42rem;
  height: 31rem;
  opacity: 0.42;
  background:
    repeating-radial-gradient(ellipse at bottom, transparent 0 16px, rgba(57, 255, 20, 0.2) 17px 19px, transparent 20px 32px);
  transform: rotate(-18deg);
  transform-origin: bottom left;
}

.hero-bg::after {
  inset: auto -9rem -8rem auto;
  opacity: 0.3;
  transform: rotate(20deg) scaleX(-1);
}

.hero-content {
  max-width: 42rem;
}

.hero-showcase {
  position: relative;
  display: grid;
  align-self: end;
  justify-self: stretch;
  min-height: 21rem;
  align-items: end;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: 18% 4% 0;
  border-radius: 999px;
  background: radial-gradient(ellipse, rgba(57, 255, 20, 0.18), transparent 68%);
  filter: blur(10px);
}

.hero-showcase img {
  position: relative;
  width: 100%;
  max-height: 34rem;
  object-fit: contain;
  filter: drop-shadow(0 24px 42px rgba(0, 0, 0, 0.62));
}

.eyebrow {
  margin: 0 0 0.35rem;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.75rem, 8.3vw, 6.9rem);
  line-height: 0.92;
  text-shadow: var(--shadow-purple);
}

.hero p:not(.eyebrow) {
  max-width: 34rem;
  color: #e3e7ed;
  font-size: clamp(0.98rem, 1.8vw, 1.16rem);
  line-height: 1.42;
}

.store-strip {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  position: relative;
  z-index: 3;
}

.hero-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.store-strip article,
.filter-panel,
.product-card,
.system-grid article,
.meter-card,
.camera-panel,
.sensor-panel,
.strain-board,
.camera-card,
.sensor-card,
.strain-card,
.drawer-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

.store-strip article {
  min-height: 5.8rem;
  padding: 0.9rem 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 28%),
    var(--panel);
}

.store-strip span,
.store-strip strong,
.product-meta span,
.product-card p,
.filter-panel span,
.filter-note small,
.drawer-head span,
.cart-row span,
.quick-detail span,
.quick-detail small {
  display: block;
}

.store-strip span,
.product-meta span,
.filter-panel span,
.filter-note small,
.cart-row span,
.quick-detail span,
.quick-detail small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.store-strip strong {
  margin-top: 0.2rem;
  font-size: 1rem;
}

.command-spine-section,
.live-grow-section,
.shop-section,
.systems-section,
.smoothness-section {
  padding: clamp(2.4rem, 6vw, 4.5rem) clamp(1rem, 4vw, 4rem);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-head h2,
.smoothness-section h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3.3vw, 2.9rem);
  line-height: 1;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(13rem, 20rem) minmax(9rem, auto);
  gap: 0.55rem;
}

.search-panel input,
.search-panel select {
  min-height: 2.55rem;
  border: 1px solid rgba(156, 163, 175, 0.18);
  border-radius: 8px;
  background: rgba(5, 6, 10, 0.72);
  color: var(--text);
  outline: none;
}

.search-panel input {
  padding: 0 0.85rem;
}

.search-panel select {
  padding: 0 0.6rem;
}

.category-row {
  margin-bottom: 1rem;
}

.live-grow-section {
  display: grid;
  gap: 1rem;
  background:
    linear-gradient(180deg, rgba(57, 255, 20, 0.08), transparent 28%),
    rgba(5, 6, 10, 0.74);
}

.command-spine-section {
  display: grid;
  gap: 1rem;
  background:
    linear-gradient(180deg, rgba(0, 209, 255, 0.08), transparent 30%),
    rgba(5, 6, 10, 0.78);
}

.section-lead {
  max-width: 54rem;
  margin: 0;
  color: #d8dde6;
  line-height: 1.5;
}

.command-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.command-grid article {
  padding: 0.95rem;
  border: 1px solid rgba(57, 255, 20, 0.18);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

.command-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.command-grid strong {
  display: block;
  margin-top: 0.28rem;
  color: var(--green);
  font-size: 1.25rem;
  line-height: 1.05;
}

.command-grid p {
  margin: 0.55rem 0 0;
  color: #d8dde6;
  line-height: 1.42;
}

.live-layout {
  display: block;
}

.live-topline {
  display: grid;
  grid-template-columns: minmax(18rem, 0.34fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.weather-panel,
.breeding-spotlight,
.cross-builder,
.ai-product-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

.weather-panel {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
}

.weather-copy span,
.weather-copy small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.weather-copy strong {
  display: block;
  margin: 0.25rem 0;
  color: var(--green);
  font-size: 1.35rem;
  line-height: 1;
}

.weather-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.weather-stats span {
  min-height: 3.6rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(57, 255, 20, 0.14);
  border-radius: 8px;
  background: rgba(5, 6, 10, 0.5);
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 950;
}

.sensor-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(10.5rem, 1fr));
  gap: 0.75rem;
}

.camera-panel,
.sensor-panel,
.strain-board {
  padding: 0.9rem;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 0.75rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(57, 255, 20, 0.16);
}

.panel-head span {
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.panel-head strong {
  color: var(--text);
  font-size: 0.95rem;
}

.camera-grid,
.sensor-grid,
.strain-grid {
  display: grid;
  gap: 0.75rem;
}

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

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

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

.camera-card,
.sensor-card,
.strain-card {
  display: grid;
  gap: 0.55rem;
  padding: 0.75rem;
  background: var(--panel-soft);
}

.camera-card {
  width: 100%;
  color: inherit;
  text-align: left;
}

.camera-card.is-selected {
  border-color: rgba(57, 255, 20, 0.7);
  background: linear-gradient(180deg, rgba(57, 255, 20, 0.1), rgba(24, 26, 36, 0.86));
}

.camera-window {
  position: relative;
  min-height: 11.2rem;
  overflow: hidden;
  border: 1px solid rgba(57, 255, 20, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(57, 255, 20, 0.18), transparent 35%),
    linear-gradient(45deg, rgba(176, 38, 255, 0.24), rgba(5, 6, 10, 0.92));
  background-position: center;
  background-size: cover;
}

.camera-window::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 9px, rgba(255, 255, 255, 0.035) 10px);
}

.camera-window strong {
  position: absolute;
  left: 0.7rem;
  bottom: 0.62rem;
  color: var(--text);
  font-size: 1.05rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.85);
}

.camera-window iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.live-dot {
  position: absolute;
  left: 0.7rem;
  top: 0.7rem;
  padding: 0.24rem 0.52rem;
  border-radius: 999px;
  background: var(--red);
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(255, 59, 92, 0.32);
}

.live-pill,
.sensor-pill,
.strain-pill {
  justify-self: start;
  padding: 0.22rem 0.48rem;
  border: 1px solid rgba(57, 255, 20, 0.22);
  border-radius: 999px;
  color: var(--green);
  background: rgba(57, 255, 20, 0.08);
  font-size: 0.66rem;
  font-weight: 950;
  text-transform: uppercase;
}

.camera-card h3,
.sensor-card h3,
.strain-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.1;
}

.camera-card p,
.sensor-card p,
.strain-card p {
  margin: 0;
  color: #d8dde6;
  font-size: 0.82rem;
  line-height: 1.38;
}

.sensor-card {
  align-content: start;
}

.sensor-card.is-crowned {
  border-color: rgba(255, 176, 32, 0.7);
  background:
    linear-gradient(180deg, rgba(255, 176, 32, 0.12), transparent 44%),
    var(--panel-soft);
}

.sensor-card.is-crowned h3::before,
.strain-card.is-featured h3::before {
  content: "Crown ";
  color: var(--amber);
}

.sensor-card.compact {
  margin-top: 0.75rem;
}

.sensor-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.refresh-sensor-button {
  min-height: 1.9rem;
  padding: 0 0.5rem;
  border: 1px solid rgba(57, 255, 20, 0.24);
  border-radius: 6px;
  background: rgba(5, 6, 10, 0.56);
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 950;
  cursor: pointer;
}

.refresh-sensor-button:hover {
  color: var(--green);
}

.refresh-sensor-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.camera-card small,
.sensor-card small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.sensor-value {
  color: var(--green);
  font-size: clamp(1.05rem, 2.2vw, 1.75rem);
  font-weight: 950;
  line-height: 1;
  overflow-wrap: anywhere;
  text-shadow: var(--shadow-green);
}

.score-bar {
  display: grid;
  gap: 0.32rem;
}

.score-bar div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: #d8dde6;
  font-size: 0.7rem;
  font-weight: 900;
}

.score-bar i {
  display: block;
  height: 0.42rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(156, 163, 175, 0.16);
}

.score-bar b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--purple));
}

.breeding-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(20rem, 1fr);
  gap: 1rem;
  padding: 0.95rem;
  background:
    linear-gradient(135deg, rgba(255, 176, 32, 0.12), transparent 46%),
    var(--panel);
}

.spotlight-copy h3 {
  margin: 0.45rem 0 0.55rem;
  color: var(--text);
  font-size: clamp(1.85rem, 3.8vw, 3.7rem);
  line-height: 0.95;
}

.spotlight-copy p {
  max-width: 44rem;
  color: #d8dde6;
  line-height: 1.52;
}

.score-grid {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0;
}

.spotlight-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.spotlight-feed {
  display: grid;
  align-content: start;
}

.camera-mascot-stage {
  position: relative;
  min-height: 22rem;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.camera-screen-frame {
  position: relative;
  z-index: 3;
  width: min(100%, 39rem);
  padding: clamp(0.7rem, 1.8vw, 1rem);
  border: 2px solid rgba(57, 255, 20, 0.58);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(14, 18, 17, 0.96), rgba(3, 5, 6, 0.98)),
    radial-gradient(circle at 18% 0%, rgba(57, 255, 20, 0.18), transparent 34%);
  box-shadow:
    0 0 0 1px rgba(176, 38, 255, 0.28),
    0 24px 70px rgba(0, 0, 0, 0.58),
    0 0 34px rgba(57, 255, 20, 0.15);
}

.camera-screen-frame::before {
  content: "";
  position: absolute;
  inset: 0.32rem;
  pointer-events: none;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.camera-screen-frame .camera-window {
  min-height: clamp(15rem, 28vw, 22rem);
  border-color: rgba(57, 255, 20, 0.34);
}

.camera-screen-shadow {
  position: absolute;
  z-index: 0;
  bottom: 1.25rem;
  width: min(32rem, 84%);
  height: 2.4rem;
  border-radius: 999px;
  background: radial-gradient(ellipse, rgba(57, 255, 20, 0.28), transparent 70%);
  filter: blur(10px);
}

.screen-slime {
  position: absolute;
  z-index: 2;
  left: clamp(-0.6rem, 2vw, 1rem);
  bottom: 1.2rem;
  width: clamp(10rem, 19vw, 15rem);
  height: clamp(9rem, 17vw, 13rem);
  border-radius: 52% 48% 38% 44%;
  background:
    radial-gradient(circle at 31% 31%, #ffffff 0 0.72rem, #101218 0.76rem 1.16rem, transparent 1.2rem),
    radial-gradient(circle at 62% 28%, #ffffff 0 0.62rem, #101218 0.66rem 1.05rem, transparent 1.09rem),
    radial-gradient(circle at 28% 12%, rgba(255, 255, 255, 0.66), transparent 3rem),
    linear-gradient(160deg, #99ff5a 0%, #3df126 44%, #13920e 100%);
  box-shadow:
    inset -1rem -1.4rem 1.8rem rgba(2, 52, 12, 0.42),
    inset 0.55rem 0.65rem 1rem rgba(255, 255, 255, 0.24),
    0 0 34px rgba(57, 255, 20, 0.44);
  transform: rotate(-5deg);
  animation: slime-breathe 3.8s ease-in-out infinite;
}

.screen-slime::before {
  content: "";
  position: absolute;
  inset: auto 1.15rem -0.75rem 0.9rem;
  height: 1.75rem;
  border-radius: 42% 58% 55% 45%;
  background: rgba(57, 255, 20, 0.56);
  filter: blur(0.5px);
}

.screen-slime::after {
  content: "";
  position: absolute;
  left: 3.6rem;
  top: -1.35rem;
  width: 3rem;
  height: 3rem;
  border-radius: 46% 54% 52% 48%;
  background:
    radial-gradient(circle at 48% 50%, #101218 0 0.48rem, #fff 0.52rem 0.92rem, #66ff33 0.96rem);
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.38);
  animation: loose-eye 6s ease-in-out infinite;
}

.slime-mouth {
  position: absolute;
  left: 4.55rem;
  top: 5.25rem;
  width: 2.15rem;
  height: 1.05rem;
  border-bottom: 0.24rem solid #101218;
  border-radius: 0 0 999px 999px;
}

.slime-gloss {
  position: absolute;
  left: 2rem;
  top: 1.1rem;
  width: 3.2rem;
  height: 1.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  transform: rotate(-18deg);
}

.slime-hand {
  position: absolute;
  z-index: 4;
  top: 3.8rem;
  width: 4.6rem;
  height: 2.2rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #8cff52, #21b414);
  box-shadow: inset -0.35rem -0.45rem 0.7rem rgba(1, 55, 8, 0.32);
}

.slime-hand.left {
  right: -2.6rem;
  transform: rotate(14deg);
}

.slime-hand.right {
  left: clamp(16rem, 46vw, 31rem);
  top: 6rem;
  width: 5rem;
  transform: rotate(-9deg);
}

.slime-drip {
  position: absolute;
  bottom: -1.25rem;
  width: 1.1rem;
  height: 2.4rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #45f52b, rgba(57, 255, 20, 0));
  animation: drip-pulse 2.8s ease-in-out infinite;
}

.slime-drip.one {
  left: 2.2rem;
}

.slime-drip.two {
  left: 7rem;
  height: 1.8rem;
  animation-delay: 900ms;
}

@keyframes slime-breathe {
  0%, 100% { transform: rotate(-5deg) scale(1); }
  50% { transform: rotate(-3deg) scale(1.025, 0.985); }
}

@keyframes loose-eye {
  0%, 100% { transform: translate(0, 0) rotate(-7deg); opacity: 0.9; }
  50% { transform: translate(0.35rem, 0.25rem) rotate(8deg); opacity: 1; }
}

@keyframes drip-pulse {
  0%, 100% { opacity: 0.2; transform: translateY(-0.2rem) scaleY(0.72); }
  50% { opacity: 0.82; transform: translateY(0.25rem) scaleY(1); }
}

.sensor-meta,
.strain-meta {
  display: flex;
  gap: 0.38rem;
  flex-wrap: wrap;
}

.sensor-meta span,
.strain-meta span {
  padding: 0.22rem 0.38rem;
  border: 1px solid rgba(156, 163, 175, 0.14);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 900;
}

.strain-card {
  min-height: 11rem;
}

.strain-card .ghost-button {
  justify-self: start;
  min-height: 2.1rem;
  padding: 0 0.7rem;
}

.strain-card strong {
  color: var(--green);
  font-size: 1.35rem;
  line-height: 1;
}

.shop-layout {
  display: grid;
  grid-template-columns: minmax(13rem, 0.24fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.filter-panel {
  position: sticky;
  top: 5.6rem;
  display: grid;
  gap: 0.48rem;
  padding: 0.9rem;
}

.filter-panel button {
  width: 100%;
  padding: 0 0.65rem;
  text-align: left;
}

.filter-note {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(57, 255, 20, 0.18);
}

.filter-note strong {
  color: var(--green);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.product-card {
  display: grid;
  gap: 0.72rem;
  min-height: 27rem;
  padding: 0.85rem;
}

.product-image {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 11rem;
  padding: 0.8rem;
  overflow: hidden;
  border: 1px solid rgba(57, 255, 20, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 18%, rgba(57, 255, 20, 0.26), transparent 24%),
    linear-gradient(135deg, rgba(176, 38, 255, 0.16), rgba(5, 6, 10, 0.92));
}

.product-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.product-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 6, 10, 0.88), rgba(5, 6, 10, 0.08));
}

.product-image strong,
.product-card h3,
.product-price strong {
  color: var(--text);
}

.product-image span {
  position: relative;
  z-index: 1;
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.product-image strong {
  position: relative;
  z-index: 1;
  margin-top: 0.15rem;
  font-size: 1.55rem;
  line-height: 1;
}

.cross-lab-section {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 4vw, 4rem);
  background:
    linear-gradient(135deg, rgba(0, 209, 255, 0.1), transparent 52%),
    rgba(5, 6, 10, 0.74);
}

.cross-lab-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.38fr);
  gap: 1rem;
}

.cross-builder,
.ai-product-panel {
  padding: 1rem;
}

.plant-token-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.plant-token {
  display: grid;
  gap: 0.12rem;
  min-width: 7.5rem;
  padding: 0.7rem;
  border: 1px solid rgba(57, 255, 20, 0.22);
  border-radius: 8px;
  background: rgba(5, 6, 10, 0.48);
  color: var(--text);
  cursor: grab;
  text-align: left;
}

.plant-token strong {
  color: var(--green);
}

.plant-token span {
  color: #d8dde6;
  font-size: 0.76rem;
}

.cross-drop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.cross-drop-zone {
  display: grid;
  min-height: 8rem;
  place-content: center;
  gap: 0.32rem;
  border: 1px dashed rgba(57, 255, 20, 0.36);
  border-radius: 8px;
  background: rgba(57, 255, 20, 0.05);
  text-align: center;
}

.cross-drop-zone span,
.slime-talk-card span {
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.cross-result,
.slime-talk-card p {
  color: #d8dde6;
  line-height: 1.5;
}

.boundary-note {
  margin: 0.7rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(57, 255, 20, 0.18);
  border-radius: 8px;
  background: rgba(5, 6, 10, 0.55);
  color: #d8dde6;
  line-height: 1.5;
}

.reservation-form {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) auto;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.reservation-form input,
.cart-summary input {
  min-height: 2.55rem;
  border: 1px solid rgba(156, 163, 175, 0.18);
  border-radius: 8px;
  background: rgba(5, 6, 10, 0.72);
  color: var(--text);
  outline: none;
  padding: 0 0.85rem;
}

.slime-talk-card strong {
  display: block;
  margin: 0.4rem 0;
  font-size: 1.5rem;
  line-height: 1.08;
}

.product-card h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.16;
}

.product-meta {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.product-meta span {
  padding: 0.25rem 0.42rem;
  border: 1px solid rgba(156, 163, 175, 0.14);
  border-radius: 999px;
  background: rgba(5, 6, 10, 0.42);
  text-transform: none;
}

.product-rating {
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 900;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 0.42rem;
}

.product-price strong {
  color: var(--green);
  font-size: 1.55rem;
  text-shadow: var(--shadow-green);
}

.product-price del {
  color: var(--muted);
}

.product-price--concept {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.18rem;
}

.product-price--concept strong {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-shadow: none;
}

.product-price--concept span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card p {
  margin: 0;
  color: #d8dde6;
  font-size: 0.88rem;
  line-height: 1.42;
  text-transform: none;
}

.product-actions {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 0.5rem;
  align-self: end;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.system-grid article {
  overflow: hidden;
}

.system-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.system-grid div {
  padding: 1rem;
}

.system-grid span {
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.system-grid strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.2rem;
}

.system-grid p {
  color: #d8dde6;
  line-height: 1.5;
}

.smoothness-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.32fr);
  gap: 1rem;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(176, 38, 255, 0.16), transparent 58%),
    rgba(5, 6, 10, 0.6);
}

.smoothness-section p:not(.eyebrow) {
  max-width: 48rem;
  color: #d8dde6;
  line-height: 1.55;
}

.meter-card {
  padding: 1rem;
}

.meter-card span,
.meter-card small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.meter-card strong {
  display: block;
  margin: 0.35rem 0 1rem;
  color: var(--green);
  font-size: 2.6rem;
  line-height: 1;
  text-shadow: var(--shadow-green);
}

.meter-track {
  height: 0.8rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(156, 163, 175, 0.16);
}

.meter-track i {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--amber));
}

.cart-drawer,
.quick-view {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}

.cart-drawer.is-open,
.quick-view.is-open {
  pointer-events: auto;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
}

.is-open .drawer-backdrop {
  background: rgba(0, 0, 0, 0.56);
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(34rem, 100vw);
  height: 100%;
  padding: 1rem;
  overflow: auto;
  transform: translateX(104%);
  transition: transform 180ms ease;
}

.is-open .drawer-panel {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(57, 255, 20, 0.18);
}

.drawer-head h2 {
  margin: 0;
}

.cart-items {
  display: grid;
  gap: 0.58rem;
  margin-top: 1rem;
}

.cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  padding: 0.7rem;
  border: 1px solid rgba(57, 255, 20, 0.16);
  border-radius: 8px;
  background: rgba(5, 6, 10, 0.48);
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.qty-controls button {
  width: 1.9rem;
  min-height: 1.9rem;
  border: 1px solid rgba(156, 163, 175, 0.18);
  border-radius: 6px;
  background: rgba(16, 18, 24, 0.72);
}

.cart-summary {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(57, 255, 20, 0.18);
}

.cart-summary strong {
  color: var(--green);
  font-size: 1.8rem;
}

.quick-panel {
  width: min(42rem, 100vw);
}

.quick-detail {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.quick-hero {
  min-height: 13rem;
}

.quick-detail p {
  color: #d8dde6;
  line-height: 1.5;
}

.empty-state {
  grid-column: 1 / -1;
  min-height: 14rem;
  display: grid;
  place-content: center;
  gap: 0.5rem;
  border: 1px dashed rgba(156, 163, 175, 0.22);
  border-radius: 8px;
  text-align: center;
}

.site-footer {
  display: grid;
  gap: 1rem;
  padding: 1.25rem clamp(1rem, 4vw, 4rem) 2.4rem;
  border-top: 1px solid rgba(57, 255, 20, 0.16);
  background: rgba(5, 6, 10, 0.94);
}

.site-footer strong {
  display: block;
  color: var(--green);
  font-size: 1.15rem;
}

.site-footer p {
  max-width: 52rem;
  margin: 0.25rem 0 0;
  color: #d8dde6;
  line-height: 1.52;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
}

.site-footer a {
  color: var(--text);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--green);
}

.site-footer small {
  display: block;
  color: var(--muted);
  line-height: 1.45;
}

.site-footer nav a {
  font-size: 0.88rem;
  font-weight: 750;
}

@media (max-width: 1080px) {
  .site-header,
  .shop-layout,
  .live-layout,
  .command-grid,
  .smoothness-section,
  .live-topline,
  .breeding-spotlight,
  .cross-lab-layout {
    grid-template-columns: 1fr;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .product-grid,
  .system-grid,
  .camera-grid,
  .command-grid,
  .strain-grid,
  .sensor-strip,
  .store-strip,
  .hero-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header,
  .section-head,
  .search-panel,
  .product-grid,
  .system-grid,
  .camera-grid,
  .command-grid,
  .sensor-grid,
  .strain-grid,
  .hero-strip,
  .store-strip,
  .product-actions {
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 34rem;
    padding-top: 5.5rem;
  }

  .hero-bg {
    background:
      linear-gradient(0deg, rgba(5, 6, 10, 0.96) 0%, rgba(5, 6, 10, 0.58) 58%, rgba(5, 6, 10, 0.1) 100%),
      radial-gradient(ellipse at 20% 76%, rgba(57, 255, 20, 0.22), transparent 18rem),
      linear-gradient(145deg, #07130f 0%, #090912 52%, #10051a 100%);
  }

  .hero-showcase {
    min-height: 13rem;
  }

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

  .sensor-strip,
  .cross-drop-grid,
  .reservation-form {
    grid-template-columns: 1fr;
  }

  .store-strip,
  .hero-strip {
    margin-top: 0;
  }

  .camera-mascot-stage {
    min-height: 22rem;
    padding-top: 5.5rem;
  }

  .screen-slime {
    left: 0.5rem;
    top: 0;
    bottom: auto;
    width: 8.5rem;
    height: 7.5rem;
  }

  .screen-slime::after {
    left: 2.7rem;
    width: 2.25rem;
    height: 2.25rem;
  }

  .slime-hand.left {
    right: -1.9rem;
    top: 3rem;
    width: 3.6rem;
  }

  .slime-hand.right {
    left: clamp(11rem, 58vw, 17rem);
    top: 4.6rem;
    width: 3.8rem;
  }

  .slime-mouth {
    left: 3.35rem;
    top: 4.25rem;
  }
}
