.cm-home-hero {
  --cm-home-hero-text: #ffffff;
  --cm-home-hero-text-soft: rgba(255, 255, 255, 0.82);
  --cm-home-hero-gold-soft: var(--cm-gold-2, #e9c582);
  --cm-home-hero-gold-deep: var(--cm-gold-1, #dba64f);
  --cm-home-hero-surface: rgba(6, 6, 6, 0.86);
  --cm-home-hero-border: rgba(233, 197, 130, 0.24);
  --cm-home-hero-shadow: 0 34px 80px rgba(0, 0, 0, 0.38);
  --cm-home-hero-fade-height: 240px;
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  color: var(--cm-home-hero-text);
  background: var(--cm-home-hero-bg-image) center top / cover no-repeat #050505;
  font-family: var(--cm-font-en, "Poppins", system-ui, sans-serif);
}

.cm-home-hero--elementor-bg {
  background: transparent;
}

.cm-home-hero[dir="rtl"] {
  font-family: var(--cm-font-ar, "Cairo", system-ui, sans-serif);
}

.cm-home-hero *,
.cm-home-hero *::before,
.cm-home-hero *::after {
  box-sizing: border-box;
}

.cm-home-hero-host,
.cm-home-hero-shell {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.cm-home-hero-host {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.cm-home-hero-shell {
  margin: 0 !important;
  padding: 0 !important;
}

.cm-home-hero-overflow-reset {
  overflow: visible !important;
}

.cm-home-hero::before,
.cm-home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cm-home-hero--elementor-bg::before,
.cm-home-hero--elementor-bg::after {
  display: none;
}

.cm-home-hero::before {
  background: var(--cm-home-hero-overlay-color, #000000);
  opacity: var(--cm-home-hero-overlay-opacity, 0.65);
  z-index: 0;
}

.cm-home-hero::after {
  top: auto;
  bottom: -1px;
  height: var(--cm-home-hero-fade-height);
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.55) 50%,
    #000000 100%
  );
  z-index: 1;
}

.cm-home-hero__anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.cm-home-hero__inner,
.cm-home-hero__arrow-row {
  position: relative;
  z-index: 3;
  max-width: 1360px;
  margin: 0 auto;
  padding-inline: clamp(22px, 3vw, 42px);
}

.cm-home-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(30px, 3.5vw, 54px);
  align-items: center;
  padding-top: var(--cm-home-hero-space-top, 42px);
}

.cm-home-hero__left,
.cm-home-hero__right {
  min-width: 0;
}

.cm-home-hero__left {
  display: grid;
  gap: 26px;
  align-content: start;
  margin-left: 0;
}

.cm-home-hero__intro {
  display: grid;
  gap: 16px;
  max-width: 700px;
}

.cm-home-hero__headline {
  display: grid;
  gap: 22px;
  margin: 0;
  max-width: none;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.cm-home-hero__headline-line {
  display: block;
  white-space: nowrap;
}

.cm-home-hero__headline-line--accent,
.cm-home-hero .gradient-text {
  background: var(--cm-gold-gradient, linear-gradient(90deg, #dba64f 0%, #e9c582 50%, #c18931 100%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding-bottom: 6px;
  line-height: 1.04;
}

.cm-home-hero__body {
  margin: 0;
  max-width: 54ch;
  color: var(--cm-home-hero-text-soft);
  font-size: clamp(15px, 1.08vw, 17px);
  line-height: 1.62;
}

.cm-home-hero__coach {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  font-style: italic;
  color: rgba(255, 255, 255, 0.88);
}

.cm-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.cm-home-hero__cta {
  min-height: 58px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.1;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.cm-home-hero__cta:hover {
  transform: translateY(-1px);
}

.cm-home-hero__cta--primary {
  background-image: linear-gradient(to right, #c17920, #d39029);
  color: #000000;
  box-shadow: 0 16px 36px rgba(193, 121, 32, 0.22);
}

.cm-home-hero__cta--primary:hover {
  background-image: linear-gradient(to right, #dfaa51, #e9c481);
  color: #000000;
}

.cm-home-hero__cta--secondary {
  border: 1.5px solid rgba(233, 197, 130, 0.88);
  background: rgba(0, 0, 0, 0.34);
  color: var(--cm-home-hero-gold-soft);
  min-width: 188px;
}

.cm-home-hero__cta--secondary:hover {
  border-color: #f2d28e;
  color: #f6e2b7;
}

.cm-home-hero__cta-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.cm-home-hero__badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
}

.cm-home-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  line-height: 1.45;
}

.cm-home-hero__badge i {
  color: #f0b64a;
  font-size: 16px;
}

.cm-home-hero__right {
  display: grid;
}

.cm-home-hero__story {
  width: 100%;
}

.cm-home-hero__story-shell {
  display: grid;
  width: min(100%, 674px);
  margin-left: auto;
  grid-template-columns: minmax(320px, 1fr) minmax(220px, 260px);
  gap: clamp(20px, 2vw, 28px);
  align-items: center;
  justify-content: start;
}

.cm-home-hero__story-copy {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: none;
  padding-top: 0;
  padding-bottom: 24px;
  justify-items: start;
  text-align: left;
}

.cm-home-hero__story-title-row {
  display: block;
}

.cm-home-hero__story-nav--desktop {
  display: flex;
  width: min(100%, 282px);
  justify-content: center;
  margin-inline: auto;
}

.cm-home-hero__story-arrow--mobile-inline {
  display: none !important;
}

.cm-home-hero__story-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
}

.cm-home-hero__story-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cm-home-hero-gold-soft), #a66c17);
  box-shadow: 0 0 14px rgba(233, 197, 130, 0.58);
  flex: 0 0 auto;
  transform: translateY(-1px);
}

.cm-home-hero__story-kicker .gradient-text {
  display: inline-block;
  padding-bottom: 0;
  line-height: 1;
}

.cm-home-hero__story-title {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(24px, 2.55vw, 36px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.cm-home-hero__story-body {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  max-width: 32ch;
  font-size: 15px;
  line-height: 1.74;
  white-space: pre-line;
}

.cm-home-hero__story-visual {
  position: relative;
  display: grid;
  width: 100%;
  justify-items: center;
  padding-bottom: 66px;
}

.cm-home-hero__story-ghost {
  position: absolute;
  right: 12px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    linear-gradient(180deg, rgba(31, 24, 14, 0.8), rgba(10, 10, 10, 0.92));
  border: 1px solid rgba(233, 197, 130, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  pointer-events: none;
  transition: transform 0.42s ease, opacity 0.42s ease, background-image 0.42s ease;
}

.cm-home-hero__story-ghost::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.42) 100%);
}

.cm-home-hero__story-ghost--back {
  top: 28px;
  width: 240px;
  aspect-ratio: 4 / 5;
  opacity: 0.26;
  transform: translateX(-16px) rotate(-6deg);
}

.cm-home-hero__story-ghost--front {
  top: 12px;
  width: 214px;
  aspect-ratio: 4 / 5;
  opacity: 0.18;
  transform: translateX(12px) rotate(5deg);
}

.cm-home-hero__story-ghost.is-empty {
  opacity: 0.1;
}

.cm-home-hero__story-figure {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 282px;
  margin: 16px 0 0;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--cm-home-hero-border);
  background:
    radial-gradient(circle at top, rgba(255, 228, 167, 0.18) 0%, rgba(255, 228, 167, 0) 56%),
    linear-gradient(180deg, rgba(24, 20, 13, 0.88) 0%, rgba(8, 8, 8, 0.98) 100%);
  box-shadow: var(--cm-home-hero-shadow);
  --story-focus-x: 50%;
  --story-focus-y: 50%;
  --story-zoom: 1;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.cm-home-hero__story-figure.is-empty::before {
  content: "Captain M3ta Story";
  position: absolute;
  inset: auto 20px 18px;
  color: rgba(255, 255, 255, 0.16);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 2;
}

.cm-home-hero__story-figure::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(6, 6, 6, 0.82) 100%);
  pointer-events: none;
}

.cm-home-hero__story-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--story-focus-x) var(--story-focus-y);
  transform: scale(var(--story-zoom));
  transform-origin: center center;
  transition: transform 0.55s ease, opacity 0.3s ease, object-position 0.3s ease;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.cm-home-hero__story-figure.is-empty .cm-home-hero__story-image {
  display: none;
}

.cm-home-hero__story-nav {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  width: auto;
  gap: 18px;
  margin-top: 14px;
}

.cm-home-hero__story-arrow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255, 217, 138, 0.48);
  background: #000000 !important;
  color: #ffffff !important;
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  transition: transform 0.24s ease, border-color 0.24s ease, color 0.24s ease, opacity 0.24s ease;
}

.cm-home-hero__story-arrow:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: var(--cm-home-hero-gold-soft);
  color: var(--cm-home-hero-gold-soft) !important;
}

.cm-home-hero__story-arrow:disabled {
  opacity: 0.34;
  cursor: default;
}

.cm-home-hero__story-arrow-icon {
  width: 24px;
  height: 24px;
  display: block;
  color: currentColor;
  transform-origin: 50% 50%;
}

.cm-home-hero__story-arrow--prev .cm-home-hero__story-arrow-icon {
  transform: scaleX(-1);
}

.cm-home-hero[dir="rtl"] .cm-home-hero__headline,
.cm-home-hero[dir="rtl"] .cm-home-hero__intro,
.cm-home-hero[dir="rtl"] .cm-home-hero__story-copy {
  justify-items: start;
}

.cm-home-hero[dir="rtl"] .cm-home-hero__story-arrow--prev .cm-home-hero__story-arrow-icon {
  transform: none;
}

.cm-home-hero[dir="rtl"] .cm-home-hero__story-arrow--next .cm-home-hero__story-arrow-icon {
  transform: scaleX(-1);
}

.cm-home-hero__arrow-row {
  display: flex;
  justify-content: center;
  padding-top: 16px;
  padding-bottom: var(--cm-home-hero-space-bottom, 34px);
}

.cm-home-hero__little-arrow {
  color: #b9852f;
  width: 42px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: transform 0.26s ease, color 0.26s ease;
}

.cm-home-hero__little-arrow:hover {
  color: #f0b64a;
  transform: translateY(-2px);
}

.cm-home-hero__little-arrow svg {
  width: 22px;
  height: 36px;
}

.cm-home-hero__little-arrow-glyph {
  animation: cmHomeHeroArrow 1.6s ease-out infinite;
}

@keyframes cmHomeHeroArrow {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(20px);
  }
}

@keyframes cmHomeHeroGoldFlash {
  0% {
    box-shadow: inset 0 0 0 0 rgba(245, 158, 11, 0);
    background-color: rgba(245, 158, 11, 0);
  }
  10% {
    box-shadow: inset 0 0 150px 20px rgba(245, 158, 11, 0.4);
    background-color: rgba(245, 158, 11, 0.15);
  }
  90% {
    box-shadow: inset 0 0 150px 20px rgba(245, 158, 11, 0.4);
    background-color: rgba(245, 158, 11, 0.15);
  }
  100% {
    box-shadow: inset 0 0 0 0 rgba(245, 158, 11, 0);
    background-color: rgba(245, 158, 11, 0);
  }
}

@keyframes cmHomeHeroConfetti {
  0% {
    transform: translateY(-10vh) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}

@keyframes cmHomeHeroBlurFadeIn {
  0% {
    opacity: 0;
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
  }
  100% {
    opacity: 1;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
  }
}

@keyframes cmHomeHeroTextScaleUp {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
    margin-top: 24px;
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    margin-top: 0;
  }
}

.cm-home-hero__easter-flash {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999997;
  animation: cmHomeHeroGoldFlash 5.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  overflow: hidden;
}

.cm-home-hero__easter-confetti {
  position: absolute;
  width: 6px;
  height: 16px;
  background: linear-gradient(135deg, #ffd98a, #b8892e);
  opacity: 0;
  border-radius: 4px;
}

.cm-home-hero__easter-blur {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999998;
  animation: cmHomeHeroBlurFadeIn 1.2s ease-out forwards;
}

.cm-home-hero__easter-message {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(92vw, 780px);
  text-align: center;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-family: var(--cm-font-en, "Poppins", system-ui, sans-serif);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.38;
  letter-spacing: 0.3px;
  animation: cmHomeHeroTextScaleUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.cm-home-hero__easter-sub {
  display: block;
  margin-top: 15px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  background: linear-gradient(135deg, #ffeaa7 0%, #d4912a 50%, #b8892e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 5px 15px rgba(212, 145, 42, 0.2);
}

.cm-home-hero__easter-logo {
  display: block;
  margin: 25px auto 0;
  width: 90px;
  height: auto;
  opacity: 0.95;
  filter: drop-shadow(0 0 20px rgba(212, 145, 42, 0.5));
}

.cm-home-hero__easter-pill {
  display: inline-block;
  margin-top: 20px;
  padding: 7px 22px;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.cm-home-hero__easter-pill--active {
  background: linear-gradient(90deg, #10b981, #059669);
  color: #ffffff;
}

.cm-home-hero__easter-pill--locked {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid #f59e0b;
  color: #f59e0b;
  font-size: 13px;
}

.cm-home-hero__easter-note {
  margin-top: 8px;
  font-size: 12px;
  color: #aaaaaa;
  font-weight: 400;
}

.cm-home-hero__easter-timer {
  position: fixed;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999997;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

@media (max-width: 1180px) {
  .cm-home-hero__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .cm-home-hero__intro {
    max-width: 100%;
  }

  .cm-home-hero__headline {
    font-size: clamp(32px, 4.6vw, 52px);
    gap: 18px;
  }

  .cm-home-hero__body {
    max-width: 52ch;
  }

  .cm-home-hero__story-shell {
    width: min(100%, 674px);
    grid-template-columns: minmax(0, 1fr) minmax(220px, 256px);
  }
}

@media (max-width: 900px) {
  .cm-home-hero {
    min-height: auto;
    --cm-home-hero-fade-height: 120px;
  }

  .cm-home-hero__inner {
    gap: 34px;
    padding-top: max(82px, calc(var(--cm-home-hero-space-top, 42px) * 0.72 + 24px));
  }

  .cm-home-hero__left {
    gap: 24px;
    margin-left: 0;
  }

  .cm-home-hero__headline {
    font-size: clamp(40px, 10.8vw, 50px);
    gap: 16px;
  }

  .cm-home-hero__story-shell {
    grid-template-columns: 1fr;
    width: min(100%, 360px);
    margin: 0 auto;
    gap: 20px;
    justify-content: stretch;
  }

  .cm-home-hero__right {
    margin-top: 34px;
  }

  .cm-home-hero__story-copy {
    max-width: 100%;
    width: 100%;
    padding-bottom: 0;
    padding-top: 0;
  }

  .cm-home-hero__story-visual {
    justify-items: center;
    padding-bottom: 54px;
  }

  .cm-home-hero__story-ghost {
    right: 50%;
  }

  .cm-home-hero__story-ghost--back {
    width: min(100%, 278px);
    transform: translateX(calc(50% - 18px)) rotate(-6deg);
  }

  .cm-home-hero__story-ghost--front {
    width: min(100%, 238px);
    transform: translateX(calc(50% + 18px)) rotate(5deg);
  }

  .cm-home-hero__story-figure {
    max-width: min(100%, 318px);
  }
}

@media (max-width: 767px) {
  .cm-home-hero__inner,
  .cm-home-hero__arrow-row {
    padding-inline: 18px;
  }

  .cm-home-hero__left,
  .cm-home-hero__intro {
    justify-items: center;
    text-align: center;
  }

  .cm-home-hero__headline {
    font-size: clamp(36px, 10vw, 46px);
    gap: 18px;
  }

  .cm-home-hero__body,
  .cm-home-hero__coach {
    max-width: 100%;
  }

  .cm-home-hero__actions {
    justify-content: center;
  }

  .cm-home-hero__cta {
    width: min(100%, 262px);
    min-height: 50px;
    padding: 12px 18px;
    font-size: 14px;
    border-radius: 11px;
  }

  .cm-home-hero__badges {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    width: fit-content;
    margin: 0 auto;
    justify-content: center;
    justify-items: start;
    column-gap: 18px;
    row-gap: 10px;
  }

  .cm-home-hero__badge {
    justify-content: flex-start;
    font-size: 13px;
    min-width: 0;
  }

  .cm-home-hero__badge:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .cm-home-hero__right {
    margin-top: 40px;
  }

  .cm-home-hero__story-copy {
    justify-items: center;
    text-align: center;
    gap: 14px;
  }

  .cm-home-hero__story-kicker {
    justify-content: center;
    margin-inline: auto;
  }

  .cm-home-hero__story-title-row {
    display: grid;
    align-items: center;
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 8px;
    width: min(100%, 320px);
    margin-inline: auto;
  }

  .cm-home-hero__story-title {
    font-size: 18px;
    max-width: none;
    text-align: center;
    white-space: normal;
    text-wrap: balance;
    line-height: 1.08;
  }

  .cm-home-hero__story-body {
    font-size: 14px;
    max-width: 30ch;
  }

  .cm-home-hero__story-nav--desktop {
    display: none !important;
  }

  .cm-home-hero__story-arrow--mobile-inline {
    display: inline-grid !important;
  }

  .cm-home-hero__story-arrow {
    width: 30px;
    height: 30px;
    border-width: 1.5px;
  }

  .cm-home-hero__story-arrow-icon {
    width: 13px;
    height: 13px;
  }

  .cm-home-hero__arrow-row {
    padding-top: 12px;
    padding-bottom: max(24px, calc(var(--cm-home-hero-space-bottom, 34px) * 0.72));
  }

  .cm-home-hero__coach {
    margin-bottom: 8px;
  }

  .cm-home-hero__easter-message {
    top: 48%;
  }

  .cm-home-hero__easter-logo {
    width: 70px;
    margin-top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cm-home-hero__story-ghost,
  .cm-home-hero__story-image,
  .cm-home-hero__story-arrow,
  .cm-home-hero__cta,
  .cm-home-hero__little-arrow {
    transition: none !important;
  }

  .cm-home-hero__little-arrow-glyph {
    animation: none !important;
  }
}
