/* /styles/home/home-after-wheel.css
   ChoiceSpin — After wheel (Premium info wall) v10 FINAL
   - TRUE left-alignment everywhere (no weird offsets)
   - Top palette line is the “top border” (not inside padding)
   - NO hover effects on boxes
   - Cleaner premium spacing + typography
   - Premium internal links row (.ha-links / .ha-link)
*/

.home-after{
  text-align: left;
  padding: 40px 0 70px;

  /* ✅ Match Entries card outer background (.inputs-card) */
  background: #232323;
  background-image: none;
    /* ✅ Premium separator between wheel + after-wheel */
  border-top: 0;
  position: relative;


  /* System font (WheelOfNames-like) */
  --ha-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* tokens */
  --ha-text: rgba(255,255,255,.90);
  --ha-muted: rgba(255,255,255,.66);

  --ha-card: #14161a;
  --ha-card-2: rgba(255,255,255,.04);

  --ha-border: rgba(255,255,255,.10);
  --ha-border-2: rgba(255,255,255,.16);

  --ha-shadow: 0 12px 26px rgba(0,0,0,.30);

  --ha-radius: 12px;

  /* wheel accent */
  --ha-accent-rgb: var(--sc-accent, 99 102 241);
  --ha-accent: rgb(var(--ha-accent-rgb));
  --ha-accent-soft: rgba(var(--ha-accent-rgb), .16);

  /* palette blend */
  --ha-p1: rgb(var(--sc-c1, 99 102 241));
  --ha-p2: rgb(var(--sc-c2, 34 197 94));
  --ha-p3: rgb(var(--sc-c3, 249 115 22));
  --ha-p4: rgb(var(--sc-c4, 236 72 153));
}



html[data-theme="light"] .home-after::before{
  background:
    linear-gradient(
      to bottom,
      rgba(15,23,42,.16) 0px,
      rgba(15,23,42,.16) 2px,
      rgba(15,23,42,0) 2px
    ),
    linear-gradient(
      to bottom,
      rgba(15,23,42,0) 0px,
      rgba(15,23,42,0) 6px,
      rgba(15,23,42,.08) 6px,
      rgba(15,23,42,.08) 7px,
      rgba(15,23,42,0) 7px
    ),
    radial-gradient(
      1200px 26px at 50% 0%,
      rgba(15,23,42,.08),
      rgba(15,23,42,0) 70%
    );
}



html[data-theme="light"] .home-after{
  /* ✅ Match Entries card outer background (.inputs-card) */
  background: #ffffff;
  background-image: none;

  border-top-color: rgba(15,23,42,.08);

  --ha-text: rgba(0,0,0,.78);
  --ha-muted: rgba(0,0,0,.58);

  --ha-card: #ffffff;
  --ha-card-2: rgba(0,0,0,.03);

  --ha-border: rgba(15,23,42,.10);
  --ha-border-2: rgba(15,23,42,.16);

  --ha-shadow: 0 12px 22px rgba(0,0,0,.08);

  --ha-accent-soft: rgba(var(--ha-accent-rgb), .12);
}

.home-after,
.home-after *{
  font-family: var(--ha-font);
  text-align: left;
}

/* Wider container */
.home-after__container{
  max-width: 1480px;
}

/* ---------- Header ---------- */
.ha-head{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 20px;
  align-items: end;
  margin-bottom: 16px;
  padding: 0 0 2px;
}

.ha-head__text{
  max-width: 980px;
}

.ha-kicker{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 6px 10px;
  border-radius: 999px;

  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--ha-muted);

  background: var(--ha-card-2);
  border: 1px solid var(--ha-border);
}
.ha-kdot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(var(--ha-accent-rgb), .22);
  border: 1px solid rgba(var(--ha-accent-rgb), .35);
}

.ha-head h2{
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 2vw, 2.2rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ha-text);
  text-wrap: balance;
}

.ha-sub{
  margin: 0;
  color: var(--ha-muted);
  font-size: .98rem;
  line-height: 1.72;
  max-width: 76ch;
}

/* actions (right side) */
.ha-head__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: end;
  align-items: center;
}

.ha-action{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;

  background: linear-gradient(180deg, var(--ha-accent-soft), rgba(255,255,255,0));
  border: 1px solid var(--ha-border-2);
  color: var(--ha-text);

  font-weight: 600;
  font-size: .92rem;
  line-height: 1.1;
}

.ha-action:hover{
  transform: translateY(-1px);
  box-shadow: 0 0 0 3px rgba(var(--ha-accent-rgb), .10);
}
.ha-action--ghost{
  background: var(--ha-card-2);
  border-color: var(--ha-border);
  box-shadow: none;
}

/* Chips row */
.ha-chips{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin: 12px 0 20px;
  padding-top: 2px;
}

.ha-chip{
  appearance: none;
  border-radius: 999px;
  padding: 8px 12px;
  min-height: 38px;
  cursor: pointer;

  border: 1px solid var(--ha-border);
  background: linear-gradient(180deg, rgba(var(--ha-accent-rgb), .08), var(--ha-card-2));
  color: var(--ha-text);

  font-size: .89rem;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}

.ha-chip:hover{
  transform: translateY(-1px);
  border-color: var(--ha-border-2);
  box-shadow: 0 0 0 3px rgba(var(--ha-accent-rgb), .08);
}

/* ---------- Grid (12 cols) ---------- */
.ha-grid{
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.ha-span-12{ grid-column: span 12; }
.ha-span-8{ grid-column: span 8; }
.ha-span-7{ grid-column: span 7; }
.ha-span-6{ grid-column: span 6; }
.ha-span-5{ grid-column: span 5; }
.ha-span-4{ grid-column: span 4; }

/* ---------- Card ---------- */
.ha-card{
  position: relative;
  border-radius: var(--ha-radius);

  /* top palette line becomes the top “border” */
  background:
    linear-gradient(90deg, var(--ha-p1), var(--ha-p2), var(--ha-p3), var(--ha-p4)) 0 0 / 100% 3px no-repeat,
    var(--ha-card);

  border: 1px solid var(--ha-border);
  border-top: 0;

  box-shadow: var(--ha-shadow);
  padding: 18px 18px 16px;

  color: var(--ha-text);
  overflow: hidden;

  /* NO card hover effects */
  transition: none;
}

/* Force-disable any hover rules from older versions */
.ha-card:hover{
  transform: none !important;
  box-shadow: var(--ha-shadow) !important;
  border-color: var(--ha-border) !important;
}

/* subtle corner tint */
.ha-card::after{
  content: "";
  position: absolute;
  right: -54px;
  top: -54px;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(var(--ha-accent-rgb), .16) 0%, rgba(0,0,0,0) 64%);
  opacity: .60;
  pointer-events: none;
}

html[data-theme="light"] .ha-card::after{
  opacity: .42;
}

/* Title row */
.ha-card__title{
  display: block;
  margin: 0 0 10px;
  position: relative;
  z-index: 1;
}

.ha-mark{ display: none !important; }

.ha-card h3{
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.25;
  font-weight: 620;
  letter-spacing: -0.01em;
  color: var(--ha-text);
}

/* Body text */
.ha-p{
  margin: 0 0 10px;
  font-size: .98rem;
  line-height: 1.72;
  color: var(--ha-text);
  position: relative;
  z-index: 1;
}

.ha-mini{
  margin: 0;
  color: var(--ha-muted);
  font-size: .94rem;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* Subtle emphasis */
.ha-card strong,
.ha-card b{
  font-weight: 600;
  color: var(--ha-text);
}

/* Lists — TRUE flush-left */
.ha-list,
.ha-steps{
  margin: 0;
  padding-left: 0;
  list-style-position: inside;
  font-size: .96rem;
  line-height: 1.72;
  color: var(--ha-text);
  position: relative;
  z-index: 1;
}

.ha-list li,
.ha-steps li{
  margin: 0 0 8px;
}

.ha-list li:last-child,
.ha-steps li:last-child{
  margin-bottom: 0;
}

/* Callout */
.ha-callout{
  margin-top: 12px;

  margin-left: -18px;
  margin-right: -18px;

  padding: 12px 18px;

  border-top: 1px solid var(--ha-border);
  border-bottom: 1px solid var(--ha-border);
  background: linear-gradient(180deg, rgba(var(--ha-accent-rgb), .10), var(--ha-card-2));
  color: var(--ha-text);

  position: relative;
  z-index: 1;
}

html[data-theme="light"] .ha-callout{
  border-top-color: rgba(15,23,42,.10);
  border-bottom-color: rgba(15,23,42,.10);
}

/* Code pill */
.ha-card code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: .92em;
  padding: 2px 7px;
  border-radius: 8px;
  border: 1px solid var(--ha-border);
  background: var(--ha-card-2);
  color: var(--ha-text);
}

/* Small “meta bullets” row */
.ha-bullets{
  display: grid;
  gap: 10px;
  margin-top: 12px;
  position: relative;
  z-index: 1;
}

.ha-bullet{
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.ha-bullet__dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(var(--ha-accent-rgb), .20);
  border: 1px solid rgba(var(--ha-accent-rgb), .30);
  margin-top: 6px;
  flex: 0 0 auto;
}

/* Buttons inside cards (CTA) */
.ha-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;

  border: 1px solid rgba(var(--ha-accent-rgb), .30);
  background: linear-gradient(180deg, rgba(var(--ha-accent-rgb), .16), rgba(var(--ha-accent-rgb), .07));
  color: var(--ha-text);

  font-size: .95rem;
  font-weight: 600;

  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  white-space: nowrap;
}

.ha-cta:hover{
  transform: translateY(-1px);
  box-shadow: 0 0 0 3px rgba(var(--ha-accent-rgb), .10);
  border-color: rgba(var(--ha-accent-rgb), .40);
}

.ha-cta:active{ transform: translateY(0); }

/* Friends strip */
.ha-friends{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  border-radius: calc(var(--ha-radius) - 2px);
  padding: 18px;

  background:
    linear-gradient(90deg, rgba(var(--ha-accent-rgb), .14), rgba(255,255,255,0)),
    var(--ha-card-2);

  border: 1px solid rgba(var(--ha-accent-rgb), .22);

  position: relative;
  z-index: 1;
}

.ha-friends__title{
  font-weight: 640;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
}

.ha-friends__sub{
  margin-top: 6px;
  color: var(--ha-muted);
  font-size: .96rem;
  line-height: 1.65;
  max-width: 92ch;
}

/* Highlight Spin With Friends button when CTA used */
#shareLiveBtn.ha-highlight{
  box-shadow: 0 0 0 3px rgba(var(--ha-accent-rgb), .16), 0 14px 28px rgba(0,0,0,.32);
  transform: translateY(-1px);
}

/* Focus */
.ha-cta:focus-visible,
.ha-chip:focus-visible,
.ha-action:focus-visible{
  outline: 2px solid rgba(var(--ha-accent-rgb), .85);
  outline-offset: 2px;
}

/* =========================================
   After-wheel: internal links row (premium)
   - No underline effects at all
   - Slightly different color so they read as links
   - Thin “different” font (Outfit) for link vibe
   ========================================= */
.ha-links{
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ha-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;

  text-decoration: none; /* ✅ no underline */
  border: 0;             /* ✅ remove old dashed underline */
  padding: 0;            /* ✅ no underline spacing */

  /* ✅ looks like a link (slightly different) */
  color: rgba(var(--ha-accent-rgb), .92);
  opacity: .88;

  /* ✅ thin, slightly different font */
  font-family: "Outfit", var(--ha-font);
  font-weight: 400;
  font-size: .92rem;
  letter-spacing: .1px;

  transition: opacity .12s ease, color .12s ease;
}

.ha-link:hover{
  opacity: 1;
  color: rgba(var(--ha-accent-rgb), 1);
}

/* Light theme: keep it linky but not too loud */
html[data-theme="light"] .ha-link{
  color: rgba(var(--ha-accent-rgb), .82);
}

html[data-theme="light"] .ha-link:hover{
  color: rgba(var(--ha-accent-rgb), .92);
}

.ha-link:focus-visible{
  outline: 2px solid rgba(var(--ha-accent-rgb), .85);
  outline-offset: 2px;
}
/* =========================================
   Disable ALL animations/transitions in after-wheel
   (entrance reveal + hover motion + future transitions)
   ========================================= */

/* kill transitions/animations for everything inside after-wheel */
.home-after,
.home-after *,
.home-after *::before,
.home-after *::after{
  animation: none !important;
  transition: none !important;
}

/* force reveal classes to be instantly visible (no scroll animation) */
.home-after .reveal-up,
.home-after .reveal,
.home-after .reveal-left,
.home-after .reveal-right{
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* remove hover movement/effects in after-wheel controls */
.home-after .ha-action:hover,
.home-after .ha-chip:hover,
.home-after .ha-cta:hover,
.home-after .ha-link:hover{
  transform: none !important;
  box-shadow: none !important;
}

/* keep cards fully static on hover (extra safety) */
.home-after .ha-card:hover{
  transform: none !important;
  box-shadow: var(--ha-shadow) !important;
  border-color: var(--ha-border) !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1050px){
  .ha-head{
    grid-template-columns: 1fr;
    align-items: start;
  }
  .ha-head__actions{
    justify-content: start;
  }

  .ha-span-7,
  .ha-span-5,
  .ha-span-8,
  .ha-span-6,
  .ha-span-4{
    grid-column: span 12;
  }

  .ha-friends{
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px){
    .ha-head{
    gap: 12px;
    margin-bottom: 12px;
  }

  .ha-kicker{
    font-size: .72rem;
    padding: 5px 9px;
  }

  .ha-head h2{
    font-size: 1.35rem;
    line-height: 1.15;
    margin-bottom: 10px;
  }

  .ha-sub{
    font-size: .93rem;
    line-height: 1.62;
  }

  .ha-head__actions{
    width: 100%;
    gap: 8px;
  }

  .ha-action{
    min-height: 38px;
    padding: 9px 11px;
    font-size: .86rem;
  }

  .ha-chips{
    gap: 8px;
    margin: 10px 0 16px;
  }

  .ha-chip{
    min-height: 34px;
    padding: 7px 10px;
    font-size: .84rem;
  }
  .ha-card{
    padding: 16px 16px 14px;
  }
  .ha-callout{
    margin-left: -16px;
    margin-right: -16px;
    padding: 12px 16px;
  }
  .ha-friends{
    padding: 16px;
  }
}
