:root {
  color-scheme: dark;
  --bg: #050607;
  --bg-2: #0b0e11;
  --surface: rgba(18, 21, 24, 0.78);
  --surface-strong: rgba(27, 30, 34, 0.92);
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.07);
  --text: #f6f7f7;
  --muted: #a9afb7;
  --dim: #707780;
  --gold: #f2d390;
  --gold-2: #caa15a;
  --blue: #86b8ff;
  --success: #9fe6ad;
  --danger: #ff9d9d;
  --radius: 8px;
  --font: "Inter", "Noto Sans SC", system-ui, sans-serif;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 70% 8%, rgba(126, 145, 162, 0.16), transparent 30%),
    radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.06), transparent 24%),
    linear-gradient(180deg, #050607 0%, #07090b 40%, #050607 100%);
  color: var(--text);
  font-family: var(--font);
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 84px;
  mask-image: linear-gradient(180deg, black, transparent 72%);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

/* Course preview and publishing workflow */
.video-card {
  cursor: pointer;
}

.more-empty,
.admin-empty {
  margin: 0;
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.storage-status {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.storage-status[data-mode="server"] {
  border-color: rgba(159, 230, 173, 0.28);
  color: var(--success);
}

.admin-auth {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.admin-auth input {
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.course-form {
  display: grid;
  gap: 22px;
  margin-bottom: 34px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.course-fields,
.course-file-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.course-fields label {
  display: grid;
  gap: 9px;
  color: #e8ebee;
}

.course-fields input,
.course-fields textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.course-fields textarea {
  min-height: 104px;
  padding-block: 12px;
  resize: vertical;
}

.course-fields input:focus,
.course-fields textarea:focus {
  border-color: rgba(242, 211, 144, 0.62);
}

.course-file-grid .upload-drop {
  min-height: 150px;
  margin: 0;
  padding: 20px;
}

.course-file-grid .upload-drop.compact {
  background: rgba(255, 255, 255, 0.02);
}

.publish-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  border: 1px solid rgba(242, 211, 144, 0.2);
  border-radius: 10px;
  background: rgba(242, 211, 144, 0.05);
}

.publish-row strong,
.publish-row span,
.admin-list-head span,
.admin-list-head strong,
.upload-copy strong,
.upload-copy em {
  display: block;
}

.publish-row span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.publish-row .gold-btn {
  flex: 0 0 auto;
}

.admin-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.admin-list-head span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
}

.member-admin-head {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.member-total {
  color: var(--success) !important;
}

.payment-list {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--line-soft);
  gap: 1px;
}

.payment-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 14px 18px;
  background: rgba(9, 11, 13, 0.92);
}

.payment-copy strong,
.payment-copy span {
  display: block;
}

.payment-copy span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.upload-list .upload-copy {
  display: block;
  min-height: auto;
  padding: 0;
  background: transparent;
}

.upload-copy em {
  margin-top: 6px;
}

.course-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.course-actions .icon-btn {
  width: 36px;
  min-width: 36px;
  min-height: 36px;
  border: 1px solid var(--line-soft);
}

.course-actions .icon-btn:disabled {
  cursor: default;
  opacity: 0.28;
  transform: none;
}

.publish-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.publish-switch input {
  width: 16px;
  height: 16px;
  accent-color: var(--gold-2);
}

.danger-btn {
  color: var(--danger);
}

.admin-mode main > section:not([data-admin-section]) {
  display: none;
}

.admin-mode [data-admin-section] {
  min-height: calc(100vh - 86px);
  padding-top: 46px;
}

.admin-mode .nav-links,
.admin-mode .nav-actions .ghost-btn {
  visibility: hidden;
}

.preview-modal {
  width: min(94vw, 920px);
  max-width: none;
  padding: 0;
  overflow: hidden;
}

.preview-shell {
  position: relative;
}

.preview-stage {
  position: relative;
  display: grid;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  place-items: center;
  background: #030405;
}

.preview-stage::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.68));
}

.preview-stage img,
.preview-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-stage video {
  position: relative;
  z-index: 2;
  background: #000;
}

.preview-start {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(8, 10, 12, 0.76);
  color: #fff;
  backdrop-filter: blur(14px);
}

.preview-start i {
  color: var(--gold);
  font-size: 21px;
}

.preview-info {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  padding: 24px 28px 18px;
}

.preview-info .eyebrow {
  margin-bottom: 8px;
}

.preview-info h2 {
  margin: 0;
  font-size: 28px;
}

.preview-limit {
  flex: 0 0 auto;
  text-align: right;
}

.preview-limit span,
.preview-limit strong {
  display: block;
}

.preview-limit span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
}

.preview-limit strong {
  color: var(--gold);
  font-size: 20px;
}

.preview-limit b {
  font-size: 30px;
}

.preview-timeline {
  height: 4px;
  margin: 0 28px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.preview-timeline span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--gold);
}

.preview-note {
  margin: 0;
  padding: 15px 28px 24px;
  color: var(--muted);
  font-size: 13px;
}

.preview-modal .modal-close {
  z-index: 5;
  background: rgba(0, 0, 0, 0.62);
}

@media (max-width: 680px) {
  .course-fields,
  .course-file-grid {
    grid-template-columns: 1fr;
  }

  .publish-row,
  .preview-info {
    align-items: stretch;
    flex-direction: column;
  }

  .publish-row .gold-btn {
    width: 100%;
  }

  .preview-limit {
    text-align: left;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 86px;
  padding: 0 40px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(5, 6, 7, 0.62);
  backdrop-filter: blur(24px);
  transition: border-color 180ms ease, background 180ms ease;
}

.topbar[data-elevated="true"] {
  border-bottom-color: var(--line);
  background: rgba(5, 6, 7, 0.9);
}

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

.brand-text-only strong {
  font-size: 18px;
}

.brand-split {
  gap: 14px;
}

.brand-logo-text {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--gold);
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
  letter-spacing: 0;
  line-height: 1;
}

.brand-logo-text span,
.brand-logo-text em {
  display: inline-flex;
  align-items: center;
}

.brand-logo-text em {
  min-height: 20px;
  padding: 0 7px;
  border-radius: 6px;
  background: var(--gold);
  color: #11100c;
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0;
  line-height: 1;
}

.brand-tagline {
  color: #f5f6f7;
  font-size: 17px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 52px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02));
  color: var(--gold);
  font-weight: 800;
}

.brand-word {
  font-size: 14px;
  letter-spacing: 0;
}

.brand strong {
  display: block;
  font-size: 20px;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 54px;
  color: #d7dade;
  font-size: 15px;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #fff;
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.mobile-menu {
  display: none;
}

.ghost-btn,
.outline-btn,
.glass-btn,
.primary-btn,
.gold-btn,
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.ghost-btn {
  padding: 0 14px;
  background: transparent;
  color: #eef0f2;
}

.outline-btn,
.glass-btn {
  padding: 0 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: #f5f5f5;
}

.primary-btn {
  min-width: 210px;
  padding: 0 24px;
  background: #f7f7f5;
  color: #090a0c;
  font-weight: 700;
}

.gold-btn {
  min-width: 232px;
  padding: 0 26px;
  background: linear-gradient(180deg, #ffe5a4, #d4aa62);
  box-shadow: 0 12px 36px rgba(200, 153, 65, 0.28);
  color: #11100c;
  font-weight: 800;
}

.compact {
  min-width: 140px;
  min-height: 38px;
  padding: 0 16px;
}

.full {
  width: 100%;
}

.slim {
  min-height: 38px;
  padding: 0 14px;
}

.icon-btn {
  width: 42px;
  min-width: 42px;
  padding: 0;
  border: 1px solid transparent;
  background: transparent;
  color: #f6f7f7;
}

.ghost-btn:hover,
.outline-btn:hover,
.glass-btn:hover,
.primary-btn:hover,
.gold-btn:hover,
.icon-btn:hover {
  transform: translateY(-1px);
}

.outline-btn:hover,
.glass-btn:hover,
.icon-btn:hover {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
}

.section-band {
  position: relative;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 86px 84px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  column-gap: clamp(48px, 5.6vw, 92px);
  align-items: center;
  min-height: 640px;
  padding-top: 40px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line-soft);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 690px;
  margin-bottom: 24px;
  font-size: clamp(48px, 6vw, 86px);
  line-height: 1.08;
  font-weight: 900;
}

.hero-slogan {
  max-width: 690px;
  font-size: clamp(40px, 4.1vw, 62px);
  line-height: 1.12;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.16;
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.hero-lede {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.9;
}

.benefit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-bottom: 28px;
  color: #e6e8eb;
}

.benefit-row span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #e9ebee;
  font-size: 14px;
}

.benefit-row i {
  color: var(--gold);
  font-size: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 24px;
}

.campaign-strip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 22px;
  border: 1px solid rgba(242, 211, 144, 0.28);
  border-radius: var(--radius);
  background: rgba(12, 13, 15, 0.64);
  color: var(--gold);
  font-weight: 700;
}

.campaign-strip i {
  font-size: 22px;
}

.hero-visual {
  position: relative;
  min-height: 440px;
  margin-right: -110px;
}

.hero-visual::before {
  position: absolute;
  inset: 8% 0 0 12%;
  content: "";
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 54%);
  filter: blur(16px);
}

.hero-visual img {
  position: absolute;
  right: -6%;
  bottom: 0;
  width: min(900px, 118%);
  max-width: none;
  filter: drop-shadow(0 32px 80px rgba(0, 0, 0, 0.58));
}

.status-pill {
  position: absolute;
  right: 120px;
  top: 70px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(12, 14, 16, 0.7);
  color: #f2f4f6;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  font-size: 13px;
}

.status-live span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 16px var(--success);
}



.hero-video-panel {
  position: relative;
  z-index: 2;
  align-self: center;
}

.hero-video-panel h2 {
  max-width: 680px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.12;
  font-weight: 900;
}

.hero-video-frame {
  overflow: hidden;
  border: 1px solid rgba(242, 211, 144, 0.26);
  border-radius: 8px;
  background: #020304;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.52);
}

.hero-video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
}

.intro-band,
.preview-band,
.more-band,
.pricing-band,
.admin-band {
  border-bottom: 1px solid var(--line-soft);
}

.preview-band {
  padding-top: 52px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.center {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.compact-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.compact-section-title h2 {
  margin: 0;
  font-size: 34px;
}

.compact-section-title span {
  color: var(--muted);
  font-size: 14px;
}

.case-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.case-heading h2 {
  margin-bottom: 0;
}

.more-top-btn {
  min-width: 260px;
}

.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
}

.curriculum-grid.curriculum-simple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.curriculum-simple .lesson {
  min-height: 180px;
}

.lesson {
  min-height: 220px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
}

.lesson.active {
  background:
    linear-gradient(180deg, rgba(134, 184, 255, 0.16), rgba(255, 255, 255, 0.03)),
    #101419;
}

.lesson span {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-weight: 800;
}

.lesson p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.video-card {
  position: relative;
  display: grid;
  align-content: end;
  overflow: hidden;
  min-height: 330px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #080b0e;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
}

.video-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.88)),
    radial-gradient(circle at 30% 10%, rgba(134, 184, 255, 0.16), transparent 38%);
}

.video-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
  transition: transform 360ms ease, opacity 360ms ease;
}

.video-card:hover img,
.video-card.active img {
  transform: scale(1.04);
  opacity: 0.82;
}

.video-card > div:not(.video-progress) {
  position: relative;
  z-index: 2;
  padding-right: 54px;
}

.video-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.video-card h3 {
  font-size: 22px;
}

.video-card p {
  margin: 0;
  color: #c4cad1;
  line-height: 1.65;
}

.video-play {
  position: absolute;
  right: 20px;
  bottom: 72px;
  z-index: 3;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 20px;
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, background 180ms ease;
}

.video-play:hover {
  transform: scale(1.04);
  background: rgba(255, 255, 255, 0.16);
}

.video-progress {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 3;
  overflow: hidden;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.video-progress span {
  display: block;
  width: 0;
  height: 100%;
  margin: 0;
  border-radius: inherit;
  background: var(--gold);
  transition: width 500ms ease;
}

.video-card.active .video-progress span {
  width: 6.7%;
}

.more-entry {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-top: 34px;
  text-align: center;
}

.more-entry p {
  margin: 0;
  color: var(--muted);
}

.more-video-list {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line-soft);
}

.more-video-list button {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 76px;
  padding: 0 24px;
  border: 0;
  background: rgba(9, 11, 13, 0.9);
  color: var(--text);
  text-align: left;
}

.more-video-list button + button {
  border-top: 1px solid var(--line-soft);
}

.more-video-list button:hover {
  background: rgba(255, 255, 255, 0.055);
}

.more-video-list span {
  color: var(--gold);
  font-weight: 800;
}

.more-video-list em {
  color: var(--muted);
  font-style: normal;
}

.video-module {
  display: grid;
  grid-template-columns: 280px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(11, 14, 17, 0.72);
  box-shadow: var(--shadow);
}

.chapter-list {
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  background: rgba(4, 6, 8, 0.48);
}

.chapter-list-head,
.console-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.chapter-list-head span {
  color: var(--gold);
  font-size: 12px;
}

.chapter {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: 32px 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 66px;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #f3f5f6;
  text-align: left;
}

.chapter + .chapter {
  margin-top: 6px;
}

.chapter.selected {
  background: rgba(134, 184, 255, 0.17);
}

.chapter.locked {
  color: #a3aab2;
}

.chapter strong {
  display: block;
  font-size: 14px;
}

.chapter small {
  grid-column: 2;
  color: var(--dim);
  font-size: 12px;
}

.chapter i {
  grid-row: 1 / span 2;
  grid-column: 3;
  color: var(--dim);
}

.player-panel {
  min-width: 0;
}

.player-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 8.4;
  background: #06080a;
}

.player-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}

.player-screen::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at center, transparent 0 18%, rgba(0, 0, 0, 0.22) 50%);
}

.lock-overlay,
.unlock-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
}

.lock-overlay i,
.unlock-overlay i {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  background: rgba(7, 9, 11, 0.76);
  color: #fff;
  font-size: 30px;
}

.unlock-overlay i {
  color: var(--success);
}

.lock-overlay span,
.unlock-overlay span {
  color: #d5d9de;
}

.player-controls {
  display: grid;
  grid-template-columns: 42px 1fr auto 42px 42px;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 0 22px;
  border-top: 1px solid var(--line);
}

.timeline {
  overflow: hidden;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.timeline span {
  display: block;
  width: 1.3%;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
  transition: width 420ms ease;
}

.player-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.player-note i {
  color: var(--gold);
  font-size: 20px;
}

.pricing-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 42px 52px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
    rgba(13, 15, 18, 0.72);
  box-shadow: var(--shadow);
}

.payment-preview {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 22px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(242, 211, 144, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.payment-preview img,
.checkout-qr img {
  width: 132px;
  aspect-ratio: 1;
  border-radius: 10px;
  background: #fff;
  object-fit: cover;
}

.payment-preview strong,
.checkout-qr strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 18px;
}

.payment-preview span,
.payment-preview small,
.checkout-qr span {
  display: block;
  color: var(--muted);
  line-height: 1.7;
}

.payment-preview small {
  margin-top: 4px;
}

.price-main > span {
  color: #f7f7f5;
  font-size: 20px;
  font-weight: 700;
}

.price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 22px 0 14px;
}

.price-line small {
  color: var(--gold);
  font-size: 30px;
  font-weight: 700;
}

.price-line strong {
  color: #ffe8b1;
  font-size: clamp(56px, 8vw, 78px);
  line-height: 0.9;
}

.price-line em {
  color: #f2f2ef;
  font-style: normal;
  font-weight: 600;
}

mark {
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(242, 211, 144, 0.16);
  color: var(--gold);
}

.price-main p,
.price-action span {
  color: var(--muted);
}

.price-action {
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 14px;
}

.price-action span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
}

.included-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.included-list span,
.checkout-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #eef1f3;
}

.included-list i,
.checkout-benefits i {
  color: var(--gold);
}

.admin-console {
  display: grid;
  grid-template-columns: 260px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(11, 13, 15, 0.72);
  box-shadow: var(--shadow);
}

.console-sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
}

.console-sidebar strong {
  margin-bottom: 16px;
}

.console-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  text-align: left;
}

.console-nav.active,
.console-nav:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.console-main {
  padding: 28px;
}

.console-toolbar {
  min-height: 54px;
}

.console-toolbar span {
  display: block;
  margin-bottom: 6px;
  color: var(--dim);
  font-size: 12px;
}

.upload-drop {
  display: grid;
  place-items: center;
  min-height: 170px;
  margin-bottom: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: #eff2f4;
  text-align: center;
}

.upload-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.upload-drop i {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 36px;
}

.upload-drop span {
  margin-top: 8px;
  color: var(--muted);
}

.settings-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}

.settings-row label {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: #e9ecef;
}

input[type="number"],
.modal input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding: 0 12px;
}

.toggle-row {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.toggle-row input {
  position: absolute;
  opacity: 0;
}

.toggle-row span {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}

.toggle-row span::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  content: "";
  transition: transform 160ms ease;
}

.toggle-row input:checked + span {
  background: rgba(159, 230, 173, 0.42);
}

.toggle-row input:checked + span::after {
  transform: translateX(20px);
}

.upload-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: var(--line-soft);
}

.upload-list div {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 0 18px;
  background: rgba(9, 11, 13, 0.88);
}

.upload-list span {
  color: var(--gold);
  font-weight: 800;
}

.upload-list em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 72px 24px 24px;
  background: rgba(5, 6, 7, 0.96);
}

.mobile-drawer a {
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 22px;
  font-weight: 700;
}

.close-drawer {
  position: absolute;
  top: 20px;
  right: 20px;
}

.modal {
  width: min(92vw, 460px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    #0c0f12;
  box-shadow: 0 44px 120px rgba(0, 0, 0, 0.64);
  color: var(--text);
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.modal form {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 32px;
}

.modal h2 {
  margin-bottom: 2px;
  font-size: 28px;
}

.modal label {
  display: grid;
  gap: 8px;
  color: #dce0e4;
}

.member-session {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(159, 230, 173, 0.28);
  border-radius: 8px;
  background: rgba(159, 230, 173, 0.06);
}

.member-session span {
  color: var(--muted);
  font-size: 13px;
}

.is-member > label,
.is-member > .primary-btn {
  display: none;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.checkout-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.checkout-qr {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(242, 211, 144, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.payer-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 680px) {
  .payment-list > div {
    align-items: stretch;
    flex-direction: column;
  }

  .payment-list .gold-btn {
    width: 100%;
  }
}

.checkout-summary strong {
  color: #ffe4a1;
  font-size: 34px;
}

.checkout-benefits {
  display: grid;
  gap: 12px;
}

.modal small,
.modal-copy {
  color: var(--muted);
  line-height: 1.7;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(159, 230, 173, 0.35);
  border-radius: 8px;
  background: rgba(12, 18, 14, 0.94);
  box-shadow: var(--shadow);
  color: #effff1;
}

.toast i {
  color: var(--success);
  font-size: 22px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1080px) {
  .topbar {
    grid-template-columns: 1fr auto;
    padding: 0 22px;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 24px;
  }

  .section-band {
    padding: 70px 24px;
  }

  .case-heading {
    align-items: start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 52px;
  }

  .hero-video-panel {
    margin-top: 32px;
  }

  .hero-video-panel h2 {
    max-width: none;
  }

  .hero-visual {
    min-height: 430px;
    margin: 26px -60px 0 0;
  }

  .hero-visual img {
    right: -20%;
    width: min(840px, 132%);
  }

  .curriculum-grid,
  .video-grid,
  .included-list,
  .settings-row {
    grid-template-columns: 1fr 1fr;
  }

  .curriculum-grid.curriculum-simple {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .video-module,
  .admin-console,
  .pricing-card {
    grid-template-columns: 1fr;
  }

  .chapter-list,
  .console-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .price-action {
    justify-items: start;
  }
}

@media (max-width: 680px) {
  .topbar {
    height: 76px;
  }

  .brand small {
    display: none;
  }

  .section-band {
    padding: 54px 18px;
  }

  h1 {
    font-size: 43px;
  }

  .hero-slogan {
    font-size: 34px;
    line-height: 1.18;
  }

  .hero-lede {
    font-size: 16px;
  }

  .primary-btn,
  .gold-btn,
  .glass-btn {
    width: 100%;
  }

  .brand-text-only strong {
    font-size: 22px;
    line-height: 1.15;
  }

  .brand-split {
    gap: 10px;
  }

  .brand-logo-text {
    font-size: 18px;
  }

  .brand-tagline {
    font-size: 18px;
  }

  .hero-visual {
    min-height: 300px;
    margin-right: -110px;
  }

  .status-pill {
    right: 130px;
    top: 26px;
  }

  .curriculum-grid,
  .video-grid,
  .included-list,
  .settings-row {
    grid-template-columns: 1fr;
  }

  .curriculum-grid.curriculum-simple {
    grid-template-columns: 1fr;
  }

  .video-card {
    min-height: 290px;
  }

  .more-video-list button {
    grid-template-columns: 38px 1fr;
    padding: 16px;
  }

  .more-video-list em {
    grid-column: 2;
  }

  .video-module {
    border-radius: 10px;
  }

  .player-controls {
    grid-template-columns: 42px 1fr auto;
  }

  .player-controls .icon-btn:nth-last-child(-n + 2) {
    display: none;
  }

  .pricing-card {
    padding: 28px 22px;
  }

  .payment-preview,
  .checkout-qr,
  .payer-form {
    grid-template-columns: 1fr;
  }

  .payment-preview img,
  .checkout-qr img {
    width: min(100%, 260px);
    justify-self: center;
  }

  .upload-list div {
    grid-template-columns: 34px 1fr;
    padding-block: 14px;
  }

  .upload-list em,
  .course-actions {
    grid-column: 2;
  }

  .course-actions {
    justify-content: flex-start;
  }

  .brand-tagline {
    max-width: 190px;
    font-size: 16px;
    line-height: 1.2;
  }
}

.brand-logo-text{white-space:nowrap;line-height:1;min-height:38px;padding:0 16px;}

.brand-logo-text{min-height:auto!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;}
