/* Bookmarker 프로젝트 — 미디어아트 오버레이 */

body.media-portfolio.bookmarker-page {
  background: transparent !important;
}

body.media-portfolio.bookmarker-page.bm-body::before {
  opacity: 0 !important;
}

body.media-portfolio.bookmarker-page main.page-main {
  position: relative;
  z-index: 20;
}

.bm-divider {
  height: 1px;
  max-width: min(92%, 900px);
  margin: clamp(2rem, 5vw, 3rem) auto;
  border: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(99, 102, 241, 0.4),
    rgba(61, 214, 195, 0.35),
    rgba(232, 168, 124, 0.22),
    transparent
  );
}

body.media-portfolio.bookmarker-page .bm-hero {
  padding: clamp(6rem, 12vw, 8rem) 0 clamp(3rem, 6vw, 4.5rem);
}

body.media-portfolio.bookmarker-page .bm-hero-kicker {
  font-family: var(--mono, "JetBrains Mono", ui-monospace, monospace);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(165, 180, 252, 0.9);
  margin-bottom: 0.65rem;
}

body.media-portfolio.bookmarker-page .bm-hero-title {
  background: linear-gradient(
    125deg,
    #f0f4ff 0%,
    #a5b4fc 28%,
    #818cf8 48%,
    #3dd6c3 72%,
    #c4b5fd 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 24px rgba(0, 0, 0, 0.35));
}

body.media-portfolio.bookmarker-page .bm-hero-subtitle {
  color: rgba(200, 215, 230, 0.92);
}

body.media-portfolio.bookmarker-page .bm-hero-desc {
  color: rgba(215, 225, 238, 0.92);
}

body.media-portfolio.bookmarker-page .bm-hero-desc strong {
  color: #fff;
}

body.media-portfolio.bookmarker-page .bm-tag-box {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

body.media-portfolio.bookmarker-page .bm-tag-box span {
  font-size: 0.78rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(129, 140, 248, 0.28);
  color: rgba(199, 210, 254, 0.95);
}

body.media-portfolio.bookmarker-page .bm-btn.primary {
  background: linear-gradient(
    135deg,
    rgba(129, 140, 248, 0.95) 0%,
    rgba(99, 102, 241, 0.92) 45%,
    rgba(61, 214, 195, 0.75) 100%
  ) !important;
  color: #0a0e18 !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 8px 32px rgba(99, 102, 241, 0.25),
    0 0 28px rgba(61, 214, 195, 0.12);
}

body.media-portfolio.bookmarker-page .bm-btn.ghost {
  border-color: rgba(255, 255, 255, 0.14) !important;
  background: rgba(6, 10, 18, 0.45) !important;
  color: rgba(230, 235, 248, 0.95) !important;
}

body.media-portfolio.bookmarker-page .bm-btn.ghost:hover {
  border-color: rgba(129, 140, 248, 0.4) !important;
}

body.media-portfolio.bookmarker-page .bm-hero-right {
  flex: 0 0 230px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

body.media-portfolio.bookmarker-page .bm-logo-card {
  width: 230px;
  height: 230px;
  padding: 28px;
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 10, 18, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(99, 102, 241, 0.12) !important;
}

body.media-portfolio.bookmarker-page .bm-logo-card img {
  width: 100%;
  height: auto;
}

body.media-portfolio.bookmarker-page .bm-section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

body.media-portfolio.bookmarker-page .bm-section h2 {
  background: linear-gradient(
    125deg,
    #f0f4f8 0%,
    #a5b4fc 40%,
    #8ef0e4 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 20px rgba(0, 0, 0, 0.3));
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

body.media-portfolio.bookmarker-page .bm-section-head {
  text-align: center;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

body.media-portfolio.bookmarker-page .bm-section-head h2 {
  margin-bottom: 0;
}

body.media-portfolio.bookmarker-page .bm-kicker {
  font-family: var(--mono, "JetBrains Mono", ui-monospace, monospace);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(142, 240, 228, 0.78);
  margin-bottom: 0.75rem;
}

body.media-portfolio.bookmarker-page .bm-alt {
  background: linear-gradient(
    180deg,
    rgba(10, 14, 24, 0.42) 0%,
    rgba(8, 11, 20, 0.35) 100%
  ) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

body.media-portfolio.bookmarker-page .bm-desc {
  color: rgba(210, 220, 235, 0.92);
}

body.media-portfolio.bookmarker-page .bm-desc strong {
  color: #fff;
}

body.media-portfolio.bookmarker-page .bm-card {
  background: rgba(5, 9, 18, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

body.media-portfolio.bookmarker-page .bm-card h3 {
  color: #a5b4fc !important;
}

body.media-portfolio.bookmarker-page .bm-card p {
  color: rgba(215, 225, 238, 0.9) !important;
}

body.media-portfolio.bookmarker-page .bm-card:hover {
  border-color: rgba(129, 140, 248, 0.35) !important;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.38),
    0 0 36px rgba(99, 102, 241, 0.12) !important;
}

body.media-portfolio.bookmarker-page .bm-caption {
  color: rgba(94, 234, 212, 0.95) !important;
}

body.media-portfolio.bookmarker-page .bm-flow-item {
  background: rgba(5, 9, 18, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: rgba(230, 235, 248, 0.95) !important;
}

body.media-portfolio.bookmarker-page .bm-flow-arrow {
  color: rgba(129, 140, 248, 0.95) !important;
}

body.media-portfolio.bookmarker-page .bm-shot {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35) !important;
}

body.media-portfolio.bookmarker-page .bm-shot span {
  background: linear-gradient(
    to top,
    rgba(4, 8, 16, 0.95),
    transparent
  ) !important;
  color: rgba(240, 244, 248, 0.95) !important;
}

body.media-portfolio.bookmarker-page .bm-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(160, 180, 205, 0.8);
  font-family: var(--mono, "JetBrains Mono", ui-monospace, monospace);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  padding: clamp(2rem, 5vw, 3rem) 1rem;
}

@media (max-width: 1024px) {
  body.media-portfolio.bookmarker-page .bm-grid.three {
    grid-template-columns: 1fr;
  }

  body.media-portfolio.bookmarker-page .bm-grid.two {
    grid-template-columns: 1fr;
  }

  body.media-portfolio.bookmarker-page .bm-shot-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 640px) {
  body.media-portfolio.bookmarker-page .bm-hero-inner {
    flex-direction: column;
    gap: 2.5rem;
  }

  body.media-portfolio.bookmarker-page .bm-flow {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  body.media-portfolio.bookmarker-page .bm-flow-arrow {
    display: none;
  }

  body.media-portfolio.bookmarker-page .bm-shot-grid {
    grid-template-columns: 1fr !important;
  }

  body.media-portfolio.bookmarker-page .bm-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
