:root {
  --accent: #6f35d5;
  --accent-dark: #45208f;
  --orange: #ff8a00;
  --orange-soft: #fff0d8;
  --ink: #21183a;
  --muted: #716a80;
  --paper: #fffaf2;
  --card: #ffffff;
  --line: #eee5f4;
  --shadow: 0 24px 70px rgba(67, 38, 105, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 7%, color-mix(in srgb, var(--orange) 10%, transparent), transparent 24rem),
    radial-gradient(circle at 90% 24%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 28rem),
    var(--paper);
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
  line-height: 1.8;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  height: 88px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(145deg, #8c4df0, var(--accent-dark));
  border: 3px solid white;
  border-radius: 50% 50% 48% 52%;
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 900;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 32%, transparent);
}
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { font-size: 1.08rem; font-weight: 900; }
.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: .62rem;
  direction: ltr;
  letter-spacing: .06em;
}
.header-nav { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: .86rem; }
.header-nav a { transition: color .2s; }
.header-nav a:hover { color: var(--accent); }
.admin-link {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
}

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 570px;
  margin: 18px auto 86px;
  padding: clamp(34px, 6vw, 76px);
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 42px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #fff 0%, #fffaf5 55%, #f4ecff 100%);
  border: 1px solid rgba(111, 53, 213, .11);
  border-radius: 42px;
  box-shadow: var(--shadow);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 430px;
  height: 430px;
  inset: auto -130px -170px auto;
  background: color-mix(in srgb, var(--accent) 12%, white);
}
.hero::after {
  width: 110px;
  height: 110px;
  inset: 26px auto auto 31%;
  background: color-mix(in srgb, var(--orange) 12%, white);
}
.hero-copy { position: relative; z-index: 5; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 900;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 4px;
  background: var(--orange);
  border-radius: 99px;
}
.hero h1 {
  max-width: 650px;
  margin: 14px 0 21px;
  font-size: clamp(2.7rem, 5.8vw, 5.4rem);
  line-height: 1.18;
  letter-spacing: -.055em;
}
.hero h1::after {
  content: "";
  width: .18em;
  height: .18em;
  display: inline-block;
  margin-right: .08em;
  background: var(--orange);
  border-radius: 50%;
}
.hero-copy > p {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 2.05;
}
.hero-actions {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.primary-button {
  padding: 14px 22px;
  display: inline-flex;
  gap: 14px;
  align-items: center;
  color: white;
  background: linear-gradient(135deg, #8447e7, var(--accent-dark));
  border-radius: 15px;
  font-weight: 900;
  box-shadow: 0 13px 30px color-mix(in srgb, var(--accent) 30%, transparent);
  transition: transform .2s, filter .2s;
}
.primary-button:hover { transform: translateY(-3px); filter: brightness(1.06); }
.free-note { color: var(--muted); font-size: .8rem; }
.free-note b { color: var(--orange); }
.learning-tags {
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  list-style: none;
}
.learning-tags li {
  padding: 5px 12px;
  color: var(--accent-dark);
  background: #f4edff;
  border: 1px solid #e6d7fb;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
}

.hero-art {
  min-height: 410px;
  position: relative;
  display: grid;
  place-items: center;
  z-index: 2;
}
.hero-art::before {
  content: "";
  width: min(370px, 88%);
  aspect-ratio: 1;
  position: absolute;
  border: 2px dashed color-mix(in srgb, var(--accent) 20%, transparent);
  border-radius: 50%;
}
.hero-art img {
  width: min(440px, 100%);
  max-height: 440px;
  position: relative;
  z-index: 3;
  object-fit: contain;
  border-radius: 50%;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 28px 26px rgba(38, 20, 74, .13));
}
.speech-bubble,
.word-card {
  position: absolute;
  z-index: 4;
  color: var(--accent-dark);
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 12px 26px rgba(52, 30, 90, .11);
}
.speech-bubble {
  top: 12%;
  right: 4%;
  padding: 8px 16px;
  border-radius: 18px 18px 4px 18px;
  color: var(--orange);
  font: 900 1rem/1.2 "Segoe UI", Arial, sans-serif;
}
.word-card {
  padding: 7px 11px;
  border-radius: 9px;
  font: 800 .62rem/1.2 "Segoe UI", Arial, sans-serif;
  letter-spacing: .1em;
}
.word-card-one { left: 5%; top: 35%; rotate: -7deg; }
.word-card-two { right: 7%; bottom: 18%; rotate: 6deg; }

.video-section,
.watch-page,
.promise-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.video-section { padding-bottom: 92px; }
.section-heading {
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.section-heading h2 {
  margin: 7px 0 0;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  letter-spacing: -.025em;
}
.video-count {
  padding: 8px 14px;
  color: var(--muted);
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .82rem;
}
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.video-card {
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 25px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.video-card:hover {
  transform: translateY(-7px);
  border-color: color-mix(in srgb, var(--accent) 38%, var(--line));
  box-shadow: var(--shadow);
}
.thumbnail {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background: #f2ebfb;
}
.thumbnail > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.video-card:hover .thumbnail > img { transform: scale(1.035); }
.thumbnail-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f7f0ff, #fff4e4);
}
.thumbnail-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}
.play-badge {
  width: 52px;
  height: 52px;
  position: absolute;
  inset: 50% auto auto 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--orange), #ff6b00);
  border: 4px solid rgba(255,255,255,.95);
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(28, 16, 44, .24);
}
.play-badge i {
  width: 0;
  height: 0;
  margin-right: -3px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 10px solid white;
}
.duration {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 3px 8px;
  color: white;
  background: rgba(27, 20, 39, .78);
  border-radius: 7px;
  font-size: .72rem;
  direction: ltr;
}
.video-card-body { padding: 21px; }
.video-card h3 { margin-bottom: 8px; font-size: 1.16rem; }
.video-card p { min-height: 52px; margin-bottom: 17px; color: var(--muted); font-size: .88rem; }
.watch-link { color: var(--accent); font-size: .83rem; font-weight: 900; }

.promise-section {
  min-height: 380px;
  margin-bottom: 100px;
  padding: 36px clamp(28px, 6vw, 74px);
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 50px;
  overflow: hidden;
  background: linear-gradient(135deg, #2d1657, #6a2dc6);
  border-radius: 36px;
  color: white;
  box-shadow: 0 26px 70px rgba(53, 27, 91, .2);
}
.promise-art { height: 320px; display: grid; place-items: center; }
.promise-art img {
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  mix-blend-mode: screen;
  filter: drop-shadow(0 20px 25px rgba(18, 7, 34, .25));
}
.promise-copy { max-width: 610px; }
.promise-copy .eyebrow { color: #ffd496; }
.promise-copy h2 { margin: 10px 0 14px; font-size: clamp(2rem, 4vw, 3.5rem); }
.promise-copy p { color: #e9dcfa; line-height: 2.05; }
.text-link { color: #ffd496; font-weight: 900; }

.watch-page { padding: 52px 0 100px; }
.back-link { display: inline-block; margin-bottom: 34px; color: var(--muted); font-size: .88rem; }
.back-link:hover { color: var(--accent); }
.watch-heading { max-width: 850px; margin-bottom: 28px; }
.watch-heading h1 {
  margin: 7px 0 12px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.25;
  letter-spacing: -.04em;
}
.watch-heading p { color: var(--muted); font-size: 1.02rem; }
.player-shell {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0d0b14;
  border: 6px solid white;
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(13, 11, 20, .18);
}
.player-shell iframe { width: 100%; height: 100%; border: 0; }
.video-description { max-width: 820px; margin-top: 42px; }
.video-description h2 { font-size: 1.35rem; }
.video-description p { color: var(--muted); line-height: 2.1; }

.empty-state {
  padding: 70px 24px;
  text-align: center;
  color: var(--muted);
  background: white;
  border: 1px dashed #c9c4d7;
  border-radius: 26px;
}
.empty-state > span { font-size: 2rem; color: var(--accent); }
.empty-state h3 { margin: 14px 0 6px; color: var(--ink); }
.message {
  width: min(1180px, calc(100% - 40px));
  margin: 14px auto;
  padding: 12px 16px;
  background: #e6f8ea;
  border-radius: 12px;
}
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
  padding: 28px 0 40px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: .8rem;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-bottom: 18px; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions, .learning-tags { justify-content: center; }
  .hero-art { min-height: 350px; }
  .hero-art img { max-height: 360px; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .promise-section { grid-template-columns: .85fr 1.15fr; }
}

@media (max-width: 620px) {
  .site-header { height: 72px; }
  .header-nav > a:first-child, .admin-link { display: none; }
  .hero {
    width: min(100% - 24px, 1180px);
    min-height: auto;
    margin-top: 8px;
    padding: 40px 22px 12px;
    border-radius: 28px;
  }
  .hero h1 { font-size: 2.45rem; }
  .hero-copy > p { font-size: .94rem; }
  .hero-actions { flex-direction: column; }
  .hero-art { min-height: 285px; }
  .hero-art img { max-height: 300px; }
  .speech-bubble { top: 5%; right: 0; }
  .video-section, .watch-page, .promise-section { width: min(100% - 24px, 1180px); }
  .video-grid { grid-template-columns: 1fr; }
  .section-heading { align-items: center; }
  .promise-section {
    padding: 36px 24px;
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
    border-radius: 28px;
  }
  .promise-section .eyebrow { justify-content: center; }
  .promise-art { height: 230px; order: 2; }
  .player-shell { border-width: 3px; border-radius: 18px; }
  .site-footer { width: min(100% - 24px, 1180px); flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
