.open-market {
  padding: 12px 0 72px;
}

.open-market-panel {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 36px 28px 28px;
  background:
    radial-gradient(ellipse 50% 40% at 0% 0%, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(ellipse 42% 50% at 100% 100%, rgba(16, 185, 129, 0.16), transparent 50%),
    linear-gradient(160deg, #070b14 0%, #101a2e 48%, #0c1614 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.35);
}

.open-market-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: #7dd3fc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.open-market-kicker span {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #34d399;
  box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.16);
}

.open-market-head h2 {
  margin: 0;
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #f8fafc;
}

.open-market-head p:last-child {
  max-width: 640px;
  margin: 12px 0 0;
  color: #94a3b8;
  font-size: 16px;
  line-height: 1.6;
}

.open-market-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.open-market-pills button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.open-market-pills button.is-on {
  background: #f8fafc;
  color: #0f172a;
  border-color: #f8fafc;
}

.open-market-count {
  margin: 16px 0 0;
  color: #64748b;
  font-size: 13px;
}

.open-market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.om-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.om-card:hover {
  transform: translateY(-4px);
  border-color: rgba(125, 211, 252, 0.45);
}

.om-photo {
  position: relative;
  display: block;
  height: 190px;
  background: linear-gradient(180deg, #182338, #0b1220);
}

.om-photo img,
.om-photo-empty {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.om-photo-empty {
  display: grid;
  place-items: center;
  color: #64748b;
  font-size: 32px;
}

.om-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  color: #e2e8f0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.om-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 16px 14px;
  flex: 1;
}

.om-body h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.om-body h3 a {
  color: #f8fafc;
  text-decoration: none;
}

.om-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.om-specs span {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.1);
  color: #bae6fd;
  font-size: 11px;
  font-weight: 600;
}

.om-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.om-meta strong {
  color: #fff;
  font-family: Outfit, Inter, sans-serif;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.om-meta span,
.om-who,
.om-note {
  color: #94a3b8;
  font-size: 12px;
}

.om-who,
.om-note {
  margin: 0;
}

.om-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.om-actions a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.om-call {
  background: #f8fafc;
  color: #0f172a;
}

.om-wa {
  background: #22c55e;
  color: #052e16;
}

.om-more {
  color: #7dd3fc;
}

.market-page {
  background: #070b14;
  color: #e2e8f0;
  min-height: 100vh;
}

.market-page .navbar {
  background: rgba(7, 11, 20, 0.9);
}

.market-wrap {
  width: min(1080px, calc(100% - 32px));
  margin: 110px auto 64px;
}

.market-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 18px;
}

.market-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: start;
}

.market-stage {
  border-radius: 28px;
  overflow: hidden;
  background: #101828;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 360px;
}

.market-stage img,
.market-stage .om-photo-empty {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.market-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.market-thumbs button {
  width: 72px;
  height: 56px;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0f172a;
  cursor: pointer;
}

.market-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.market-copy h1 {
  margin: 8px 0 0;
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: #fff;
}

.market-price {
  margin: 14px 0 0;
  font-family: Outfit, Inter, sans-serif;
  font-size: 32px;
  letter-spacing: -0.04em;
}

.market-story {
  margin-top: 28px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: pre-wrap;
  line-height: 1.65;
  color: #cbd5e1;
}

@media (max-width: 980px) {
  .open-market-grid,
  .market-hero {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .open-market-panel {
    padding: 24px 16px 16px;
    border-radius: 24px;
  }

  .open-market-grid,
  .market-hero {
    grid-template-columns: 1fr;
  }

  .market-stage img,
  .market-stage .om-photo-empty {
    height: 260px;
  }
}
