:root {
  --bg: #060606;
  --panel: rgba(18, 18, 18, 0.84);
  --silver: #c4c9cf;
  --silver-strong: #e1e6eb;
  --text: #f4f5f6;
  --error: #ff5c5c;
}

* {
  box-sizing: border-box;
}

html {
  background: #060606;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Arial Black", "Arial Bold", Gadget, sans-serif;
  font-weight: 700;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

.admin-page {
  background:
    radial-gradient(circle at top, rgba(196, 201, 207, 0.14), transparent 34%),
    linear-gradient(180deg, #080808 0%, #030303 100%);
}

.admin-auth-shell,
.admin-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.admin-panel {
  width: min(100%, 560px);
  padding: 1.5rem;
  border: 1px solid rgba(196, 201, 207, 0.22);
  background: rgba(8, 8, 8, 0.88);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.35);
}

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

.admin-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--silver);
  text-transform: uppercase;
}

.admin-panel h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.admin-form {
  display: grid;
  gap: 0.9rem;
}

.admin-label {
  font-size: 0.82rem;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-input {
  min-height: 46px;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(196, 201, 207, 0.28);
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  font: inherit;
}

.admin-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--silver-strong);
}

.admin-button {
  min-height: 46px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(196, 201, 207, 0.34);
  background: linear-gradient(180deg, #e0e4e8 0%, #b7bdc3 100%);
  color: #050505;
  font: inherit;
  cursor: pointer;
}

.admin-button.ghost {
  background: transparent;
  color: var(--silver-strong);
}

.admin-actions {
  display: flex;
  justify-content: flex-start;
}

.admin-status {
  margin: 0;
  color: var(--silver-strong);
  font-size: 0.88rem;
}

.admin-status.error {
  color: var(--error);
}

.gate-page {
  display: grid;
  place-items: end center;
  position: relative;
  overflow: hidden;
}

.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.top-logo-video {
  position: fixed;
  top: clamp(1rem, 4vh, 2rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(98vw, 980px);
  height: clamp(240px, 44vh, 500px);
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
}

.mobile-logo-image {
  position: fixed;
  top: clamp(1rem, 4vh, 2rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(98vw, 980px);
  height: clamp(240px, 44vh, 500px);
  object-fit: contain;
  z-index: 2;
  display: none;
  pointer-events: none;
}

.logo-fallback {
  position: fixed;
  top: clamp(1rem, 4vh, 2rem);
  left: 50%;
  transform: translateX(-50%);
  height: clamp(240px, 44vh, 500px);
  display: none;
  align-items: center;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver-strong);
  z-index: 2;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
}

.logo-fallback.visible {
  display: flex;
}

.gate-simple {
  position: fixed;
  left: 50%;
  bottom: calc(clamp(3rem, 10vh, 5.5rem) + 150px);
  width: min(92vw, 260px);
  margin-top: 0;
  transform: translateX(-50%);
  z-index: 2;
}

.brand {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--silver);
  font-size: 0.78rem;
}

#gate-form {
  display: grid;
  gap: 0.55rem;
  justify-items: center;
}

#gate-form input,
#gate-form button {
  border-radius: 999px;
  border: 1px solid rgba(196, 201, 207, 0.55);
  padding: 0.45rem 0.75rem;
  font: inherit;
  width: 100%;
  max-width: 220px;
  font-size: 0.9rem;
}

#gate-form input {
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  text-align: center;
}

#gate-form input:focus {
  outline: 2px solid rgba(225, 230, 235, 0.45);
  outline-offset: 1px;
}

#gate-form input:focus::placeholder {
  color: transparent;
}

#gate-form button {
  cursor: pointer;
  background: transparent;
  color: var(--silver-strong);
  font-weight: 700;
}

#gate-form button:hover {
  filter: brightness(1.03);
}

.error {
  min-height: 1.1rem;
  margin: 0.2rem 0 0;
  color: var(--error);
  font-size: 0.92rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  padding: 1.25rem 1rem 1.6rem;
}

.site-copyright {
  margin: 0;
  color: rgba(225, 230, 235, 0.78);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
}

.store-page {
  background: linear-gradient(180deg, #0a0a0a, #050505 28%, #0a0a0a);
}

.store-header {
  position: relative;
  height: clamp(230px, 38vh, 360px);
  overflow: hidden;
  border-bottom: 1px solid rgba(196, 201, 207, 0.25);
}

.store-banner-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.12s ease;
}

.store-banner-video.is-ready {
  opacity: 1;
}

.store-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.28) 45%, rgba(0, 0, 0, 0.7) 100%);
}

.store-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  height: 72px;
  padding: 0 1.1rem;
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
}

.home-logo {
  justify-self: start;
  display: inline-block;
  align-items: center;
  text-decoration: none;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
}

.home-logo img {
  display: block;
  width: clamp(48px, 7vw, 74px);
  height: auto;
  border: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
}

.store-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.store-links a {
  color: var(--silver-strong);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cart-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  color: var(--silver-strong);
  text-decoration: none;
  border: 1px solid rgba(196, 201, 207, 0.7);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
}

.cart-link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.cart-count {
  position: absolute;
  top: -0.35rem;
  right: -0.25rem;
  min-width: 18px;
  height: 18px;
  padding: 0 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #d31313;
  color: #ffffff;
  font-size: 0.68rem;
  line-height: 1;
}

.store-tools {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.store-search {
  display: inline-flex;
  align-items: center;
}

.store-search input {
  width: clamp(120px, 16vw, 180px);
  min-height: 38px;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(196, 201, 207, 0.7);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--silver-strong);
  font: inherit;
  font-size: 0.74rem;
  letter-spacing: 0.03em;
}

.store-search input::placeholder {
  color: rgba(225, 230, 235, 0.72);
}

.store-search input:focus {
  outline: 2px solid rgba(225, 230, 235, 0.34);
  outline-offset: 1px;
}

.section-search {
  flex: 0 0 auto;
}

.section-search input {
  width: clamp(150px, 22vw, 240px);
}

.store-banner-logo {
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  width: min(94vw, 660px);
  height: clamp(130px, 24vh, 240px);
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
}

.store-main {
  width: min(94vw, 1100px);
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

.section-head {
  margin-bottom: 1.5rem;
}

.section-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.section-head h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3.8vw, 2.4rem);
}

.section-head p {
  color: #d5d8dc;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 240px));
  justify-content: center;
  gap: 0.9rem;
}

.product-card {
  border: 1px solid rgba(196, 201, 207, 0.24);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.7rem;
}

.product-media {
  aspect-ratio: 3 / 4;
  margin-bottom: 0.7rem;
  border: 1px solid rgba(196, 201, 207, 0.2);
  background: linear-gradient(145deg, rgba(196, 201, 207, 0.18), rgba(255, 255, 255, 0.02));
}

.product-card h2 {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.product-title-link {
  color: var(--text);
  text-decoration: none;
}

.product-card p {
  margin: 0;
  color: var(--silver);
}

.live-product-card {
  display: grid;
  gap: 0.35rem;
}

.live-product-media {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  background: linear-gradient(145deg, rgba(196, 201, 207, 0.12), rgba(255, 255, 255, 0.02));
}

.live-product-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.product-media-fallback {
  width: 100%;
  min-height: 240px;
  display: grid;
  place-items: center;
  padding: 1rem;
  color: var(--silver-strong);
  text-align: center;
}

.product-price {
  font-size: 0.82rem;
  color: var(--silver-strong);
}

.product-sold-out-badge {
  position: absolute;
  left: 0.55rem;
  bottom: 0.55rem;
  padding: 0.35rem 0.55rem;
  background: rgba(8, 8, 8, 0.84);
  border: 1px solid rgba(255, 106, 106, 0.72);
  color: #ff6a6a;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.products-status {
  margin: 0;
  padding: 1rem;
  border: 1px solid rgba(196, 201, 207, 0.24);
  color: var(--silver);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 540px) minmax(280px, 420px);
  gap: 1.25rem;
  align-items: start;
}

.product-gallery {
  display: grid;
  gap: 0.7rem;
}

.product-image-stage {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(196, 201, 207, 0.24);
  background: rgba(255, 255, 255, 0.03);
}

.product-detail-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0;
  transform: translateX(28px);
  transition: transform 420ms ease, opacity 420ms ease;
}

.product-detail-image.is-prepared {
  opacity: 0;
  transform: translateX(28px);
}

.product-detail-image.is-visible {
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}

.product-detail-image.is-exiting {
  opacity: 0;
  transform: translateX(-28px);
  z-index: 1;
}

.product-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 96px));
  gap: 0.5rem;
}

.product-thumbnail {
  padding: 0;
  border: 1px solid rgba(196, 201, 207, 0.24);
  background: transparent;
  cursor: pointer;
}

.product-thumbnail img {
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-info {
  display: grid;
  gap: 0.75rem;
}

.product-detail-availability {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-detail-availability.in-stock {
  color: var(--silver-strong);
}

.product-detail-availability.sold-out {
  color: #a7adb3;
}

.product-detail-title {
  margin: 0;
  font-size: clamp(1.3rem, 3vw, 2rem);
}

.product-detail-price {
  margin: 0;
  font-size: 1rem;
  color: var(--silver-strong);
}

.product-detail-description {
  margin: 0;
  color: #d5d8dc;
  line-height: 1.5;
}

.product-options {
  display: grid;
  gap: 0.5rem;
}

.product-quantity-row {
  display: grid;
  gap: 0.45rem;
}

.product-quantity-label {
  margin: 0;
  font-size: 0.76rem;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-quantity-control {
  display: inline-grid;
  grid-template-columns: 42px minmax(72px, 92px) 42px;
  width: fit-content;
  border: 1px solid rgba(196, 201, 207, 0.28);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.product-quantity-button,
.product-quantity-input {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: var(--silver-strong);
  font: inherit;
}

.product-quantity-button {
  cursor: pointer;
}

.product-quantity-button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.product-quantity-input {
  width: 100%;
  text-align: center;
  border-left: 1px solid rgba(196, 201, 207, 0.16);
  border-right: 1px solid rgba(196, 201, 207, 0.16);
  appearance: textfield;
  -moz-appearance: textfield;
}

.product-quantity-input::-webkit-outer-spin-button,
.product-quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-option-block {
  padding: 0.7rem;
  border: 1px solid rgba(196, 201, 207, 0.2);
  background: rgba(255, 255, 255, 0.02);
}

.product-option-name,
.product-option-values {
  margin: 0;
}

.product-option-name {
  font-size: 0.76rem;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-option-values {
  margin-top: 0.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: var(--silver-strong);
}

.product-option-button {
  min-height: 38px;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(196, 201, 207, 0.35);
  background: rgba(255, 255, 255, 0.03);
  color: var(--silver-strong);
  font: inherit;
  cursor: pointer;
}

.product-option-button.active {
  border-color: rgba(225, 230, 235, 0.9);
  background: rgba(225, 230, 235, 0.12);
}

.product-buy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  gap: 0.45rem;
  border: 0;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0;
  width: min(100%, 340px);
  background: linear-gradient(180deg, #6946ff 0%, #5434eb 100%);
  font: inherit;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.product-buy-link:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.product-buy-link.sold-out {
  color: #ff6a6a;
  border: 1px solid rgba(255, 106, 106, 0.6);
  background: rgba(30, 8, 8, 0.88);
  box-shadow: none;
}

.product-cart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  width: min(100%, 340px);
  border: 1px solid rgba(196, 201, 207, 0.45);
  background: rgba(255, 255, 255, 0.03);
  color: var(--silver-strong);
  border-radius: 8px;
  font: inherit;
  cursor: pointer;
}

.product-cart-link:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.product-cart-link.sold-out {
  color: #ff6a6a;
  border-color: rgba(255, 106, 106, 0.6);
}

.shop-buy-prefix {
  font-size: 0.95rem;
  font-weight: 700;
}

.shop-buy-wordmark {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: lowercase;
}

.product-thumbnail.active {
  border-color: rgba(225, 230, 235, 0.9);
}

.checkout-status {
  margin: 0;
  color: var(--silver);
  font-size: 0.82rem;
}

.checkout-status.error {
  color: var(--error);
}

.store-cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.56);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 60;
}

.store-cart-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.store-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(92vw, 430px);
  height: 100vh;
  padding: 1.1rem;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 0.9rem;
  background: rgba(8, 8, 8, 0.96);
  border-left: 1px solid rgba(196, 201, 207, 0.2);
  transform: translateX(100%);
  transition: transform 220ms ease;
  z-index: 61;
}

.store-cart-drawer.open {
  transform: translateX(0);
}

.store-cart-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.8rem;
}

.store-cart-brand {
  margin: 0 0 0.2rem;
  color: var(--silver);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-cart-head h2,
.store-cart-empty,
.store-cart-status,
.store-cart-item-title,
.store-cart-item-meta,
.store-cart-item-price,
.store-cart-total-row {
  margin: 0;
}

.store-cart-close {
  min-width: 40px;
  min-height: 40px;
  border: 1px solid rgba(196, 201, 207, 0.25);
  border-radius: 999px;
  background: transparent;
  color: var(--silver-strong);
  font: inherit;
  cursor: pointer;
}

.store-cart-status {
  color: var(--silver);
  font-size: 0.82rem;
}

.store-cart-status.error {
  color: var(--error);
}

.store-cart-items {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  overflow-y: auto;
  min-height: 0;
}

.store-cart-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.8rem;
  padding: 0.8rem;
  border: 1px solid rgba(196, 201, 207, 0.18);
  background: rgba(255, 255, 255, 0.02);
}

.store-cart-item-image {
  width: 88px;
  height: 110px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.03);
}

.store-cart-item-detail {
  display: grid;
  gap: 0.35rem;
  align-content: start;
}

.store-cart-item-title {
  color: #ffffff;
  font-size: 0.9rem;
}

.store-cart-item-meta {
  color: #c2c7cc;
  font-size: 0.75rem;
  line-height: 1.45;
}

.store-cart-item-price {
  color: var(--silver-strong);
  font-size: 0.82rem;
}

.store-cart-item-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.store-cart-qty-button,
.store-cart-remove {
  min-height: 32px;
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(196, 201, 207, 0.26);
  background: transparent;
  color: var(--silver-strong);
  font: inherit;
  cursor: pointer;
}

.store-cart-qty-button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.store-cart-item-quantity {
  min-width: 20px;
  text-align: center;
  color: #ffffff;
}

.store-cart-remove {
  color: #ff8e8e;
}

.store-cart-footer {
  display: grid;
  gap: 0.8rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(196, 201, 207, 0.16);
}

.store-cart-footer.is-empty {
  align-content: start;
  gap: 0.35rem;
  padding-top: 0.2rem;
}

.store-cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--silver-strong);
  font-size: 0.92rem;
}

.store-cart-checkout {
  width: 100%;
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  align-self: start;
  flex: 0 0 auto;
}

.store-audio-control {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 58;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.store-audio-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(196, 201, 207, 0.28);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.82);
  color: var(--silver-strong);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.store-audio-control.is-muted .store-audio-icon {
  color: #8e949a;
  border-color: rgba(142, 148, 154, 0.22);
}

.store-audio-control.is-muted .store-audio-icon::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 24px;
  background: currentColor;
  transform: rotate(-45deg);
}

.store-audio-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.store-audio-slider-wrap {
  width: 0;
  opacity: 0;
  overflow: hidden;
  transition: width 180ms ease, opacity 180ms ease;
}

.store-audio-control:hover .store-audio-slider-wrap,
.store-audio-control.is-open .store-audio-slider-wrap,
.store-audio-control:focus-within .store-audio-slider-wrap {
  width: 128px;
  opacity: 1;
}

.store-audio-slider {
  width: 128px;
  margin: 0;
  accent-color: #c4c9cf;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.gallery-card {
  margin: 0;
  border: 1px solid rgba(196, 201, 207, 0.24);
  background: rgba(10, 10, 10, 0.86);
  overflow: hidden;
  min-height: 220px;
}

.gallery-image-card {
  position: relative;
  cursor: zoom-in;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.gallery-image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(20, 20, 20, 0.95), rgba(44, 44, 44, 0.65), rgba(20, 20, 20, 0.95));
  background-size: 180% 100%;
  animation: galleryShimmer 1.3s linear infinite;
}

.gallery-image-card.loaded::before {
  display: none;
}

.gallery-image-card:hover {
  border-color: rgba(225, 230, 235, 0.95);
  box-shadow: 0 0 0 2px rgba(225, 230, 235, 0.5);
  transform: translateY(-2px);
}

.gallery-card img,
.gallery-card video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  background: #0a0a0a;
}

.gallery-card img {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-card img.loaded {
  opacity: 1;
}

.gallery-status {
  margin: 0;
  padding: 1rem;
  border: 1px solid rgba(196, 201, 207, 0.24);
  color: var(--silver);
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  z-index: 9999;
  background: rgba(5, 5, 5, 0.58);
  backdrop-filter: blur(11px);
}

.lightbox-overlay.open {
  display: flex;
}

.lightbox-overlay.closing {
  animation: lightboxOverlayOut 220ms ease-out both;
}

.lightbox-image {
  max-width: min(92vw, 1500px);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.62);
}

.lightbox-image.zoom-in {
  animation: lightboxZoomIn 260ms ease-out both;
}

.lightbox-image.slide-left {
  animation: lightboxSlideLeft 260ms ease-out both;
}

.lightbox-image.slide-right {
  animation: lightboxSlideRight 260ms ease-out both;
}

.lightbox-image.zoom-out {
  animation: lightboxZoomOut 220ms ease-in both;
}

.lightbox-arrow {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(225, 230, 235, 0.9);
  background: rgba(0, 0, 0, 0.25);
  color: #f0f0f0;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-arrow:hover {
  background: rgba(225, 230, 235, 0.18);
}

@keyframes lightboxZoomIn {
  from {
    opacity: 0.35;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


@keyframes lightboxSlideLeft {
  from {
    opacity: 0.4;
    transform: translateX(42px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes lightboxSlideRight {
  from {
    opacity: 0.4;
    transform: translateX(-42px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes lightboxZoomOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.94);
  }
}

@keyframes lightboxOverlayOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes galleryShimmer {
  from {
    background-position: 180% 0;
  }
  to {
    background-position: -180% 0;
  }
}

@media (max-width: 680px) {
  .gate-page,
  .store-page,
  .admin-page {
    min-height: 100svh;
  }

  .bg-video {
    width: 100svw;
    height: 100svh;
    object-position: center center;
  }

  .top-logo-video {
    display: none;
  }

  .mobile-logo-image {
    display: block;
  }

  .top-logo-video,
  .mobile-logo-image,
  .logo-fallback {
    top: max(0.8rem, env(safe-area-inset-top));
    width: min(100vw, 620px);
    height: clamp(150px, 28svh, 250px);
  }

  .gate-simple {
    bottom: calc(clamp(2.2rem, 9svh, 4rem) + 150px);
    width: min(88vw, 240px);
  }

  .store-header {
    height: min(36svh, 260px);
    min-height: 220px;
  }

  .store-nav {
    height: auto;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.55rem;
    padding-top: 0.8rem;
  }

  .home-logo,
  .store-tools {
    justify-self: center;
  }

  .store-tools {
    flex-wrap: wrap;
    justify-content: center;
  }

  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-search input {
    width: min(78vw, 240px);
  }

  .store-banner-logo {
    top: 58%;
    width: min(92vw, 460px);
    height: clamp(96px, 18svh, 160px);
  }

  .store-audio-control {
    left: 0.8rem;
    bottom: 0.8rem;
  }

  .site-footer {
    padding: 1rem 0.8rem 1.3rem;
  }

  .site-copyright {
    font-size: 0.62rem;
  }

  .lightbox-overlay {
    gap: 0.45rem;
    padding: 1rem 0.35rem;
  }

  .lightbox-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

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

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

  .product-image-stage {
    aspect-ratio: 4 / 5;
  }
}
