:root {
  --bg-primary: #050914;
  --bg-secondary: #0a1020;
  --bg-navbar: #070c18;
  --bg-card: #0d1425;
  --bg-hover: #131c31;
  --accent: #e4b65d;
  --accent-hover: #f2cd7f;
  --text-main: #f3f0e8;
  --text-muted: #9ba8c1;
  --border: #253454;
  --shadow: 0 20px 46px rgba(0, 2, 10, .58);
  --font: "IBM Plex Sans", Arial, sans-serif;
  --orbit: #7f96c6;
  --void: #02040a;
}

body {
  background:
    radial-gradient(circle at 50% -72px, #050914 0 92px, rgba(228,182,93,.8) 94px 96px, rgba(228,182,93,.16) 98px 116px, transparent 170px),
    radial-gradient(ellipse at 50% -10%, rgba(64,83,129,.22), transparent 40rem),
    linear-gradient(180deg, #050914, #070b15 52%, #040710);
  color: var(--text-main);
  background-attachment: fixed;
}

.notice-bar {
  min-height: 30px;
  background: #e4b65d;
  color: #070b14;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .21em;
  text-transform: uppercase;
}
.site-header {
  position: relative;
  background: rgba(5,9,20,.96);
  border-bottom: 1px solid #35476d;
  box-shadow: 0 16px 42px rgba(0,0,0,.4);
  backdrop-filter: blur(16px);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: min(34vw, 430px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.top-line { min-height: 102px; display: grid; grid-template-columns: minmax(240px, 1fr) minmax(260px, 520px) auto; }
.brand { gap: .82rem; color: var(--text-main); }
.brand-emblem {
  position: relative;
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(228,182,93,.72);
  border-radius: 50%;
  background: #070b14;
  color: var(--accent);
  box-shadow: inset -12px 0 0 #e4b65d, 0 0 28px rgba(228,182,93,.22);
  font-family: Georgia, serif;
  font-size: 1.4rem;
  line-height: 1;
}
.brand-lockup { display: grid; line-height: .93; }
.brand-name {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 600;
  letter-spacing: -.035em;
}
.brand-edition {
  margin-top: .4rem;
  color: var(--accent);
  font-size: .54rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.language-control select, .search-form {
  background: #050914;
  color: var(--text-main);
  border-color: #35476d;
}
.search-form {
  height: 42px;
  border-width: 0 0 1px;
  border-radius: 0;
}
.search-form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 8px 20px -14px rgba(228,182,93,.8);
}
.search-form button { width: 44px; background: var(--accent); color: #050914; }
.category-nav { gap: 0; padding-block: .75rem; border-top: 1px solid #253454; }
.nav-chip {
  height: 31px;
  padding-inline: 1rem;
  background: transparent;
  color: #bbc5d8;
  border: 0;
  border-right: 1px solid #253454;
  border-radius: 0;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.nav-chip.active, .nav-chip:hover {
  background: var(--accent);
  color: #050914;
}

.page { padding-top: 2rem; }
.section-head {
  align-items: flex-end;
  padding: 1.25rem 0 1.45rem;
  border-bottom: 1px solid #35476d;
}
.section-head h1, .section-title-row h2, .video-details h1 {
  font-family: "Bodoni Moda", Georgia, serif;
  font-weight: 600;
  letter-spacing: -.035em;
}
.section-head h1 {
  position: relative;
  font-size: clamp(2.35rem, 5vw, 4.35rem);
}
.section-head h1::after {
  content: "";
  display: inline-block;
  width: .42em;
  height: .42em;
  margin-left: .22em;
  border: 1px solid var(--accent);
  border-radius: 50%;
  box-shadow: inset -.13em 0 0 var(--accent);
  vertical-align: .08em;
}
.sort-pill {
  background: transparent;
  color: var(--accent);
  border: 1px solid #6d5e3a;
  border-radius: 999px;
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.home-sections { gap: 3.2rem; }
.content-section { gap: 1.15rem; }
.section-title-row { border-bottom: 1px solid #253454; }
.section-title-row h2 { padding-left: 0; font-size: 1.62rem; }
.section-title-row h2::before { display: none; }
.view-all-link { color: var(--accent); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; }

.video-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.85rem 1rem; }
.video-card {
  position: relative;
  background: #0d1425;
  border: 1px solid #253454;
  border-radius: 0;
  box-shadow: var(--shadow);
}
.video-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -1px;
  left: -1px;
  width: 36%;
  height: 2px;
  background: var(--accent);
  transition: width .35s ease;
}
.video-card:hover {
  background: #131c31;
  border-color: #465c89;
  transform: translateY(-4px);
}
.video-card:hover::before { width: calc(100% + 2px); }
.thumb-box { border-bottom: 1px solid #253454; }
.thumb-box img { filter: saturate(.78) contrast(1.08) brightness(.92); transition: filter .35s ease, transform .35s ease; }
.video-card:hover .thumb-box img { filter: saturate(1) contrast(1.05); transform: scale(1.025); }
.card-body { min-height: 96px; padding: .78rem .08rem .85rem; text-align: left; }
.card-body h2 { font-family: "Bodoni Moda", Georgia, serif; font-size: 1rem; font-weight: 600; }
.card-meta { color: #8f9bb3; font-size: .69rem; letter-spacing: .06em; text-transform: uppercase; }
.page-button { border-radius: 50%; background: #0d1425; color: var(--text-main); }
.page-button.active, .page-button:hover { background: var(--accent); border-color: var(--accent); color: #050914; }

.card-play-button, .detail-play-button {
  background: rgba(2,4,10,.78);
  border: 1px solid rgba(228,182,93,.72);
  border-radius: 50%;
  box-shadow: inset -7px 0 0 rgba(228,182,93,.88), 0 12px 30px rgba(0,0,0,.5);
  transform: translate(-50%,-50%);
  backdrop-filter: blur(4px);
}
.card-play-button { width: 56px; height: 56px; }
.card-play-button span, .detail-play-button span {
  border-left-color: #f5ead2;
  transform: none;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.25));
}
.card-play-button span { border-top-width: 12px; border-bottom-width: 12px; border-left-width: 19px; }
.player-frame.has-embed .detail-play-button { display: flex; 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; }

.player-frame { border: 1px solid #35476d; }
.video-details, .sidebar { background: #0d1425; border: 1px solid #253454; border-radius: 0; box-shadow: var(--shadow); }
.meta-row span { background: #17213a; }
.tag-list span { background: rgba(228,182,93,.08); color: #e6c77f; border: 1px solid rgba(228,182,93,.25); }
.site-footer { border-top: 1px solid #253454; color: #79859d; }

@media (max-width: 700px) {
  .top-line { display: flex; min-height: auto; }
  .brand-name { font-size: 1.65rem; }
  .brand-edition { letter-spacing: .11em; }
  .video-grid { gap-block: 1.3rem; }
  .card-play-button { width: 49px; height: 49px; }
}

.watch-page .watch-layout { display: block; }
.watch-page .sidebar { display: none; }
