/*
 * Opt-in and delivery pages (04 to 07: the 5 Mental Mistakes guide and the
 * Game Day Audio). Load after /css/v2.css on <body class="v2">.
 * Page scripts keep their original ids (pdfForm, audioForm, submitBtn,
 * formError, gpTrack, gpPrev, gpNext, gpDots, gpCount), so only looks change.
 */
.v2 .opt-hero { padding: 64px 0 88px; }
.v2 .opt-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.v2 .opt-main { flex: 999 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.v2 .opt-side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.v2 .opt-title { font-size: clamp(38px, 5.4vw, 64px); line-height: 1; }
.v2 .opt-title .hl { color: var(--goldText); }
.v2 .opt-form { background: #fff; border-radius: 26px; border: 1px solid var(--line); padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 14px; box-shadow: 0 30px 60px -40px rgba(0, 41, 62, .45); }
.v2 .opt-form .form-group { display: flex; flex-direction: column; gap: 6px; }
.v2 .opt-form label { font: 700 13px Inter, sans-serif; color: var(--ink2); }
.v2 .opt-form input, .v2 .opt-form select { width: 100%; min-height: 52px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgba(0, 41, 62, .14); background: var(--ground); font: 500 16px Inter, sans-serif; color: var(--ink); }
.v2 .opt-form input:focus, .v2 .opt-form select:focus { outline: 2px solid var(--gold); outline-offset: 2px; background: #fff; }
.v2 .opt-form .form-submit { margin-top: 4px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border-radius: 999px; border: 0; background: var(--gold); color: var(--black); font: 800 16px Montserrat, sans-serif; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.v2 .opt-form .form-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(122, 94, 28, .7); }
.v2 .opt-form .form-submit[disabled] { opacity: .6; cursor: default; transform: none; }
.v2 .opt-form .form-trust { display: flex; gap: 8px; align-items: center; justify-content: center; font: 600 13px Inter, sans-serif; color: var(--ink3); }
.v2 .opt-form .form-trust i { color: var(--goldText); }
.v2 .opt-form .form-error { padding: 12px 14px; border-radius: 14px; background: #FBEDEA; border: 1px solid rgba(163, 58, 42, .3); color: #8A2E22; font: 600 14px Inter, sans-serif; text-align: center; }

/* Guide page preview carousel */
.v2 .guide-preview { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 8.5 / 11; background: var(--ink); box-shadow: 0 40px 70px -36px rgba(0, 41, 62, .6); }
.v2 .gp-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.v2 .gp-track::-webkit-scrollbar { display: none; }
.v2 .gp-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; position: relative; margin: 0; }
.v2 .gp-slide img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.v2 .gp-locked figcaption { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 9px 16px; border-radius: 999px; background: var(--ink); color: var(--gold); font: 800 12.5px Montserrat, sans-serif; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.v2 .gp-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 18px; display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 24px -12px rgba(0, 41, 62, .6); transition: opacity .2s; }
.v2 .gp-arrow[disabled] { opacity: .35; cursor: default; }
.v2 .gp-prev { left: 12px; }
.v2 .gp-next { right: 12px; }
.v2 .gp-dots { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 8px; }
.v2 .gp-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .5); cursor: pointer; }
.v2 .gp-dots button.active { background: var(--gold); width: 22px; border-radius: 999px; }
.v2 .gp-count { position: absolute; top: 14px; right: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(0, 41, 62, .85); color: #fff; font: 700 12px Inter, sans-serif; }

/* What's inside list */
.v2 .inside { background: #fff; border-radius: 22px; border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.v2 .inside-item { display: flex; gap: 14px; align-items: flex-start; }
.v2 .inside-number { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--gold); display: grid; place-items: center; font: 900 13px Montserrat, sans-serif; }
.v2 .inside-text { font-size: 15px; line-height: 1.5; color: var(--ink2); padding-top: 5px; }

/* Audio card */
.v2 .audio-card { border-radius: 26px; background: linear-gradient(160deg, var(--navy2), var(--ink) 55%, var(--navy3)); color: #fff; padding: 40px 28px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; position: relative; overflow: hidden; box-shadow: 0 40px 70px -36px rgba(0, 41, 62, .6); }
.v2 .audio-icon { font-size: 54px; color: var(--gold); }
.v2 .waveform { display: flex; gap: 6px; align-items: center; height: 70px; }
.v2 .wave-bar { width: 8px; border-radius: 999px; background: var(--gold); animation: opt-wave 1.4s ease-in-out infinite; }
.v2 .wave-bar:nth-child(1) { height: 30%; animation-delay: 0s; }
.v2 .wave-bar:nth-child(2) { height: 60%; animation-delay: .15s; }
.v2 .wave-bar:nth-child(3) { height: 90%; animation-delay: .3s; }
.v2 .wave-bar:nth-child(4) { height: 70%; animation-delay: .45s; }
.v2 .wave-bar:nth-child(5) { height: 100%; animation-delay: .6s; }
.v2 .wave-bar:nth-child(6) { height: 55%; animation-delay: .75s; }
.v2 .wave-bar:nth-child(7) { height: 35%; animation-delay: .9s; }
@keyframes opt-wave { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
.v2 .audio-label { font: 900 22px Montserrat, sans-serif; }
.v2 .audio-duration { font: 700 13px Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--ice); }

/* Credentials strip */
.v2 .creds { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.v2 .creds p { font: 800 16px Montserrat, sans-serif; }
.v2 .creds-badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.v2 .cred { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 700 13px Inter, sans-serif; color: var(--ink2); }
.v2 .cred i { color: var(--goldText); font-size: 16px; }

/* Feature cards (audio opt-in) */
.v2 .feat { background: #fff; border-radius: 22px; border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.v2 .feat i { width: 46px; height: 46px; border-radius: 14px; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-size: 22px; }
.v2 .feat h3 { font-size: 20px; }
.v2 .feat p { font-size: 15px; line-height: 1.55; color: var(--ink2); }

/* Delivery pages */
.v2 .done-card { background: #fff; border-radius: 26px; border: 1px solid var(--line); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; max-width: 620px; margin: 0 auto; box-shadow: 0 30px 60px -40px rgba(0, 41, 62, .45); }
.v2 .done-check { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: var(--black); display: grid; place-items: center; font-size: 30px; animation: v2-pop .5s .2s var(--ease) both; }
.v2 .done-card h2 { font-size: 24px; }
.v2 .done-card p { color: var(--ink2); line-height: 1.6; }
.v2 .player-head { display: flex; gap: 14px; align-items: center; align-self: stretch; text-align: left; }
.v2 .player-icon { flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-size: 26px; }
.v2 .player-head h3 { font-size: 20px; }
.v2 .player-head .duration { font: 700 12px Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--goldText); }
.v2 .done-card audio { width: 100%; }
.v2 .steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.v2 .step { background: #fff; border-radius: 22px; border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.v2 .step-number { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--gold); display: grid; place-items: center; font: 900 15px Montserrat, sans-serif; margin-bottom: 6px; }
.v2 .step-title { font: 900 19px Montserrat, sans-serif; }
.v2 .step-description { font-size: 15px; line-height: 1.55; color: var(--ink2); }
.v2 .upsell { border-radius: 28px; padding: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.v2 .upsell-text { font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, .84); }
.v2 .upsell-side { flex: 1 1 260px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.v2 .upsell-side i { font-size: 36px; color: var(--gold); }
.v2 .upsell-side .t { font: 900 20px Montserrat, sans-serif; }
.v2 .upsell-side .d { font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .78); }

@media (prefers-reduced-motion: reduce) { .v2 .wave-bar { animation: none; } }
