/*
  CASH COW YOUTUBERS — SECOND PAGE STYLES
  Loaded only by training.html so these rules cannot alter index.html.
*/

:root {
      --ink: #f7fbf8;
      --muted: #a7b1ac;
      --page: #030607;
      --surface: #08100d;
      --surface-2: #0c1712;
      --line: rgba(255, 255, 255, .09);
      --red: #ff1838;
      --red-dark: #c80623;
      --green: #8dff24;
      --green-2: #3eea36;
      --green-deep: #0ca845;
      --radius: 24px;
    }

    * { box-sizing: border-box; }

    html {
      scroll-behavior: smooth;
      color-scheme: dark;
    }

    body {
      margin: 0;
      min-width: 320px;
      overflow-x: hidden;
      color: var(--ink);
      background:
        radial-gradient(circle at 15% 15%, rgba(255, 24, 56, .13), transparent 28rem),
        radial-gradient(circle at 84% 42%, rgba(89, 255, 45, .12), transparent 30rem),
        linear-gradient(180deg, #020405 0%, #050b08 55%, #020405 100%);
      font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      line-height: 1.55;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      opacity: .35;
      background-image:
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
      background-size: 42px 42px;
      mask-image: linear-gradient(to bottom, #000, transparent 72%);
    }

    button, a { -webkit-tap-highlight-color: transparent; }

    a { color: inherit; }

    .container {
      width: min(1120px, calc(100% - 40px));
      margin-inline: auto;
    }

    .site-header {
      position: relative;
      z-index: 3;
      border-bottom: 1px solid var(--line);
      background: rgba(3, 6, 7, .78);
      backdrop-filter: blur(16px);
    }

    .header-inner {
      min-height: 76px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

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

    .brand-logo {
      width: 54px;
      height: 54px;
      object-fit: contain;
      filter: drop-shadow(0 0 16px rgba(141, 255, 36, .12));
    }

    .brand-copy {
      display: grid;
      line-height: 1.03;
    }

    .brand-name {
      font: 800 1.05rem/1 "Manrope", sans-serif;
      letter-spacing: .06em;
    }

    .brand-subtitle {
      margin-top: 6px;
      color: var(--green);
      font-size: .7rem;
      font-weight: 700;
      letter-spacing: .17em;
      text-transform: uppercase;
    }

    main {
      position: relative;
      z-index: 1;
    }

    .hero {
      padding: 64px 0 44px;
      text-align: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      margin: 0 0 22px;
      padding: 9px 15px;
      color: #fff;
      border: 1px solid rgba(255, 52, 79, .45);
      border-radius: 999px;
      background: linear-gradient(180deg, rgba(255, 24, 56, .23), rgba(165, 0, 25, .14));
      box-shadow: inset 0 1px rgba(255,255,255,.08);
      font-size: .76rem;
      font-weight: 800;
      letter-spacing: .14em;
      text-transform: uppercase;
    }

    .eyebrow-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--red);
      box-shadow: 0 0 12px rgba(255, 24, 56, .8);
    }

    h1 {
      max-width: 1120px;
      margin: 0 auto;
      font: 800 clamp(2.35rem, 4.8vw, 4.5rem)/1.04 "Manrope", sans-serif;
      letter-spacing: -.045em;
      text-wrap: balance;
    }

    .highlight {
      color: transparent;
      background: linear-gradient(92deg, var(--green) 0%, #62ff71 48%, var(--green-2) 100%);
      -webkit-background-clip: text;
      background-clip: text;
      filter: drop-shadow(0 0 18px rgba(93, 255, 64, .13));
    }

    .hero-copy {
      max-width: 920px;
      margin: 24px auto 0;
      color: #c2cbc6;
      font-size: clamp(1rem, 1.9vw, 1.22rem);
      line-height: 1.65;
      text-wrap: balance;
    }

    .benefits {
      margin: 30px auto 0;
      padding: 0;
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 10px;
      list-style: none;
    }

    .benefits li {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 14px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: rgba(255,255,255,.035);
      color: #e7eee9;
      font-size: .83rem;
      font-weight: 700;
      letter-spacing: .035em;
    }

    .benefits li::before {
      content: "";
      width: 7px;
      height: 7px;
      flex: 0 0 auto;
      border-radius: 50%;
      background: var(--green);
      box-shadow: 0 0 10px rgba(141,255,36,.45);
    }

    .video-section {
      padding: 18px 0 92px;
      text-align: center;
    }

    .video-shell {
      position: relative;
      width: min(390px, 92vw);
      aspect-ratio: 9 / 16;
      margin: 0 auto;
      padding: 2px;
      overflow: hidden;
      border-radius: 30px;
      background: linear-gradient(145deg, rgba(255,24,56,.95), rgba(255,255,255,.1) 42%, rgba(141,255,36,.88));
      box-shadow:
        0 36px 90px rgba(0,0,0,.55),
        0 0 50px rgba(80,255,48,.08);
    }

    .video-inner {
      position: relative;
      width: 100%;
      height: 100%;
      overflow: hidden;
      border-radius: 28px;
      background:
        radial-gradient(circle at 50% 34%, rgba(255, 24, 56, .16), transparent 36%),
        radial-gradient(circle at 60% 67%, rgba(141, 255, 36, .13), transparent 34%),
        linear-gradient(160deg, #0d1512, #020504 70%);
    }

    .video-inner::after {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.56) 100%);
    }

    .video-placeholder {
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
      padding: 30px;
    }

    .placeholder-content {
      transform: translateY(-24px);
    }

    .placeholder-logo {
      display: block;
      width: 126px;
      margin: 0 auto 18px;
      opacity: .92;
      filter: drop-shadow(0 18px 30px rgba(0,0,0,.38));
    }

    .placeholder-label {
      margin: 0;
      color: rgba(255,255,255,.62);
      font-size: .72rem;
      font-weight: 800;
      letter-spacing: .18em;
      text-transform: uppercase;
    }

    #trainingVideo {
      position: absolute;
      inset: 0;
      z-index: 1;
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      background: #020403;
    }

    #trainingVideo:not([src]),
    #trainingVideo[src=""] {
      visibility: hidden;
    }

    .video-card {
      isolation: isolate;
    }

    .video-card button {
      font: inherit;
    }

    .vsl-start-overlay,
    .vsl-resume-overlay,
    .vsl-ended-overlay {
      position: absolute;
      inset: 0;
      z-index: 4;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 28px;
      text-align: center;
    }

    .vsl-start-overlay {
      gap: 15px;
      background:
        linear-gradient(180deg, rgba(3,8,12,.12), rgba(3,8,12,.72)),
        radial-gradient(circle at center, transparent 0, rgba(3,8,12,.16) 58%);
    }

    .vsl-start-overlay::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background: linear-gradient(
        115deg,
        transparent 30%,
        rgba(255,255,255,.1) 48%,
        transparent 66%
      );
      transform: translateX(-120%);
      animation: vslOverlayShine 3.2s ease-in-out infinite;
    }

    .vsl-start-kicker {
      color: #fff;
      font-size: 11px;
      font-weight: 900;
      letter-spacing: .16em;
      text-transform: uppercase;
      text-shadow: 0 2px 12px rgba(0,0,0,.65);
    }

    .vsl-start-button {
      width: 52px;
      height: 52px;
      min-height: 0;
      flex: 0 0 52px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(255,255,255,.52);
      border-radius: 50%;
      padding: 0;
      background: rgba(3,8,12,.78);
      color: #fff;
      box-shadow: 0 6px 16px rgba(0,0,0,.28);
      -webkit-backdrop-filter: blur(5px);
      backdrop-filter: blur(5px);
      cursor: pointer;
      transition:
        transform .18s ease,
        background-color .18s ease,
        border-color .18s ease;
    }

    .vsl-start-button:hover,
    .vsl-start-button:focus-visible {
      transform: scale(1.03);
      background: rgba(3,8,12,.9);
      border-color: rgba(255,255,255,.78);
    }

    .vsl-start-button:focus-visible,
    .vsl-resume-actions button:focus-visible,
    .vsl-ended-overlay button:focus-visible,
    .join-button:focus-visible,
    .modal-close:focus-visible,
    .legal-link:focus-visible {
      outline: 3px solid #fff;
      outline-offset: 4px;
    }

    .vsl-play-symbol {
      display: block;
      width: 19px;
      height: 19px;
      margin-left: 2px;
      fill: currentColor;
    }

    .vsl-sound-note {
      color: #fff;
      font-size: 11px;
      font-weight: 800;
      text-shadow: 0 2px 8px rgba(0,0,0,.8);
    }

    .vsl-resume-overlay,
    .vsl-ended-overlay {
      gap: 24px;
      background:
        radial-gradient(circle at 50% 35%, rgba(255,255,255,.12), transparent 35%),
        linear-gradient(145deg, #73d113, #1f9f50);
      color: #fff;
    }

    .vsl-start-overlay[hidden],
    .vsl-resume-overlay[hidden],
    .vsl-ended-overlay[hidden],
    .video-error[hidden] {
      display: none;
    }

    .vsl-resume-overlay p,
    .vsl-ended-overlay p {
      max-width: 320px;
      margin: 0;
      color: #fff;
      font-family: "Manrope", sans-serif;
      font-size: clamp(21px, 3vw, 30px);
      font-weight: 800;
      line-height: 1.18;
      text-shadow: 0 2px 8px rgba(0,0,0,.16);
    }

    .vsl-resume-actions {
      width: 100%;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    .vsl-resume-actions button,
    .vsl-ended-overlay button {
      min-height: 58px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      border: 1px solid rgba(255,255,255,.62);
      border-radius: 14px;
      padding: 10px 12px;
      background: rgba(4,20,10,.22);
      color: #fff;
      font-size: 12px;
      font-weight: 800;
      cursor: pointer;
      transition:
        background .2s ease,
        transform .2s ease;
    }

    .vsl-resume-actions button:hover,
    .vsl-resume-actions button:focus-visible,
    .vsl-ended-overlay button:hover,
    .vsl-ended-overlay button:focus-visible {
      background: rgba(4,20,10,.38);
      transform: translateY(-2px);
    }

    .video-label {
      position: absolute;
      z-index: 3;
      left: 14px;
      top: 14px;
      display: inline-flex;
      width: max-content;
      max-width: calc(100% - 28px);
      padding: 6px 12px;
      border: 1px solid rgba(255,255,255,.28);
      border-radius: 7px;
      background: rgba(255,21,21,.86);
      color: #fff;
      font-size: 9px;
      font-weight: 900;
      letter-spacing: .08em;
      white-space: nowrap;
      -webkit-backdrop-filter: blur(6px);
      backdrop-filter: blur(6px);
    }

    .vsl-progress {
      position: absolute;
      z-index: 7;
      left: 0;
      right: 0;
      bottom: 0;
      height: 7px;
      overflow: visible;
      background: rgba(0,0,0,.54);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
    }

    .vsl-progress-fill {
      position: relative;
      width: 0;
      height: 100%;
      overflow: visible;
      background: linear-gradient(90deg, #159447, #39ff14 55%, #c8ff35);
      box-shadow:
        0 0 10px rgba(57,255,20,.75),
        0 -2px 16px rgba(57,255,20,.28);
      transition: width .16s linear;
    }

    .vsl-progress-fill::before {
      content: "";
      position: absolute;
      inset: -2px 0;
      background: linear-gradient(
        100deg,
        transparent 0%,
        rgba(255,255,255,.12) 35%,
        #fff 50%,
        rgba(255,255,255,.12) 65%,
        transparent 100%
      );
      transform: translateX(-100%);
    }

    .vsl-progress-fill::after {
      content: "";
      position: absolute;
      top: 50%;
      right: -5px;
      width: 11px;
      height: 11px;
      border-radius: 50%;
      background: #d8ff5a;
      box-shadow:
        0 0 8px #fff,
        0 0 18px #39ff14;
      transform: translateY(-50%);
    }

    .video-card.is-playing .vsl-progress-fill {
      animation: vslProgressPulse .68s ease-in-out infinite;
    }

    .video-card.is-playing .vsl-progress-fill::before {
      animation: vslProgressSweep .72s linear infinite;
    }

    .video-card.is-playing .vsl-progress-fill::after {
      animation: vslProgressTip .58s ease-in-out infinite;
    }

    .video-error {
      position: absolute;
      inset: 0;
      z-index: 9;
      display: grid;
      place-items: center;
      padding: 28px;
      background: rgba(3,8,12,.92);
      color: #fff;
      font-size: 14px;
      font-weight: 700;
      text-align: center;
    }

    @keyframes vslProgressPulse {
      0%, 100% {
        filter: brightness(1);
        box-shadow:
          0 0 9px rgba(57,255,20,.68),
          0 -2px 14px rgba(57,255,20,.24);
      }
      50% {
        filter: brightness(1.55);
        box-shadow:
          0 0 16px rgba(57,255,20,.95),
          0 -3px 24px rgba(57,255,20,.42);
      }
    }

    @keyframes vslProgressSweep {
      to { transform: translateX(100%); }
    }

    @keyframes vslProgressTip {
      0%, 100% {
        transform: translateY(-50%) scale(.8);
        opacity: .72;
      }
      50% {
        transform: translateY(-50%) scale(1.35);
        opacity: 1;
      }
    }

    @keyframes vslOverlayShine {
      0%, 55% { transform: translateX(-120%); }
      100% { transform: translateX(120%); }
    }

    .video-caption {
      position: absolute;
      z-index: 3;
      right: 22px;
      bottom: 20px;
      left: 22px;
      margin: 0;
      color: rgba(255,255,255,.78);
      font-size: .75rem;
      font-weight: 700;
      letter-spacing: .13em;
      text-transform: uppercase;
    }

    .arrow-wrap {
      position: relative;
      width: 210px;
      height: 155px;
      margin: 18px auto -2px;
      filter: drop-shadow(0 13px 20px rgba(63, 237, 53, .18));
      animation: arrow-float 1.8s ease-in-out infinite;
    }

    .arrow-wrap svg {
      width: 100%;
      height: 100%;
      overflow: visible;
    }

    .cta-kicker {
      margin: 0 0 12px;
      color: #96a29b;
      font-size: .74rem;
      font-weight: 800;
      letter-spacing: .17em;
      text-transform: uppercase;
    }

    .join-button {
      width: min(520px, 92vw);
      min-height: 70px;
      margin-inline: auto;
      padding: 18px 26px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
      border: 1px solid rgba(255,255,255,.36);
      border-radius: 18px;
      color: #031006;
      background: linear-gradient(135deg, var(--green), #5eff43 52%, var(--green-2));
      box-shadow:
        0 18px 38px rgba(25, 225, 66, .2),
        inset 0 1px 0 rgba(255,255,255,.65);
      font: 800 clamp(1.05rem, 2.4vw, 1.28rem)/1 "Manrope", sans-serif;
      letter-spacing: .025em;
      text-decoration: none;
      transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
    }

    .join-button:hover {
      transform: translateY(-3px);
      filter: saturate(1.08) brightness(1.04);
      box-shadow:
        0 24px 48px rgba(25, 225, 66, .28),
        inset 0 1px 0 rgba(255,255,255,.7);
    }

    .join-button .button-arrow {
      font-size: 1.45em;
      line-height: .7;
      transition: transform .2s ease;
    }

    .join-button:hover .button-arrow { transform: translateX(4px); }

    .cta-note {
      max-width: 560px;
      margin: 15px auto 0;
      color: #8f9a94;
      font-size: .88rem;
    }

    .trust-line {
      margin: 34px auto 0;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      color: #bdc6c0;
      font-size: .9rem;
    }

    .trust-line::before {
      content: "✓";
      width: 24px;
      height: 24px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      color: #071008;
      background: var(--green);
      font-weight: 900;
    }

    footer {
      position: relative;
      z-index: 1;
      border-top: 1px solid var(--line);
      background: rgba(0, 0, 0, .52);
    }

    .footer-inner {
      width: min(950px, calc(100% - 40px));
      margin-inline: auto;
      padding: 38px 0 46px;
      color: #8d9891;
      font-size: .78rem;
      line-height: 1.65;
      text-align: center;
    }

    .footer-brand {
      margin: 0 0 18px;
      color: #dfe6e1;
      font-weight: 800;
      letter-spacing: .07em;
    }

    .footer-inner p { margin: 10px 0; }

    .legal-link {
      color: var(--green);
      font-weight: 700;
      text-underline-offset: 3px;
    }

    .copyright {
      margin-top: 22px !important;
      color: #657169;
    }

    dialog {
      width: min(680px, calc(100% - 28px));
      max-height: min(760px, calc(100vh - 40px));
      padding: 0;
      overflow: auto;
      border: 1px solid rgba(141,255,36,.22);
      border-radius: 22px;
      color: var(--ink);
      background: #09100d;
      box-shadow: 0 28px 90px rgba(0,0,0,.72);
    }

    dialog::backdrop {
      background: rgba(0,0,0,.78);
      backdrop-filter: blur(5px);
    }

    .modal-content { padding: 30px; }

    .modal-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 18px;
    }

    .modal-title {
      margin: 0;
      font: 800 1.35rem/1.2 "Manrope", sans-serif;
    }

    .modal-copy {
      margin: 20px 0 0;
      color: #bcc6bf;
      font-size: .95rem;
    }

    .modal-close {
      width: 38px;
      height: 38px;
      flex: 0 0 auto;
      border: 1px solid var(--line);
      border-radius: 50%;
      color: #fff;
      background: rgba(255,255,255,.05);
      font-size: 1.2rem;
      cursor: pointer;
    }

    .toast {
      position: fixed;
      z-index: 20;
      right: 18px;
      bottom: 18px;
      max-width: min(380px, calc(100% - 36px));
      padding: 14px 16px;
      transform: translateY(22px);
      opacity: 0;
      pointer-events: none;
      border: 1px solid rgba(141,255,36,.28);
      border-radius: 14px;
      color: #eaf0ec;
      background: rgba(7,16,11,.96);
      box-shadow: 0 16px 48px rgba(0,0,0,.45);
      font-size: .88rem;
      transition: opacity .2s ease, transform .2s ease;
    }

    .toast.is-visible {
      transform: translateY(0);
      opacity: 1;
    }

    @keyframes arrow-float {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(10px); }
    }

    @media (max-width: 700px) {
      .container { width: min(100% - 26px, 1120px); }
      .header-inner { min-height: 68px; }
      .brand-logo { width: 46px; height: 46px; }
      .brand-name { font-size: .9rem; }
      .brand-subtitle { font-size: .59rem; }
      .hero { padding: 46px 0 30px; }
      .eyebrow { margin-bottom: 18px; font-size: .68rem; }
      h1 {
        font-size: clamp(1.9rem, 8.8vw, 3rem);
        line-height: 1.08;
        letter-spacing: -.04em;
      }
      .hero-copy { margin-top: 18px; }
      .benefits { margin-top: 24px; gap: 8px; }
      .benefits li { padding: 9px 11px; font-size: .72rem; }
      .video-section { padding-top: 8px; padding-bottom: 72px; }
      .video-shell { border-radius: 24px; }
      .video-inner { border-radius: 22px; }
      .vsl-start-button {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
      }
      .vsl-start-overlay,
      .vsl-resume-overlay,
      .vsl-ended-overlay { padding: 22px; }
      .vsl-resume-overlay p,
      .vsl-ended-overlay p { font-size: 22px; }
      .vsl-resume-actions button,
      .vsl-ended-overlay button {
        min-height: 54px;
        padding: 9px;
        font-size: 11px;
      }
      .vsl-progress { height: 6px; }
      .arrow-wrap { width: 180px; height: 132px; margin-top: 12px; }
      .join-button { min-height: 64px; border-radius: 16px; }
      .trust-line { font-size: .82rem; }
      .footer-inner { width: min(100% - 30px, 950px); padding-top: 32px; }
      .modal-content { padding: 23px; }
    }

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