@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

* {
  box-sizing: border-box;
  outline: none;
}

:root {
  --font: "Inter", sans-serif;
  --bg: #07090d;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --text: #fff;
  --muted: #9ca3af;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #f73c3c;
  --accent2: #ffd700;
  --warning: #ff9966;
  --green: #7cfc00;
  --red: #f73c3c;
  --gold: #ffd700;
  --price: #A6D5FD;
}

html,
body {
  color: white;
  font-family: var(--font);
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(247, 60, 60, 0.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(255, 215, 0, 0.1), transparent 35%),
    #07090d;
  /* disabled to fix desktop scroll lag */
  /* background-attachment: fixed; */
}

body {
  padding: 24px;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

img {
  max-width: 100%;
}

.container {
  width: 100%;
  min-height: calc(100vh - 48px);
  display: flex;
}

.wrapper {
  width: 100%;
  flex: 1;
}

.header {
  display: none;
}

.main-container,
.page {
  width: min(100%, 1250px);
  margin: 0 auto;
  padding: 0;
}

.main-container {
  position: relative;
}

/* Error */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-card {
  max-width: 650px;
  width: 100%;
  padding: 50px;
  text-align: center;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border-radius: 32px;
}

.error-code {
  font-size: 100px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.error-card h1 {
  font-size: 40px;
  margin: 20px 0;
}

.error-card p {
  color: var(--muted);
  margin-bottom: 30px;
}

#appStatus.error-page {
  min-height: auto;
  margin-top: 55px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Hero */
announcements {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 260px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

announcements:before {
  content: "GTG";
  position: absolute;
  right: 28px;
  bottom: -34px;
  font-size: 140px;
  font-weight: 800;
  letter-spacing: -10px;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
}

announcements:after {
  content: "GTG.MEDIA / @GTG.S3";
  position: absolute;
  left: 36px;
  bottom: 34px;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -4px;
}

.hero-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  margin: 18px 0 0;
}

/* Alerts */
.alert,
.warning {
  font-size: 10pt;
  padding: 20px;
  background-color: #2c2d3177;
  margin-bottom: 18px;
  border-radius: 0 14px 14px 0;
  color: var(--text);
}

.alert {
  border-left: 6px solid var(--red);
}

.warning {
  border-left: 6px solid var(--warning);
}

#appLoading {
  color: var(--muted);
}

apps {
  display: block;
  margin-top: 0;
}

.section-top {
  display: block;
  margin-bottom: 22px;
}

.small-header {
  font-size: 34px;
  line-height: 1;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -1.2px;
  margin: 0 0 18px;
}

.section-subtitle {
  color: var(--muted);
  font-size: 14px;
  margin-top: -8px;
  margin-bottom: 18px;
}

.all-products-section {
  margin-top: 30px;
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

/* Homepage tools */
.listing-tools {
  display: flex;
  align-items: center;
  gap: 2px;
}

.tool-button {
  height: 48px;
  min-width: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.22s ease;
}

.tool-button:hover,
.filter-active {
  border-color: rgba(255, 215, 0, 0.45);
  background: rgba(255, 215, 0, 0.08);
  color: var(--gold);
}

.search-bar {
  position: relative;
  width: 48px;
  min-width: 48px;
  height: 48px;
  transition: all 0.25s ease;
}

.search-bar.search-open {
  width: 300px;
}

.search-bar input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  padding: 0 18px 0 52px;
  transition: 0.2s ease;
}

.search-bar.search-open input {
  opacity: 1;
  pointer-events: auto;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.07);
}

.search-toggle {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  min-width: 48px;
  width: 48px;
  height: 48px;
  color: var(--muted);
  font-size: 30px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-toggle:hover {
  background: transparent;
  color: var(--gold);
  border: 0;
}

.search-bar.search-open .search-toggle {
  width: 48px;
}

.search-bar:after {
  display: none;
}

.filter-toggle {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: 0.2s ease;
}

.filter-toggle:hover {
  color: var(--text);
}

.filter-toggle.filter-active {
  color: var(--gold);
}

.filter-icon {
  width: 24px;
  height: 24px;
  color: var(--muted);
  filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.08));
  transition: 0.2s ease;
}

.filter-toggle:hover .filter-icon {
  color: var(--text);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.1));
}

.filter-toggle.filter-active .filter-icon {
  color: var(--gold);
  filter:
    drop-shadow(0 0 5px rgba(255, 215, 0, 0.35))
    drop-shadow(0 0 12px rgba(255, 215, 0, 0.18));
}

.filter-toggle span {
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.25);
  color: var(--gold);
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

.filter-panel {
  margin: -8px 0 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.filter-group label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.filter-group select {
  height: 42px;
  min-width: 170px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #11141b;
  color: var(--text);
  padding: 0 14px;
  font-family: var(--font);
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 10px 16px;

    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.08);

    background: rgba(255,255,255,.03);

    color: var(--text);

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;
    user-select: none;

    transition:
        background .18s ease,
        border-color .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}

.filter-pill:hover {
    border-color: rgba(255,255,255,.18);
    background: rgba(255,255,255,.05);
}

.filter-pill:active {
    transform: scale(.98);
}

.filter-pill.active {
    border-color: rgba(255, 196, 63, .65);
    background: rgba(255,196,63,.12);

    box-shadow:
        0 0 0 1px rgba(255,196,63,.12),
        0 0 18px rgba(255,196,63,.10);
}

.pill-icon {
    font-size: 14px;
    color: rgba(255,255,255,.45);

    transition: color .18s ease,
                transform .18s ease;
}

.filter-pill.active .pill-icon {
    color: var(--gold);
    transform: rotate(-8deg) scale(1.08);
}

.clear-filters {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 0 14px;
  font-family: var(--font);
  font-weight: 800;
  cursor: pointer;
}

.clear-filters:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.28);
}

/* Homepage cards */
.videos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.video {
  min-height: 100%;
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  border: 1px solid var(--line);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.video:hover {
  transform: translateY(-6px);
  border-color: rgba(247, 60, 60, 0.45);
  background: linear-gradient(145deg, rgba(247, 60, 60, 0.14), rgba(255, 255, 255, 0.045));
}

.video:before {
  content: "";
  position: absolute;
  inset: auto -30px -50px auto;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(247, 60, 60, 0.16);
  filter: blur(8px);
}

.featured-label {
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.card-labels {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.card-labels > * {
  margin: 0;
}

.featured-sparkle {
  display: inline-block;
  color: var(--gold);
  font-size: 10px;
  line-height: 1;
  animation: featuredSparkle 1.6s infinite ease-in-out;
}

.featured-sparkle:last-child {
  animation-delay: 0.8s;
}

@keyframes featuredSparkle {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.75) rotate(0deg);
  }

  50% {
    opacity: 1;
    transform: scale(1.25) rotate(35deg);
  }
}

.card-image,
.featured-card .card-image,
.pending-card .card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  object-position: center;
  padding: 0;
  border-radius: 16px;
  display: block;
  margin: 0 auto 12px;
  background: rgba(255, 255, 255, 0.035);
}

.featured-card {
  border: 2px solid #d4af37;
  position: relative;
  box-shadow:
    0 0 8px rgba(212, 175, 55, 0.25),
    0 0 16px rgba(212, 175, 55, 0.12);
}

.featured-card:hover {
  border-color: rgba(255, 215, 0, 0.75);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 14px rgba(255, 215, 0, 0.22);
}

.pending-card {
  animation: pendingPulse 2.5s ease-in-out infinite;
}

@keyframes pendingPulse {
  0%,
  100% {
    box-shadow:
      0 18px 55px rgba(0, 0, 0, 0.42),
      0 0 10px rgba(255, 138, 61, 0.16);
  }

  50% {
    box-shadow:
      0 20px 60px rgba(0, 0, 0, 0.3),
      0 0 26px rgba(255, 138, 61, 0.28),
      0 0 42px rgba(103, 232, 249, 0.08);
  }
}

.featured-label {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.pending-home-label {
  margin-bottom: 10px;
  color: #ff8a3d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.video-name {
  margin-top: 4px;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
  position: relative;
  z-index: 2;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-added {
  display: block;
  width: 100%;

  margin: 4px 0 0 0 !important;
  padding: 0 !important;

  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;

  text-align: left;
}

.video-added-dot {
  margin-right: 6px;
  color: rgba(255, 255, 255, 0.25);
}

.video-description {
  margin-top: 8px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  position: relative;
  z-index: 2;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-price-row {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.video-price {
  margin-top: 0;
  color: var(--price);
  font-size: 16px;
  font-weight: 900;
  position: relative;
  z-index: 2;
}

.sale-old-price {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--red);
}

.video-sale-price {
  color: var(--green);
  font-size: 16px;
  font-weight: 900;
}

.video-sale-badge {
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.video-view {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  position: relative;
  z-index: 2;
}

.video-time {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line);
  z-index: 3;
}

.seperate {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  display: inline-block;
  background: var(--muted);
  margin: 0 7px;
  vertical-align: middle;
}

/* .card-image {
  width: 100%;
  height: 180px;
  object-fit: contain;
  padding: 12px;
} */

/* Product page */
.back-link {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.back-link:hover {
  color: var(--text);
}

.kicker {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -3px;
}

.price-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  flex-wrap: wrap;
  font-size: 30px;
}

.title-line {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.title-line h1 {
  font-size: 45px;
  line-height: 1.05;
  font-weight: 800;
  margin: 0;
}

.title-line .badge {
  transform: translateY(4px);
}

.price {
  color: var(--price);
  /* font-size: 34px; */
  font-weight: 900;
  margin: 0;
}

.badges {
  display: none;
}

.badge {
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.badge.available,
#listing-status.available {
  color: var(--green);
}

.badge.pending,
#listing-status.pending {
  color: var(--warning);
}

.badge.sold,
#listing-status.sold {
  color: var(--red);
}

.price.sold-price {
  text-decoration: line-through;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--red);
}

.price.item-sold {
  color: var(--muted);
}

.sale-price-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.sale-price {
  color: var(--green);
  /* font-size: 34px; */
  font-weight: 900;
  line-height: 1;
}

.sale-label {
  position: absolute;
  top: -9px;
  right: -20px;
  color: var(--red);
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1;
  transform: rotate(16deg);
  text-transform: uppercase;
  pointer-events: none;
}

#listing-status-detail.available {
  color: var(--green);
}

#listing-status-detail.pending {
  color: var(--warning);
}

#listing-status-detail.sold {
  color: var(--red);
}

#listing-status {
  color: var(--green);
}

.summary {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 16px;
  margin: 24px 0;
  white-space: pre-line;
}

.contact-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: #3b82f6;
  color: white;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(59, 130, 246, 0.25);
}

.product-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  border-radius: 32px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
  padding: 36px;
}

.product-top {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 22px;
  align-items: start;
}

.product-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.product-image-wrap {
  width: min(100%, 460px);
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  justify-self: center;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media screen and (min-width: 851px) {
  .product-card {
    display: grid;
    grid-template-columns: 1fr minmax(340px, 460px);
    gap: 22px 36px;
    align-items: start;
  }

  .product-top {
    display: contents;
  }

  .product-image-wrap {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .product-info {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .product-details-inline {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    margin: 10px 0 0;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .product-details-inline h2 {
    margin-bottom: 16px;
  }

  .detail-row {
    grid-template-columns: 118px 1fr;
    gap: 18px;
    padding: 7px 0;
  }

  .details-action {
    justify-self: start;
    max-width: 340px;
    margin: 0;
  }

  .product-eid {
    margin: 10px 0 0;
  }
}

.product-details-inline {
  width: 100%;
  margin: 34px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 40px;
  align-items: center;
}

.details-inner {
  width: 100%;
  margin: 0;
}

.product-details-inline h2 {
  margin: 0 0 22px;
  text-align: left;
}

.detail-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 32px;
  padding: 8px 0;
}

.detail-row span {
  color: var(--muted);
  text-align: left;
}

.detail-row strong {
  color: var(--text);
  text-align: left;
}

#listing-added .drop-divider {
  color: rgba(255, 255, 255, 0.35) !important;
  font-weight: 500;
}

#listing-added .drop-glow,
#listing-added .drop-current {
  color: #ffd85a !important;
  font-weight: 850;
  text-shadow:
    0 0 1px rgba(255, 255, 255, 0.35),
    0 0 7px rgba(244, 197, 66, 0.48),
    0 0 14px rgba(244, 197, 66, 0.22);
  white-space: nowrap;
}

#listing-added .drop-old {
  color: rgba(158, 212, 255, 0.62) !important;
  font-weight: 750;
  text-shadow: none;
  white-space: nowrap;
}

.details-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 11px;
  width: 100%;
  max-width: 310px;
  margin: 0 auto;
  text-align: center;
}

.details-action::before {
  width: 100%;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.details-action .contact-button {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0 18px;
  font-size: 16px;
  gap: 9px;
  text-align: center;
  justify-content: center;
}

/* .details-action .purchase-button::before {
  content: "🛒";
  font-size: 15px;
}

.details-action #contact-button::before {
  content: "✉";
  font-size: 15px;
} */

.product-eid {
  grid-column: 1 / -1;
  width: fit-content;
  margin: 20px auto 0;
  padding-top: 4px;
  cursor: default;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.18);
  letter-spacing: 0.08em;
  word-break: break-all;
  user-select: text;
  transition: 0.2s ease;
}

.product-eid:hover {
  color: rgba(255, 255, 255, 0.35);
}

.panel,
.gallery {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  border-radius: 32px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
}

.panel {
  padding: 28px;
}

h2 {
  margin: 0 0 18px;
  font-size: 24px;
  letter-spacing: -0.6px;
}

.panel p {
  color: var(--muted);
  line-height: 1.7;
}

/* Gallery */
.gallery {
  margin-top: 22px;
  padding: 28px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.gallery-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--line);
  cursor: zoom-in;
  transition: transform 0.2s ease;
}

.gallery-grid img:hover {
  transform: scale(1.02);
}

.gallery-grid:empty:before {
  content: "No additional photos yet.";
  color: var(--muted);
}

.listing-hero,
.details-grid,
.product-media,
.product-details {
  display: none;
}

.image-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.image-modal-content {
  max-width: 95%;
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.image-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 42px;
  color: white;
  cursor: pointer;
  user-select: none;
}

.used-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.06);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Video modal */
.gallery-video-preview {
  position: relative;
  width: 100%;
  height: 230px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.gallery-video-preview video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  background: #000;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 46px;
  color: white;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(1.5px);
  transition: 0.2s ease;
}

.play-overlay::before {
  content: "";
  position: absolute;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: -1;
}

.gallery-video-preview:hover .play-overlay {
  background: rgba(0, 0, 0, 0.18);
  transform: scale(1.05);
}

.video-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
}

.video-modal-player {
  max-width: 92vw;
  max-height: 90vh;
  border-radius: 16px;
  background: #000;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.55);
}

/* Animation */
.anim {
  animation: rise 0.55s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

/* Responsive */
@media screen and (max-width: 850px) {
  .video-description {
    -webkit-line-clamp: 2;
  }
  body {
    padding: 14px;
  }

  announcements {
    min-height: 220px;
    padding: 28px;
  }

  .section-heading-row {
    display: block;
  }

  .section-heading-row .listing-tools {
    margin-top: 18px;
  }

  .search-bar.search-open {
    width: min(100%, 280px);
  }

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

  .product-card {
    padding: 28px;
  }

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

  .product-image-wrap {
    width: min(100%, 420px);
    aspect-ratio: 4 / 5;
  }

  .product-details-wrap {
    width: 100%;
  }

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

  .details-action {
    justify-content: center;
    justify-self: center;
    margin-left: auto;
    margin-right: auto;
  }

  .details-action .contact-button {
    width: 100%;
    min-width: 0;
  }

  .detail-row {
    grid-template-columns: 120px 1fr;
    gap: 20px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .gallery-grid img {
    height: 120px;
    object-fit: cover;
  }

  .gallery-video-preview {
    height: 120px;
    aspect-ratio: auto;
  }
}

@media screen and (max-width: 575px) {
  body {
    padding: 12px;
  }

  announcements {
    min-height: 190px;
    border-radius: 24px;
    padding: 24px;
  }

  announcements:before {
    font-size: 92px;
    right: 14px;
    bottom: -22px;
  }

  announcements:after {
    left: 24px;
    bottom: 22px;
    font-size: 12px;
  }

  .hero-copy h1 {
    font-size: 44px;
    letter-spacing: -2px;
  }

  .small-header {
    font-size: 28px;
  }

  .listing-tools {
    width: 100%;
  }

  .search-bar.search-open {
    flex: 1;
  }

  .filter-panel {
    display: grid;
    grid-template-columns: 1fr;
  }

  .filter-group select,
  .clear-filters {
    width: 100%;
  }

  .videos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .video {
    min-height: 100%;
    padding: 10px;
    border-radius: 18px;
  }

  .card-image,
  .featured-card .card-image,
  .pending-card .card-image {
    border-radius: 12px;
    margin-bottom: 10px;
  }

  .video-name {
    font-size: 13px;
  }
  .video-description,
  .video-added {
    display: none;
  }
}

/* Midnight Marketplace Override */
:root {
  --accent: #4f8fd8;
  --accent2: #9ed4ff;
  --price: #9ed4ff;
  --glacier: #4f8fd8;

  --warning: #ff8a3d;
  --green: #39d98a;
  --red: #fb4b4b;
  --gold: #f4c542;
}

html,
body {
  background:
    radial-gradient(circle at top left, rgba(79, 143, 216, 0.18), transparent 32%),
    radial-gradient(circle at bottom right, rgba(79, 143, 216, 0.08), transparent 36%),
    #06080d;
  /* disabled to fix desktop scroll lag */
  /* background-attachment: fixed; */
}

announcements {
  border-color: rgba(79, 143, 216, 0.22);
  background:
    linear-gradient(135deg, rgba(79, 143, 216, 0.12), rgba(255,255,255,0.035)),
    rgba(255,255,255,0.04);
  box-shadow:
    0 25px 80px rgba(0,0,0,.38),
    0 0 34px rgba(79,143,216,.10);
}

.hero-copy h1 {
  text-shadow: 0 0 20px rgba(79,143,216,.16);
}

.video,
.product-card,
.panel,
.gallery {
  background:
    linear-gradient(145deg, rgba(255,255,255,.095), rgba(255,255,255,.03));
  border-color: rgba(255,255,255,.12);
}

.video:hover {
  border-color: rgba(79,143,216,.45);
  background:
    linear-gradient(145deg, rgba(79,143,216,.11), rgba(255,255,255,.035));
  box-shadow:
    0 22px 62px rgba(0,0,0,.34),
    0 0 22px rgba(79,143,216,.12);
}

.video:before {
  background: rgba(79,143,216,.14);
  filter: blur(12px);
}

.featured-card {
  border-color: rgba(244,197,66,.9);
  box-shadow:
    0 18px 55px rgba(0,0,0,.3),
    0 0 12px rgba(244,197,66,.20);
}

.featured-card:hover {
  border-color: rgba(244,197,66,1);
  box-shadow:
    0 22px 62px rgba(0,0,0,.35),
    0 0 18px rgba(244,197,66,.26);
}

.pending-home-label,
#listing-status.pending,
#listing-status-detail.pending {
  color: var(--warning);
}

@keyframes pendingPulse {
  0%, 100% {
    box-shadow:
      0 18px 55px rgba(0,0,0,.34),
      0 0 8px rgba(255,138,61,.16);
  }

  50% {
    box-shadow:
      0 20px 60px rgba(0,0,0,.34),
      0 0 22px rgba(255,138,61,.30);
  }
}

.contact-button {
  background: linear-gradient(135deg, #2563eb, #4f8fd8);
  box-shadow: 0 18px 40px rgba(79,143,216,.28);
}

.contact-button:hover {
  transform: translateY(-2px);
}

.purchase-button {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  box-shadow: 0 18px 40px rgba(34, 197, 94, 0.24);
}

.purchase-button:hover {
  box-shadow: 0 22px 50px rgba(34, 197, 94, 0.34);
}

.tool-button:hover,
.filter-active,
.search-toggle:hover,
.filter-toggle.filter-active,
.filter-toggle.filter-active .filter-icon {
  color: var(--accent2);
  border-color: rgba(79,143,216,.45);
}

.filter-toggle span {
  background: rgba(79,143,216,.14);
  border-color: rgba(79,143,216,.28);
  color: var(--accent2);
}

.price,
.video-price {
  color: var(--price);
}

#listing-pickup-detail {
  color: var(--price);
  text-decoration: none;
}

#listing-pickup-detail:hover {
  color: #b7ddff;
}






#pickup-map-trigger {
  color: var(--text);
  cursor: default;
  opacity: 1;
  transition: none;
}

#pickup-map-trigger:hover {
  opacity: 1;
}

#pickup-map-trigger.purchase-option-clickable {
  color: var(--glacier) !important;
  cursor: pointer;
  transition: opacity .2s ease;
}

#pickup-map-trigger.purchase-option-clickable:hover {
  color: var(--glacier) !important;
  opacity: .8;
}

#pickup-map-trigger .local-pickup-link,
.local-pickup-link {
  color: var(--glacier) !important;
  cursor: pointer;
  transition: opacity .2s ease;
}

#pickup-map-trigger .local-pickup-link:hover,
.local-pickup-link:hover {
  color: var(--glacier) !important;
  opacity: .8;
}

.pickup-map-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.pickup-map-content {
  position: relative;
  max-width: 1200px;
  width: 100%;
}

.pickup-map-content img {
  width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 20px;
}

.pickup-map-close {
  position: absolute;
  top: -45px;
  right: 0;
  font-size: 42px;
  color: white;
  cursor: pointer;
  line-height: 1;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  padding: 0;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
  color: var(--text);
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--price);
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  line-height: 1.6;
}


.faq-anchor {
  scroll-margin-top: 32vh;
}

.faq-section-highlight {
  animation: faqSectionGoldFlash 4s ease-out 1;
}

@keyframes faqSectionGoldFlash {
  0% {
    border-color: rgba(244,197,66,1);
    box-shadow:
      0 25px 80px rgba(0,0,0,.35),
      0 0 0 2px rgba(244,197,66,.78),
      0 0 34px rgba(244,197,66,.42);
  }

  18% {
    border-color: rgba(244,197,66,1);
    box-shadow:
      0 25px 80px rgba(0,0,0,.35),
      0 0 0 2px rgba(244,197,66,.95),
      0 0 44px rgba(244,197,66,.55);
  }

  42% {
    border-color: rgba(244,197,66,.72);
    box-shadow:
      0 25px 80px rgba(0,0,0,.35),
      0 0 0 1px rgba(244,197,66,.50),
      0 0 26px rgba(244,197,66,.28);
  }

  100% {
    border-color: var(--line);
    box-shadow: 0 25px 80px rgba(0,0,0,.35);
  }
}

.product-variant {
  margin-top: 20px;
}

.product-variant label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #bfc7d5;
}

.variant-select {
  width: 100%;
  max-width: 320px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #111827;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

#variant-row {
  grid-template-columns: 1fr;
  justify-items: center;
}

#variant-label {
  display: none;
}

#variant-row strong {
  width: 100%;
  max-width: 620px;
  display: flex;
  justify-content: center;
}

#variant-row .variant-select {
  width: 100%;
  max-width: 320px;
  text-align: center;
  text-align-last: center;
  font-size: 16px;
}




/* FAQ Page */
.faq-card {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.faq-card .product-info {
  position: sticky;
  top: 32px;
}

.faq-card .summary {
  max-width: 100%;
}

.faq-card .faq-list {
  max-width: 820px;
}

@media (max-width: 850px) {
  .faq-card {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .faq-card .product-info {
    position: static;
  }

  .faq-card .faq-list {
    max-width: 100%;
  }
}

.faq-logo {
    margin: 8px 0 10px;
    display: flex;
    justify-content: center;
}

.faq-logo + .gallery {
  margin-top: 0;
}

.faq-logo img {
    width: 180px;
    height: auto;
    display: block;
    transition: transform .22s ease;
}

.faq-logo a:hover img {
    transform: scale(1.03);
}

@media (max-width: 700px) {
    .faq-logo img {
        width: 160px;
    }
}

.promo-banner {
  text-align: center;
  margin: 12px 0 28px;
  padding: 30px 32px 29px;
  border-radius: 28px;
  border: 1px solid rgba(214, 176, 88, 0.34);
  background:
    radial-gradient(circle at 50% -24%, rgba(214, 176, 88, 0.22), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(255, 231, 167, 0.09), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.024) 58%, rgba(214,176,88,.052)),
    #070a10;
  box-shadow:
    0 24px 70px rgba(0,0,0,.40),
    0 0 38px rgba(214,176,88,.105),
    inset 0 1px 0 rgba(255,255,255,.105),
    inset 0 -1px 0 rgba(214,176,88,.13);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.promo-banner::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(44%, 260px);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  background-image: url("https://cdn.gtg.media/products/favicon.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: .075;
  filter:
    sepia(1)
    saturate(1.15)
    hue-rotate(352deg)
    brightness(1.28)
    contrast(1.08)
    drop-shadow(0 0 30px rgba(214,176,88,.22));
  pointer-events: none;
  z-index: 1;
}

.promo-banner::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 21px;
  border: 1px solid rgba(214,176,88,.22);
  pointer-events: none;
  z-index: 2;
  box-shadow:
    inset 0 0 34px rgba(214,176,88,.075),
    inset 0 0 1px rgba(255,231,167,.18);
}

.promo-banner::marker {
  display: none;
}

.promo-banner-kicker,
.promo-banner-main,
.promo-banner-sub {
  position: relative;
  z-index: 3;
}

.promo-banner-kicker {
  width: fit-content;
  margin: 0 auto 8px;
  color: var(--gold);
  font-size: 13px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .20em;
  text-transform: uppercase;
  text-shadow:
    0 0 12px rgba(214,176,88,.38),
    0 0 26px rgba(244,197,66,.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  animation: promoKickerGlow 2.2s ease-in-out infinite;
  filter: drop-shadow(0 0 9px rgba(214,176,88,.38));
}


@keyframes promoKickerGlow {
  0%,100% {
    text-shadow:
      0 0 12px rgba(214,176,88,.30),
      0 0 24px rgba(244,197,66,.10);
    transform: scale(1);
  }

  50% {
    text-shadow:
      0 0 18px rgba(255,231,167,.62),
      0 0 34px rgba(214,176,88,.26);
    transform: scale(1.03);
  }
}

.promo-banner-main {
  max-width: 850px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(18px, 3vw, 32px);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -0.058em;
  text-wrap: balance;
  text-shadow: 0 18px 45px rgba(0,0,0,.35);
}

.promo-banner-main::after {
  content: "";
  display: block;
  width: 96px;
  height: 1px;
  margin: 17px auto 0;
  background: linear-gradient(90deg, transparent, rgba(255,231,167,.82), rgba(214,176,88,.72), transparent);
}

.promo-banner-sub {
  max-width: 650px;
  margin: 14px auto 0;
  color: rgba(232,223,202,.68);
  font-size: 14px;
  line-height: 1.55;
  text-wrap: balance;
}

.promo-banner .promo-banner-divider {
  display: none;
}

@media screen and (max-width: 575px) {
  .promo-banner {
    margin: 10px 0 22px;
    padding: 25px 16px 23px;
    border-radius: 23px;
  }

  .promo-banner::before {
    width: min(58%, 190px);
    opacity: .068;
  }

  .promo-banner::after {
    inset: 8px;
    border-radius: 17px;
  }

  .promo-banner-kicker {
    font-size: 12px;
    letter-spacing: .18em;
    margin-bottom: 8px;
    gap: 7px;
  }


  .promo-banner-main {
    font-size: clamp(18px, 5.4vw, 24px);
    letter-spacing: -0.055em;
  }

  .promo-banner-main::after {
    width: 58px;
    margin-top: 14px;
  }

  .promo-banner-sub {
    font-size: 12.8px;
    margin-top: 12px;
  }
}

.video-modal-close {
  position: fixed;
  top: 22px;
  right: 28px;
  color: #fff;
  font-size: 38px;
  z-index: 10001;
  cursor: pointer;
}

.performance-banner {
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 90, 90, 0.22);
  border-radius: 18px;
  background: rgba(255, 70, 70, 0.06);
  box-shadow: 0 0 18px rgba(255, 70, 70, 0.08);
  text-align: center;
}

.performance-banner-kicker {
  color: #ff8c8c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.performance-banner-main {
  margin-top: 5px;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.performance-banner-sub {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.45;
}