.epc-hero {
  --epc-accent: #ff304f;
  --epc-highlight: #f4c95d;
  --epc-bg: #07090d;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: min(900px, 100svh);
  box-sizing: border-box;
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 72px);
  color: #f7f8fa;
  background:
    radial-gradient(circle at 50% -15%, color-mix(in srgb, var(--epc-accent) 17%, transparent), transparent 42%),
    linear-gradient(155deg, color-mix(in srgb, var(--epc-bg) 86%, #1a2030), var(--epc-bg) 58%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.epc-hero *, .epc-hero *::before, .epc-hero *::after { box-sizing: border-box; }
.epc-hero button { font: inherit; }
.epc-inner { position: relative; z-index: 4; width: min(1240px, 100%); }
.epc-grid { position: absolute; inset: 0; z-index: 3; opacity: .13; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, #000, transparent 80%); }
.epc-glow { position: absolute; z-index: 3; width: 420px; height: 420px; border-radius: 50%; filter: blur(110px); opacity: .12; pointer-events: none; }
.epc-glow-one { left: -180px; top: 12%; background: var(--epc-accent); }
.epc-glow-two { right: -160px; bottom: -120px; background: var(--epc-highlight); }

.epc-playlist-data { display: none !important; }
.epc-media-stage { position: absolute; inset: 0; z-index: 1; overflow: hidden; background: var(--epc-bg); pointer-events: none; }
.epc-media-stage[hidden] { display: none; }
.epc-media-layer { position: absolute; inset: 0; z-index: 1; overflow: hidden; opacity: 0; transition-property: opacity; transition-duration: var(--epc-media-transition, 1.2s); transition-timing-function: ease; }
.epc-media-layer.is-active { opacity: 1; }
.epc-media-layer img, .epc-media-layer video { width: 100%; height: 100%; object-fit: cover; }
.epc-media-layer iframe { position: absolute; top: 50%; left: 50%; width: max(100%, 177.78vh); height: max(100%, 56.25vw); border: 0; transform: translate(-50%, -50%); }
.epc-media-overlay { position: absolute; inset: 0; z-index: 2; background: #000; opacity: .68; transition: opacity .35s ease; }

.epc-topline, .epc-live-row, .epc-progress-copy, .epc-footer-line { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.epc-kicker { margin: 0; color: rgba(255,255,255,.62); font-size: clamp(.68rem, 1.3vw, .82rem); font-weight: 800; letter-spacing: .2em; }
.epc-actions { display: flex; gap: 8px; }
.epc-icon-button { cursor: pointer; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; padding: 8px 13px; color: rgba(255,255,255,.75); background: rgba(255,255,255,.04); font-size: .72rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; transition: border-color .2s, color .2s, background .2s; }
.epc-icon-button:hover, .epc-icon-button:focus-visible { color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.1); outline: none; }

.epc-live-row { justify-content: flex-start; margin-top: clamp(34px, 7vw, 86px); }
.epc-live-pill { display: inline-flex; align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 8px 14px; background: rgba(255,255,255,.06); font-size: .72rem; font-weight: 900; letter-spacing: .14em; }
.epc-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #78808d; }
.epc-live-pill.is-live { border-color: color-mix(in srgb, var(--epc-accent) 55%, transparent); background: color-mix(in srgb, var(--epc-accent) 13%, transparent); }
.epc-live-pill.is-live .epc-live-dot { background: var(--epc-accent); box-shadow: 0 0 0 7px color-mix(in srgb, var(--epc-accent) 16%, transparent); animation: epc-pulse 1.5s infinite; }
.epc-live-pill.is-complete .epc-live-dot { background: var(--epc-highlight); }
.epc-on-record { color: rgba(255,255,255,.45); font-size: .68rem; font-weight: 800; letter-spacing: .16em; }
.epc-title { max-width: 1050px; margin: 18px 0 clamp(30px, 5vw, 54px); color: #fff; font-size: clamp(2.15rem, 6.6vw, 6.4rem); line-height: .91; letter-spacing: -.055em; text-wrap: balance; }

.epc-clock-label { margin: 0 0 12px; color: var(--epc-highlight); font-size: .72rem; font-weight: 900; letter-spacing: .17em; }
.epc-digits { display: flex; align-items: flex-start; gap: clamp(5px, 1.2vw, 18px); font-variant-numeric: tabular-nums; }
.epc-unit { min-width: 0; }
.epc-unit strong { display: block; color: #fff; font-size: clamp(2.9rem, 9.2vw, 9.2rem); font-weight: 760; line-height: .83; letter-spacing: -.07em; }
.epc-unit span { display: block; margin-top: 12px; color: rgba(255,255,255,.43); font-size: clamp(.56rem, 1.3vw, .72rem); font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.epc-separator { color: color-mix(in srgb, var(--epc-accent) 80%, white); font-size: clamp(2.2rem, 7vw, 7rem); font-weight: 250; line-height: .77; animation: epc-blink 1s step-end infinite; }

.epc-record-panel { margin-top: clamp(34px, 5vw, 58px); padding: 20px 22px 24px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(255,255,255,.035); backdrop-filter: blur(10px); }
.epc-progress-copy { color: rgba(255,255,255,.58); font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.epc-progress-copy strong, .epc-percent { color: #fff; }
.epc-progress-track { position: relative; height: 8px; margin: 25px 0 20px; border-radius: 999px; background: rgba(255,255,255,.1); }
.epc-progress-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--epc-accent), var(--epc-highlight)); box-shadow: 0 0 20px color-mix(in srgb, var(--epc-accent) 40%, transparent); transition: width .6s ease; }
.epc-progress-track i { position: absolute; top: 50%; width: 2px; height: 16px; transform: translate(-50%, -50%); background: rgba(255,255,255,.42); font-style: normal; }
.epc-progress-track i b { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.36); font-size: .54rem; font-weight: 750; }
.epc-next-milestone { margin: 0; color: rgba(255,255,255,.65); font-size: .78rem; }

.epc-info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 18px; border: 1px solid rgba(255,255,255,.09); border-radius: 18px; overflow: hidden; }
.epc-info-card { min-width: 0; padding: 18px 20px; background: rgba(0,0,0,.2); border-right: 1px solid rgba(255,255,255,.09); }
.epc-info-card:last-child { border-right: 0; }
.epc-info-card span { display: block; margin-bottom: 7px; color: rgba(255,255,255,.38); font-size: .58rem; font-weight: 850; letter-spacing: .14em; }
.epc-info-card strong { display: block; overflow: hidden; color: rgba(255,255,255,.9); font-size: clamp(.72rem, 1.2vw, .9rem); font-weight: 670; white-space: nowrap; text-overflow: ellipsis; }
.epc-footer-line { margin-top: 26px; color: rgba(255,255,255,.5); font-size: clamp(.74rem, 1.3vw, .9rem); }
.epc-footer-line p { margin: 0; }
.epc-hashtag { color: var(--epc-highlight); font-weight: 800; }

.epc-hero:fullscreen { min-height: 100vh; }
.epc-hero.is-live::after { content: ''; position: absolute; inset: 0; z-index: 5; pointer-events: none; border: 1px solid color-mix(in srgb, var(--epc-accent) 35%, transparent); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@keyframes epc-pulse { 50% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--epc-accent) 8%, transparent); } }
@keyframes epc-blink { 50% { opacity: .2; } }

@media (max-width: 760px) {
  .epc-hero { min-height: 100svh; padding: 22px 18px 28px; }
  .epc-actions .epc-icon-button { width: 38px; height: 38px; padding: 0; overflow: hidden; font-size: 0; }
  .epc-actions .epc-icon-button span { font-size: 1rem; }
  .epc-actions .epc-icon-button .epc-sound-label { display: none; }
  .epc-title { margin-top: 14px; }
  .epc-digits { justify-content: space-between; gap: 3px; }
  .epc-unit strong { font-size: clamp(2.4rem, 15vw, 4.7rem); }
  .epc-separator { font-size: clamp(1.8rem, 11vw, 3.3rem); }
  .epc-info-grid { grid-template-columns: 1fr 1fr; }
  .epc-info-card:nth-child(2) { border-right: 0; }
  .epc-info-card:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.09); }
  .epc-footer-line { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 430px) {
  .epc-kicker { max-width: 210px; }
  .epc-live-row { margin-top: 30px; }
  .epc-title { font-size: 2.55rem; }
  .epc-unit strong { font-size: 12.8vw; }
  .epc-unit span { font-size: .48rem; letter-spacing: .08em; }
  .epc-record-panel { padding-inline: 15px; }
  .epc-progress-track i b { display: none; }
  .epc-info-grid { grid-template-columns: 1fr; }
  .epc-info-card { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.09); }
  .epc-info-card:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .epc-hero *, .epc-hero *::before, .epc-hero *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
