:root {
  --ink: #f8fafc;
  --muted: #c9b98d;
  --line: rgba(245, 197, 91, 0.24);
  --paper: #070707;
  --wash: #111111;
  --navy: #0b0b0b;
  --blue: #d6a83f;
  --green: #20a66a;
  --gold: #f5c55b;
  --deep-gold: #b98224;
  --shadow: 0 22px 52px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(245, 197, 91, 0.12), transparent 32%),
    linear-gradient(180deg, #050505 0%, #101010 48%, #050505 100%);
}

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

.site-header {
  align-items: center;
  background: rgba(5, 5, 5, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  min-height: 112px;
  padding: 14px clamp(18px, 5vw, 68px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 24px;
  font-weight: 850;
  gap: 14px;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--gold), var(--deep-gold));
  background-position: center;
  background-size: cover;
  border-radius: 50%;
  color: #050505;
  display: inline-flex;
  height: 82px;
  justify-content: center;
  width: 82px;
}

.brand-mark.has-image {
  color: transparent;
}

.top-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 2.4vw, 30px);
  font-size: 17px;
  font-weight: 700;
}

.top-nav a {
  color: #f8fafc;
}

.cart-link span {
  background: var(--gold);
  border-radius: 999px;
  color: #050505;
  display: inline-flex;
  font-size: 12px;
  justify-content: center;
  margin-left: 4px;
  min-width: 20px;
  padding: 2px 6px;
}

.admin-toggle {
  background: linear-gradient(135deg, var(--gold), var(--deep-gold));
  border: 0;
  border-radius: 8px;
  color: #050505;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  min-height: 42px;
  padding: 10px 16px;
}

.action-menu {
  position: relative;
}

.menu-dot-btn {
  align-items: center;
  background: linear-gradient(135deg, var(--gold), var(--deep-gold));
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  height: 44px;
  justify-content: center;
  padding: 0;
  width: 44px;
}

.menu-dot-btn span {
  background: #050505;
  border-radius: 50%;
  display: block;
  height: 5px;
  width: 5px;
}

.action-menu-panel {
  background: #101010;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.42);
  display: none;
  min-width: 188px;
  padding: 8px;
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  z-index: 25;
}

.action-menu.open .action-menu-panel {
  display: grid;
  gap: 6px;
}

.action-menu-panel button {
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #f8fafc;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  padding: 12px 14px;
  text-align: left;
}

.action-menu-panel button:hover,
.action-menu-panel button:focus-visible {
  background: rgba(245, 197, 91, 0.14);
  color: var(--gold);
  outline: none;
}

.hero {
  align-items: center;
  background: #050505;
  display: flex;
  min-height: 670px;
  overflow: hidden;
  padding: 64px clamp(20px, 7vw, 110px);
  position: relative;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.76) 45%, rgba(0, 0, 0, 0.28) 100%),
    radial-gradient(circle at 18% 20%, rgba(245, 197, 91, 0.22), transparent 28%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-copy {
  max-width: 620px;
  position: relative;
  z-index: 3;
}

.eyebrow {
  color: var(--gold);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.hero h1 {
  color: #fff;
  font-size: clamp(52px, 6.8vw, 92px);
  line-height: 1.02;
  margin: 0 0 18px;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.65;
  margin: 0;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-student-proof {
  align-items: center;
  bottom: 98px;
  display: flex;
  gap: 18px;
  position: absolute;
  right: clamp(18px, 4vw, 64px);
  z-index: 4;
}

.hero-student-stack {
  display: flex;
  min-width: 168px;
}

.hero-student-avatar {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(245, 197, 91, 0.9), rgba(185, 130, 36, 0.9)),
    #171717;
  background-position: center;
  background-size: cover;
  border: 3px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  color: #050505;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 950;
  height: 54px;
  justify-content: center;
  margin-left: -12px;
  width: 54px;
}

.hero-student-avatar:first-child {
  margin-left: 0;
}

.hero-student-avatar.has-image {
  color: transparent;
}

.hero-proof-copy {
  display: grid;
  gap: 2px;
}

.hero-proof-copy strong {
  color: #fff;
  font-size: 26px;
  line-height: 1;
}

.hero-proof-copy span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 750;
}

.hero-social-rail {
  bottom: 34px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  overflow: hidden;
  position: absolute;
  right: clamp(18px, 4vw, 64px);
  width: min(44vw, 520px);
  z-index: 4;
}

.hero-social-track {
  align-items: center;
  animation: heroSocialScroll 10s linear infinite;
  display: flex;
  gap: 20px;
  width: max-content;
}

.social-logo {
  align-items: center;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
  display: inline-flex;
  height: 46px;
  justify-content: center;
  opacity: 0.78;
  position: relative;
  width: 46px;
}

.social-logo.instagram {
  background:
    radial-gradient(circle at 70% 28%, #ffd15c 0 9%, transparent 10%),
    linear-gradient(135deg, #ffdf5d 0%, #ff533d 34%, #d62976 62%, #5b35d5 100%);
}

.social-logo.instagram::before {
  border: 3px solid #fff;
  border-radius: 12px;
  content: "";
  height: 24px;
  width: 24px;
}

.social-logo.instagram::after {
  border: 3px solid #fff;
  border-radius: 50%;
  content: "";
  height: 8px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
}

.social-logo.youtube {
  background: #ff0033;
  border-radius: 14px;
}

.social-logo.youtube::before {
  border-bottom: 9px solid transparent;
  border-left: 16px solid #fff;
  border-top: 9px solid transparent;
  content: "";
  margin-left: 5px;
}

.social-logo.telegram {
  background: linear-gradient(135deg, #37c8ff, #1687d9);
  border-radius: 50%;
}

.social-logo.telegram::before {
  background: #fff;
  clip-path: polygon(0 44%, 100% 0, 74% 100%, 50% 70%, 31% 87%);
  content: "";
  height: 24px;
  transform: rotate(-8deg) translateX(1px);
  width: 28px;
}

.social-logo.telegram::after {
  background: rgba(22, 135, 217, 0.86);
  clip-path: polygon(0 0, 100% 48%, 0 100%);
  content: "";
  height: 8px;
  position: absolute;
  right: 16px;
  top: 25px;
  transform: rotate(-20deg);
  width: 13px;
}

@keyframes heroSocialScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.primary-btn,
.secondary-btn,
.ghost-btn {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  justify-content: center;
  min-height: 52px;
  padding: 15px 26px;
}

.primary-btn {
  background: linear-gradient(135deg, var(--gold), var(--deep-gold));
  color: #050505;
}

.secondary-btn {
  background: #151515;
  border: 1px solid var(--line);
  color: var(--gold);
}

.ghost-btn {
  background: #1b1b1b;
  color: var(--gold);
}

#heroImageInput {
  display: none;
}

#heroStudentImageInput {
  display: none;
}

#studentReelImageInput {
  display: none;
}

.hero-stage {
  border-radius: 0;
  box-shadow: none;
  inset: 0;
  min-height: 100%;
  overflow: hidden;
  position: absolute;
  z-index: 0;
}

.slides,
.slide {
  height: 100%;
  min-height: 670px;
}

.slide {
  background-position: center;
  background-size: cover;
  display: none;
  min-width: 100%;
}

.slide.active {
  display: block;
}

.placeholder-slide {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(185, 130, 36, 0.82)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.12), rgba(255,255,255,0.12) 8px, transparent 8px, transparent 18px);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
  text-align: center;
}

.placeholder-slide strong {
  font-size: clamp(28px, 4vw, 52px);
}

.placeholder-slide span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  margin-top: 12px;
}

.slide-controls {
  align-items: center;
  bottom: 44px;
  display: flex;
  gap: 12px;
  left: clamp(20px, 7vw, 110px);
  position: absolute;
  transform: none;
  z-index: 4;
}

.slide-controls button {
  background: rgba(245, 197, 91, 0.92);
  border: 0;
  border-radius: 50%;
  color: #050505;
  cursor: pointer;
  font-size: 28px;
  height: 42px;
  line-height: 1;
  width: 42px;
}

.slide-dots {
  display: flex;
  gap: 7px;
}

.slide-dots button {
  background: rgba(255, 255, 255, 0.38);
  height: 10px;
  padding: 0;
  width: 10px;
}

.slide-dots button.active {
  background: var(--gold);
}

.quick-explore {
  background: #050505;
  padding: 30px 20px 8px;
  text-align: center;
}

.quick-explore a {
  background: linear-gradient(135deg, var(--gold), var(--deep-gold));
  border-radius: 8px;
  color: #050505;
  display: inline-flex;
  font-size: 18px;
  font-weight: 850;
  padding: 16px 36px;
}

.looksmaxxing-era {
  padding: 56px 20px 72px;
  text-align: center;
}

.looksmaxxing-era h2 {
  font-size: clamp(44px, 8vw, 96px);
  line-height: 1;
  margin: 0 0 14px;
}

.looksmaxxing-era p {
  color: var(--muted);
  font-size: 21px;
  margin: 0 auto;
  max-width: 760px;
}

.courses-section,
.teachers-section,
.deep-dive {
  padding: 74px clamp(20px, 5vw, 72px);
}

.courses-section {
  background: #050505;
}

.section-heading {
  margin: 0 auto 40px;
  max-width: 760px;
  text-align: center;
}

.section-heading h2,
.deep-dive h2 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
  margin: 0 0 14px;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  margin: 0;
}

.course-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.course-tabs button {
  background: #181818;
  border: 1px solid var(--line);
  color: #f8fafc;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  min-height: 46px;
  padding: 11px 24px;
}

.course-tabs button.active {
  background: linear-gradient(135deg, var(--gold), var(--deep-gold));
  color: #050505;
}

.course-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.course-card {
  background: #101010;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 430px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.course-image {
  align-items: center;
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(135deg, rgba(245, 197, 91, 0.28), rgba(185, 130, 36, 0.18)),
    #151515;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  color: #fff;
  display: flex;
  font-size: 24px;
  font-weight: 900;
  justify-content: center;
  padding: 18px;
  text-align: center;
  width: 100%;
}

.course-image.has-image {
  background-color: #090909;
  background-repeat: no-repeat;
  background-size: contain;
}

.course-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}

.course-body h3 {
  font-size: 21px;
  line-height: 1.25;
  margin: 0;
}

.course-body p {
  color: #d8d1bf;
  line-height: 1.55;
  margin: 0;
  white-space: pre-wrap;
}

.course-meta {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-top: auto;
}

.course-price-stack {
  display: grid;
  gap: 0;
  line-height: 1;
}

.normal-price {
  color: #ff4a4a;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  text-decoration: line-through;
  text-decoration-color: #ff4a4a;
  text-decoration-thickness: 3px;
}

.price {
  color: var(--gold);
  font-size: 30px;
  font-weight: 950;
  line-height: 1;
  margin-top: 0;
}

.tag {
  background: rgba(245, 197, 91, 0.14);
  border-radius: 999px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
  padding: 7px 10px;
}

.course-buy-btn {
  align-items: center;
  background: linear-gradient(135deg, var(--gold), var(--deep-gold));
  border-radius: 8px;
  color: #050505;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  width: 100%;
}

.card-actions,
.admin-only-actions {
  display: flex;
  gap: 10px;
  padding-top: 8px;
}

.card-actions button,
.admin-only-actions button {
  background: #1a1a1a;
  color: var(--gold);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  padding: 10px 13px;
}

body:not(.admin-open) .card-actions,
body:not(.admin-open) .admin-only-actions {
  display: none;
}

.editor-panel {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(220px, 0.35fr) minmax(280px, 1fr);
  margin-top: 48px;
  padding: 28px;
}

.editor-panel h3 {
  font-size: 27px;
  margin: 0 0 10px;
}

.editor-panel p {
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

#courseForm {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  color: #f8fafc;
  display: grid;
  font-weight: 750;
  gap: 8px;
}

.wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  background: #090909;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #f8fafc;
  font: inherit;
  min-height: 46px;
  padding: 12px 14px;
  width: 100%;
}

textarea {
  resize: vertical;
}

.form-actions {
  align-items: center;
  display: flex;
  gap: 12px;
}

.teachers-section,
.deep-dive {
  background:
    radial-gradient(circle at 85% 0%, rgba(245, 197, 91, 0.12), transparent 30%),
    #0b0b0b;
}

.teacher-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 382px));
  justify-content: center;
}

.featured-teacher-grid {
  grid-template-columns: minmax(0, 1120px);
}

.teacher-card {
  background: linear-gradient(135deg, #1c1c1c 0%, #050505 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: #fff;
  padding: 24px;
}

.teacher-photo {
  align-items: center;
  background: #121212;
  border: 10px solid rgba(245, 197, 91, 0.22);
  color: var(--gold);
  display: flex;
  font-size: 20px;
  font-weight: 900;
  justify-content: center;
  min-height: 270px;
  text-align: center;
}

.teacher-photo.has-image {
  background-position: center;
  background-size: cover;
  color: transparent;
}

.featured-teacher-card {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: clamp(22px, 4vw, 42px);
}

.featured-teacher-profile {
  display: contents;
}

.featured-teacher-photo {
  aspect-ratio: 16 / 9;
  grid-column: 1;
  grid-row: 1;
  min-height: 0;
  width: 100%;
}

.featured-teacher-card > .teacher-video-panel {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
}

.featured-teacher-copy {
  grid-column: 1 / -1;
  grid-row: 2;
  max-width: 920px;
}

.featured-teacher-copy h3 {
  margin-top: 0;
}

.teacher-video-panel {
  align-self: start;
  background: #0b0b0b;
  border: 1px solid rgba(245, 197, 91, 0.24);
  border-radius: 12px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.teacher-video-panel iframe,
.teacher-video-thumb {
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
  min-height: 0;
  width: 100%;
}

.teacher-iframe-wrap {
  display: grid;
}

.teacher-iframe-wrap iframe {
  min-height: 0;
}

.teacher-card-video iframe,
.teacher-card-video .teacher-video-thumb {
  min-height: 240px;
}

.teacher-card-video .teacher-iframe-wrap iframe {
  min-height: 240px;
}

.teacher-youtube-link {
  background: #ff1f1f;
  color: #fff;
  display: inline-flex;
  font-weight: 950;
  justify-content: center;
  padding: 13px 16px;
  text-align: center;
}

.teacher-video-thumb {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(245, 197, 91, 0.2), rgba(0, 0, 0, 0.76)),
    #111;
  background-position: center;
  background-size: cover;
  color: var(--gold);
  cursor: pointer;
  display: flex;
  font-size: 24px;
  font-weight: 950;
  justify-content: center;
  position: relative;
  text-align: center;
}

.teacher-video-thumb.has-image {
  color: transparent;
}

.teacher-play {
  align-items: center;
  background: #ff1f1f;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 34px;
  height: 82px;
  justify-content: center;
  left: 50%;
  padding-left: 6px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 82px;
}

.featured-teacher-actions {
  grid-column: 1 / -1;
  grid-row: 3;
}

.teacher-card h3 {
  font-size: 26px;
  margin: 22px 0 10px;
}

.teacher-card p {
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
  white-space: pre-wrap;
}

.deep-dive {
  text-align: center;
}

.feature-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 34px auto 0;
  max-width: 980px;
}

.feature-grid article {
  background: #101010;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px 24px;
}

.feature-grid span {
  align-items: center;
  background: linear-gradient(135deg, var(--gold), var(--deep-gold));
  border-radius: 50%;
  color: #050505;
  display: inline-flex;
  font-size: 26px;
  font-weight: 900;
  height: 74px;
  justify-content: center;
  margin-bottom: 22px;
  width: 74px;
}

.feature-grid strong {
  display: block;
  font-size: 20px;
}

.feature-grid p {
  color: #d8d1bf;
  line-height: 1.45;
  margin: 10px 0 0;
  white-space: pre-wrap;
}

.winner-section {
  background:
    radial-gradient(circle at 15% 10%, rgba(245, 197, 91, 0.14), transparent 32%),
    linear-gradient(180deg, #7f0d1a 0%, #4b0710 48%, #120305 100%);
  color: #f8fafc;
  padding: 92px clamp(20px, 5vw, 72px);
}

.winner-heading {
  margin: 0 auto 52px;
  max-width: 920px;
  text-align: center;
}

.winner-heading p {
  color: var(--gold);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.winner-heading h2 {
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.02;
  margin: 0;
  text-transform: uppercase;
}

.winner-heading mark {
  background: transparent;
  color: #ff4a4a;
}

.winner-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin: 0 auto;
  max-width: 1040px;
}

.winner-card {
  background: #171717;
  border: 1px solid rgba(245, 197, 91, 0.18);
  border-radius: 18px;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.24);
  color: #f8fafc;
  padding: 30px;
}

.winner-card-head {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
}

.winner-logo {
  align-items: center;
  background: linear-gradient(135deg, var(--gold), var(--deep-gold));
  border: 6px solid #090909;
  border-radius: 50%;
  color: #050505;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 950;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.winner-card h3 {
  font-size: 26px;
  line-height: 1.15;
  margin: 0;
}

.winner-card strong {
  color: var(--gold);
  display: block;
  font-size: 15px;
  margin-top: 8px;
}

.winner-card p {
  color: #d8d1bf;
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
  white-space: pre-wrap;
}

.winner-card .winner-highlight {
  color: var(--gold);
  font-weight: 950;
}

.journey-panel {
  align-items: center;
  background: #101010;
  border: 1px solid rgba(245, 197, 91, 0.24);
  border-radius: 12px;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.22);
  color: #f8fafc;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto;
  margin: 56px auto 0;
  max-width: 1040px;
  padding: 34px;
}

.journey-panel p {
  color: #d8d1bf;
  line-height: 1.55;
  margin: 0;
  white-space: pre-wrap;
}

.journey-panel p:first-child {
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.journey-panel h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  margin: 0 0 12px;
}

.student-reels-section {
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.1), transparent 30%),
    linear-gradient(180deg, #b11226 0%, #8f0e1f 50%, #5e0815 100%);
  border-top: 1px solid rgba(245, 197, 91, 0.24);
  color: #f8fafc;
  padding: 104px clamp(20px, 5vw, 72px) 92px;
  scroll-margin-top: 82px;
}

.student-reels-heading {
  margin: 0 auto 54px;
  max-width: 980px;
  text-align: center;
}

.student-reels-heading p:first-child {
  color: var(--gold);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.student-reels-heading h2 {
  color: #fff;
  font-size: clamp(36px, 5.2vw, 68px);
  line-height: 1.05;
  margin: 0;
  text-transform: uppercase;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.student-reels-heading mark {
  background: transparent;
  color: #ffd15c;
  display: inline;
}

.student-reels-heading p:last-child,
.student-reels-note p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.55;
  margin: 18px auto 0;
  max-width: 680px;
  white-space: pre-wrap;
}

.student-reels-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin: 0 auto;
  max-width: 1040px;
}

.student-reel-card {
  align-items: center;
  aspect-ratio: 4 / 3.4;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(127, 13, 26, 0.62)),
    #080808;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.34);
  color: var(--gold);
  display: flex;
  font-size: 22px;
  font-weight: 950;
  justify-content: center;
  min-height: 290px;
  overflow: hidden;
  padding: 20px;
  position: relative;
  text-align: center;
}

.student-reel-card.has-image {
  background-color: #050505;
  color: transparent;
}

.student-reel-actions {
  bottom: 14px;
  left: 14px;
  position: absolute;
  z-index: 2;
}

.student-reels-note {
  margin: 48px auto 0;
  max-width: 1080px;
  text-align: center;
}

.student-reels-note p {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.8;
  margin: 0 auto;
  max-width: 980px;
  padding: 0 clamp(4px, 2vw, 18px);
}

.site-footer {
  background:
    radial-gradient(circle at 20% 0%, rgba(245, 197, 91, 0.08), transparent 28%),
    #0b0b0b;
  color: #f8fafc;
  padding: 82px clamp(20px, 5vw, 72px);
}

.footer-inner {
  background: linear-gradient(135deg, #181818, #0d0d0d);
  border: 1px solid rgba(245, 197, 91, 0.16);
  border-radius: 8px;
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.36);
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(240px, 1.5fr) repeat(2, minmax(150px, 0.7fr)) minmax(260px, 1.1fr);
  margin: 0 auto;
  max-width: 1120px;
  padding: clamp(32px, 5vw, 56px);
}

.footer-logo {
  align-items: center;
  background: linear-gradient(135deg, var(--gold), var(--deep-gold));
  border-radius: 50%;
  color: #050505;
  display: inline-flex;
  font-size: 22px;
  font-weight: 950;
  height: 58px;
  justify-content: center;
  margin-bottom: 28px;
  width: 58px;
}

.footer-brand p,
.footer-contact p {
  color: #d8d1bf;
  line-height: 1.65;
  margin: 0;
  white-space: pre-wrap;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-column h3 {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 0;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.footer-column a {
  color: #fff;
  font-weight: 750;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-socials a:not(.social-logo) {
  align-items: center;
  background: rgba(245, 197, 91, 0.16);
  border: 1px solid rgba(245, 197, 91, 0.2);
  border-radius: 50%;
  color: var(--gold);
  display: inline-flex;
  font-size: 13px;
  font-weight: 950;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.footer-socials .social-logo {
  box-shadow: none;
  height: 46px;
  width: 46px;
}

.footer-socials .social-logo.instagram::before {
  border-width: 3px;
  border-radius: 11px;
  height: 23px;
  width: 23px;
}

.footer-socials .social-logo.instagram::after {
  border-width: 3px;
  height: 7px;
  width: 7px;
}

.footer-socials .social-logo.youtube::before {
  border-bottom-width: 9px;
  border-left-width: 16px;
  border-top-width: 9px;
}

.policy-page {
  background:
    radial-gradient(circle at 20% 0%, rgba(245, 197, 91, 0.16), transparent 32%),
    linear-gradient(180deg, #050505 0%, #111 52%, #050505 100%);
  min-height: calc(100vh - 82px);
  padding: 78px clamp(20px, 5vw, 72px) 92px;
}

.policy-hero {
  margin: 0 auto 48px;
  max-width: 920px;
  text-align: center;
}

.policy-hero h1 {
  color: #fff;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 1;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.policy-hero p:last-child {
  color: #d8d1bf;
  font-size: 20px;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 760px;
}

.policy-content {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1040px;
}

.policy-content article {
  background: #101010;
  border: 1px solid rgba(245, 197, 91, 0.2);
  border-radius: 8px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
  padding: 28px;
}

.policy-content span {
  align-items: center;
  background: linear-gradient(135deg, var(--gold), var(--deep-gold));
  border-radius: 50%;
  color: #050505;
  display: inline-flex;
  font-size: 18px;
  font-weight: 950;
  height: 52px;
  justify-content: center;
  margin-bottom: 22px;
  width: 52px;
}

.policy-content h2 {
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 12px;
}

.policy-content p {
  color: #d8d1bf;
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}

.policy-return {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

.chadmax-page {
  background:
    radial-gradient(circle at 82% 0%, rgba(245, 197, 91, 0.12), transparent 34%),
    linear-gradient(180deg, #050505 0%, #111 48%, #050505 100%);
  color: #f8fafc;
}

.nav-buy-btn {
  min-height: 42px;
  padding: 10px 16px;
}

.chadmax-hero {
  align-items: center;
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.72fr);
  min-height: calc(100vh - 82px);
  padding: 72px clamp(20px, 7vw, 110px);
}

.chadmax-copy h1 {
  color: #fff;
  font-size: clamp(46px, 6vw, 86px);
  line-height: 1;
  margin: 0 0 22px;
  max-width: 850px;
  text-transform: uppercase;
}

.chadmax-copy p {
  color: #e8dec4;
  font-size: 20px;
  line-height: 1.7;
  margin: 0;
  max-width: 680px;
}

.chadmax-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.chadmax-cover-wrap {
  background:
    linear-gradient(135deg, rgba(245, 197, 91, 0.18), rgba(185, 130, 36, 0.06)),
    #0c0c0c;
  border: 1px solid rgba(245, 197, 91, 0.26);
  border-radius: 8px;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.44);
  padding: clamp(18px, 3vw, 34px);
}

.chadmax-cover-wrap img {
  border-radius: 6px;
  display: block;
  margin: 0 auto;
  max-height: 520px;
  object-fit: contain;
  width: min(100%, 360px);
}

.youtubemax-page {
  background:
    radial-gradient(circle at 78% 4%, rgba(255, 0, 51, 0.13), transparent 30%),
    radial-gradient(circle at 10% 0%, rgba(245, 197, 91, 0.12), transparent 32%),
    linear-gradient(180deg, #050505 0%, #101010 48%, #050505 100%);
}

.youtubemax-cover {
  align-items: center;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(145deg, rgba(255, 0, 51, 0.22), rgba(245, 197, 91, 0.08)),
    #0c0c0c;
  border: 1px solid rgba(245, 197, 91, 0.28);
  border-radius: 8px;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.44);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 420px;
  overflow: hidden;
  padding: 34px;
  position: relative;
  text-align: center;
}

.youtubemax-cover::before {
  color: rgba(255, 255, 255, 0.04);
  content: "YOUTUBE";
  font-size: clamp(70px, 10vw, 120px);
  font-weight: 950;
  left: 50%;
  position: absolute;
  top: 14%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.yt-play-large {
  align-items: center;
  background: #ff0033;
  border-radius: 28px;
  display: inline-flex;
  height: 116px;
  justify-content: center;
  margin-bottom: 30px;
  position: relative;
  width: 160px;
  z-index: 1;
}

.yt-play-large::before {
  border-bottom: 25px solid transparent;
  border-left: 42px solid #fff;
  border-top: 25px solid transparent;
  content: "";
  margin-left: 10px;
}

.youtubemax-cover p {
  color: #fff;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 950;
  line-height: 1;
  margin: 0 0 14px;
  position: relative;
  z-index: 1;
}

.youtubemax-cover span {
  color: var(--gold);
  font-size: 17px;
  font-weight: 900;
  position: relative;
  z-index: 1;
}

.chadmax-panel,
.chadmax-split,
.chadmax-pricing {
  margin: 0 auto;
  max-width: 1120px;
  padding: 70px clamp(20px, 5vw, 42px);
}

.chadmax-panel {
  background: #0f0f0f;
  border: 1px solid rgba(245, 197, 91, 0.22);
  border-radius: 8px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
  margin-bottom: 54px;
}

.chadmax-panel h2,
.chadmax-split h2,
.chadmax-pricing h2 {
  color: #fff;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  margin: 0 0 18px;
}

.chadmax-panel p,
.chadmax-two-col p,
.chadmax-pricing p {
  color: #e8dec4;
  font-size: 18px;
  line-height: 1.72;
  margin: 0 0 18px;
}

.chadmax-bullets {
  color: #fff;
  display: grid;
  font-size: 18px;
  gap: 16px;
  line-height: 1.6;
  list-style: none;
  margin: 30px 0;
  padding: 0;
}

.chadmax-bullets li::before {
  color: var(--gold);
  content: "\2022 ";
  font-weight: 950;
}

.chadmax-split {
  display: grid;
  gap: 34px;
}

.chadmax-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.chadmax-grid article {
  background: #101010;
  border: 1px solid rgba(245, 197, 91, 0.18);
  border-radius: 8px;
  padding: 26px;
}

.chadmax-grid span {
  color: var(--gold);
  font-size: 28px;
  font-weight: 950;
}

.chadmax-grid h3 {
  font-size: 22px;
  margin: 18px 0 12px;
}

.chadmax-grid p {
  color: #d8d1bf;
  line-height: 1.6;
  margin: 0;
}

.chadmax-two-col {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chadmax-pricing {
  align-items: center;
  background: linear-gradient(135deg, #171717, #0b0b0b);
  border: 1px solid rgba(245, 197, 91, 0.24);
  border-radius: 8px;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto;
  margin-bottom: 84px;
}

.chadmax-price-row {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0 0 18px;
}

.chadmax-normal-price {
  color: rgba(255, 255, 255, 0.44);
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 950;
  line-height: 1;
  text-decoration: line-through;
  text-decoration-thickness: 4px;
}

.chadmax-discounted-price {
  color: var(--gold);
  font-size: clamp(42px, 5.5vw, 64px);
  font-weight: 950;
  line-height: 1;
}

.admin-backdrop {
  background: rgba(0, 0, 0, 0.62);
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 160ms ease;
  z-index: 30;
}

.login-backdrop {
  background: rgba(0, 0, 0, 0.66);
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 160ms ease;
  z-index: 50;
}

.login-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.login-modal {
  align-items: center;
  display: none;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 60;
}

.login-modal.active {
  display: flex;
}

.dashboard-modal {
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
}

.login-card {
  background: #0c0c0c;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
  display: grid;
  gap: 16px;
  max-width: 480px;
  padding: clamp(20px, 4vw, 30px);
  width: min(100%, 480px);
}

.login-card-head {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.dashboard-head-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.profile-menu-btn {
  align-items: center;
  background: #1b1b1b;
  border: 1px solid rgba(245, 197, 91, 0.18);
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  flex: 0 0 auto;
  gap: 4px;
  height: 52px;
  justify-content: center;
  padding: 0;
  width: 52px;
}

.profile-menu-btn span {
  background: var(--gold);
  border-radius: 50%;
  display: block;
  height: 5px;
  width: 5px;
}

.profile-menu-btn:hover,
.profile-menu-btn[aria-expanded="true"] {
  background: rgba(245, 197, 91, 0.12);
}

.profile-menu-btn[hidden] {
  display: none;
}

.login-card-head h2 {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.05;
  margin: 0;
}

.login-help {
  color: #d8d1bf;
  line-height: 1.55;
  margin: 0;
}

.login-error {
  color: #ff6b6b;
  font-weight: 800;
  margin: 0;
  min-height: 20px;
}

.dashboard-card {
  background: #050505;
  border: 0;
  border-radius: 0;
  display: grid;
  gap: 0;
  grid-template-columns: 240px minmax(0, 1fr);
  height: 100dvh;
  max-height: none;
  max-width: none;
  overflow: hidden;
  padding: 0;
  width: 100vw;
}

.dashboard-sidebar {
  background:
    radial-gradient(circle at top, rgba(245, 197, 91, 0.14), transparent 34%),
    #090909;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 22px 16px;
}

.dashboard-brand {
  align-items: center;
  display: flex;
  gap: 10px;
  font-size: 20px;
  font-weight: 950;
}

.dashboard-brand .brand-mark {
  height: 70px;
  width: 70px;
}

.dashboard-nav {
  display: grid;
  gap: 8px;
}

.dashboard-nav button {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #d8d1bf;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  min-height: 46px;
  padding: 12px 14px;
  text-align: left;
}

.dashboard-nav button.active,
.dashboard-nav button:hover {
  background: rgba(245, 197, 91, 0.12);
  border-color: rgba(245, 197, 91, 0.24);
  color: var(--gold);
}

.dashboard-profile {
  align-items: center;
  background: #111;
  border: 1px solid rgba(245, 197, 91, 0.18);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding: 12px;
}

.dashboard-profile span {
  align-items: center;
  background: linear-gradient(135deg, var(--gold), var(--deep-gold));
  background-position: center;
  background-size: cover;
  border-radius: 50%;
  color: #050505;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 950;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.dashboard-profile span.has-image {
  color: transparent;
}

.dashboard-profile strong,
.dashboard-profile small {
  display: block;
}

.dashboard-profile small {
  color: var(--muted);
  margin-top: 2px;
}

.dashboard-profile p {
  color: #d8d1bf;
  display: -webkit-box;
  font-size: 12px;
  line-height: 1.35;
  margin: 6px 0 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.dashboard-profile-editor {
  background: #101010;
  border: 1px solid rgba(245, 197, 91, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
  padding: 16px;
}

.dashboard-profile-editor h3 {
  color: #fff;
  font-size: 20px;
  margin: 0 0 4px;
}

.dashboard-profile-editor p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.dashboard-profile-editor[hidden] {
  display: none;
}

.dashboard-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: auto;
  padding: clamp(20px, 3vw, 34px);
  position: relative;
}

.dashboard-toolbar {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin: 14px 0 18px;
}

.dashboard-toolbar p {
  color: #d8d1bf;
  line-height: 1.5;
  margin: 0;
}

.dashboard-filter-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.dashboard-filter-row span {
  color: var(--muted);
  font-weight: 850;
}

.dashboard-filter-row button {
  background: #101010;
  border: 1px solid rgba(245, 197, 91, 0.2);
  border-radius: 8px;
  color: #f8fafc;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  min-height: 40px;
  padding: 9px 13px;
}

.dashboard-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 260px));
  justify-content: start;
}

.dashboard-course-card,
.dashboard-empty-card {
  background: #101010;
  border: 1px solid rgba(245, 197, 91, 0.22);
  border-radius: 8px;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.dashboard-course-image {
  align-items: flex-start;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(245, 197, 91, 0.28), rgba(0, 0, 0, 0.72)),
    #171717;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  color: var(--gold);
  display: flex;
  font-size: 13px;
  font-weight: 950;
  justify-content: center;
  padding: 12px;
  text-align: center;
  text-transform: uppercase;
}

.dashboard-course-image.has-image {
  background-color: #050505;
  color: transparent;
}

.dashboard-course-body {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.dashboard-course-body h3 {
  font-size: 18px;
  line-height: 1.2;
  margin: 0;
}

.dashboard-course-body p {
  color: #d8d1bf;
  line-height: 1.5;
  margin: 0;
}

.dashboard-course-meta {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 12px;
  gap: 12px;
  justify-content: space-between;
}

.dashboard-progress {
  background: #1f1f1f;
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.dashboard-progress span {
  background: linear-gradient(135deg, var(--gold), var(--deep-gold));
  display: block;
  height: 100%;
}

.dashboard-course-card .secondary-btn {
  min-height: 40px;
  padding: 10px 14px;
  width: 100%;
}

.dashboard-course-view {
  display: grid;
  gap: 28px;
}

.dashboard-library-view[hidden],
.dashboard-material-view[hidden],
.dashboard-affiliate-view[hidden],
.dashboard-community-view[hidden],
.dashboard-course-view[hidden],
.dashboard-resource-view[hidden],
.dashboard-player-view[hidden] {
  display: none !important;
}

.dashboard-affiliate-view {
  display: grid;
  gap: 22px;
}

.affiliate-panel {
  background: #101010;
  border: 1px solid rgba(245, 197, 91, 0.22);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(160px, 220px) minmax(260px, 1fr) auto;
  padding: 18px;
}

.affiliate-panel span,
.affiliate-link-field {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.affiliate-panel strong {
  color: var(--gold);
  display: block;
  font-size: 24px;
  margin-top: 8px;
}

.affiliate-link-field {
  display: grid;
  gap: 8px;
}

.affiliate-link-field input {
  background: #050505;
  border: 1px solid rgba(245, 197, 91, 0.22);
  border-radius: 8px;
  color: #f8fafc;
  font: inherit;
  min-height: 46px;
  padding: 12px 14px;
}

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

.affiliate-stats-grid article {
  background: #101010;
  border: 1px solid rgba(245, 197, 91, 0.22);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 18px;
}

.affiliate-stats-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.affiliate-stats-grid strong {
  color: #f8fafc;
  font-size: 26px;
}

.community-shell {
  background: #080808;
  border: 1px solid rgba(245, 197, 91, 0.18);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: 560px;
  overflow: hidden;
}

.admin-community-shell {
  min-height: 660px;
}

.community-channel-panel {
  background:
    radial-gradient(circle at top, rgba(245, 197, 91, 0.1), transparent 34%),
    #0c0c0c;
  border-right: 1px solid rgba(245, 197, 91, 0.18);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  min-width: 0;
  padding: 18px;
}

.community-channel-list {
  display: grid;
  gap: 8px;
  overflow: auto;
}

.community-channel-list button {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #d8d1bf;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-weight: 850;
  gap: 10px;
  justify-content: space-between;
  min-height: 48px;
  padding: 11px 12px;
  text-align: left;
}

.community-channel-list button.active,
.community-channel-list button:hover {
  background: rgba(245, 197, 91, 0.12);
  border-color: rgba(245, 197, 91, 0.24);
  color: var(--gold);
}

.community-channel-list small {
  border: 1px solid rgba(245, 197, 91, 0.24);
  border-radius: 999px;
  color: var(--gold);
  font-size: 10px;
  padding: 4px 7px;
}

.community-chat-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-width: 0;
}

.community-chat-head {
  align-items: center;
  border-bottom: 1px solid rgba(245, 197, 91, 0.18);
  display: flex;
  justify-content: space-between;
  padding: 18px 20px;
}

.community-chat-head h3 {
  font-size: 24px;
  margin: 0 0 6px;
}

.community-chat-head p {
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
}

.community-message-list {
  display: grid;
  align-content: start;
  gap: 14px;
  overflow: auto;
  padding: 20px;
}

.community-message {
  align-items: flex-start;
  display: grid;
  gap: 12px;
  grid-template-columns: 42px minmax(0, 1fr);
}

.community-avatar {
  align-items: center;
  background: linear-gradient(135deg, var(--gold), var(--deep-gold));
  background-position: center;
  background-size: cover;
  border-radius: 50%;
  color: #050505;
  display: inline-flex;
  font-weight: 950;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.community-avatar.has-image {
  color: transparent;
}

.community-message > div {
  background: #101010;
  border: 1px solid rgba(245, 197, 91, 0.14);
  border-radius: 8px;
  padding: 12px 14px;
}

.community-message.teacher-message > div {
  border-color: rgba(69, 190, 255, 0.54);
  box-shadow: inset 4px 0 0 #45beff;
}

.community-message.admin-message > div {
  border-color: rgba(245, 197, 91, 0.52);
  box-shadow: inset 4px 0 0 var(--gold);
}

.community-message-meta {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.community-message-meta strong {
  color: #fff;
}

.teacher-message .community-message-meta strong {
  color: #45beff;
}

.admin-message .community-message-meta strong {
  color: var(--gold);
}

.community-message-meta small {
  color: var(--muted);
  font-size: 12px;
  text-transform: capitalize;
}

.community-message p {
  color: #f8fafc;
  line-height: 1.5;
  margin: 0;
  white-space: pre-wrap;
}

.mention {
  background: rgba(245, 197, 91, 0.14);
  border-radius: 999px;
  color: var(--gold);
  font-weight: 950;
  padding: 1px 6px;
}

.community-composer {
  border-top: 1px solid rgba(245, 197, 91, 0.18);
  display: grid;
  gap: 10px;
  padding: 16px 20px;
}

.community-composer textarea {
  min-height: 88px;
}

.community-composer-actions {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.community-composer-actions span {
  color: var(--muted);
  line-height: 1.4;
}

.community-composer button:disabled,
.community-composer textarea:disabled {
  cursor: not-allowed;
  opacity: 0.54;
}

.course-view-head {
  align-items: center;
  border-bottom: 1px solid rgba(245, 197, 91, 0.18);
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
  padding-bottom: 20px;
}

.course-view-head h3 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1;
  margin: 0;
}

.course-view-head span {
  border: 1px solid rgba(245, 197, 91, 0.38);
  border-radius: 999px;
  color: var(--gold);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  margin-top: 8px;
  padding: 5px 12px;
  text-transform: uppercase;
}

.quick-action-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.quick-action-grid button {
  background: #101010;
  border: 1px solid rgba(245, 197, 91, 0.22);
  border-radius: 8px;
  color: #f8fafc;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 58px;
  padding: 14px 16px;
}

.quick-action-grid button:hover {
  background: rgba(245, 197, 91, 0.12);
  color: var(--gold);
}

.course-content-section {
  display: grid;
  gap: 16px;
}

.course-content-section h3 {
  font-size: 24px;
  margin: 0;
}

.course-content-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 252px));
  justify-content: start;
}

.course-content-card,
.content-empty-card {
  background: #101010;
  border: 1px solid rgba(245, 197, 91, 0.22);
  border-radius: 8px;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.course-content-card {
  color: #f8fafc;
  cursor: pointer;
  display: block;
  font: inherit;
  min-height: 292px;
  padding: 0;
  text-align: left;
}

.course-content-card:hover {
  border-color: rgba(245, 197, 91, 0.48);
  transform: translateY(-1px);
}

.course-content-visual {
  align-items: center;
  aspect-ratio: 16 / 9.5;
  background:
    radial-gradient(circle, rgba(120, 210, 80, 0.18), transparent 34%),
    #eaffdf;
  color: #6ecb43;
  display: flex;
  font-size: 34px;
  font-weight: 950;
  justify-content: center;
}

.content-status-icon {
  align-items: center;
  border: 4px solid currentColor;
  border-radius: 8px;
  display: inline-flex;
  font-size: 28px;
  font-weight: 950;
  height: 38px;
  justify-content: center;
  line-height: 1;
  width: 38px;
}

.course-content-visual.pdf .content-status-icon,
.course-content-visual.material .content-status-icon,
.course-content-visual.assignment .content-status-icon {
  font-size: 13px;
  height: 40px;
  width: 68px;
}

.course-content-visual.coaching .content-status-icon {
  font-size: 13px;
  height: 40px;
  width: 68px;
}

.course-content-visual.video {
  color: #ff5b5b;
}

.course-content-visual.pdf {
  color: #7dd3fc;
}

.course-content-visual.material {
  color: #facc15;
}

.course-content-visual.quiz,
.course-content-visual.assignment,
.course-content-visual.coaching {
  color: #9be36a;
}

.course-content-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.course-content-body h4 {
  font-size: 16px;
  line-height: 1.25;
  margin: 0;
}

.course-content-body p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
}

.course-content-footer {
  align-items: center;
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.course-content-footer span {
  color: #d8d1bf;
  font-size: 12px;
}

.course-content-footer strong {
  border: 1px solid rgba(245, 197, 91, 0.24);
  border-radius: 8px;
  color: #f8fafc;
  display: inline-flex;
  font-size: 13px;
  justify-content: center;
  min-height: 42px;
  padding: 12px 16px;
  width: 100%;
}

.content-empty-card {
  color: var(--muted);
  font-weight: 850;
  padding: 22px;
}

.dashboard-player-view {
  background: #050505;
  border: 1px solid rgba(245, 197, 91, 0.18);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.7);
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  inset: 0;
  min-height: 0;
  overflow: auto;
  position: fixed;
  z-index: 120;
}

.player-resource-link {
  align-items: center;
  background: linear-gradient(135deg, var(--gold), var(--deep-gold));
  border-radius: 8px;
  color: #050505;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  margin-top: 14px;
  min-height: 46px;
  padding: 12px 18px;
  width: max-content;
}

.player-lesson-sidebar {
  background: #0b0b0b;
  border-right: 1px solid rgba(245, 197, 91, 0.18);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px;
}

.player-progress-card {
  background: #111;
  border: 1px solid rgba(245, 197, 91, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.player-progress-card p {
  color: #d8d1bf;
  margin: 0;
}

.player-lesson-sidebar h3 {
  font-size: 18px;
  margin: 0;
}

.player-lesson-list {
  display: grid;
  gap: 8px;
  overflow: auto;
}

.player-lesson-list button {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #d8d1bf;
  cursor: pointer;
  align-items: center;
  display: flex;
  gap: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  min-height: 42px;
  padding: 10px 12px;
  text-align: left;
}

.player-lesson-list button.active,
.player-lesson-list button:hover {
  background: rgba(245, 197, 91, 0.12);
  border-color: rgba(245, 197, 91, 0.22);
  color: var(--gold);
}

.player-lesson-list button.completed::after {
  color: #9be36a;
  content: "Done";
  font-size: 11px;
  font-weight: 950;
  margin-left: auto;
}

.player-main {
  display: grid;
  gap: 20px;
  grid-template-rows: auto auto auto;
  min-width: 0;
  padding: 22px;
}

.player-topbar {
  align-items: center;
  border-bottom: 1px solid rgba(245, 197, 91, 0.18);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding-bottom: 16px;
}

.player-topbar h3 {
  font-size: clamp(24px, 3vw, 34px);
  margin: 0;
}

.player-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.player-frame-wrap {
  align-items: center;
  aspect-ratio: 16 / 9;
  background: #000;
  display: flex;
  justify-content: center;
  min-height: 360px;
  overflow: hidden;
}

.player-frame-wrap iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.player-frame-wrap:fullscreen {
  aspect-ratio: auto;
  height: 100vh;
  min-height: 100vh;
  width: 100vw;
}

.player-frame-wrap:fullscreen iframe {
  height: 100vh;
}

.player-frame-wrap.browser-fullscreen-fallback {
  inset: 0;
  position: fixed;
  z-index: 200;
}

.player-empty {
  color: var(--muted);
  font-size: 18px;
  font-weight: 850;
  padding: 24px;
  text-align: center;
}

.player-meta {
  align-items: center;
  color: #d8d1bf;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.player-meta strong {
  color: var(--gold);
}

.dashboard-empty-card {
  display: grid;
  gap: 12px;
  grid-column: 1 / -1;
  padding: 24px;
}

.dashboard-empty-card strong {
  color: var(--gold);
  font-size: 20px;
}

.dashboard-empty-card p {
  color: #d8d1bf;
  line-height: 1.55;
  margin: 0;
}

.admin-panel {
  background: #080808;
  box-shadow: -18px 0 45px rgba(0, 0, 0, 0.48);
  height: 100vh;
  max-width: 680px;
  overflow-y: auto;
  padding: 24px;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateX(105%);
  transition: transform 180ms ease;
  width: min(92vw, 680px);
  z-index: 40;
}

body.admin-open .admin-panel {
  transform: translateX(0);
}

body.admin-open .admin-backdrop {
  opacity: 1;
  pointer-events: auto;
}

body.player-open {
  overflow: hidden;
}

.admin-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  padding-bottom: 18px;
}

.admin-header h2 {
  font-size: 32px;
  margin: 0;
}

.admin-header-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-header-actions .ghost-btn {
  min-height: 44px;
  padding: 12px 16px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.admin-tabs button {
  background: #181818;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  color: #f8fafc;
  min-height: 42px;
  padding: 10px 16px;
}

.admin-tabs button.active {
  background: linear-gradient(135deg, var(--gold), var(--deep-gold));
  color: #050505;
}

.admin-section {
  display: none;
}

.admin-section.active {
  display: block;
}

.admin-form {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 18px;
}

.compact-form {
  margin: 18px 0;
}

.admin-upload-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-content-list {
  margin-top: 22px;
}

.admin-content-list h3 {
  font-size: 22px;
  margin: 0 0 12px;
}

.admin-list-item {
  align-items: center;
  background: #111111;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px;
}

.admin-list-copy {
  flex: 1;
  min-width: 0;
}

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

.admin-list-copy span {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

.admin-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.login-course-access {
  background: #0b0b0b;
  border: 1px solid rgba(245, 197, 91, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.login-course-access strong {
  color: var(--gold);
}

.login-course-access p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.login-course-list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.login-course-option {
  align-items: center;
  background: #111;
  border: 1px solid rgba(245, 197, 91, 0.14);
  border-radius: 8px;
  display: flex;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
}

.login-course-option input {
  min-height: auto;
  width: auto;
}

.admin-thumb {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 8px;
  height: 68px;
  width: 96px;
}

.admin-feature-badge,
.admin-winner-badge {
  align-items: center;
  background: linear-gradient(135deg, var(--gold), var(--deep-gold));
  border-radius: 50%;
  color: #050505;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 950;
  height: 58px;
  justify-content: center;
  width: 58px;
}

#adminCourseList .admin-thumb {
  background-color: #090909;
  background-size: contain;
}

#adminTeacherList .admin-thumb {
  background-color: #090909;
  background-size: cover;
}

.empty-state {
  color: var(--muted);
  font-weight: 750;
}

.admin-save-status {
  margin: -0.35rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.admin-save-status.success {
  color: #4fd17a;
}

.admin-save-status.error {
  color: #ff6b6b;
}

.admin-save-status.global {
  margin: 0 0 16px;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    gap: 18px;
  }

  .top-nav {
    font-size: 15px;
    width: 100%;
  }

  .action-menu-panel {
    left: 0;
    min-width: min(74vw, 230px);
    right: auto;
    top: calc(100% + 10px);
    z-index: 90;
  }

  .action-menu-panel button {
    min-height: 46px;
    padding: 12px 16px;
  }

  .hero {
    min-height: 620px;
    padding-top: 42px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 64px);
  }

  .hero p {
    font-size: 18px;
  }

  .hero-student-proof {
    align-items: center;
    bottom: 132px;
    left: 20px;
    right: 20px;
    gap: 12px;
  }

  .hero-social-rail {
    bottom: 82px;
    left: 20px;
    right: 20px;
    width: auto;
  }

  .hero-social-track {
    gap: 12px;
  }

  .social-logo {
    border-radius: 10px;
    height: 38px;
    width: 38px;
  }

  .social-logo.instagram::before {
    border-width: 2px;
    border-radius: 9px;
    height: 19px;
    width: 19px;
  }

  .social-logo.instagram::after {
    border-width: 2px;
    height: 6px;
    width: 6px;
  }

  .social-logo.youtube::before {
    border-bottom-width: 7px;
    border-left-width: 12px;
    border-top-width: 7px;
  }

  .social-logo.telegram::before {
    height: 20px;
    width: 23px;
  }

  .social-logo.telegram::after {
    height: 6px;
    right: 13px;
    top: 21px;
    width: 10px;
  }

  .slides,
  .slide {
    min-height: 620px;
  }

  .slide-controls {
    bottom: 24px;
  }

  .admin-form {
    grid-template-columns: 1fr;
  }

  .admin-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-header-actions {
    width: 100%;
  }

  .admin-header-actions .ghost-btn {
    flex: 1;
  }

  .winner-section {
    padding: 68px 20px;
  }

  .journey-panel {
    grid-template-columns: 1fr;
  }

  .journey-panel .primary-btn {
    width: 100%;
  }

  .featured-teacher-card {
    grid-template-columns: 1fr;
  }

  .featured-teacher-photo {
    grid-column: 1;
    grid-row: auto;
    margin-left: 0;
    min-height: 0;
    width: 100%;
  }

  .featured-teacher-card > .teacher-video-panel,
  .featured-teacher-copy,
  .featured-teacher-actions {
    grid-column: 1;
    grid-row: auto;
  }

  .teacher-video-panel iframe,
  .teacher-video-thumb {
    min-height: 230px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .policy-content {
    grid-template-columns: 1fr;
  }

  .chadmax-hero,
  .chadmax-two-col,
  .chadmax-pricing {
    grid-template-columns: 1fr;
  }

  .chadmax-hero {
    padding: 54px 20px;
  }

  .chadmax-pricing .primary-btn {
    width: 100%;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions button {
    width: 100%;
  }

  .dashboard-card {
    display: block;
    height: 100dvh;
    overflow: auto;
    width: 100vw;
  }

  .dashboard-sidebar {
    background:
      radial-gradient(circle at top left, rgba(245, 197, 91, 0.12), transparent 36%),
      #070707;
    border-bottom: 1px solid var(--line);
    border-right: 0;
    gap: 14px;
    padding: 14px 16px;
    position: sticky;
    top: 0;
    z-index: 3;
  }

  .dashboard-brand {
    font-size: 22px;
  }

  .dashboard-brand .brand-mark {
    height: 56px;
    width: 56px;
  }

  .dashboard-nav {
    grid-template-columns: repeat(4, minmax(92px, 1fr));
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .dashboard-nav button {
    align-items: center;
    display: flex;
    font-size: 13px;
    justify-content: center;
    min-height: 42px;
    padding: 9px 10px;
    text-align: center;
    white-space: nowrap;
  }

  .dashboard-profile {
    margin-top: 0;
    padding: 10px;
  }

  .dashboard-profile span {
    height: 38px;
    width: 38px;
  }

  .dashboard-profile p {
    display: none;
  }

  .dashboard-main {
    overflow: visible;
    padding: 16px;
  }

  .dashboard-main > .login-card-head {
    align-items: center;
    border-bottom: 1px solid rgba(245, 197, 91, 0.18);
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    margin: 0 -16px 16px;
    padding: 0 16px 14px;
  }

  .dashboard-main > .login-card-head h2 {
    font-size: 30px;
  }

  .dashboard-main > .login-card-head .eyebrow {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .dashboard-head-actions {
    gap: 8px;
  }

  .profile-menu-btn {
    height: 46px;
    width: 46px;
  }

  .dashboard-head-actions .ghost-btn {
    min-height: 46px;
    padding: 12px 18px;
  }

  .dashboard-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin: 10px 0 16px;
  }

  .dashboard-toolbar .secondary-btn {
    min-height: 42px;
    padding: 11px 16px;
    width: 100%;
  }

  .dashboard-filter-row {
    display: none;
  }

  .dashboard-profile-editor {
    grid-template-columns: 1fr;
  }

  .dashboard-grid,
  .course-content-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-course-card,
  .dashboard-empty-card,
  .course-content-card,
  .content-empty-card {
    width: 100%;
  }

  .dashboard-course-image {
    aspect-ratio: 16 / 7;
    min-height: 120px;
  }

  .dashboard-course-body {
    gap: 12px;
    padding: 16px;
  }

  .dashboard-course-body h3 {
    font-size: 22px;
  }

  .dashboard-course-meta {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 1fr;
  }

  .affiliate-panel,
  .affiliate-stats-grid {
    grid-template-columns: 1fr;
  }

  .community-shell {
    grid-template-columns: 1fr;
  }

  .community-channel-panel {
    border-bottom: 1px solid rgba(245, 197, 91, 0.18);
    border-right: 0;
  }

  .community-channel-list {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    max-height: 220px;
  }

  .community-composer-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .course-view-head {
    align-items: center;
    gap: 12px;
    grid-template-columns: auto minmax(0, 1fr);
    padding-bottom: 16px;
  }

  .course-view-head h3 {
    font-size: 28px;
  }

  .course-view-head > div {
    grid-column: 2;
    min-width: 0;
  }

  .course-view-head .ghost-btn {
    grid-column: 1;
    min-height: 42px;
    padding: 10px 14px;
    width: auto;
  }

  .course-view-head .primary-btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .dashboard-player-view {
    grid-template-columns: 1fr;
  }

  .player-lesson-sidebar {
    border-bottom: 1px solid rgba(245, 197, 91, 0.18);
    border-right: 0;
  }

  .player-topbar,
  .player-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .player-actions,
  .player-topbar .primary-btn,
  .player-topbar .ghost-btn {
    width: 100%;
  }

  .player-frame-wrap {
    min-height: 220px;
  }
}
