/*
Theme Name: Official Enrichment
Theme URI: https://example.com/official-enrichment
Author: Your Studio
Description: Dark, editorial entertainment-news theme (breaking ticker, reviews, movies & shows grid, trailer hero) ported from a static HTML bundle into the WordPress template hierarchy.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: official-enrichment
*/

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: #0b0907;
  color: #f6efe3;
  font-family: 'Hanken Grotesk', sans-serif;
  overflow-x: hidden;
}
a { color: inherit; }
::selection { background: #ff7a18; color: #0b0907; }

:root {
  --bg: #0b0907;
  --bg2: #15110c;
  --accent: #ff7a18;
  --gold: #ffd23f;
  --break: #ff2d55;
  --ink: #f6efe3;
  --mute: #9d917f;
  --line: rgba(246, 239, 227, .1);
}

.oe-anton { font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; }
.oe-serif-italic { font-family: 'Instrument Serif', serif; font-style: italic; }

@keyframes oe-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes oe-pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes oe-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.oe-reveal { opacity: 0; transform: translateY(38px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.oe-reveal.oe-in { opacity: 1; transform: none; }
.oe-card-hover { transition: transform .55s cubic-bezier(.16,1,.3,1), box-shadow .55s; }
.oe-card-hover:hover { transform: translateY(-10px); }
.oe-poster .oe-poster-img { transition: transform .7s cubic-bezier(.16,1,.3,1); }
.oe-poster:hover .oe-poster-img { transform: scale(1.08); }
.oe-poster:hover .oe-poster-meta { transform: translateY(0); opacity: 1; }
.oe-navlink { position: relative; text-decoration: none; }
.oe-navlink::after { content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: var(--accent); transition: width .35s ease; }
.oe-navlink:hover::after { width: 100%; }

/* layout shell */
.oe-wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 900px) { .oe-wrap { padding: 0 20px; } }

/* nav */
.oe-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px; backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(11,9,7,.85), rgba(11,9,7,0));
}
.oe-logo-mark {
  width: 32px; height: 32px; border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 24px rgba(255,122,24,.5); color: #0b0907; font-size: 18px;
}
.oe-nav-links { display: flex; align-items: center; gap: 30px; font-size: 13.5px; font-weight: 600; }
.oe-subscribe { color: #0b0907; background: var(--ink); padding: 9px 18px; border-radius: 100px; font-weight: 700; text-decoration: none; }

/* hero */
.oe-hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 40px 64px; overflow: hidden; }
.oe-hero-bg { position: absolute; inset: -10% -10% 0; z-index: 0; }
.oe-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.oe-hero-scrim { position: absolute; inset: 0; z-index: 1; background: radial-gradient(120% 90% at 70% 10%, rgba(255,122,24,.22), transparent 55%), linear-gradient(180deg, rgba(11,9,7,.35) 0%, rgba(11,9,7,.55) 45%, var(--bg) 96%); }
.oe-hero-inner { position: relative; z-index: 2; max-width: 1180px; }
.oe-eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 100px; background: rgba(11,9,7,.4); backdrop-filter: blur(6px); margin-bottom: 26px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.oe-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--break); box-shadow: 0 0 10px var(--break); animation: oe-pulse 1.6s infinite; display: inline-block; }
.oe-hero h1 { font-size: clamp(56px, 9vw, 150px); line-height: .92; letter-spacing: -.01em; max-width: 14ch; text-shadow: 0 12px 60px rgba(0,0,0,.5); }
.oe-gradient-text { background: linear-gradient(120deg, var(--gold), var(--accent), var(--break)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.oe-stats { position: relative; z-index: 2; margin-top: 54px; display: flex; gap: 40px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; }
.oe-stats .num { font-size: 30px; color: var(--gold); }
.oe-stats .label { font-size: 12.5px; color: var(--mute); letter-spacing: .04em; }

/* ticker */
.oe-ticker-row { display: flex; align-items: stretch; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg2); overflow: hidden; }
.oe-ticker-badge { flex: none; display: flex; align-items: center; gap: 9px; background: var(--break); color: #fff; padding: 0 22px; font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.oe-ticker-badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: oe-pulse 1.2s infinite; }
.oe-ticker-viewport { overflow: hidden; flex: 1; display: flex; align-items: center; }
.oe-ticker-track { display: flex; gap: 48px; white-space: nowrap; padding: 14px 24px; animation: oe-marquee 32s linear infinite; font-size: 14px; font-weight: 600; }
.oe-ticker-track span { color: #d8ccba; }
.oe-ticker-track span b { color: var(--gold); margin-right: 12px; }

/* section heads */
.oe-section { padding: 80px 0 30px; }
.oe-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.oe-kicker { font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; }
.oe-section h2 { font-size: clamp(34px, 4.5vw, 60px); line-height: .95; }
.oe-section-link { flex: none; text-decoration: none; color: var(--mute); font-weight: 600; font-size: 14px; border-bottom: 1px solid var(--line); padding-bottom: 4px; }

/* breaking feature grid */
.oe-breaking-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 22px; }
@media (max-width: 900px) { .oe-breaking-grid { grid-template-columns: 1fr; } }
.oe-lead-card { position: relative; min-height: 440px; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 70px rgba(0,0,0,.5); display: block; text-decoration: none; color: var(--ink); }
.oe-lead-card .img-wrap { position: absolute; inset: 0; }
.oe-lead-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.oe-lead-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,9,7,.05) 30%, rgba(11,9,7,.92)); }
.oe-lead-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px; }
.oe-tag-pill { display: inline-block; background: var(--break); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 6px; }
.oe-lead-body h3 { font-size: clamp(26px, 3vw, 40px); line-height: 1; margin-top: 16px; max-width: 18ch; }
.oe-lead-body p { color: #c9bdab; font-size: 15px; margin-top: 12px; max-width: 50ch; line-height: 1.5; }
.oe-meta-row { display: flex; gap: 16px; margin-top: 16px; font-size: 12.5px; color: var(--mute); font-weight: 600; }

.oe-side-stack { display: flex; flex-direction: column; gap: 18px; }
.oe-side-card { flex: 1; display: flex; gap: 16px; padding: 18px; border-radius: 14px; background: var(--bg2); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.oe-side-card .thumb { flex: none; width: 96px; border-radius: 10px; overflow: hidden; position: relative; }
.oe-side-card .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.oe-side-card .body { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.oe-side-card .tag { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.oe-side-card h4 { font-size: 17px; font-weight: 700; line-height: 1.2; margin-top: 7px; }
.oe-side-card time { font-size: 12px; color: var(--mute); margin-top: 8px; font-weight: 600; }

/* filters */
.oe-filters { flex: none; display: flex; gap: 8px; flex-wrap: wrap; }
.oe-filter-btn { cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 700; padding: 9px 16px; border-radius: 100px; border: 1px solid rgba(246,239,227,.12); background: transparent; color: var(--mute); transition: all .25s; text-decoration: none; display: inline-block; }
.oe-filter-btn.is-active, a.oe-filter-btn:hover { border-color: var(--accent); background: var(--accent); color: #0b0907; }

/* news grid */
.oe-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .oe-news-grid { grid-template-columns: 1fr; } }
.oe-news-card { border-radius: 16px; overflow: hidden; background: var(--bg2); border: 1px solid var(--line); display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.oe-news-card .thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.oe-news-card .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.oe-news-cat { position: absolute; top: 14px; left: 14px; background: rgba(11,9,7,.7); backdrop-filter: blur(6px); color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 11px; border-radius: 7px; }
.oe-news-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.oe-news-body h3 { font-size: 20px; font-weight: 700; line-height: 1.18; letter-spacing: -.01em; }
.oe-news-body p { color: var(--mute); font-size: 14px; line-height: 1.5; margin-top: 10px; flex: 1; }
.oe-byline { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 12.5px; color: var(--mute); font-weight: 600; }
.oe-byline .who { color: var(--ink); }

/* movies & shows poster grid */
.oe-screen-section { position: relative; margin-top: 70px; padding: 84px 0 90px; background: linear-gradient(180deg, var(--bg), #120d09 40%, var(--bg)); border-top: 1px solid var(--line); }
.oe-poster-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 1100px) { .oe-poster-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .oe-poster-grid { grid-template-columns: repeat(2, 1fr); } }
.oe-poster-card { position: relative; aspect-ratio: 2/3; border-radius: 14px; overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,.45); text-decoration: none; color: var(--ink); display: block; }
.oe-poster-card .img-wrap { position: absolute; inset: 0; }
.oe-poster-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.oe-poster-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,9,7,0) 40%, rgba(11,9,7,.95)); }
.oe-poster-kind { position: absolute; top: 12px; left: 12px; background: var(--accent); color: #0b0907; font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 6px; }
.oe-poster-rating { position: absolute; top: 12px; right: 12px; display: flex; align-items: center; gap: 4px; background: rgba(11,9,7,.7); backdrop-filter: blur(6px); padding: 4px 8px; border-radius: 100px; font-size: 12px; font-weight: 800; color: var(--gold); }
.oe-poster-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; transform: translateY(14px); opacity: .85; transition: transform .5s cubic-bezier(.16,1,.3,1), opacity .5s; }
.oe-poster-meta h3 { font-size: 21px; line-height: 1; }
.oe-poster-meta .meta-line { font-size: 12px; color: #c4b8a6; margin-top: 7px; font-weight: 600; }

/* trailer / video hero (used on front page + single-movie) */
.oe-trailer { position: relative; min-height: 88vh; display: flex; align-items: center; justify-content: center; overflow: hidden; border-top: 1px solid var(--line); }
.oe-trailer-bg { position: absolute; inset: 0; z-index: 0; }
.oe-trailer-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.oe-trailer-scrim { position: absolute; inset: 0; z-index: 1; background: radial-gradient(80% 80% at 50% 50%, rgba(11,9,7,.45), rgba(11,9,7,.86)); }
.oe-trailer-inner { position: relative; z-index: 2; text-align: center; padding: 0 40px; }
.oe-play-btn { margin-top: 34px; cursor: pointer; width: 88px; height: 88px; border-radius: 50%; border: none; background: var(--ink); color: #0b0907; font-size: 26px; display: inline-flex; align-items: center; justify-content: center; position: relative; animation: oe-float 3.5s ease-in-out infinite; text-decoration: none; }
.oe-play-btn span.ring { position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(246,239,227,.3); }

/* footer */
.oe-footer { background: var(--bg2); border-top: 1px solid var(--line); padding: 70px 40px 36px; }
.oe-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .oe-footer-grid { grid-template-columns: 1fr 1fr; } }
.oe-footer-col-head { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 18px; }
.oe-footer-col a { display: block; text-decoration: none; color: #d8ccba; font-size: 14.5px; font-weight: 600; margin-bottom: 12px; }
.oe-socials { display: flex; gap: 10px; margin-top: 22px; }
.oe-socials a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--ink); font-size: 13px; font-weight: 700; }
.oe-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; color: var(--mute); font-weight: 600; }
.oe-footer-bottom .links { display: flex; gap: 24px; }
.oe-footer-bottom a { text-decoration: none; color: var(--mute); }

/* single post / single movie */
.oe-single { max-width: 820px; margin: 0 auto; padding: 160px 40px 100px; }
.oe-single .oe-kicker { color: var(--accent); }
.oe-single h1 { font-size: clamp(34px, 5vw, 64px); line-height: 1; margin: 14px 0 22px; }
.oe-single .oe-byline { margin-bottom: 30px; }
.oe-single .featured-wrap { border-radius: 18px; overflow: hidden; margin-bottom: 36px; }
.oe-single .featured-wrap img { width: 100%; display: block; }
.oe-single .entry-content { font-size: 18px; line-height: 1.75; color: #e7dccb; }
.oe-single .entry-content p { margin-bottom: 22px; }
.oe-single .entry-content h2, .oe-single .entry-content h3 { font-family: 'Anton', sans-serif; text-transform: uppercase; margin: 36px 0 14px; }

.oe-movie-single { max-width: 1100px; margin: 0 auto; padding: 160px 40px 100px; display: grid; grid-template-columns: 320px 1fr; gap: 40px; }
@media (max-width: 800px) { .oe-movie-single { grid-template-columns: 1fr; } }
.oe-movie-single .poster img { width: 100%; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.oe-movie-single .entry-content { font-size: 17px; line-height: 1.7; color: #e7dccb; margin-top: 22px; }

.oe-pagination { display: flex; justify-content: center; gap: 14px; margin: 60px 0 90px; }
.oe-pagination a, .oe-pagination span { text-decoration: none; padding: 10px 18px; border-radius: 100px; border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: 14px; }
.oe-pagination .current { background: var(--accent); color: #0b0907; border-color: var(--accent); }

.oe-archive-head { padding: 150px 40px 30px; max-width: 1280px; margin: 0 auto; }
.oe-archive-head h1 { font-size: clamp(34px, 5vw, 60px); }
