/* ============================================
   HRC DISCOVER COURSE - Human Rights Campaign
   Native full-page action experience
   ============================================ */

/* HRC THEME VARS */
.hdc {
  --hdc-bg: #002366;
  --hdc-card: rgba(255,255,255,0.08);
  --hdc-border: rgba(255,210,0,0.2);
  --hdc-border-active: rgba(255,210,0,0.5);
  --hdc-yellow: #FFD200;
  --hdc-blue: #4A90D9;
  --hdc-white: #ffffff;
  --hdc-light: #e8f0fe;
  --hdc-text: #ffffff;
  --hdc-muted: #a0b4d0;
  --hdc-danger: #ff4444;
  --hdc-success: #4ade80;
  --hdc-grad: linear-gradient(90deg, #FFD200, #4A90D9, #ffffff);
  --hdc-grad-full: linear-gradient(90deg, #FFD200, #7BB8E0, #4A90D9, #a0c4e8, #ffffff);
  --hdc-font: 'Neue Haas Grotesk Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --hdc-radius: 16px;
  --hdc-radius-sm: 12px;
  --hdc-radius-xs: 8px;
}

/* -- LAYOUT -- */
.hdc {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--hdc-bg);
  color: var(--hdc-text);
  font-family: var(--hdc-font);
  padding-bottom: 120px;
  position: relative;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
.hdc * { -webkit-tap-highlight-color: transparent; }

/* Ambient glow */
.hdc::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(74,144,217,0.09) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255,210,0,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(74,144,217,0.05) 0%, transparent 50%);
}

/* -- TOP BAR -- */
.hdc-topbar {
  position: sticky;
  top: calc(var(--nav-height, 64px) + var(--preview-bar-height, 0px));
  z-index: 50;
  background: transparent;
  border-bottom: none;
}
.hdc-topbar--active {
  background: rgba(0,35,102,0.92);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--hdc-border);
}
.hdc-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 720px;
  margin: 0 auto;
}
.hdc-topbar__back {
  background: none;
  border: none;
  color: var(--hdc-muted);
  font-size: 14px;
  font-family: var(--hdc-font);
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hdc-topbar__back:hover,
.hdc-topbar__back:active { color: #fff; background: rgba(255,255,255,0.06); }
.hdc-topbar__back svg { width: 16px; height: 16px; }
.hdc-topbar__brand {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--hdc-yellow);
  font-family: var(--hdc-font);
}
.hdc-topbar__pts {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  font-size: 14px;
  color: var(--hdc-yellow);
}
.hdc-topbar__pts-icon {
  font-size: 11px;
}

/* Progress bar — hidden until journey starts */
.hdc-progress {
  height: 3px;
  background: rgba(255,210,0,0.08);
  display: none;
}
.hdc-progress__fill {
  height: 100%;
  width: 0%;
  background: var(--hdc-grad);
  transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
  border-radius: 0 2px 2px 0;
}

/* -- HERO -- */
.hdc-hero {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
}
.hdc-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hdc-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,35,102,0.15) 0%,
    rgba(0,35,102,0.35) 30%,
    rgba(0,35,102,0.8) 65%,
    rgba(0,35,102,1) 100%
  );
}
.hdc-hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 20px 32px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.hdc-hero__logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  display: block;
  filter: drop-shadow(0 2px 16px rgba(0,0,0,0.5));
  border-radius: 12px;
}
.hdc-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--hdc-yellow);
  background: rgba(255,210,0,0.1);
  border: 1px solid rgba(255,210,0,0.25);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.hdc-hero__title {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.hdc-hero__sub {
  font-size: 14px;
  color: var(--hdc-muted);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto;
}
.hdc-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 14px 32px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--hdc-yellow), #e6bc00);
  color: #002366;
  font-size: 16px;
  font-weight: 800;
  font-family: var(--hdc-font);
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 24px rgba(255,210,0,0.3);
}
.hdc-hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,210,0,0.45);
}
.hdc-hero__cta:active {
  transform: scale(0.97);
}

/* -- ROADMAP -- */
.hdc-roadmap {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px 16px;
  overflow: visible;
  display: none;
}
.hdc-roadmap__track {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  position: relative;
}
.hdc-roadmap__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}
.hdc-roadmap__line {
  position: absolute;
  top: 22px;
  left: calc(50% + 26px);
  right: calc(-50% + 26px);
  height: 2px;
  background: rgba(255,210,0,0.12);
  z-index: 0;
  transition: background 0.5s;
}
.hdc-roadmap__item:last-child .hdc-roadmap__line { display: none; }
.hdc-roadmap__line--done { background: var(--hdc-grad) !important; }
.hdc-roadmap__node {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  border: 2px solid rgba(255,210,0,0.2);
  background: rgba(0,25,80,0.9);
  position: relative;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  cursor: pointer;
  font-family: var(--hdc-font);
}
.hdc-roadmap__node--active {
  border-color: var(--hdc-yellow);
  background: linear-gradient(135deg, #FFD200, #4A90D9);
  box-shadow: 0 0 28px rgba(255,210,0,0.35), 0 0 8px rgba(74,144,217,0.2);
  color: #fff;
}
.hdc-roadmap__node--done {
  border-color: var(--hdc-blue);
  background: linear-gradient(135deg, #FFD200, #4A90D9);
  color: #fff;
  box-shadow: 0 0 16px rgba(74,144,217,0.2);
}
.hdc-roadmap__node--locked {
  opacity: 0.3;
  cursor: default;
}
.hdc-roadmap__node--locked svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}
.hdc-roadmap__label {
  font-size: 10px;
  color: var(--hdc-muted);
  text-align: center;
  margin-top: 8px;
  max-width: 72px;
  line-height: 1.3;
  font-weight: 500;
  transition: color 0.3s;
}
.hdc-roadmap__node--active + .hdc-roadmap__label { color: var(--hdc-yellow); font-weight: 700; }
.hdc-roadmap__node--done + .hdc-roadmap__label { color: var(--hdc-blue); }

/* -- MAIN CONTENT AREA -- */
.hdc-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

/* -- CHAPTER -- */
.hdc-chapter {
  display: none;
}
.hdc-chapter--active {
  display: block;
}

/* -- STEP CARD -- */
.hdc-step {
  background: rgba(0,20,70,0.75);
  border: 1px solid var(--hdc-border);
  border-radius: var(--hdc-radius);
  padding: 28px 24px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.4,0,0.2,1);
  display: none;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
@media (min-width: 768px) {
  .hdc-step {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}
.hdc-step--visible {
  opacity: 1;
  transform: translateY(0);
  display: block;
}
.hdc-step--past {
  display: none !important;
}

/* -- SECTION IMAGE -- */
.hdc-section-img {
  position: relative;
  width: calc(100% + 48px);
  margin: -28px -24px 24px;
  height: 200px;
  overflow: hidden;
  border-radius: var(--hdc-radius) var(--hdc-radius) 0 0;
}
.hdc-section-img__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hdc-section-img__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(0,35,102,0.7) 100%);
  pointer-events: none;
}
.hdc-section-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,210,0,0.15) 0%, rgba(74,144,217,0.1) 50%, rgba(255,255,255,0.1) 100%);
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hdc-section-img__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 24px;
  background: linear-gradient(to top, rgba(0,35,102,0.85) 0%, transparent 100%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--hdc-yellow);
  font-family: var(--hdc-font);
}

/* -- BREAK IMAGE -- */
.hdc-break-img {
  position: relative;
  width: 100%;
  height: 140px;
  border-radius: var(--hdc-radius-sm);
  overflow: hidden;
  margin: 0 0 20px;
}
.hdc-break-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hdc-break-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,210,0,0.12), rgba(74,144,217,0.1), rgba(255,255,255,0.1));
  mix-blend-mode: color;
}
.hdc-break-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,35,102,0.3);
  z-index: 1;
}

/* -- TYPOGRAPHY -- */
.hdc-step__pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--hdc-yellow);
  padding: 5px 0;
  margin-bottom: 10px;
}
.hdc-step h2 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 14px;
  line-height: 1.3;
  font-family: var(--hdc-font);
  color: #fff;
}
.hdc-step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: var(--hdc-font);
}
.hdc-step p {
  font-size: 14px;
  color: var(--hdc-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* -- ICON GRID -- */
.hdc-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0;
}
.hdc-icon-grid__item {
  text-align: center;
  padding: 18px 10px;
  background: rgba(0,20,70,0.6);
  border: 1px solid var(--hdc-border);
  border-radius: var(--hdc-radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hdc-icon-grid__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.hdc-icon-grid__icon--yellow { background: linear-gradient(135deg, #FFD200, #e6bc00); color: #002366; }
.hdc-icon-grid__icon--blue { background: linear-gradient(135deg, #4A90D9, #3570b0); color: #fff; }
.hdc-icon-grid__icon--white { background: linear-gradient(135deg, #ffffff, #d0dff0); color: #002366; }
.hdc-icon-grid__label {
  font-size: 12px;
  color: var(--hdc-muted);
  line-height: 1.3;
  font-weight: 500;
}

/* -- CALLOUT -- */
.hdc-callout {
  background: rgba(255,210,0,0.05);
  border: 1px solid rgba(255,210,0,0.25);
  border-radius: var(--hdc-radius-sm);
  padding: 20px;
  text-align: center;
  margin: 20px 0;
}
.hdc-callout__text {
  font-size: 17px;
  font-weight: 800;
  color: var(--hdc-text);
  letter-spacing: 0.5px;
  font-family: var(--hdc-font);
}
.hdc-callout__label {
  font-size: 11px;
  color: var(--hdc-yellow);
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-top: 8px;
}

/* -- BULLET LIST -- */
.hdc-bullets {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.hdc-bullets li {
  font-size: 14px;
  color: var(--hdc-muted);
  line-height: 1.7;
  padding: 5px 0 5px 22px;
  position: relative;
}
.hdc-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hdc-yellow);
}

/* -- QUOTE BLOCK -- */
.hdc-quote {
  border-left: 3px solid var(--hdc-yellow);
  padding: 18px 22px;
  margin: 20px 0;
  background: rgba(255,210,0,0.03);
  border-radius: 0 var(--hdc-radius-sm) var(--hdc-radius-sm) 0;
}
.hdc-quote p {
  font-size: 15px;
  font-style: italic;
  color: var(--hdc-text);
  line-height: 1.7;
  margin: 0;
}
.hdc-quote__attr {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.hdc-quote__attr img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--hdc-yellow);
}
.hdc-quote__attr span {
  font-size: 12px;
  color: var(--hdc-muted);
  font-style: normal;
}
.hdc-quote__attr strong {
  color: var(--hdc-text);
}

/* -- STAT ROW -- */
.hdc-stats {
  display: flex;
  gap: 12px;
  margin: 20px 0;
  flex-wrap: wrap;
}
.hdc-stat {
  flex: 1;
  min-width: 120px;
  background: rgba(0,20,70,0.7);
  border: 1px solid var(--hdc-border);
  border-radius: var(--hdc-radius-sm);
  padding: 20px 14px;
  text-align: center;
}
.hdc-stat__num {
  font-size: 32px;
  font-weight: 900;
  color: var(--hdc-yellow);
  line-height: 1.1;
  font-family: var(--hdc-font);
}
.hdc-stat__label {
  font-size: 12px;
  color: var(--hdc-muted);
  line-height: 1.4;
  margin-top: 6px;
}

/* -- HIGHLIGHT CARD -- */
.hdc-highlight {
  border: 1px solid rgba(74,144,217,0.35);
  border-radius: var(--hdc-radius);
  padding: 24px;
  margin: 16px 0;
  background: rgba(74,144,217,0.03);
}
.hdc-highlight--yellow {
  border-color: rgba(255,210,0,0.35);
  background: rgba(255,210,0,0.04);
}
.hdc-highlight__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--hdc-blue);
  margin-bottom: 8px;
  font-family: var(--hdc-font);
}
.hdc-highlight--yellow .hdc-highlight__title { color: var(--hdc-yellow); }
.hdc-highlight p {
  font-size: 13px;
  color: var(--hdc-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}
.hdc-highlight__phone {
  font-size: 28px;
  font-weight: 900;
  color: var(--hdc-yellow);
  margin: 10px 0;
  letter-spacing: 1px;
  font-family: var(--hdc-font);
}
.hdc-highlight__stat {
  font-size: 12px;
  color: var(--hdc-blue);
  line-height: 1.5;
  font-weight: 500;
}

/* -- WARNING CARD -- */
.hdc-warning {
  border-left: 3px solid var(--hdc-danger);
  background: rgba(255,68,68,0.05);
  padding: 14px 16px;
  border-radius: 0 var(--hdc-radius-xs) var(--hdc-radius-xs) 0;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--hdc-text);
  line-height: 1.5;
}
.hdc-warning strong { color: var(--hdc-danger); }

/* -- TWO COLUMN -- */
.hdc-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}
@media (max-width: 500px) { .hdc-two-col { grid-template-columns: 1fr; } }
.hdc-col-card {
  background: rgba(0,20,70,0.7);
  border: 1px solid var(--hdc-border);
  border-radius: var(--hdc-radius-sm);
  padding: 18px;
}
.hdc-col-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--hdc-yellow);
  font-family: var(--hdc-font);
}
.hdc-col-card--alt h4 { color: var(--hdc-blue); }
.hdc-col-card p { font-size: 13px; color: var(--hdc-muted); line-height: 1.5; margin: 0; }

/* -- PHASE ROW -- */
.hdc-phases {
  display: flex;
  gap: 12px;
  margin: 20px 0;
}
@media (max-width: 500px) { .hdc-phases { flex-direction: column; } }
.hdc-phase {
  flex: 1;
  background: rgba(0,20,70,0.7);
  border: 1px solid var(--hdc-border);
  border-radius: var(--hdc-radius-sm);
  padding: 18px;
}
.hdc-phase h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  font-family: var(--hdc-font);
}
.hdc-phase--before h4 { color: var(--hdc-yellow); }
.hdc-phase--after h4 { color: var(--hdc-blue); }
.hdc-phase p { font-size: 13px; color: var(--hdc-muted); line-height: 1.6; margin: 0; }

/* -- PILLS -- */
.hdc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 20px;
}
.hdc-pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--hdc-yellow);
  background: rgba(255,210,0,0.08);
  border: 1px solid rgba(255,210,0,0.2);
  padding: 6px 16px;
  border-radius: 24px;
}

/* -- ACTIONS IMMERSIVE CONTAINER -- */
.hdc-actions-immersive {
  position: relative;
  border-radius: var(--hdc-radius);
  overflow: hidden;
  padding: 28px 24px 24px;
  margin: -8px -20px 0;
  background: linear-gradient(165deg, rgba(0,25,80,0.95) 0%, rgba(0,15,50,0.98) 100%);
  border: 1px solid rgba(74,144,217,0.1);
}
.hdc-actions-immersive__inner { position: relative; z-index: 3; }

.hdc-action-header {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--hdc-yellow);
  margin: 0 0 4px;
  font-family: var(--hdc-font);
}
.hdc-action-req {
  font-size: 12px;
  color: var(--hdc-muted);
  margin-bottom: 14px;
}

/* Action card */
.hdc-action {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0,20,70,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--hdc-radius-sm);
  padding: 14px 16px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}
.hdc-action:hover,
.hdc-action:active {
  border-color: var(--hdc-yellow);
  background: rgba(255,210,0,0.04);
}
@media (hover: hover) {
  .hdc-action:hover { transform: translateY(-1px); }
}
.hdc-action--done {
  border-color: var(--hdc-success) !important;
  background: rgba(74,222,128,0.06) !important;
}
.hdc-action__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  color: #002366;
  font-weight: 800;
}
.hdc-action__icon--yellow { background: linear-gradient(135deg, #FFD200, #e6bc00); }
.hdc-action__icon--blue { background: linear-gradient(135deg, #4A90D9, #3570b0); color: #fff; }
.hdc-action__icon--white { background: linear-gradient(135deg, #ffffff, #d0dff0); }
.hdc-action__icon svg { width: 16px; height: 16px; fill: currentColor; }
.hdc-action__label {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--hdc-text);
}
.hdc-action__type {
  font-size: 10px;
  color: var(--hdc-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
  font-weight: 600;
}
.hdc-action__pts {
  font-size: 12px;
  font-weight: 700;
  color: var(--hdc-yellow);
  background: rgba(255,210,0,0.1);
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}
.hdc-action--done .hdc-action__pts {
  color: var(--hdc-success);
  background: rgba(74,222,128,0.1);
}
.hdc-action__check {
  display: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--hdc-success);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  color: #002366;
  font-weight: 800;
}
.hdc-action--done .hdc-action__check { display: flex; }

/* Action progress */
.hdc-action-progress {
  font-size: 13px;
  color: var(--hdc-muted);
  margin: 14px 0 6px;
  font-weight: 500;
}

/* -- BUTTONS -- */
.hdc-btn {
  display: block;
  width: 100%;
  padding: 15px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: var(--hdc-font);
  transition: all 0.3s;
  text-align: center;
  margin-top: 8px;
}
.hdc-btn--primary {
  background: var(--hdc-yellow);
  color: #002366;
}
.hdc-btn--primary:hover,
.hdc-btn--primary:active {
  filter: brightness(1.1);
  box-shadow: 0 0 28px rgba(255,210,0,0.3);
}
.hdc-btn--primary:disabled,
.hdc-btn--disabled {
  opacity: 0.2;
  cursor: not-allowed;
  filter: none;
  box-shadow: none;
}
.hdc-btn--blue {
  background: linear-gradient(90deg, var(--hdc-yellow), var(--hdc-blue));
  color: #002366;
  font-weight: 800;
}
.hdc-btn--yellow {
  background: var(--hdc-yellow);
  color: #002366;
  font-weight: 800;
}
.hdc-btn--yellow:hover,
.hdc-btn--yellow:active {
  background: #ffe033;
  color: #001a4d;
}

/* ======================================================
   PATCH – Missing class definitions
   ====================================================== */

/* Section label — chapter/section title above steps */
.hdc-section-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--hdc-muted);
  margin-bottom: 8px;
}

/* Swipe card active state — visible card in the deck */
.hdc-swipe__card--active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

/* Flipcards flipped counter */
.hdc-flipcards__flipped {
  font-weight: 800;
  color: var(--hdc-yellow);
}

/* True/False current counter */
.hdc-truefalse__current {
  font-weight: 800;
  color: var(--hdc-yellow);
}

/* Quiz card arrow directional modifiers */
.hdc-quiz-card__arrow--prev {
  /* left arrow inherits base styles */
}
.hdc-quiz-card__arrow--next {
  /* right arrow inherits base styles */
}
.hdc-quiz-card__arrow--prev:disabled,
.hdc-quiz-card__arrow--next:disabled {
  opacity: 0.25;
  pointer-events: none;
}

/* Learn panel page type modifiers — used as JS selectors, base styles apply */
.hdc-learn-panel__page--info { /* info page context */ }
.hdc-learn-panel__page--quiz { /* quiz page context */ }

/* Spotlight phone link */
.hdc-spotlight__phone-link {
  text-decoration: none;
  display: block;
}

/* True/False continue button — uses .hdc-btn base, this is a positional override */
.hdc-truefalse__continue {
  margin-top: 16px;
  align-self: center;
}
.hdc-btn--outline {
  background: transparent;
  border: 1px solid rgba(255,210,0,0.25);
  color: var(--hdc-muted);
}
.hdc-btn--outline:hover,
.hdc-btn--outline:active {
  border-color: var(--hdc-yellow);
  color: var(--hdc-text);
}
.hdc-btn--small {
  padding: 10px 24px;
  font-size: 13px;
  width: auto;
  display: inline-block;
}

/* ======================================================
   SHARED IMMERSIVE BACKGROUND LAYERS
   Used by quiz, actions, survey, receipt containers
   ====================================================== */
.hdc-immersive-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.35;
  filter: blur(2px) saturate(1.2);
  pointer-events: none;
}
.hdc-immersive-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(74,144,217,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(255,210,0,0.06) 0%, transparent 50%),
    linear-gradient(to bottom, rgba(0,20,70,0.7) 0%, rgba(0,15,50,0.85) 50%, rgba(0,10,40,0.92) 100%);
  pointer-events: none;
}
.hdc-immersive-overlay--receipt {
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255,210,0,0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(74,144,217,0.08) 0%, transparent 50%),
    linear-gradient(to bottom, rgba(0,20,70,0.6) 0%, rgba(0,15,50,0.8) 50%, rgba(0,10,40,0.9) 100%);
}
.hdc-immersive-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

/* Ambient floating particle */
.hdc-ambient-particle {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  animation: hdcAmbientFloat linear infinite;
  opacity: 0;
}
@keyframes hdcAmbientFloat {
  0%   { transform: translateY(0) translateX(0) rotate(0deg) scale(0.6); opacity: 0; }
  10%  { opacity: 0.5; }
  50%  { opacity: 0.35; transform: translateY(-45vh) translateX(var(--drift, 0px)) rotate(180deg) scale(1); }
  90%  { opacity: 0.15; }
  100% { transform: translateY(-90vh) translateX(calc(var(--drift, 0px) * 1.5)) rotate(360deg) scale(0.5); opacity: 0; }
}

/* ======================================================
   QUIZ IMMERSIVE
   ====================================================== */
.hdc-quiz-immersive {
  position: relative;
  min-height: 420px;
  padding: 32px 0 20px;
  border-radius: var(--hdc-radius);
  overflow: hidden;
  background: linear-gradient(165deg, rgba(0,25,80,0.95) 0%, rgba(0,15,50,0.98) 100%);
  border: 1px solid rgba(255,210,0,0.12);
}

/* Progress dots row */
.hdc-quiz-immersive__progress,
.hdc-quiz-immersive__counter,
.hdc-quiz-immersive__deck { position: relative; z-index: 3; }

.hdc-quiz-immersive__progress {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}
.hdc-quiz-immersive__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.hdc-quiz-immersive__dot--active {
  background: var(--hdc-yellow);
  box-shadow: 0 0 10px rgba(255,210,0,0.5);
  transform: scale(1.25);
}
.hdc-quiz-immersive__dot--done {
  background: var(--hdc-blue);
  box-shadow: 0 0 8px rgba(74,144,217,0.4);
}

/* Counter text */
.hdc-quiz-immersive__counter {
  text-align: center;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.35);
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
}

/* Deck */
.hdc-quiz-immersive__deck {
  transition: opacity 0.3s, transform 0.3s;
}
.hdc-quiz-immersive__deck--exit {
  opacity: 0;
  transform: translateX(-30px);
}
.hdc-quiz-immersive__deck--enter {
  animation: hdcQuizSlideIn 0.4s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes hdcQuizSlideIn {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Question card */
.hdc-quiz-card {
  padding: 0 24px 20px;
}
.hdc-quiz-card__q {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--hdc-text);
  margin-bottom: 24px;
  text-align: center;
  font-family: var(--hdc-font);
}

/* Answer cards */
.hdc-quiz-card__answers {
  position: relative;
  min-height: 140px;
  overflow: hidden;
}
.hdc-quiz-card__answer {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0,30,90,0.9), rgba(0,20,65,0.95));
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s, opacity 0.3s;
  opacity: 0;
  transform: translateX(80px);
  pointer-events: none;
}
.hdc-quiz-card__answer--active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}
.hdc-quiz-card__answer--active:hover {
  border-color: rgba(255,210,0,0.35);
  box-shadow: 0 4px 24px rgba(255,210,0,0.08);
  transform: translateY(-2px);
}

/* Slide animations */
.hdc-quiz-card__answer--exit-left {
  animation: hdcAnswerExitLeft 0.35s ease forwards;
}
.hdc-quiz-card__answer--exit-right {
  animation: hdcAnswerExitRight 0.35s ease forwards;
}
.hdc-quiz-card__answer--enter-right {
  animation: hdcAnswerEnterRight 0.35s cubic-bezier(0.22,1,0.36,1) forwards;
}
.hdc-quiz-card__answer--enter-left {
  animation: hdcAnswerEnterLeft 0.35s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes hdcAnswerExitLeft {
  to { opacity: 0; transform: translateX(-80px); }
}
@keyframes hdcAnswerExitRight {
  to { opacity: 0; transform: translateX(80px); }
}
@keyframes hdcAnswerEnterRight {
  from { opacity: 0; transform: translateX(80px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes hdcAnswerEnterLeft {
  from { opacity: 0; transform: translateX(-80px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Answer letter badge */
.hdc-quiz-card__answer-letter {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,210,0,0.15), rgba(255,210,0,0.05));
  color: var(--hdc-yellow);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255,210,0,0.2);
}
.hdc-quiz-card__answer-text {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

/* Answer nav */
.hdc-quiz-card__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 20px 0 16px;
}
.hdc-quiz-card__arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.6);
  font-size: 22px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.hdc-quiz-card__arrow:hover {
  background: rgba(255,210,0,0.1);
  border-color: rgba(255,210,0,0.3);
  color: var(--hdc-yellow);
}
.hdc-quiz-card__answer-dots {
  display: flex;
  gap: 8px;
}
.hdc-quiz-card__adot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: all 0.3s;
}
.hdc-quiz-card__adot--active {
  background: var(--hdc-yellow);
  transform: scale(1.3);
}

/* Select answer button */
.hdc-quiz-card__select {
  display: block;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--hdc-yellow), #e6bc00);
  color: #002366;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hdc-quiz-card__select:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,210,0,0.35);
}
.hdc-quiz-card__select:active {
  transform: scale(0.98);
}

/* Correct/wrong states */
.hdc-quiz-card__answer--correct {
  border-color: var(--hdc-success) !important;
  background: linear-gradient(135deg, rgba(74,222,128,0.15), rgba(74,222,128,0.05)) !important;
  box-shadow: 0 0 30px rgba(74,222,128,0.2);
}
.hdc-quiz-card__answer--correct .hdc-quiz-card__answer-letter {
  background: var(--hdc-success);
  color: #002366;
  border-color: var(--hdc-success);
}
.hdc-quiz-card__answer--correct .hdc-quiz-card__answer-text {
  color: #fff;
  font-weight: 700;
}
.hdc-quiz-card__answer--wrong {
  border-color: var(--hdc-danger) !important;
  background: linear-gradient(135deg, rgba(255,68,68,0.12), rgba(255,68,68,0.04)) !important;
  animation: hdcShake 0.5s ease;
}
.hdc-quiz-card__answer--wrong .hdc-quiz-card__answer-letter {
  background: var(--hdc-danger);
  color: #fff;
  border-color: var(--hdc-danger);
}
.hdc-quiz-card__answer--wrong .hdc-quiz-card__answer-text {
  color: rgba(255,255,255,0.5);
  text-decoration: line-through;
}

/* Feedback */
.hdc-quiz-card__feedback {
  margin-top: 16px;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  display: none;
  opacity: 0;
  transform: translateY(8px);
}
.hdc-quiz-card__feedback--show {
  display: block;
  animation: hdcFeedbackReveal 0.4s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes hdcFeedbackReveal {
  to { opacity: 1; transform: translateY(0); }
}
.hdc-quiz-card__feedback--correct {
  background: rgba(74,222,128,0.08);
  color: var(--hdc-success);
  border: 1px solid rgba(74,222,128,0.15);
}
.hdc-quiz-card__feedback--wrong {
  background: rgba(255,68,68,0.06);
  color: var(--hdc-danger);
  border: 1px solid rgba(255,68,68,0.12);
}
.hdc-quiz-card__fb-icon {
  font-weight: 800;
  font-size: 15px;
  margin-right: 4px;
}
.hdc-quiz-card__fb-icon--wrong { color: var(--hdc-danger); }

/* -- SURVEY IMMERSIVE CONTAINER -- */
.hdc-survey-immersive {
  position: relative;
  border-radius: var(--hdc-radius);
  overflow: hidden;
  padding: 32px 24px 24px;
  margin: -8px -20px 0;
  background: linear-gradient(165deg, rgba(0,25,80,0.95) 0%, rgba(0,15,50,0.98) 100%);
  border: 1px solid rgba(74,144,217,0.1);
}
.hdc-survey-immersive__inner { position: relative; z-index: 3; }

/* -- RECEIPT IMMERSIVE CONTAINER -- */
.hdc-receipt-immersive {
  position: relative;
  border-radius: var(--hdc-radius);
  overflow: hidden;
  padding: 32px 24px 24px;
  margin: -8px -20px 0;
  min-height: 500px;
  background: linear-gradient(165deg, rgba(0,25,80,0.95) 0%, rgba(0,15,50,0.98) 100%);
  border: 1px solid rgba(255,210,0,0.15);
}
.hdc-receipt-immersive__inner { position: relative; z-index: 3; }
.hdc-receipt__badge {
  font-size: 48px;
  text-align: center;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 20px rgba(255,210,0,0.5));
  animation: hdcBadgePulse 2s ease-in-out infinite;
}
@keyframes hdcBadgePulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(255,210,0,0.5)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 30px rgba(255,210,0,0.7)); }
}

/* -- LEARN PANEL VIDEO BACKGROUND -- */
.hdc-learn-panel__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
  filter: blur(1px) saturate(1.3);
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  pointer-events: none;
}
.hdc-learn-panel__header,
.hdc-learn-panel__body,
.hdc-learn-panel__quiz,
.hdc-learn-panel__pages { position: relative; z-index: 2; }

/* Quiz particles */
.hdc-quiz-particle {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  line-height: 1;
  animation: hdcParticleBurst 0.9s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes hdcParticleBurst {
  0%   { opacity: 1; transform: translate(0, 0) scale(1) rotate(0deg); }
  100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(0.3) rotate(var(--rot, 180deg)); }
}

/* -- SURVEY -- */
.hdc-survey-group {
  margin-bottom: 28px;
}
.hdc-survey__q {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
  font-family: var(--hdc-font);
  color: var(--hdc-text);
}
.hdc-survey__option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--hdc-radius-sm);
  margin-bottom: 6px;
  cursor: pointer;
  font-size: 13px;
  color: var(--hdc-muted);
  background: rgba(0,20,70,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: inherit;
  transition: all 0.2s;
}
.hdc-survey__option:hover,
.hdc-survey__option:active {
  border-color: var(--hdc-yellow);
  color: var(--hdc-text);
}
.hdc-survey__option--selected {
  border-color: var(--hdc-yellow) !important;
  background: rgba(255,210,0,0.08) !important;
  color: var(--hdc-text) !important;
}

/* -- PILLAR SUMMARY -- */
.hdc-pillars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}
.hdc-pillar {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(0,20,70,0.7);
  border: 1px solid var(--hdc-border);
  border-radius: var(--hdc-radius-sm);
  padding: 18px;
}
.hdc-pillar__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--hdc-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
  color: #002366;
  font-family: var(--hdc-font);
}
.hdc-pillar h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  font-family: var(--hdc-font);
  color: var(--hdc-text);
}
.hdc-pillar p { font-size: 13px; color: var(--hdc-muted); line-height: 1.5; margin: 0; }

/* -- CELEBRATION -- */
.hdc-celebration {
  text-align: center;
  padding: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--hdc-radius);
}
.hdc-celebration__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  z-index: 0;
  pointer-events: none;
}
.hdc-celebration__inner {
  position: relative;
  z-index: 1;
  padding: 36px 20px;
}
.hdc-celebration__badge {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--hdc-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 40px;
  box-shadow: 0 0 48px rgba(255,210,0,0.3), 0 0 16px rgba(74,144,217,0.2);
  animation: hdcPulse 2s ease infinite;
}
.hdc-celebration h2 {
  font-size: 26px;
  margin-bottom: 8px;
  font-family: var(--hdc-font);
}
.hdc-celebration__sub {
  color: var(--hdc-muted);
  font-size: 14px;
  margin-bottom: 4px;
}
.hdc-celebration__pts {
  font-size: 22px;
  font-weight: 800;
  color: var(--hdc-yellow);
  margin: 14px 0;
  font-family: var(--hdc-font);
}
.hdc-celebration__unlock {
  font-size: 14px;
  color: var(--hdc-muted);
  margin: 16px 0;
}

/* -- RECEIPT -- */
.hdc-receipt {
  background: rgba(0,15,50,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,210,0,0.2);
  border-radius: var(--hdc-radius);
  padding: 28px 24px;
  margin: 0 0 20px;
  text-align: center;
}
.hdc-receipt__title {
  font-size: 13px;
  letter-spacing: 2.5px;
  margin-bottom: 20px;
  font-family: var(--hdc-font);
  font-weight: 800;
  background: var(--hdc-grad-full);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hdc-receipt__row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 14px;
}
.hdc-receipt__row:last-child { border: none; }
.hdc-receipt__label { color: var(--hdc-muted); }
.hdc-receipt__value { font-weight: 600; color: var(--hdc-text); }
.hdc-receipt__msg {
  font-size: 14px;
  color: var(--hdc-blue);
  margin-top: 20px;
  line-height: 1.6;
  font-weight: 500;
}

/* -- EXPLODING OFFER -- */
.hdc-offer {
  background: rgba(255,210,0,0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid var(--hdc-yellow);
  border-radius: var(--hdc-radius);
  padding: 28px;
  margin: 0 0 16px;
  text-align: center;
  animation: hdcGlow 2s infinite;
}
.hdc-offer h3 {
  color: var(--hdc-yellow);
  font-size: 18px;
  margin-bottom: 8px;
  font-family: var(--hdc-font);
}
.hdc-offer p {
  font-size: 14px;
  color: var(--hdc-muted);
  margin-bottom: 16px;
}
.hdc-offer__timer {
  font-size: 32px;
  font-weight: 900;
  color: var(--hdc-yellow);
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
  font-family: var(--hdc-font);
}

/* -- GLOW DIVIDER -- */
.hdc-divider {
  height: 1px;
  background: var(--hdc-grad);
  opacity: 0.25;
  margin: 32px 0;
  border-radius: 1px;
}

/* -- FLOATING POINTS -- */
.hdc-float-pts {
  position: fixed;
  pointer-events: none;
  z-index: 200;
  font-weight: 800;
  font-size: 18px;
  color: var(--hdc-yellow);
  font-family: var(--hdc-font);
  animation: hdcFloatUp 1.3s ease forwards;
  text-shadow: 0 2px 12px rgba(255,210,0,0.4);
}

/* -- LEARN OVERLAY (bottom sheet) -- */
.hdc-learn-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 200;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  overscroll-behavior: contain;
  touch-action: none;
  padding: 20px;
}
.hdc-learn-panel {
  width: 100%;
  max-width: 540px;
  max-height: 85vh;
  max-height: 85svh;
  background: rgba(0,15,50,0.98);
  border-radius: 20px;
  border: 1px solid rgba(255,210,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: hdcFadeInUp 0.35s ease-out;
  touch-action: auto;
}
.hdc-learn-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.hdc-learn-panel__title {
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  font-family: var(--hdc-font);
}
.hdc-learn-panel__close {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  color: var(--hdc-muted);
  font-family: var(--hdc-font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 14px;
  line-height: 1;
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background 0.2s, color 0.2s;
}
.hdc-learn-panel__body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  touch-action: pan-y;
}
.hdc-learn-panel__body h4 {
  color: var(--hdc-yellow);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 20px 0 8px;
  font-weight: 700;
}
.hdc-learn-panel__body h4:first-child { margin-top: 0; }
.hdc-learn-panel__body p { margin-bottom: 12px; }
.hdc-learn-panel__body ul { padding-left: 18px; margin-bottom: 12px; }
.hdc-learn-panel__body li { margin-bottom: 6px; }
.hdc-learn-panel__body .hdc-learn-source {
  font-size: 11px;
  color: var(--hdc-muted);
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Learn panel pagination */
.hdc-learn-panel__pages {
  flex: 1;
  overflow: hidden;
  position: relative;
  min-height: 0;
}
.hdc-learn-panel__page {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  opacity: 0;
  transform: translateX(60px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.hdc-learn-panel__page--active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}
.hdc-learn-panel__page--exit {
  opacity: 0;
  transform: translateX(-60px);
  pointer-events: none;
  position: absolute;
}
.hdc-learn-panel__page-cta-wrap {
  padding: 16px 20px 24px;
  flex-shrink: 0;
}
.hdc-learn-panel__page-cta {
  display: block;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--hdc-yellow), #e6bc00);
  color: #002366;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--hdc-font);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(255,210,0,0.25);
}
.hdc-learn-panel__page-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,210,0,0.35);
}
.hdc-learn-panel__page-cta:active {
  transform: scale(0.98);
}
.hdc-learn-panel__quiz-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--hdc-yellow);
  margin-bottom: 12px;
  font-family: var(--hdc-font);
}
.hdc-learn-panel__quiz {
  flex-shrink: 0;
  padding: 24px 20px 28px;
  background: rgba(0,0,0,0.3);
}
.hdc-learn-panel__quiz-q {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  font-family: var(--hdc-font);
}
.hdc-learn-panel__quiz-opt {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  margin-bottom: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  font-family: var(--hdc-font);
  cursor: pointer;
  transition: all 0.2s;
}
.hdc-learn-panel__quiz-opt:hover,
.hdc-learn-panel__quiz-opt:active {
  background: rgba(255,210,0,0.08);
  border-color: rgba(255,210,0,0.3);
}
.hdc-learn-panel__quiz-opt--correct {
  background: rgba(74,222,128,0.15) !important;
  border-color: var(--hdc-success) !important;
  color: var(--hdc-success) !important;
  pointer-events: none;
}
.hdc-learn-panel__quiz-opt--wrong {
  background: rgba(255,68,68,0.1) !important;
  border-color: var(--hdc-danger) !important;
  color: var(--hdc-danger) !important;
  pointer-events: none;
  opacity: 0.5;
}
.hdc-learn-panel__result {
  text-align: center;
  padding: 12px 0 0;
  font-weight: 700;
  font-size: 14px;
  color: var(--hdc-success);
  font-family: var(--hdc-font);
}

/* -- VIDEO FULLSCREEN -- */
.hdc-video-fs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100svh;
  z-index: 250;
  background: #000;
  display: flex;
  flex-direction: column;
  overscroll-behavior: contain;
}
.hdc-video-fs iframe {
  flex: 1;
  width: 100%;
  min-height: 0;
  border: none;
}
.hdc-video-fs__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(0,0,0,0.95);
}
.hdc-video-fs__timer {
  color: rgba(255,255,255,0.35);
  font-size: 12px;
  font-family: var(--hdc-font);
  font-variant-numeric: tabular-nums;
  min-width: 42px;
}
.hdc-video-fs__progress {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.hdc-video-fs__progress-fill {
  height: 100%;
  width: 0%;
  background: var(--hdc-yellow);
  border-radius: 2px;
  transition: width 1s linear;
}
.hdc-video-fs__close {
  position: absolute;
  top: 16px;
  right: 16px;
  height: 44px;
  padding: 0 20px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 22px;
  color: #fff;
  font-size: 16px;
  font-family: var(--hdc-font);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.hdc-video-fs__close span { font-size: 13px; font-weight: 500; }
.hdc-video-fs__close:hover { background: rgba(0,0,0,0.8); color: #fff; }
.hdc-video-fs__done {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.4);
  border: none;
  font-family: var(--hdc-font);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 24px;
  border-radius: 8px;
  cursor: not-allowed;
  transition: all 0.4s;
  white-space: nowrap;
  min-height: 44px;
}
.hdc-video-fs__done--show {
  background: var(--hdc-yellow);
  color: #002366;
  cursor: pointer;
  pointer-events: auto;
}
.hdc-video-fs__done--show:hover { filter: brightness(1.1); }

/* ======================================================
   TRUE / FALSE -- Tinder-style swipe cards
   ====================================================== */
.hdc-truefalse {
  position: relative;
  min-height: 440px;
  padding: 32px 0 20px;
  border-radius: var(--hdc-radius);
  overflow: hidden;
  background: linear-gradient(165deg, rgba(0,25,80,0.95) 0%, rgba(0,15,50,0.98) 100%);
  border: 1px solid rgba(255,210,0,0.12);
}
.hdc-truefalse__inner { position: relative; z-index: 3; padding: 0 24px; }
.hdc-truefalse__header {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--hdc-yellow);
  text-align: center;
  margin-bottom: 4px;
  font-family: var(--hdc-font);
}
.hdc-truefalse__sub {
  font-size: 13px;
  color: var(--hdc-muted);
  text-align: center;
  margin-bottom: 16px;
}
/* Mobile swipe hint — hidden on desktop */
.hdc-truefalse__sub--mobile {
  display: none;
}
/* Desktop click hint — shown on desktop, hidden on mobile */
.hdc-truefalse__sub--desktop {
  display: block;
}
@media (max-width: 768px) {
  .hdc-truefalse__sub--mobile { display: block; }
  .hdc-truefalse__sub--desktop { display: none; }
}
.hdc-truefalse__counter {
  text-align: center;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.35);
  font-weight: 600;
  margin-bottom: 20px;
}
.hdc-truefalse__deck {
  position: relative;
  min-height: 200px;
  perspective: 600px;
}
.hdc-truefalse__card {
  display: none;
  padding: 32px 24px;
  background: linear-gradient(135deg, rgba(0,30,90,0.95), rgba(0,20,65,0.98));
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  text-align: center;
  transition: transform 0.3s ease, opacity 0.3s;
  user-select: none;
}
.hdc-truefalse__card--active {
  display: block;
}
.hdc-truefalse__card-emoji {
  font-size: 42px;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 12px rgba(255,210,0,0.3));
}
.hdc-truefalse__card-text {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  font-family: var(--hdc-font);
}
.hdc-truefalse__card-hint {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  margin-top: 16px;
  letter-spacing: 1px;
  display: none; /* only show on mobile */
}
@media (max-width: 768px) {
  .hdc-truefalse__card-hint { display: block; }
}
.hdc-truefalse__card--correct {
  border-color: var(--hdc-success) !important;
  background: linear-gradient(135deg, rgba(74,222,128,0.15), rgba(74,222,128,0.05)) !important;
}
.hdc-truefalse__card--wrong {
  border-color: var(--hdc-danger) !important;
  background: linear-gradient(135deg, rgba(255,68,68,0.12), rgba(255,68,68,0.04)) !important;
}
.hdc-truefalse__card--exit-right {
  animation: hdcTfExitRight 0.5s ease forwards;
}
.hdc-truefalse__card--exit-left {
  animation: hdcTfExitLeft 0.5s ease forwards;
}
@keyframes hdcTfExitRight {
  to { opacity: 0; transform: translateX(120px) rotate(15deg); }
}
@keyframes hdcTfExitLeft {
  to { opacity: 0; transform: translateX(-120px) rotate(-15deg); }
}
.hdc-truefalse__buttons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.hdc-truefalse__btn {
  flex: 1;
  padding: 14px;
  border: 2px solid;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  font-family: var(--hdc-font);
  cursor: pointer;
  transition: all 0.2s;
}
.hdc-truefalse__btn--false {
  background: rgba(255,68,68,0.08);
  border-color: rgba(255,68,68,0.3);
  color: var(--hdc-danger);
}
.hdc-truefalse__btn--false:hover,
.hdc-truefalse__btn--false:active {
  background: rgba(255,68,68,0.15);
  border-color: var(--hdc-danger);
}
.hdc-truefalse__btn--true {
  background: rgba(74,222,128,0.08);
  border-color: rgba(74,222,128,0.3);
  color: var(--hdc-success);
}
.hdc-truefalse__btn--true:hover,
.hdc-truefalse__btn--true:active {
  background: rgba(74,222,128,0.15);
  border-color: var(--hdc-success);
}
.hdc-truefalse__result {
  text-align: center;
  margin-top: 16px;
}
.hdc-truefalse__score {
  font-size: 20px;
  font-weight: 800;
  color: var(--hdc-success);
  font-family: var(--hdc-font);
}

/* ======================================================
   FLIP CARDS -- Tap to reveal
   ====================================================== */
.hdc-flipcards {
  position: relative;
  padding: 32px 0 20px;
  border-radius: var(--hdc-radius);
  overflow: hidden;
  background: linear-gradient(165deg, rgba(0,25,80,0.95) 0%, rgba(0,15,50,0.98) 100%);
  border: 1px solid rgba(74,144,217,0.12);
}
.hdc-flipcards__inner { position: relative; z-index: 3; padding: 0 24px; }
.hdc-flipcards__header {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--hdc-blue);
  text-align: center;
  margin-bottom: 4px;
  font-family: var(--hdc-font);
}
.hdc-flipcards__sub {
  font-size: 13px;
  color: var(--hdc-muted);
  text-align: center;
  margin-bottom: 20px;
}
.hdc-flipcards__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 380px) {
  .hdc-flipcards__grid { grid-template-columns: 1fr; }
}
.hdc-flipcard {
  perspective: 600px;
  cursor: pointer;
  min-height: 140px;
}
.hdc-flipcard__inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 140px;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
  transform-style: preserve-3d;
}
.hdc-flipcard--flipped .hdc-flipcard__inner {
  transform: rotateY(180deg);
}
.hdc-flipcard__front,
.hdc-flipcard__back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
}
.hdc-flipcard__front {
  background: linear-gradient(135deg, rgba(0,30,90,0.95), rgba(0,20,65,0.98));
  border: 1px solid rgba(255,210,0,0.2);
}
.hdc-flipcard__front-emoji {
  font-size: 28px;
  margin-bottom: 8px;
}
.hdc-flipcard__front-label {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  font-family: var(--hdc-font);
  text-align: center;
}
.hdc-flipcard__tap-hint {
  font-size: 9px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.2);
  margin-top: 8px;
  font-weight: 700;
}
.hdc-flipcard__back {
  background: linear-gradient(135deg, rgba(74,144,217,0.12), rgba(255,210,0,0.08));
  border: 1px solid rgba(74,144,217,0.25);
  transform: rotateY(180deg);
  padding: 14px 10px;
  justify-content: flex-start;
  padding-top: 20px;
}
.hdc-flipcard__back-text {
  font-size: 12px;
  color: rgba(255,255,255,0.9);
  line-height: 1.55;
  text-align: center;
  font-weight: 500;
}
.hdc-flipcards__progress {
  text-align: center;
  font-size: 12px;
  color: var(--hdc-muted);
  margin-top: 16px;
  font-weight: 600;
}

/* ======================================================
   SPOTLIGHT -- Full-bleed quote/moment
   ====================================================== */
.hdc-spotlight {
  position: relative;
  min-height: 340px;
  border-radius: var(--hdc-radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hdc-spotlight__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: blur(2px) saturate(1.3);
  z-index: 0;
}
.hdc-spotlight__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(0,35,102,0.3) 0%, rgba(0,35,102,0.7) 100%);
}
.hdc-spotlight__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 28px;
  max-width: 480px;
}
.hdc-spotlight__emoji {
  font-size: 48px;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 16px rgba(255,210,0,0.4));
  animation: hdcPulse 2.5s ease infinite;
}
.hdc-spotlight__quote {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  font-family: var(--hdc-font);
  font-style: italic;
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hdc-spotlight__attr {
  font-size: 13px;
  color: var(--hdc-yellow);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.hdc-spotlight__body {
  margin-top: 12px;
}

/* ======================================================
   REVEAL -- Accordion-style progressive disclosure
   ====================================================== */
.hdc-reveal {
  position: relative;
  padding: 32px 0 20px;
  border-radius: var(--hdc-radius);
  overflow: hidden;
  background: linear-gradient(165deg, rgba(0,25,80,0.95) 0%, rgba(0,15,50,0.98) 100%);
  border: 1px solid rgba(74,144,217,0.12);
}
.hdc-reveal__inner {
  position: relative;
  z-index: 3;
  padding: 0 24px;
}
.hdc-reveal__inner h2 {
  text-align: center;
  margin-bottom: 8px;
}
.hdc-reveal__sub {
  text-align: center;
  font-size: 13px;
  color: var(--hdc-muted) !important;
  margin-bottom: 24px !important;
}
.hdc-reveal__items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hdc-reveal__item {
  background: rgba(0,20,70,0.7);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.hdc-reveal__item--open {
  border-color: rgba(74,144,217,0.3);
}
.hdc-reveal__item-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  transition: background 0.2s;
  user-select: none;
}
.hdc-reveal__item-header:hover,
.hdc-reveal__item-header:active {
  background: rgba(255,255,255,0.03);
}
.hdc-reveal__item-emoji {
  font-size: 22px;
  flex-shrink: 0;
}
.hdc-reveal__item-title {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  font-family: var(--hdc-font);
}
.hdc-reveal__item-toggle {
  font-size: 20px;
  color: var(--hdc-muted);
  font-weight: 300;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.hdc-reveal__item--open .hdc-reveal__item-toggle {
  transform: rotate(45deg);
  color: var(--hdc-blue);
}
.hdc-reveal__item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
  padding: 0 18px;
  font-size: 13px;
  color: var(--hdc-muted);
  line-height: 1.65;
}
.hdc-reveal__item--open .hdc-reveal__item-body {
  max-height: 200px;
  padding: 0 18px 16px;
}

/* ======================================================
   SWIPE CARD SYSTEM
   ====================================================== */
.hdc-swipe {
  position: relative;
  width: calc(100% + 32px);
  margin: -20px -16px 0;
  min-height: 280px;
  max-height: 420px;
  overflow: hidden;
  border-radius: 12px;
  touch-action: pan-y pinch-zoom;
  -webkit-user-select: none;
  user-select: none;
  contain: layout style;
}
.hdc-swipe__track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
  height: 100%;
}
.hdc-swipe__track--dragging {
  transition: none !important;
}
.hdc-swipe__card {
  min-width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 20px 28px;
  min-height: 280px;
  overflow: hidden;
  /* Solid gradient background (no video) */
  background: linear-gradient(165deg, var(--hdc-bg), rgba(0,45,130,0.95));
}

/* Card background */
.hdc-swipe__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hdc-swipe__card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom,
    rgba(0,35,102,0.05) 0%,
    rgba(0,35,102,0.35) 40%,
    rgba(0,35,102,0.85) 80%,
    rgba(0,35,102,0.95) 100%
  );
  pointer-events: none;
}
.hdc-swipe__card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(255,210,0,0.1) 0%, rgba(74,144,217,0.08) 50%, rgba(255,255,255,0.06) 100%);
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hdc-swipe__content {
  position: relative;
  z-index: 2;
}
.hdc-swipe__emoji {
  font-size: 44px;
  margin-bottom: 10px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}
.hdc-swipe__title {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 8px;
  font-family: var(--hdc-font);
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.hdc-swipe__text {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,0.9);
  max-width: 480px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
  overflow-wrap: break-word;
}

/* Swipe nav */
.hdc-swipe__nav {
  position: relative;
  z-index: 3;
  padding: 0 20px;
}
.hdc-swipe__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 0 2px;
}
.hdc-swipe__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,210,0,0.25);
  transition: all 0.3s;
  cursor: pointer;
  padding: 0;
  margin: 0;
  position: relative;
}
.hdc-swipe__dot::before {
  content: '';
  position: absolute;
  inset: -8px;
}
.hdc-swipe__dot--active {
  background: var(--hdc-yellow);
  width: 28px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(255,210,0,0.5);
}

/* Swipe hint */
.hdc-swipe-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: var(--hdc-yellow);
  padding: 8px 0;
  animation: hdcSwipeArrow 1.5s ease-in-out infinite;
}
@keyframes hdcSwipeArrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}
.hdc-swipe__hint {
  text-align: center;
  font-size: 12px;
  color: rgba(255,210,0,0.5);
  padding: 6px 0 0;
  animation: hdcSwipeHint 2s ease infinite;
}
@keyframes hdcSwipeHint {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* -- BIG STAT CARD -- */
.hdc-bigstat {
  text-align: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hdc-bigstat__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}
.hdc-bigstat__content {
  position: relative;
  z-index: 1;
}
.hdc-bigstat__num {
  font-size: 72px;
  font-weight: 900;
  font-family: var(--hdc-font);
  color: var(--hdc-yellow);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-shadow: 0 0 40px rgba(255,210,0,0.3);
}
.hdc-bigstat__num--visible {
  opacity: 1;
  transform: scale(1);
}
.hdc-bigstat__label {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  max-width: 300px;
  margin: 0 auto;
  line-height: 1.5;
}
.hdc-bigstat__sub {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-top: 10px;
  line-height: 1.5;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.hdc-bigstat__source {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin-top: 12px;
}

/* ======================================================
   FULLSCREEN VIDEO STEP
   ====================================================== */
.hdc-step--fullscreen {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  position: relative;
  overflow: hidden;
  min-height: 65svh;
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 12px;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.hdc-step--fullscreen .hdc-fullvid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hdc-step--fullscreen .hdc-fullvid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom,
    rgba(0,35,102,0) 0%,
    rgba(0,35,102,0.3) 30%,
    rgba(0,35,102,0.8) 70%,
    rgba(0,35,102,0.95) 100%
  );
  pointer-events: none;
}
.hdc-step--fullscreen .hdc-fullvid-content {
  position: relative;
  z-index: 2;
  padding: 24px 20px 28px;
}

/* -- FULLSCREEN INLINE -- */
.hdc-fullscreen {
  position: relative;
  min-height: 65svh;
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 12px;
}
.hdc-fullscreen__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hdc-fullscreen__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom,
    rgba(0,35,102,0) 0%,
    rgba(0,35,102,0.3) 30%,
    rgba(0,35,102,0.8) 70%,
    rgba(0,35,102,0.95) 100%
  );
  pointer-events: none;
}
.hdc-fullscreen__content {
  position: relative;
  z-index: 2;
  padding: 24px 20px 28px;
}
.hdc-fullscreen__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 900;
  color: var(--hdc-yellow);
  text-decoration: none;
  margin: 12px 0 16px;
  font-family: var(--hdc-font);
  letter-spacing: 0.5px;
  padding: 12px 0;
  -webkit-tap-highlight-color: transparent;
}
.hdc-fullscreen__phone svg {
  width: 24px;
  height: 24px;
  fill: var(--hdc-yellow);
}
.hdc-fullscreen__stats {
  display: flex;
  gap: 16px;
  margin: 12px 0 20px;
}
.hdc-fullscreen__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hdc-fullscreen__stat-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--hdc-blue);
  font-family: var(--hdc-font);
}
.hdc-fullscreen__stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

/* -- PILL TAGS -- */
.hdc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.hdc-tag {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-family: var(--hdc-font);
}
.hdc-tag--yellow { background: rgba(255,210,0,0.15); color: var(--hdc-yellow); border: 1px solid rgba(255,210,0,0.3); }
.hdc-tag--blue { background: rgba(74,144,217,0.12); color: var(--hdc-blue); border: 1px solid rgba(74,144,217,0.25); }
.hdc-tag--white { background: rgba(255,255,255,0.1); color: var(--hdc-white); border: 1px solid rgba(255,255,255,0.2); }

/* ======================================================
   ACTION TYPE OVERLAYS (HRC-specific)
   ====================================================== */
.hdc-action-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 210;
  background: rgba(0,15,50,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  overscroll-behavior: contain;
}
.hdc-action-panel {
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  max-height: 85svh;
  background: rgba(0,20,70,0.98);
  border: 1px solid rgba(255,210,0,0.2);
  border-radius: var(--hdc-radius);
  padding: 28px 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: hdcFadeInUp 0.35s ease-out;
}
.hdc-action-panel__header {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--hdc-yellow);
  margin-bottom: 6px;
  font-family: var(--hdc-font);
}
.hdc-action-panel__title {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  font-family: var(--hdc-font);
}
.hdc-action-panel__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  color: var(--hdc-muted);
  font-family: var(--hdc-font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 14px;
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background 0.2s, color 0.2s;
}
.hdc-action-panel__close:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* Email Rep Panel */
.hdc-email-panel textarea {
  width: 100%;
  min-height: 160px;
  background: rgba(0,15,50,0.8);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--hdc-radius-sm);
  color: var(--hdc-text);
  font-family: var(--hdc-font);
  font-size: 13px;
  line-height: 1.6;
  padding: 16px;
  resize: vertical;
  margin-bottom: 16px;
}
.hdc-email-panel textarea:focus {
  outline: none;
  border-color: var(--hdc-yellow);
}

/* Call Panel */
.hdc-call-panel__number {
  font-size: 28px;
  font-weight: 900;
  color: var(--hdc-yellow);
  text-align: center;
  margin: 16px 0;
  font-family: var(--hdc-font);
  letter-spacing: 1px;
}
.hdc-call-panel__script {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--hdc-radius-sm);
  padding: 16px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--hdc-muted);
  line-height: 1.6;
}
.hdc-call-panel__timer {
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  color: var(--hdc-blue);
  font-variant-numeric: tabular-nums;
  margin: 12px 0;
  font-family: var(--hdc-font);
}

/* Petition Panel */
.hdc-petition-panel__text {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--hdc-radius-sm);
  padding: 16px;
  margin-bottom: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  max-height: 200px;
  overflow-y: auto;
}
.hdc-petition-panel input {
  width: 100%;
  background: rgba(0,15,50,0.8);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--hdc-radius-xs);
  color: var(--hdc-text);
  font-family: var(--hdc-font);
  font-size: 14px;
  padding: 12px 16px;
  margin-bottom: 10px;
}
.hdc-petition-panel input:focus {
  outline: none;
  border-color: var(--hdc-yellow);
}
.hdc-petition-panel input::placeholder {
  color: var(--hdc-muted);
}

/* Chorus Panel */
.hdc-chorus-panel__counter {
  text-align: center;
  font-size: 48px;
  font-weight: 900;
  color: var(--hdc-yellow);
  font-family: var(--hdc-font);
  margin: 20px 0 8px;
}
.hdc-chorus-panel__label {
  text-align: center;
  font-size: 14px;
  color: var(--hdc-muted);
  margin-bottom: 20px;
}

/* Poll Panel */
.hdc-poll-panel__option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--hdc-radius-sm);
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--hdc-text);
  background: rgba(0,20,70,0.6);
  font-family: var(--hdc-font);
  transition: all 0.2s;
}
.hdc-poll-panel__option:hover {
  border-color: var(--hdc-yellow);
  background: rgba(255,210,0,0.04);
}
.hdc-poll-panel__option--selected {
  border-color: var(--hdc-yellow) !important;
  background: rgba(255,210,0,0.08) !important;
}
.hdc-poll-panel__results {
  margin-top: 20px;
}
.hdc-poll-panel__bar {
  margin-bottom: 12px;
}
.hdc-poll-panel__bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--hdc-muted);
  margin-bottom: 4px;
}
.hdc-poll-panel__bar-fill {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.hdc-poll-panel__bar-fill-inner {
  height: 100%;
  border-radius: 4px;
  background: var(--hdc-grad);
  transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
}

/* Share Panel */
.hdc-share-panel__preview {
  background: rgba(0,15,50,0.8);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--hdc-radius-sm);
  padding: 20px;
  margin-bottom: 16px;
  text-align: center;
}
.hdc-share-panel__buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hdc-share-panel__btn {
  flex: 1;
  min-width: 80px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--hdc-radius-xs);
  background: rgba(0,20,70,0.6);
  color: var(--hdc-text);
  font-family: var(--hdc-font);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}
.hdc-share-panel__btn:hover {
  border-color: var(--hdc-yellow);
  background: rgba(255,210,0,0.06);
}

/* Monthly Defender Panel */
.hdc-monthly-panel__step {
  display: none;
}
.hdc-monthly-panel__step--active {
  display: block;
  animation: hdcFadeInUp 0.3s ease-out;
}
.hdc-monthly-panel__tier {
  padding: 18px;
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: var(--hdc-radius-sm);
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s;
  background: rgba(0,20,70,0.6);
}
.hdc-monthly-panel__tier:hover {
  border-color: rgba(255,210,0,0.3);
}
.hdc-monthly-panel__tier--selected {
  border-color: var(--hdc-yellow) !important;
  background: rgba(255,210,0,0.06) !important;
}
.hdc-monthly-panel__tier--recommended {
  border-color: var(--hdc-yellow);
  background: rgba(255,210,0,0.06);
  position: relative;
}
.hdc-monthly-panel__tier--recommended::before {
  content: 'RECOMMENDED';
  position: absolute;
  top: -10px;
  left: 16px;
  background: var(--hdc-yellow);
  color: #002366;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 2px 10px;
  border-radius: 4px;
  font-family: var(--hdc-font);
}
.hdc-monthly-panel__tier-amount {
  font-size: 24px;
  font-weight: 900;
  color: var(--hdc-yellow);
  font-family: var(--hdc-font);
}
.hdc-monthly-panel__tier-label {
  font-size: 13px;
  color: var(--hdc-muted);
  margin-top: 4px;
}
.hdc-monthly-panel__success {
  text-align: center;
  padding: 32px 16px;
}
.hdc-monthly-panel__success-badge {
  font-size: 56px;
  margin-bottom: 16px;
}
.hdc-monthly-panel__success-title {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
  font-family: var(--hdc-font);
}
.hdc-monthly-panel__success-sub {
  font-size: 14px;
  color: var(--hdc-muted);
}

/* User Content Panel */
.hdc-user-content-panel textarea {
  width: 100%;
  min-height: 120px;
  background: rgba(0,15,50,0.8);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--hdc-radius-sm);
  color: var(--hdc-text);
  font-family: var(--hdc-font);
  font-size: 13px;
  line-height: 1.6;
  padding: 16px;
  resize: vertical;
  margin-bottom: 12px;
}
.hdc-user-content-panel textarea:focus {
  outline: none;
  border-color: var(--hdc-yellow);
}
.hdc-user-content-panel__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--hdc-muted);
}
.hdc-user-content-panel__consent input[type="checkbox"] {
  accent-color: var(--hdc-yellow);
  margin-top: 2px;
}

/* ======================================================
   ANIMATIONS
   ====================================================== */
@keyframes hdcFadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hdcBigStatPop {
  0% { transform: scale(0.5); opacity: 0; }
  70% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes hdcFloat {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0; }
  100% { transform: translateY(-100vh); opacity: 0; }
}
@keyframes hdcFloatUp {
  0% { opacity: 1; transform: translateY(0) scale(1); }
  60% { opacity: 1; transform: translateY(-30px) scale(1.2); }
  100% { opacity: 0; transform: translateY(-70px) scale(0.9); }
}
@keyframes hdcShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}
@keyframes hdcPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
@keyframes hdcGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(255,210,0,0.15); }
  50% { box-shadow: 0 0 44px rgba(255,210,0,0.35); }
}
@keyframes hdcSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* ======================================================
   RESPONSIVE -- Mobile (max-width: 767px)
   ====================================================== */
@media (max-width: 767px) {
  .hdc-topbar__inner { padding: 10px 16px; }
  .hdc-topbar__brand { font-size: 11px; letter-spacing: 2px; }
  .hdc-topbar__back {
    font-size: 13px;
    padding: 8px 10px;
    min-height: 44px;
    min-width: 44px;
  }
  .hdc-topbar__pts { font-size: 13px; }

  .hdc-hero { height: 360px; }
  .hdc-hero__title { font-size: 22px; }
  .hdc-hero__sub { font-size: 13px; }
  .hdc-hero__content { padding: 0 16px 24px; }
  .hdc-hero__pill { font-size: 10px; padding: 4px 10px; }
  .hdc-hero__logo { width: 64px; height: 64px; }

  .hdc-roadmap { padding: 14px 10px 10px; }
  .hdc-roadmap__node {
    width: 38px;
    height: 38px;
    font-size: 13px;
    position: relative;
  }
  .hdc-roadmap__node::after {
    content: '';
    position: absolute;
    inset: -6px;
  }
  .hdc-roadmap__label { font-size: 9px; max-width: 56px; }
  .hdc-roadmap__line { top: 19px; left: calc(50% + 22px); right: calc(-50% + 22px); }

  .hdc-main {
    padding: 0 10px;
    overflow-x: hidden;
  }

  .hdc-step {
    padding: 20px 16px;
    margin-bottom: 14px;
    border-radius: 12px;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .hdc-step h2 { font-size: 20px; margin-bottom: 10px; }
  .hdc-step h3 { font-size: 15px; }
  .hdc-step p { font-size: 14px; line-height: 1.6; }

  .hdc-section-img {
    width: calc(100% + 32px);
    margin: -20px -16px 18px;
    height: 160px;
  }
  .hdc-break-img { height: 100px; }

  .hdc-icon-grid { gap: 8px; }
  .hdc-icon-grid__item { padding: 14px 6px; }
  .hdc-icon-grid__icon { width: 40px; height: 40px; font-size: 18px; }
  .hdc-icon-grid__label { font-size: 11px; }

  .hdc-stats { gap: 8px; }
  .hdc-stat__num { font-size: 26px; }
  .hdc-stat__label { font-size: 11px; }
  .hdc-stat { padding: 14px 10px; min-width: 90px; }

  .hdc-callout { padding: 16px; }
  .hdc-callout__text { font-size: 15px; }

  .hdc-action {
    padding: 14px 14px;
    gap: 10px;
    min-height: 56px;
    align-items: center;
  }
  .hdc-action__icon { width: 36px; height: 36px; font-size: 15px; }
  .hdc-action__label {
    font-size: 13px;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }
  .hdc-action__pts { font-size: 11px; padding: 4px 10px; }

  .hdc-btn {
    padding: 15px;
    font-size: 15px;
    min-height: 48px;
    border-radius: 28px;
    touch-action: manipulation;
  }
  .hdc-btn--small {
    padding: 10px 22px;
    font-size: 13px;
    min-height: 44px;
  }

  .hdc-actions-immersive,
  .hdc-survey-immersive,
  .hdc-receipt-immersive { padding: 20px 16px; margin: -4px -16px 0; border-radius: 16px; }
  .hdc-immersive-bg { opacity: 0.25; }

  .hdc-quiz-immersive { min-height: 380px; padding: 24px 0 16px; }
  .hdc-quiz-card { padding: 0 16px 16px; }
  .hdc-quiz-card__q { font-size: 16px; }
  .hdc-quiz-card__answer { padding: 16px 18px; gap: 12px; }
  .hdc-quiz-card__answer-letter { width: 36px; height: 36px; font-size: 14px; border-radius: 10px; }
  .hdc-quiz-card__answer-text { font-size: 13px; }
  .hdc-quiz-card__select { padding: 14px; font-size: 14px; touch-action: manipulation; }
  .hdc-quiz-card__arrow { touch-action: manipulation; }

  .hdc-survey__q { font-size: 14px; }
  .hdc-survey__option {
    padding: 12px 16px;
    font-size: 13px;
    min-height: 44px;
    touch-action: manipulation;
    display: flex;
    align-items: center;
  }

  .hdc-highlight { padding: 18px; }
  .hdc-highlight__phone { font-size: 24px; }
  .hdc-highlight__title { font-size: 12px; }

  .hdc-warning { padding: 12px 14px; font-size: 12px; }

  .hdc-celebration__inner { padding: 32px 16px; }
  .hdc-celebration__badge { width: 80px; height: 80px; font-size: 36px; }
  .hdc-celebration h2 { font-size: 24px; }
  .hdc-celebration__pts { font-size: 20px; }

  .hdc-receipt { padding: 20px 16px; }
  .hdc-receipt__row { font-size: 13px; padding: 10px 0; }

  .hdc-offer { padding: 20px; }
  .hdc-offer h3 { font-size: 16px; }
  .hdc-offer__timer { font-size: 28px; }

  .hdc-learn-panel {
    max-height: 92svh;
    max-height: 92vh;
  }
  .hdc-learn-panel__body {
    padding: 16px;
    font-size: 14px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .hdc-learn-panel__quiz { padding: 14px 16px 16px; }
  .hdc-learn-panel__quiz-opt {
    min-height: 44px;
    padding: 12px 14px;
    touch-action: manipulation;
    display: flex;
    align-items: center;
  }

  .hdc-pillar { padding: 14px; gap: 12px; }
  .hdc-pillar__num { width: 32px; height: 32px; font-size: 13px; }
  .hdc-pillar h4 { font-size: 14px; }
  .hdc-pillar p { font-size: 12px; }

  .hdc-col-card { padding: 14px; }
  .hdc-col-card h4 { font-size: 13px; }
  .hdc-col-card p { font-size: 12px; }
  .hdc-phase { padding: 14px; }

  .hdc-video-fs__close {
    top: max(12px, env(safe-area-inset-top, 12px));
    right: max(12px, env(safe-area-inset-right, 12px));
  }
  .hdc-video-fs__bar {
    padding: 14px max(20px, env(safe-area-inset-right, 20px)) calc(14px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 20px));
  }

  .hdc-fullscreen__phone {
    font-size: 22px;
    padding: 14px 0;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
  }
  .hdc-fullscreen__stats { gap: 12px; flex-wrap: wrap; }
  .hdc-fullscreen__stat-num { font-size: 26px; }
  .hdc-fullscreen__stat-label { font-size: 11px; }

  .hdc-float-pts { font-size: 16px; }

  .hdc-truefalse { min-height: 400px; padding: 24px 0 16px; }
  .hdc-truefalse__inner { padding: 0 16px; }
  .hdc-truefalse__card { padding: 24px 18px; }
  .hdc-truefalse__card-emoji { font-size: 36px; }
  .hdc-truefalse__card-text { font-size: 15px; }
  .hdc-truefalse__btn { padding: 14px; font-size: 14px; min-height: 48px; touch-action: manipulation; }

  .hdc-flipcards { padding: 24px 0 16px; }
  .hdc-flipcards__inner { padding: 0 16px; }
  .hdc-flipcard { min-height: 130px; }
  .hdc-flipcard__inner { min-height: 130px; }
  .hdc-flipcard__front-emoji { font-size: 24px; }
  .hdc-flipcard__front-label { font-size: 13px; }
  .hdc-flipcard__back-text { font-size: 11px; }

  .hdc-spotlight { min-height: 300px; }
  .hdc-spotlight__content { padding: 32px 20px; }
  .hdc-spotlight__quote { font-size: 17px; }
  .hdc-spotlight__emoji { font-size: 40px; }

  .hdc-reveal { padding: 24px 0 16px; }
  .hdc-reveal__inner { padding: 0 16px; }
  .hdc-reveal__item-header { padding: 14px 14px; }
  .hdc-reveal__item-title { font-size: 13px; }

  .hdc-action-panel { padding: 20px 16px; margin: 0 10px; }
}

/* -- SMALL PHONES (375px and below) -- */
@media (max-width: 375px) {
  .hdc-hero { height: 320px; }
  .hdc-hero__title { font-size: 20px; }
  .hdc-hero__content { padding: 0 12px 20px; }
  .hdc-hero__logo { width: 52px; height: 52px; }
  .hdc-main { padding: 0 8px; }
  .hdc-step { padding: 16px 14px; }
  .hdc-step h2 { font-size: 18px; }
  .hdc-swipe__title { font-size: 20px; }
  .hdc-swipe__text { font-size: 13px; }
  .hdc-swipe__emoji { font-size: 36px; }
  .hdc-bigstat__num { font-size: 44px; }
  .hdc-fullscreen__phone { font-size: 22px; }
  .hdc-fullscreen__stat-num { font-size: 24px; }
  .hdc-roadmap__node { width: 34px; height: 34px; font-size: 12px; }
  .hdc-roadmap__label { font-size: 8px; max-width: 50px; }
  .hdc-celebration__badge { width: 68px; height: 68px; font-size: 30px; }
}

/* -- DESKTOP (768px and above) -- */
@media (min-width: 768px) {
  .hdc-hero { height: 460px; }
  .hdc-hero__title { font-size: 36px; }
  .hdc-hero__logo { width: 88px; height: 88px; }
  .hdc-hero__content { padding: 0 32px 40px; }
  .hdc-step { padding: 36px 32px; }
  .hdc-step h2 { font-size: 26px; }
  .hdc-section-img {
    width: calc(100% + 64px);
    margin: -36px -32px 28px;
    height: 240px;
  }
  .hdc-swipe {
    width: calc(100% + 64px);
    margin: -36px -32px 0;
    min-height: 320px;
    max-height: 460px;
    border-radius: var(--hdc-radius);
  }
  .hdc-swipe__card {
    padding: 40px 40px 36px;
  }
  .hdc-swipe__emoji { font-size: 52px; }
  .hdc-swipe__title { font-size: 28px; }
  .hdc-swipe__text { font-size: 16px; }
  .hdc-bigstat {
    padding: 60px 32px;
    min-height: 320px;
    border-radius: var(--hdc-radius);
  }
  .hdc-bigstat__num { font-size: 96px; }
  .hdc-bigstat__label { font-size: 18px; }
  .hdc-bigstat__sub { font-size: 14px; }
  .hdc-step--fullscreen {
    min-height: 520px;
    border-radius: var(--hdc-radius);
  }
  .hdc-step--fullscreen .hdc-fullvid-content {
    padding: 36px 32px;
  }
  .hdc-fullscreen {
    min-height: 520px;
    border-radius: var(--hdc-radius);
  }
  .hdc-fullscreen__content {
    padding: 36px 32px;
  }
  .hdc-fullscreen__phone { font-size: 28px; }
  .hdc-fullscreen__stat-num { font-size: 32px; }
}

/* -- SAFE AREA INSETS -- */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .hdc { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .hdc-topbar {
    top: calc(var(--nav-height, 64px) + var(--preview-bar-height, 0px) + env(safe-area-inset-top, 0px));
  }
  .hdc-learn-panel { padding-bottom: env(safe-area-inset-bottom); }
  .hdc-video-fs__bar { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
  .hdc-step > .hdc-btn:last-child { margin-bottom: env(safe-area-inset-bottom, 0px); }
  .hdc-celebration .hdc-btn { margin-bottom: env(safe-area-inset-bottom, 0px); }
}

/* -- iOS VIEWPORT HEIGHT FIX -- */
@supports (height: 100svh) {
  .hdc-swipe { max-height: 420px; }
  .hdc-step--fullscreen { min-height: 65svh; }
  .hdc-fullscreen { min-height: 65svh; }
}

/* -- BODY SCROLL LOCK -- */
body.hdc-overlay-open {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
  -webkit-overflow-scrolling: auto;
}

/* -- FORCE GPU COMPOSITING -- */
.hdc-swipe__track,
.hdc-swipe__card,
.hdc-bigstat__num,
.hdc-step--fullscreen,
.hdc-fullscreen {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* -- MOBILE TOUCH UTILITIES -- */
.hdc-action,
.hdc-quiz-card__answer,
.hdc-quiz-card__select,
.hdc-quiz-card__arrow,
.hdc-survey__option,
.hdc-btn,
.hdc-roadmap__node,
.hdc-swipe__dot,
.hdc-learn-panel__quiz-opt,
.hdc-truefalse__btn,
.hdc-flipcard,
.hdc-poll-panel__option,
.hdc-share-panel__btn,
.hdc-monthly-panel__tier {
  touch-action: manipulation;
}

/* Better focus/active states for mobile */
@media (hover: none) {
  .hdc-action:active {
    transform: scale(0.98);
    transition: transform 0.1s;
  }
  .hdc-quiz-card__answer:active {
    transform: scale(0.98);
  }
  .hdc-quiz-card__select:active {
    transform: scale(0.97);
    filter: brightness(0.95);
  }
  .hdc-survey__option:active {
    transform: scale(0.98);
    background: rgba(255,210,0,0.08);
  }
  .hdc-btn--primary:active {
    transform: scale(0.97);
    filter: brightness(0.95);
  }
  .hdc-action:hover { transform: none; }
}

/* -- PREFERS REDUCED MOTION -- */
@media (prefers-reduced-motion: reduce) {
  .hdc *,
  .hdc *::before,
  .hdc *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hdc-ambient-particle,
  .hdc-quiz-particle,
  .hdc-float-pts {
    animation: none !important;
    display: none !important;
  }
  .hdc-bigstat__num {
    opacity: 1;
    transform: scale(1);
    transition: none;
  }
  .hdc-celebration__badge {
    animation: none;
  }
  .hdc-receipt__badge {
    animation: none;
  }
  .hdc-spotlight__emoji {
    animation: none;
  }
  .hdc-offer {
    animation: none;
  }
  .hdc-swipe__track {
    transition: none;
  }
  .hdc-swipe__hint,
  .hdc-swipe-arrow {
    animation: none;
  }
}
