/*
Theme Name: Efora Theater Channel Theme
Theme URI: https://efora.tv/
Author: Efora TV Network
Author URI: https://eforatv.com/
Description: Premium full-width WordPress microsite theme for Efora Theater, built from the reusable Efora Channel Theme system with Customizer-driven content, static homepage setup, countdown support, channel CTAs, editable color palette, and a grand theater hero design.
Version: 3.2.4
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: Proprietary
Text Domain: efora-theater-channel-theme
*/

:root {
  --efora-black: #080407;
  --efora-midnight: #11070b;
  --efora-burgundy: #4b0710;
  --efora-burgundy-soft: #791525;
  --efora-gold: #f4bf62;
  --efora-gold-bright: #ffe1a0;
  --efora-ivory: #fff4de;
  --efora-muted: rgba(255, 244, 222, 0.74);
  --efora-card: rgba(13, 5, 8, 0.70);
  --efora-border: rgba(244, 191, 98, 0.28);
  --efora-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  --efora-radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--efora-black);
  color: var(--efora-ivory);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
body.admin-bar .efora-site-header { top: 32px; }
a { color: inherit; }
img { max-width: 100%; height: auto; }

.efora-page-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 191, 98, 0.15), transparent 32%),
    linear-gradient(180deg, var(--efora-black) 0%, #12070b 62%, var(--efora-black) 100%);
}

.efora-site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(7, 3, 5, 0.88), rgba(7, 3, 5, 0.44));
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(244, 191, 98, 0.16);
}

.efora-header-inner {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.efora-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.efora-custom-logo img,
.efora-brand .custom-logo {
  max-height: 46px;
  width: auto;
  display: block;
}

.efora-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #170804;
  background: linear-gradient(135deg, var(--efora-gold-bright), var(--efora-gold));
  box-shadow: 0 0 32px rgba(244, 191, 98, 0.24);
}

.efora-brand-text { display: grid; line-height: 1.05; }
.efora-brand-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255, 225, 160, 0.78);
}
.efora-brand-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  color: var(--efora-ivory);
  white-space: nowrap;
}

.efora-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.efora-nav a {
  text-decoration: none;
  color: rgba(255, 244, 222, 0.84);
  padding: 10px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.efora-nav a:hover,
.efora-nav a:focus-visible {
  color: #fff;
  background: rgba(244, 191, 98, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.efora-nav .efora-all-channels {
  border: 1px solid rgba(244, 191, 98, 0.32);
  background: rgba(244, 191, 98, 0.10);
  color: var(--efora-gold-bright);
}

.efora-mobile-nav-toggle { display: none; }

.efora-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background-image: var(--efora-hero-image);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.efora-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,4,7,0.66) 0%, rgba(8,4,7,0.20) 28%, rgba(8,4,7,0.13) 52%, rgba(8,4,7,0.28) 74%, rgba(8,4,7,0.72) 100%),
    linear-gradient(180deg, rgba(8,4,7,0.42) 0%, rgba(8,4,7,var(--efora-hero-overlay, 0.34)) 47%, rgba(8,4,7,0.78) 100%);
  z-index: -4;
}

.efora-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12%;
  height: 38%;
  background: radial-gradient(ellipse at center, rgba(244, 191, 98, 0.44) 0%, rgba(244, 191, 98, 0.14) 34%, transparent 72%);
  filter: blur(18px);
  animation: eforaStageGlow 6.5s ease-in-out infinite alternate;
  z-index: -2;
}

.efora-theater-dust,
.efora-spotlight-left,
.efora-spotlight-right,
.efora-spotlight-sweep {
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.efora-theater-dust {
  opacity: 0.58;
  background-image:
    radial-gradient(circle, rgba(255, 229, 170, 0.58) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(255, 229, 170, 0.42) 0 1px, transparent 1.3px),
    radial-gradient(circle, rgba(255, 229, 170, 0.28) 0 1px, transparent 1.6px);
  background-size: 120px 120px, 170px 170px, 230px 230px;
  background-position: 10% 18%, 82% 24%, 46% 68%;
  animation: eforaDustFloat 22s linear infinite;
  z-index: -1;
}

.efora-spotlight-left {
  clip-path: polygon(10% 0, 22% 0, 58% 100%, 35% 100%);
  background: linear-gradient(90deg, transparent, rgba(255, 221, 154, 0.22), transparent);
  filter: blur(16px);
  opacity: 0.72;
  transform-origin: top left;
  animation: eforaSpotlightLeft 11s ease-in-out infinite alternate;
  z-index: -3;
}

.efora-spotlight-right {
  clip-path: polygon(78% 0, 91% 0, 66% 100%, 42% 100%);
  background: linear-gradient(90deg, transparent, rgba(255, 221, 154, 0.18), transparent);
  filter: blur(18px);
  opacity: 0.70;
  transform-origin: top right;
  animation: eforaSpotlightRight 12s ease-in-out infinite alternate;
  z-index: -3;
}

.efora-spotlight-sweep {
  width: 48%;
  left: -18%;
  right: auto;
  background: linear-gradient(94deg, transparent 0%, rgba(255, 228, 172, 0.12) 48%, transparent 100%);
  filter: blur(22px);
  transform: skewX(-16deg);
  animation: eforaSpotlightSweep 14s ease-in-out infinite;
  z-index: -2;
}

.efora-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding: 148px 0 64px;
}

.efora-hero-copy {
  max-width: 780px;
  padding-top: 4vh;
}

.efora-channel-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(244, 191, 98, 0.35);
  border-radius: 999px;
  background: rgba(8, 4, 7, 0.42);
  color: var(--efora-gold-bright);
  padding: 9px 14px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 800;
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.28);
}

.efora-channel-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--efora-gold);
  box-shadow: 0 0 18px rgba(244, 191, 98, 0.85);
}

.efora-hero h1 {
  margin: 20px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.94;
  letter-spacing: -0.055em;
  color: #fff8e8;
  text-shadow: 0 20px 70px rgba(0, 0, 0, 0.72);
}

.efora-subheadline-wrap {
  position: relative;
  max-width: 690px;
  margin-top: 24px;
  padding-bottom: 20px;
}

.efora-subheadline-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(390px, 72vw);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--efora-gold-bright), var(--efora-gold), transparent);
  background-size: 230% 100%;
  animation: eforaSubtitleShimmer 3.8s ease-in-out infinite;
}

.efora-hero p {
  margin: 0;
  font-size: clamp(17px, 2.0vw, 23px);
  line-height: 1.48;
  color: rgba(255, 244, 222, 0.88);
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.60);
}

.efora-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.efora-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.efora-button:hover,
.efora-button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.efora-button-primary {
  color: #180806;
  background: linear-gradient(135deg, #fff1be, var(--efora-gold));
  box-shadow: 0 18px 46px rgba(244, 191, 98, 0.28);
}

.efora-button-secondary {
  color: var(--efora-gold-bright);
  background: rgba(8, 4, 7, 0.46);
  border: 1px solid rgba(244, 191, 98, 0.36);
  backdrop-filter: blur(12px);
}

.efora-home-lower {
  position: relative;
  z-index: 5;
  margin-top: -96px;
  padding: 0 0 76px;
}

.efora-section-inner {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
}

.efora-cta-grid,
.efora-credibility-grid,
.efora-info-grid {
  display: grid;
  gap: 18px;
}

.efora-cta-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.efora-credibility-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.efora-info-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.efora-cta-card,
.efora-countdown,
.efora-credibility-card,
.efora-info-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--efora-border);
  border-radius: var(--efora-radius);
  background:
    linear-gradient(135deg, rgba(255, 225, 160, 0.10), transparent 36%),
    linear-gradient(180deg, rgba(22, 8, 10, 0.82), rgba(9, 4, 7, 0.74));
  box-shadow: var(--efora-shadow);
  backdrop-filter: blur(18px);
}

.efora-cta-card::before,
.efora-countdown::before,
.efora-credibility-card::before,
.efora-info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 22% 0%, rgba(244, 191, 98, 0.18), transparent 36%);
  pointer-events: none;
}

.efora-ornate-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: calc(var(--efora-radius) - 9px);
  border: 1px solid rgba(255, 225, 160, 0.10);
  pointer-events: none;
  opacity: 0.86;
}

.efora-card-corner {
  position: absolute;
  width: 54px;
  height: 54px;
  pointer-events: none;
  opacity: 0.55;
  background:
    linear-gradient(90deg, var(--efora-gold), transparent 68%) top left / 100% 1px no-repeat,
    linear-gradient(180deg, var(--efora-gold), transparent 68%) top left / 1px 100% no-repeat;
  filter: drop-shadow(0 0 10px rgba(244, 191, 98, 0.18));
}

.efora-card-corner-top { top: 18px; right: 18px; transform: rotate(90deg); }
.efora-card-corner-bottom { right: 18px; bottom: 18px; transform: rotate(180deg); }

.efora-cta-card:hover .efora-card-corner,
.efora-info-card:hover .efora-card-corner,
.efora-credibility-card:hover .efora-card-corner { opacity: 0.9; }

.efora-cta-card {
  display: block;
  text-decoration: none;
  padding: 26px;
  min-height: 176px;
  transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

.efora-cta-card:hover,
.efora-cta-card:focus-visible,
.efora-info-card:hover,
.efora-credibility-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 225, 160, 0.62);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.62), 0 0 36px rgba(244, 191, 98, 0.14);
  outline: none;
}

.efora-card-number,
.efora-info-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  color: #190705;
  background: linear-gradient(135deg, #fff1be, var(--efora-gold));
  box-shadow: 0 14px 34px rgba(244, 191, 98, 0.20);
  font-size: 18px;
  font-weight: 900;
}

.efora-cta-card h2,
.efora-info-card h3,
.efora-credibility-card h3 {
  position: relative;
  margin: 18px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.025em;
  color: #fff8e8;
}

.efora-cta-card h2 { font-size: 28px; }
.efora-info-card h3 { font-size: 23px; line-height: 1.12; }
.efora-credibility-card h3 { font-size: 21px; color: var(--efora-gold-bright); }

.efora-cta-card p,
.efora-info-card p,
.efora-credibility-card p {
  position: relative;
  margin: 0;
  color: rgba(255, 244, 222, 0.74);
  line-height: 1.62;
  font-size: 14px;
}

.efora-countdown-wrap { margin-top: 26px; }

.efora-countdown {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.efora-countdown-title { position: relative; }
.efora-countdown-title strong {
  display: block;
  color: var(--efora-gold-bright);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.20em;
}
.efora-countdown-title span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 244, 222, 0.72);
  font-size: 14px;
}

.efora-countdown-units {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(70px, 1fr));
  gap: 10px;
  min-width: min(100%, 560px);
}

.efora-time-unit {
  border: 1px solid rgba(244, 191, 98, 0.18);
  border-radius: 18px;
  background: rgba(8, 4, 7, 0.42);
  padding: 12px 10px;
  text-align: center;
}
.efora-time-unit b { display: block; font-size: 25px; line-height: 1; color: #fff7e6; }
.efora-time-unit small {
  display: block;
  margin-top: 7px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 225, 160, 0.70);
}

.efora-content-section { padding: 86px 0; }
.efora-section-heading {
  max-width: 840px;
  margin: 0 auto 32px;
  text-align: center;
}
.efora-section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1;
  letter-spacing: -0.045em;
  color: #fff8e8;
}
.efora-section-heading p {
  margin: 16px 0 0;
  color: rgba(255, 244, 222, 0.72);
  font-size: 17px;
  line-height: 1.65;
}

.efora-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: var(--efora-gold-bright);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.efora-section-kicker::before,
.efora-section-kicker::after {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--efora-gold));
}
.efora-section-kicker::after { background: linear-gradient(90deg, var(--efora-gold), transparent); }

.efora-network-section {
  position: relative;
  padding-top: 92px;
  background:
    radial-gradient(circle at 8% 0%, rgba(244, 191, 98, 0.12), transparent 28%),
    radial-gradient(circle at 90% 25%, rgba(121, 21, 37, 0.23), transparent 35%);
}
.efora-programming-section {
  position: relative;
  background:
    linear-gradient(180deg, rgba(75, 7, 16, 0.12), rgba(8, 4, 7, 0.16)),
    radial-gradient(circle at 50% 0%, rgba(244, 191, 98, 0.08), transparent 34%);
}
.efora-program-card {
  background:
    linear-gradient(145deg, rgba(244, 191, 98, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(38, 10, 14, 0.82), rgba(9, 4, 7, 0.78));
}
.efora-info-grid-four { margin-bottom: 10px; }
.efora-info-card { min-height: 236px; padding: 28px; transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease; }
.efora-credibility-card { padding: 26px; transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease; }

.efora-standard-content {
  width: min(940px, calc(100% - 40px));
  margin: 0 auto;
  padding: 138px 0 80px;
}
.efora-standard-content h1,
.efora-standard-content h2,
.efora-standard-content h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: #fff8e8;
}

.efora-site-footer {
  border-top: 1px solid rgba(244, 191, 98, 0.16);
  background: #070305;
  color: rgba(255, 244, 222, 0.62);
  padding: 32px 0;
  font-size: 13px;
}
.efora-footer-inner {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

@keyframes eforaDustFloat {
  0% { transform: translate3d(0, 0, 0); background-position: 10% 18%, 82% 24%, 46% 68%; }
  100% { transform: translate3d(-1.5%, -3%, 0); background-position: 18% 12%, 77% 18%, 52% 59%; }
}
@keyframes eforaSpotlightLeft {
  0% { transform: translateX(-3%) rotate(-1deg); opacity: 0.44; }
  100% { transform: translateX(4%) rotate(2deg); opacity: 0.78; }
}
@keyframes eforaSpotlightRight {
  0% { transform: translateX(4%) rotate(1.8deg); opacity: 0.38; }
  100% { transform: translateX(-4%) rotate(-1.5deg); opacity: 0.76; }
}
@keyframes eforaSpotlightSweep {
  0%, 17% { transform: translateX(0) skewX(-16deg); opacity: 0; }
  44% { opacity: 0.78; }
  72%, 100% { transform: translateX(290%) skewX(-16deg); opacity: 0; }
}
@keyframes eforaSubtitleShimmer {
  0% { background-position: 230% 0; opacity: 0.54; }
  50% { opacity: 1; }
  100% { background-position: -90% 0; opacity: 0.58; }
}
@keyframes eforaStageGlow {
  0% { opacity: 0.46; transform: scaleX(0.92); }
  100% { opacity: 0.82; transform: scaleX(1.08); }
}

@media (max-width: 1180px) {
  .efora-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  body.admin-bar .efora-site-header { top: 46px; }
  .efora-header-inner { min-height: 68px; width: min(100% - 28px, 1220px); }
  .efora-mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(244, 191, 98, 0.32);
    background: rgba(8, 4, 7, 0.46);
    color: var(--efora-gold-bright);
    border-radius: 999px;
    padding: 10px 13px;
    font-weight: 800;
  }
  .efora-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(244, 191, 98, 0.18);
    border-radius: 20px;
    background: rgba(8, 4, 7, 0.95);
    box-shadow: 0 24px 70px rgba(0,0,0,.45);
  }
  .efora-nav.is-open { display: flex; }
  .efora-nav a { border-radius: 14px; padding: 12px 14px; }
  .efora-hero { min-height: 100svh; background-position: center center; }
  .efora-hero-inner { width: min(100% - 28px, 1220px); padding-top: 128px; padding-bottom: 118px; }
  .efora-hero-copy { max-width: 100%; padding-top: 2vh; }
  .efora-hero h1 { font-size: clamp(42px, 14vw, 68px); }
  .efora-home-lower { margin-top: -82px; }
  .efora-section-inner { width: min(100% - 28px, 1220px); }
  .efora-cta-grid,
  .efora-info-grid,
  .efora-credibility-grid { grid-template-columns: 1fr; }
  .efora-countdown { align-items: flex-start; flex-direction: column; }
  .efora-countdown-units { width: 100%; grid-template-columns: repeat(5, minmax(0, 1fr)); min-width: 0; }
  .efora-time-unit { padding: 10px 6px; border-radius: 14px; }
  .efora-time-unit b { font-size: 21px; }
  .efora-time-unit small { font-size: 8px; letter-spacing: 0.08em; }
}

@media (max-width: 560px) {
  .efora-brand-kicker { display: none; }
  .efora-brand-title { font-size: 18px; }
  .efora-brand-mark { width: 38px; height: 38px; }
  .efora-channel-pill { max-width: 100%; white-space: normal; letter-spacing: 0.14em; }
  .efora-hero-actions { flex-direction: column; }
  .efora-button { width: 100%; }
  .efora-countdown-units { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .efora-time-unit:last-child { grid-column: 1 / -1; }
  .efora-content-section { padding: 58px 0; }
  .efora-card-corner { width: 42px; height: 42px; }
}

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