:root {
  --bg-primary: #0c080b;
  --bg-secondary: #1b1017;
  --bg-navbar: #120b10;
  --bg-card: #171016;
  --bg-hover: #24151e;
  --accent: #c23a68;
  --accent-hover: #df5b89;
  --text-main: #fff4e6;
  --text-muted: #c6a6b3;
  --border: #563043;
  --shadow: 0 18px 42px rgba(0,0,0,.36);
  --font: "IBM Plex Sans", Arial, sans-serif;
  --paper: #171016;
  --signal: #df5b89;
  --gold: #d6b276;
}

body { background: radial-gradient(circle at 82% -12%, rgba(194,58,104,.17), transparent 34rem), #0c080b; color: var(--text-main); }
.notice-bar { min-height: 30px; background: #7d163d; color: #fff4e6; font-size: .69rem; letter-spacing: .2em; text-transform: uppercase; }
.site-header { position: relative; background: rgba(18,11,16,.97); border-bottom: 3px double #563043; box-shadow: 0 12px 32px rgba(0,0,0,.28); }
.top-line { min-height: 104px; display: grid; grid-template-columns: minmax(220px, 1fr) minmax(260px, 520px) auto; }
.brand { gap: .72rem; color: var(--text-main); }
.brand-emblem {
  width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid var(--gold); border-radius: 50%; color: var(--gold);
  font-family: "IBM Plex Sans", sans-serif; font-size: .67rem; font-weight: 700; letter-spacing: .08em;
}
.brand-lockup { display: grid; line-height: .92; }
.brand-name { font-family: "Bodoni Moda", Georgia, serif; font-size: clamp(1.65rem, 3vw, 2.35rem); font-weight: 700; letter-spacing: -.045em; }
.brand-edition { margin-top: .42rem; color: var(--gold); font-size: .55rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }

.language-control select, .search-form { background: #0d080b; color: var(--text-main); border-color: #6c3a50; }
.search-form { height: 40px; border-width: 0 0 1px; border-radius: 0; }
.search-form button { width: 42px; justify-self: end; background: var(--accent); color: #fff; }
.category-nav { padding-block: .72rem; border-top: 1px solid #563043; gap: 0; }
.nav-chip { height: 30px; padding-inline: 1rem; background: transparent; color: #ead8dd; border: 0; border-right: 1px solid #563043; border-radius: 0; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.nav-chip.active, .nav-chip:hover { background: var(--accent); color: #fff; }

.page { padding-top: 1.8rem; }
.section-head { align-items: flex-start; padding-bottom: 1.2rem; border-bottom: 3px double #563043; }
.section-head h1, .video-details h1 { font-family: "Bodoni Moda", Georgia, serif; font-weight: 600; letter-spacing: -.035em; }
.section-head h1 { font-size: clamp(2.2rem, 5vw, 4.1rem); }
.section-head p { max-width: 42rem; }
.sort-pill { background: rgba(194,58,104,.1); color: #f4aac2; border: 1px solid #7b4159; border-radius: 0; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }

.home-sections { gap: 3rem; }
.content-section { gap: 1.15rem; padding-top: .3rem; }
.section-title-row { border-bottom: 1px solid #563043; }
.section-title-row h2 { padding-left: 0; font-family: "Bodoni Moda", Georgia, serif; font-size: 1.65rem; font-weight: 600; }
.section-title-row h2::before { display: none; }
.view-all-link { color: #f3b4c8; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.video-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.7rem 1rem; }
.video-card { background: #171016; border: 1px solid #563043; border-radius: 0; box-shadow: var(--shadow); }
.video-card:hover { background: #24151e; border-color: #c6587d; transform: translateY(-3px); }
.thumb-box { border-bottom: 1px solid #563043; }
.thumb-box img { filter: saturate(.92) contrast(1.05); transition: filter .25s ease, transform .3s ease; }
.video-card:hover .thumb-box img { filter: saturate(1.1) contrast(1.03); transform: scale(1.02); }
.card-play-button, .detail-play-button { background: rgba(194,58,104,.92); border: 1px solid #f7d8e2; border-radius: 50%; box-shadow: 0 8px 26px rgba(0,0,0,.45); }
.card-play-button span, .detail-play-button span { border-left-color: #fff4e6; }
.card-body { min-height: 94px; padding: .72rem .1rem .82rem; text-align: left; }
.card-body h2 { font-family: "Bodoni Moda", Georgia, serif; font-size: 1rem; font-weight: 600; }
.card-meta { color: #c6a6b3; font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; }
.page-button { border-radius: 0; background: #171016; color: var(--text-main); }
.page-button.active, .page-button:hover { background: var(--accent); color: #fff; }

.player-frame { border: 1px solid #563043; }
.video-details, .sidebar { background: var(--paper); border: 1px solid #563043; border-radius: 0; box-shadow: var(--shadow); }
.sidebar h2 { font-family: "Bodoni Moda", Georgia, serif; font-size: 1.45rem; font-weight: 600; }
.meta-row span { background: #281620; }
.tag-list span { background: rgba(194,58,104,.1); border: 1px solid #754055; color: #f3b4c8; }
.site-footer { border-top: 3px double #563043; color: #9f7d8a; }

@media (min-width: 980px) {
  .watch-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.25rem; }
  .watch-layout .sidebar { margin-top: 0; }
}
@media (max-width: 700px) {
  .top-line { display: flex; min-height: auto; }
  .brand-edition { letter-spacing: .1em; }
  .video-grid { gap-block: 1.2rem; }
}
/* Shared transparent play control */
.card-play-button, .detail-play-button {
  background: rgba(13,8,9,.68);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(0,0,0,.4), inset 0 0 0 1px rgba(0,0,0,.12);
  transform: translate(-50%,-50%);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.card-play-button { width: 54px; height: 54px; }
.card-play-button span, .detail-play-button span {
  border-left-color: #fff;
  transform: none;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.28));
}
.card-play-button span { border-top-width: 12px; border-bottom-width: 12px; border-left-width: 19px; }
.video-card:hover .card-play-button { background: rgba(13,8,9,.78); }
.player-frame.has-embed .detail-play-button {
  display: flex;
  background: rgba(13,8,9,.94);
  pointer-events: none;
  z-index: 3;
}
.player-frame.has-embed.embed-engaged .detail-play-button,
.player-frame.has-embed:focus-within .detail-play-button { display: none; }
@media (max-width: 700px) {
  .card-play-button { width: 48px; height: 48px; }
}

/* Watch page: keep the player focused and remove the related-video rail. */
.watch-page .watch-layout {
  display: block;
}
.watch-page .sidebar {
  display: none;
}
