/* CryptoCoinProp Academy - hub, courses, lessons, live schedule, library and coaching.
 *
 * Built in the language of the redesigned pages (Rewards, Rules): layout and
 * colours live inline in the templates. This sheet carries what inline styles
 * cannot: keyframes, hover states (which must beat the inline base style, hence
 * !important), the video poster, focus states and the phone layout. Motion runs
 * even when the OS asks for reduced motion, like every other page.
 */
body { background: var(--nv-f6f6fa); -webkit-font-smoothing: antialiased; }

.nac { line-height: normal; }
.nac * { box-sizing: border-box; }
.nac a { color: #DD3D4F; text-decoration: none; }
.nac a:hover { color: var(--nv-b4202f); }
.nac ::-webkit-scrollbar { height: 6px; width: 6px; }
.nac ::-webkit-scrollbar-thumb { background: var(--nv-dcdce6); border-radius: 9px; }
.nac [hidden] { display: none !important; }
.nac .nac-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nac .nac-clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nac .nac-clamp3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

@keyframes novaRise { from { opacity: 0; transform: translateY(18px) } to { opacity: 1; transform: translateY(0) } }
@keyframes nacLive { 0% { transform: scale(1); opacity: .85 } 70%, 100% { transform: scale(2.6); opacity: 0 } }
@keyframes nacPlay { 0% { transform: scale(1); opacity: .6 } 100% { transform: scale(1.7); opacity: 0 } }

/* -- hover / focus ---------------------------------------------------------------- */
.nac .nac-h-dark:hover { background: #DD3D4F !important; transform: translateY(-2px) !important; color: #fff !important; }
.nac .nac-h-dark:disabled { opacity: .6; cursor: default !important; transform: none !important; }
.nac .nac-h-white:hover { transform: translateY(-2px) !important; color: var(--nv-b4202f) !important; }
.nac .nac-h-glass:hover { background: rgba(255,255,255,.2) !important; border-color: rgba(255,255,255,.42) !important; color: #fff !important; }
.nac .nac-h-ghost:hover { border-color: var(--nv-f3c4ca) !important; background: var(--nv-fff5f6) !important; color: var(--nv-b4202f) !important; }
.nac .nac-h-card:hover { transform: translateY(-4px) !important; box-shadow: 0 26px 44px -28px rgba(24,20,80,.36) !important; border-color: var(--nv-f3c4ca) !important; }
.nac .nac-h-row:hover { background: var(--nv-fbfafd) !important; }
.nac .nac-h-stat:hover { transform: translateY(-3px) !important; background: rgba(255,255,255,.14) !important; }
.nac .nac-h-tab:hover { background: var(--nv-f0f0f7) !important; color: var(--nv-0e0f1f-text) !important; }
.nac .nac-h-chip:hover { border-color: var(--nv-f3c4ca) !important; color: var(--nv-b4202f) !important; }
.nac .nac-h-link:hover { color: var(--nv-b4202f) !important; }
.nac .nac-h-danger:hover { border-color: #DD3D4F !important; background: var(--nv-fce9eb) !important; color: var(--nv-b4202f) !important; }
.nac .nac-h-green:hover { background: #0E8F5A !important; transform: translateY(-2px) !important; color: #fff !important; }
.nac .nac-h-toc:hover { color: var(--nv-0e0f1f-text) !important; border-color: var(--nv-c4c5d2) !important; }
.nac .nac-toc a[aria-current="true"] { color: var(--nv-b4202f) !important; border-color: #DD3D4F !important; }
.nac .nac-f:focus { border-color: #DD3D4F !important; box-shadow: 0 0 0 4px rgba(221,61,79,.14) !important; outline: none; }
.nac button:focus-visible, .nac a:focus-visible, .nac input:focus-visible, .nac select:focus-visible, .nac textarea:focus-visible, .nac summary:focus-visible { outline: 2px solid #DD3D4F; outline-offset: 2px; }
.nac .nac-on-dark a:focus-visible, .nac .nac-on-dark button:focus-visible { outline-color: #fff; }

/* Academy tab row */
.nac .nac-tabs { scrollbar-width: none; }
.nac .nac-tabs::-webkit-scrollbar { display: none; }

/* live dot: a ring drawn with transform/opacity */
.nac .nac-dot { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #16A36A; flex: none; }
.nac .nac-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: rgba(22,163,106,.5); animation: nacLive 2s cubic-bezier(0,0,.2,1) infinite; will-change: transform, opacity; }
.nac .nac-dot-red { background: #DD3D4F; }
.nac .nac-dot-red::after { background: rgba(221,61,79,.5); }

/* -- video poster: nothing loads from the provider until the trader presses play -- */
.nac .nac-video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 20px; overflow: hidden; cursor: pointer; color: #fff; font-family: inherit; text-align: left; }
.nac .nac-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.nac .nac-video .nac-play { position: relative; width: 78px; height: 78px; border-radius: 50%; background: #fff; display: grid; place-items: center; transition: transform .3s cubic-bezier(.2,.7,.2,1); box-shadow: 0 18px 40px -16px rgba(0,0,0,.6); }
.nac .nac-video .nac-play::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.75); animation: nacPlay 1.8s cubic-bezier(.2,.7,.2,1) infinite; will-change: transform, opacity; }
.nac .nac-video .nac-play::after { content: ''; margin-left: 6px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #DD3D4F; }
.nac .nac-video:hover .nac-play { transform: scale(1.08); }
.nac .nac-video[data-playing] { cursor: default; }

/* audio player (Spotify): a fixed-height strip instead of 16:9 */
.nac .nac-video.nac-video-audio { aspect-ratio: auto; height: 232px; }

/* coaching tier choice */
.nac .nac-tier:has(input:checked) { border-color: #DD3D4F !important; background: var(--nv-fff5f6) !important; }
.nac .nac-tier input:focus-visible { outline: 2px solid #DD3D4F; outline-offset: 2px; }

/* course card cover mark */
.nac .nac-cover-grid { background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 26px 26px; }

/* progress check */
.nac .nac-check { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 600; }

/* details / summary for session notes */
.nac details > summary { list-style: none; cursor: pointer; }
.nac details > summary::-webkit-details-marker { display: none; }
.nac details[open] .nac-caret { transform: rotate(45deg); }

/* form controls */
.nac select.nac-f { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--nv-3a3b4f) 50%), linear-gradient(135deg, var(--nv-3a3b4f) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px !important; }
.nac textarea.nac-f { resize: vertical; }

@media (max-width: 1023.98px) {
  .nac .nac-side-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .nac .nac-side { position: static !important; }
}

@media (max-width: 480px) {
  .nac .nac-main { padding: 20px 16px 56px !important; }
}

/* -- phones (below 768px only) ----------------------------------------------------- */
@media (max-width: 767.98px) {
  .nac .nac-tab { min-height: 44px; display: inline-flex !important; align-items: center; }
  .nac .nac-btn { min-height: 48px; }
  .nac .nac-btn-row > * { flex: 1 1 100%; justify-content: center; }
  .nac .nac-tap { min-height: 44px; min-width: 44px; display: inline-flex !important; align-items: center; }
  .nac .nac-toc a { min-height: 44px; display: flex !important; align-items: center; }
  .nac .nac-side .nac-h-link { min-height: 44px; display: flex !important; align-items: center; }
  .nac .nac-hero { border-radius: 22px !important; }
  .nac .nac-hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
  .nac .nac-hero-stats > div { padding: 12px !important; }
  .nac .nac-hero-stats [data-count] { font-size: 22px !important; }
  .nac .nac-session { grid-template-columns: 58px minmax(0, 1fr) !important; gap: 12px 14px !important; padding: 16px !important; }
  .nac .nac-session-actions { grid-column: 1 / -1; justify-content: stretch !important; flex-direction: row !important; flex-wrap: wrap; min-width: 0 !important; }
  .nac .nac-session-actions > * { flex: 1 1 0; justify-content: center; min-height: 44px; }
  .nac .nac-lesson-row { grid-template-columns: 36px minmax(0, 1fr) !important; gap: 10px 12px !important; padding: 15px 16px !important; }
  .nac .nac-lesson-meta { grid-column: 2; justify-content: flex-start !important; }
  .nac .nac-featured { grid-template-columns: minmax(0, 1fr) !important; }
  .nac .nac-featured-cover { min-height: 150px !important; }
  .nac .nac-search { flex-wrap: wrap; }
  .nac .nac-search input { flex: 1 1 100% !important; height: 48px !important; font-size: 16px !important; }
  .nac .nac-search { flex: 1 1 100% !important; }
  .nac .nac-search button { flex: 1 1 100% !important; height: 48px !important; }
  .nac .nac-chip { min-height: 44px; display: inline-flex !important; align-items: center; }
  .nac .nac-f { font-size: 16px !important; min-height: 48px; }
  .nac textarea.nac-f { min-height: 120px; }
  .nac .nac-pn { grid-template-columns: minmax(0, 1fr) !important; }
  .nac .nac-req { padding: 16px !important; }
  .nac .nac-req-actions > * { flex: 1 1 100%; justify-content: center; min-height: 44px; }
  .nac .nac-video { border-radius: 16px; }
  .nac .nac-video .nac-play { width: 56px; height: 56px; }
  .nac .nac-video .nac-play::after { border-width: 10px 0 10px 16px; margin-left: 4px; }
  .nac .nac-video .nac-video-note { display: none !important; }
}
@media (max-width: 360px) {
  .nac .nac-hero-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
  .nac .nac-session { grid-template-columns: minmax(0, 1fr) !important; }
  .nac .nac-session > .nac-date { display: none !important; }
}
