﻿/* Homepage layout - Quizzes for Brain */
body.page-home { padding-top: 60px; }
@media (min-width: 992px) { body.page-home { padding-top: 56px; } }

/* ── Hero (Quizlet-style) ── */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(1.75rem, 4vw, 3rem) 0 clamp(1.5rem, 3vw, 2.25rem);
  background:
    radial-gradient(900px 420px at 8% 0%, rgba(0, 113, 227, 0.12), transparent 55%),
    radial-gradient(700px 380px at 92% 10%, rgba(99, 102, 241, 0.1), transparent 50%),
    linear-gradient(180deg, rgba(0, 113, 227, 0.04) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
[data-theme="dark"] .home-hero {
  background:
    radial-gradient(900px 420px at 8% 0%, rgba(56, 189, 248, 0.12), transparent 55%),
    radial-gradient(700px 380px at 92% 10%, rgba(99, 102, 241, 0.14), transparent 50%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, var(--bg) 100%);
}
.home-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
  max-width: 40rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .home-hero-grid {
    max-width: 44rem;
    text-align: center;
  }
  .home-stats-bar,
  .home-hero-actions {
    justify-content: center;
  }
  .home-hero-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .home-hero-search-wrap {
    margin-left: auto;
    margin-right: auto;
  }
}
@media (min-width: 992px) {
  .home-hero-grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 2.5rem;
    max-width: none;
    margin: 0;
    text-align: left;
  }
  .home-hero-copy {
    max-width: 36rem;
  }
  .home-stats-bar,
  .home-hero-actions {
    justify-content: flex-start;
  }
  .home-hero-lead {
    margin-left: 0;
    margin-right: 0;
  }
  .home-hero-search-wrap {
    margin-left: 0;
    margin-right: 0;
    max-width: 34rem;
  }
}
.home-hero-visual {
  display: none;
}
@media (min-width: 992px) {
  .home-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
  }
}
.home-hero-cards {
  position: relative;
  width: min(100%, 340px);
  height: 260px;
}
.home-hero-card-float {
  position: absolute;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 240px;
  animation: home-hero-float 5s ease-in-out infinite;
}
.home-hero-card-float i {
  flex-shrink: 0;
  font-size: 1.45rem;
  color: var(--primary);
}
.home-hero-card-float span {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}
.home-hero-card-float--link {
  text-decoration: none;
  color: var(--text);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.home-hero-card-float--link:hover {
  color: var(--text);
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.1);
  border-color: rgba(74, 154, 106, 0.35);
}
.home-hero-card-float--1 {
  top: 0;
  left: 0;
  animation-delay: 0s;
}
.home-hero-card-float--2 {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  animation-delay: 0.6s;
  animation-name: home-hero-float-mid;
}
.home-hero-card-float--3 {
  bottom: 0;
  left: 10%;
  animation-delay: 1.2s;
}
@keyframes home-hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes home-hero-float-mid {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 6px)); }
}
.home-hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.65rem;
}
.home-hero h1 {
  font-size: clamp(1.75rem, 4.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--text);
}
.home-hero-lead {
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  color: var(--muted);
  max-width: 32rem;
  margin: 0 0 1.25rem;
  line-height: 1.5;
}
.home-stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.35rem;
}
.home-stats-bar li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.home-stats-bar strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
}
.home-stats-bar span {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.home-hero-actions .btn-primary { color: #fff !important; }
.home-hero-actions .btn-outline-primary {
  border-width: 2px;
  font-weight: 600;
}
.home-hero-search-wrap {
  margin-top: 1.1rem;
  max-width: 100%;
}
.home-hero-search-wrap .home-search {
  width: 100%;
}
.home-search--hero {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.home-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.65rem;
}
.home-hero-chip {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.home-hero-chip:hover {
  border-color: rgba(0, 113, 227, 0.4);
  color: var(--primary);
}
.home-hero-chip i {
  font-size: 0.72rem;
  opacity: 0.85;
}
.home-hero-chip--learn {
  border-color: rgba(74, 154, 106, 0.4);
  background: rgba(74, 154, 106, 0.1);
}
.home-hero-chip--learn:hover {
  border-color: rgba(74, 154, 106, 0.55);
  color: #3d8a5c;
}
.home-hero-inline-link {
  font-weight: 700;
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: rgba(0, 113, 227, 0.35);
  text-underline-offset: 2px;
}
.home-hero-inline-link:hover {
  color: var(--primary);
  text-decoration-color: currentColor;
}
.home-hero-search-wrap .home-search-results { margin-top: 0.85rem; }
.home-hero-search-wrap .home-search-empty { margin-top: 0.5rem; margin-bottom: 0; }

/* ── Learning path feature cards (Quizlet-style) ── */
.home-paths {
  padding: 1.25rem 0 1.5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.home-paths--inline {
  padding: 0;
  margin-bottom: 1.5rem;
  background: transparent;
  border-bottom: none;
}
.home-paths-head { margin-bottom: 0.85rem; }
.home-paths .home-jump-nav {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.home-paths-track--duo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 640px;
}
@media (max-width: 599px) {
  .home-paths-track--duo {
    display: flex;
    max-width: none;
  }
}
.home-paths-track--ways {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
}
.home-paths-track--trio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
}
@media (min-width: 1100px) {
  .home-paths-track--ways .home-path-card,
  .home-paths-track--trio .home-path-card {
    min-height: 248px;
  }
}
.home-discover {
  margin-bottom: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.home-discover-block + .home-discover-block {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

/* ── Topic carousel (Popular right now) ── */
.home-carousel {
  position: relative;
  padding: 0 2.5rem 1.75rem;
}
.home-carousel-viewport {
  overflow: hidden;
}
.home-carousel-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.25rem 0.15rem 0.5rem;
}
.home-carousel-track::-webkit-scrollbar {
  display: none;
}
.home-carousel-nav {
  position: absolute;
  top: calc(50% - 0.5rem);
  transform: translateY(-50%);
  z-index: 3;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}
.home-carousel-nav:hover:not(:disabled) {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.home-carousel-nav:disabled {
  opacity: 0.35;
  cursor: default;
}
.home-carousel-nav--prev { left: 0; }
.home-carousel-nav--next { right: 0; }
.home-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.65rem;
}
.home-carousel-dots[hidden] {
  display: none;
}
.home-carousel-dot {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--border);
  transition: width 0.2s, background 0.2s;
}
.home-carousel-dot.is-active {
  width: 1.25rem;
  background: var(--primary, #0071e3);
}
.home-play-tile--carousel {
  flex: 0 0 min(260px, 82vw);
  scroll-snap-align: start;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  border: 1px solid var(--border);
}
.home-play-tile--carousel:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}
.home-play-tile--carousel .home-play-tile-media {
  height: 128px;
}
.home-play-tile--carousel .home-play-tile-body {
  padding: 0.75rem 0.85rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}
.home-play-tile--carousel .home-play-tile-cat {
  font-size: 0.68rem;
  margin-bottom: 0;
}
.home-play-tile--carousel .home-play-tile-title {
  font-size: 0.92rem;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}
.home-play-tile--carousel .home-play-tile-play {
  width: 32px;
  height: 32px;
  font-size: 0.85rem;
}
.home-play-tile-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #4a7ab0 !important;
}
.home-play-tile-cta i {
  font-size: 0.78rem;
  transition: transform 0.15s;
}
.home-play-tile--carousel:hover .home-play-tile-cta i {
  transform: translateX(2px);
}
.home-play-tile--carousel.home-play-tile--guide .home-play-tile-title {
  margin-bottom: 0.15rem;
}
.home-play-tile--carousel.home-play-tile--guide .home-play-tile-meta {
  font-size: 0.68rem;
  margin-bottom: 0.2rem;
}
.home-play-tile-cta--guide {
  color: #6b5b9a !important;
}
@media (min-width: 768px) {
  .home-play-tile--carousel {
    flex: 0 0 calc((100% - 2rem) / 3);
  }
}
@media (min-width: 1100px) {
  .home-play-tile--carousel {
    flex: 0 0 calc((100% - 3rem) / 4);
  }
}
@media (max-width: 575px) {
  .home-carousel {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .home-carousel-nav {
    width: 2rem;
    height: 2rem;
    font-size: 0.9rem;
  }
}

.home-paths-carousel {
  position: relative;
}
.home-paths-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 1099px) {
  .home-paths-track {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.35rem;
    scrollbar-width: none;
  }
  .home-paths-track::-webkit-scrollbar { display: none; }
}
.home-paths-nav {
  display: none !important;
}
.home-path-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 1rem;
  border-radius: 20px;
  text-decoration: none;
  color: #0f172a;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.18s, box-shadow 0.18s;
}
@media (max-width: 1099px) {
  .home-path-card {
    flex: 0 0 min(240px, 82vw);
    scroll-snap-align: start;
    min-height: 248px;
  }
}
.home-path-card:hover {
  color: #0f172a;
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}
.home-path-card--practice { background: linear-gradient(180deg, #c8ead8 0%, #b4dcc8 100%); }
.home-path-card--guides { background: linear-gradient(180deg, #e0d0f0 0%, #d4c4e8 100%); }
.home-path-card--quizzes { background: linear-gradient(180deg, #c8d8f0 0%, #b8ccf0 100%); }
.home-path-card--daily { background: linear-gradient(180deg, #f0dcc4 0%, #e8ccb0 100%); }
.home-path-card--solar { background: linear-gradient(180deg, #f0e4cc 0%, #e8d4b0 100%); }
.home-path-card--layers { background: linear-gradient(180deg, #c8d8f0 0%, #b8cce8 100%); }
.home-path-card--games { background: linear-gradient(180deg, #f0d0d0 0%, #e8c4c4 100%); }
.home-path-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: #0f172a;
}
.home-path-card-preview {
  flex: 1;
  display: flex;
  min-height: 0;
}
.home-path-mock {
  flex: 1;
  width: 100%;
  border-radius: 14px;
  border: none;
  background: #fff;
  padding: 0.8rem;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.72rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}
[data-theme="dark"] .home-path-mock {
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
}
.home-path-mock-q { font-weight: 700; color: var(--text); line-height: 1.3; }
.home-path-mock-opt {
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--muted);
}
.home-path-mock-opt--on {
  border-color: rgba(100, 140, 190, 0.4);
  background: rgba(100, 140, 190, 0.1);
  color: #4a7ab0;
  font-weight: 700;
}
.home-path-mock-hint {
  margin-top: auto;
  color: #16a34a;
  font-weight: 700;
  font-size: 0.68rem;
}
.home-path-mock-title { font-weight: 800; font-size: 0.8rem; line-height: 1.25; }
.home-path-mock-meta { color: var(--muted); font-size: 0.68rem; }
.home-path-mock-bar {
  height: 5px;
  border-radius: 3px;
  background: var(--border);
  margin-top: 0.35rem;
  overflow: hidden;
}
.home-path-mock-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #b8a8e0, #a8b8e0);
  border-radius: 3px;
}
.home-path-mock-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  color: #334155;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--chip-from) 55%, #fff),
    color-mix(in srgb, var(--chip-to) 55%, #fff)
  );
  border: 1px solid color-mix(in srgb, var(--chip-from) 22%, var(--border));
  margin-right: 0.25rem;
  text-decoration: none;
}
a.home-path-mock-chip:hover {
  color: #1e293b;
  border-color: color-mix(in srgb, var(--chip-from) 35%, var(--border));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.home-path-mock-chip--more {
  font-weight: 700;
  color: #4a7ab0;
}
.home-browse {
  margin-bottom: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.home-path-mock-stat { color: var(--muted); }
.home-path-mock-stat strong { color: var(--text); }
.home-path-mock-streak {
  margin-top: auto;
  font-weight: 800;
  color: #c08050;
  font-size: 0.75rem;
}
.home-path-mock-streak--done { color: #5a9a6a; }
.home-path-mock-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

/* ── User progress strip (profile stats) ── */
.home-progress {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.07), rgba(99, 102, 241, 0.06));
}
.home-progress-greeting {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.home-progress-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.home-progress-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: var(--card-bg);
  border: 1px solid var(--border);
}
.home-progress-pill strong { color: var(--text); font-weight: 800; }
.home-progress-pill--streak { color: #ea580c; }
.home-progress-pill--streak strong { color: #ea580c; }
.home-progress-level {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-left: 2px;
}
.home-progress-link { flex-shrink: 0; font-weight: 700; }

/* ── Popular subjects carousel (same path cards) ── */
.home-subjects-carousel {
  margin-bottom: 1.5rem;
}
.home-subject-path-card--carousel {
  flex: 0 0 min(240px, 82vw);
  scroll-snap-align: start;
  min-height: 260px;
}
@media (min-width: 768px) {
  .home-subject-path-card--carousel {
    flex: 0 0 calc((100% - 2rem) / 3);
  }
}
@media (min-width: 1100px) {
  .home-subject-path-card--carousel {
    flex: 0 0 calc((100% - 3rem) / 4);
  }
}
.home-subject-path-card {
  color: #0f172a;
  padding: 0;
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s;
}
.home-subject-path-card:hover {
  color: #0f172a;
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}
.home-subject-path-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1rem 1rem 0.75rem;
}
.home-subject-path-head .home-path-card-title {
  margin: 0;
}
.home-subject-path-play {
  flex-shrink: 0;
  text-decoration: none;
  font-size: 0.68rem;
  white-space: nowrap;
}
.home-subject-path-play:hover {
  text-decoration: none;
  opacity: 0.85;
}
.home-subject-path-card .home-path-card-preview {
  padding: 0 1rem 1rem;
}
.home-subject-path-card .home-path-mock-chip {
  font-size: 0.62rem;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-path-mock-streak--play {
  color: #4a7ab0;
}

.home-section-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
  color: var(--text);
}
.home-section-title--sm {
  font-size: 1.05rem;
}
.home-how-icon {
  display: block;
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  opacity: 0.9;
}
.home-how { padding: 0.5rem 0 1.5rem; background: var(--bg); }
.home-how-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.home-how-card h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}
.home-how-card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.home-lb-promo {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card-bg);
  padding: 1.35rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}
.home-lb-promo-avatars {
  display: flex;
  justify-content: center;
  margin-bottom: 0.85rem;
}
.home-lb-promo-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--card-bg);
  margin-left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
}
.home-lb-promo-avatar:first-child { margin-left: 0; }
.home-lb-promo-avatar--1 { background: linear-gradient(135deg, #0ea5e9, #0369a1); z-index: 3; }
.home-lb-promo-avatar--2 { background: linear-gradient(135deg, #8b5cf6, #6d28d9); z-index: 2; }
.home-lb-promo-avatar--3 { background: linear-gradient(135deg, #f59e0b, #d97706); z-index: 1; }
.home-lb-promo-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
}
.home-lb-promo-stats strong { color: var(--text); font-weight: 800; }
.home-lb-promo-text {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 1rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}
.home-lb-promo-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.home-final-cta { padding: 2.5rem 0 3rem; background: var(--bg); }
.home-final-cta-inner {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}
.home-final-cta-inner h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.home-final-cta-inner p {
  color: var(--muted);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}
.home-final-cta-inner .home-action-cards {
  justify-content: center;
}
.home-lb-promo-actions.home-action-cards {
  justify-content: center;
}
.home-progress-link { flex-shrink: 0; }

.home-feature-link {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  padding: 1.1rem 1rem;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.home-feature-link:hover {
  color: inherit;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.home-feature-link i {
  display: block;
  font-size: 1.65rem;
  margin-bottom: 0.5rem;
}
.home-feature-link span {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
}
.home-jump-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(6.75rem, 1fr));
  gap: 0.65rem;
}
@media (min-width: 768px) {
  .home-jump-nav { grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr)); }
}
.home-jump-nav .home-feature-link {
  border: 1px solid var(--border);
  min-height: 100%;
  padding: 0.85rem 0.5rem;
}
.home-jump-nav .home-feature-link i {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}
.home-jump-nav .home-feature-link span {
  font-size: 0.75rem;
}

/* ── Card-style navigation (no plain text links on homepage) ── */
.home-nav-card {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  padding: 0.45rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}
.home-nav-card i { font-size: 0.85rem; color: var(--primary); }
.home-nav-card:hover {
  color: var(--text);
  border-color: rgba(0, 113, 227, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 113, 227, 0.1);
}
.home-nav-card--block {
  display: flex;
  justify-content: center;
  width: 100%;
}
.home-action-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.home-action-card {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.home-action-card:hover {
  color: var(--text);
  border-color: rgba(0, 113, 227, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 113, 227, 0.1);
}
.home-action-card--primary {
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.14), rgba(0, 113, 227, 0.06));
  border-color: rgba(0, 113, 227, 0.28);
  color: var(--primary);
}
.home-action-card--primary:hover { color: var(--primary); }
.home-action-card--warning {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(245, 158, 11, 0.06));
  border-color: rgba(245, 158, 11, 0.35);
  color: #b45309;
}
.home-action-card--warning:hover { color: #b45309; }
.home-action-card--lg {
  padding: 0.75rem 1.15rem;
  font-size: 0.92rem;
  border-radius: 14px;
}
.home-feature-link--row {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 0.65rem;
  padding: 0.7rem 0.75rem;
}
.home-feature-link--row i {
  display: flex;
  flex-shrink: 0;
  margin: 0;
  font-size: 1.25rem;
}
.home-feature-link--row .home-help-link-text strong {
  display: block;
  font-size: 0.8rem;
}
.home-feature-link--row .home-help-link-text small {
  display: block;
  font-size: 0.68rem;
}
.home-help-link-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.home-inline-card {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.12rem 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  font-size: 0.92em;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  vertical-align: baseline;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.home-inline-card:hover {
  color: var(--primary);
  border-color: rgba(0, 113, 227, 0.35);
  text-decoration: none;
}
.home-search-empty-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.home-continue {
background: var(--card-bg, #fff);
border-bottom: 1px solid var(--border, #e5e7eb);
padding: .75rem 0;
}
.home-continue-inner {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: .75rem;
padding: 0.85rem 1rem;
border-radius: 16px;
border: 1px solid var(--border);
background: var(--card-bg);
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}
.home-continue-label {
font-size: .68rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: .05em;
color: var(--muted);
display: block;
margin-bottom: 2px;
}
.home-continue-title {
font-size: .92rem;
font-weight: 700;
color: var(--text);
}
.home-continue-actions {
display: flex;
flex-wrap: wrap;
gap: .5rem;
}
.home-leaderboard-teaser {
border: 1px solid var(--border, #e5e7eb);
border-radius: 14px;
background: var(--card-bg, #fff);
padding: 14px 16px;
}
.home-lb-list {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 8px;
}
.home-lb-list li {
display: grid;
grid-template-columns: 28px 1fr auto;
align-items: center;
gap: 10px;
font-size: .85rem;
}
.home-lb-rank {
width: 28px;
height: 28px;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
font-weight: 800;
font-size: .78rem;
background: var(--bs-secondary-bg);
color: var(--muted);
}
.home-lb-list li:nth-child(1) .home-lb-rank { background: rgba(245,158,11,.2); color: #b45309; }
.home-lb-list li:nth-child(2) .home-lb-rank { background: rgba(148,163,184,.25); color: #475569; }
.home-lb-list li:nth-child(3) .home-lb-rank { background: rgba(180,83,9,.15); color: #92400e; }
.home-lb-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-lb-score { font-weight: 700; color: var(--primary, var(--primary)); }
.home-scroll-wrap { position: relative; }
.home-scroll-wrap::after {
content: "";
position: absolute;
top: 0;
right: 0;
bottom: 28px;
width: 40px;
pointer-events: none;
background: linear-gradient(to left, var(--bg, #f8fafc), transparent);
}
[data-theme="dark"] .home-scroll-wrap::after {
background: linear-gradient(to left, var(--bg, #0f172a), transparent);
}
.home-scroll-hint {
display: none;
align-items: center;
gap: 4px;
font-size: .68rem;
font-weight: 600;
color: var(--muted);
margin: 0 0 .75rem;
}
@media (max-width: 991px) {
.home-scroll-hint { display: flex; }
}
.home-daily-compact--done {
border-color: rgba(34, 197, 94, .35);
background: linear-gradient(135deg, rgba(0, 113, 227,.06), rgba(99,102,241,.05));
}
.home-daily-status {
display: block;
font-size: .72rem;
font-weight: 600;
margin-top: 2px;
}
.home-daily-status--done { color: #16a34a; }
.home-daily-status--pending { color: var(--muted); }
.home-play {
padding: 1.25rem 0 2.5rem;
background: var(--bg, #f8fafc);
}
[data-theme="dark"] .home-play { background: var(--bg, #0f172a); }
.home-section-head {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: .75rem;
margin-bottom: .85rem;
}
.home-section-head h2 {
font-size: 1.35rem;
font-weight: 800;
letter-spacing: -0.02em;
margin: 0;
color: var(--text, #111827);
}
.home-section-head h2.home-section-title--sm {
font-size: 1.05rem;
}
#play, #paths, #topics, #learn-first, #categories, #all-topics, #explore, #leaderboard, #faq, .home-hero {
scroll-margin-top: 68px;
}
@media (min-width: 992px) {
#play, #paths, #topics, #learn-first, #categories, #all-topics, #explore, #leaderboard, #faq, .home-hero {
scroll-margin-top: 64px;
}
}
.home-play { padding-top: 0.5rem; }
.home-explore-section {
padding: 1.75rem 0 2rem;
background: var(--bg);
border-top: 1px solid var(--border);
}
.home-explore-grid {
display: grid;
grid-template-columns: 1fr;
gap: 0.65rem;
}
@media (min-width: 768px) {
.home-explore-grid { grid-template-columns: 1fr 1fr; }
}
.home-explore-card {
display: flex;
flex-direction: column;
gap: 0.55rem;
padding: 0.85rem 0.95rem;
border-radius: 14px;
border: 1px solid var(--border);
text-decoration: none;
color: var(--text);
transition: border-color .15s, box-shadow .15s, transform .15s;
}
.home-explore-card:hover {
color: var(--text);
transform: translateY(-2px);
box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
}
.home-explore-card--solar {
background: linear-gradient(145deg, rgba(245, 158, 11, 0.12), rgba(239, 68, 68, 0.06));
border-color: rgba(245, 158, 11, 0.28);
}
.home-explore-card--solar:hover { border-color: rgba(245, 158, 11, 0.45); }
.home-explore-card--layers {
background: linear-gradient(145deg, rgba(0, 113, 227, 0.1), rgba(99, 102, 241, 0.08));
border-color: rgba(0, 113, 227, 0.22);
}
.home-explore-card--layers:hover { border-color: rgba(0, 113, 227, 0.38); }
.home-explore-card-icon {
width: 40px;
height: 40px;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2rem;
color: #fff;
}
.home-explore-card--solar .home-explore-card-icon {
background: linear-gradient(135deg, #f59e0b, #ea580c);
}
.home-explore-card--layers .home-explore-card-icon {
background: linear-gradient(135deg, #0071e3, #6366f1);
}
.home-explore-card-body {
display: flex;
flex-direction: column;
gap: 0.35rem;
flex: 1;
min-width: 0;
}
.home-explore-card-title {
font-size: 0.92rem;
font-weight: 800;
line-height: 1.2;
}
.home-explore-card-desc {
font-size: 0.78rem;
color: var(--muted);
line-height: 1.45;
}
.home-explore-card-tags {
display: flex;
flex-wrap: wrap;
gap: 0.35rem;
margin-top: 0.15rem;
}
.home-explore-card-tags span {
font-size: 0.68rem;
font-weight: 600;
padding: 0.2rem 0.45rem;
border-radius: 999px;
border: 1px solid var(--border);
background: var(--card-bg);
color: var(--muted);
}
.home-explore-card-cta {
font-size: 0.78rem;
font-weight: 700;
color: var(--primary);
}
.home-section-head p {
margin: 0;
font-size: .82rem;
color: var(--muted);
}
.home-play-strips {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}
@media (min-width: 768px) {
  .home-play-strips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}
.home-play-strips .home-daily-compact {
  margin-bottom: 0;
}
.home-learn-compact {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.85rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  background: linear-gradient(90deg, rgba(74, 154, 106, 0.14), rgba(91, 94, 166, 0.08));
  border: 1px solid var(--border, #e5e7eb);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.home-learn-compact:hover {
  color: var(--text);
  border-color: rgba(74, 154, 106, 0.45);
  box-shadow: 0 4px 14px rgba(74, 154, 106, 0.12);
}
.home-learn-compact-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #5a9a6a, #4a8ab8);
  color: #fff;
  font-size: 1.1rem;
}
.home-learn-compact-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.home-learn-compact-title {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}
.home-learn-compact-meta {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.25;
}
.home-learn-compact-cta {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #5a9a6a;
  color: #fff;
}
.home-daily-compact {
display: flex;
align-items: center;
gap: .65rem;
padding: .55rem .85rem;
margin-bottom: 1.1rem;
border-radius: 12px;
text-decoration: none;
color: var(--text);
background: linear-gradient(90deg, rgba(245,158,11,.14), rgba(91,94,166,.1));
border: 1px solid var(--border, #e5e7eb);
transition: border-color .15s, box-shadow .15s;
}
.home-daily-compact:hover {
color: var(--text);
border-color: rgba(245,158,11,.45);
box-shadow: 0 4px 14px rgba(245,158,11,.12);
}
.home-daily-compact-icon {
flex-shrink: 0;
width: 36px;
height: 36px;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #f59e0b, #ef4444);
color: #fff;
font-size: 1.1rem;
}
.home-daily-compact-main {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 1px;
}
.home-daily-compact-title {
font-size: .82rem;
font-weight: 700;
line-height: 1.2;
}
.home-daily-countdown {
font-size: .72rem;
font-weight: 600;
color: var(--muted);
}
.home-daily-compact-play {
flex-shrink: 0;
font-size: .78rem;
font-weight: 700;
padding: .35rem .75rem;
border-radius: 999px;
background: var(--primary, var(--primary));
color: #fff;
}
.home-scroll-row {
display: flex;
gap: .75rem;
overflow-x: auto;
padding-bottom: .35rem;
scroll-snap-type: x mandatory;
-webkit-overflow-scrolling: touch;
scrollbar-width: thin;
}
.home-scroll-row::-webkit-scrollbar { height: 6px; }
.home-scroll-row::-webkit-scrollbar-thumb {
background: var(--border, #cbd5e1);
border-radius: 99px;
}
.home-play-tile {
flex: 0 0 176px;
scroll-snap-align: start;
display: flex;
flex-direction: column;
border-radius: 14px;
overflow: hidden;
background: var(--card-bg, #fff);
border: 1px solid var(--border, #e5e7eb);
transition: transform .15s ease, box-shadow .15s ease;
}
.home-play-tile:hover {
transform: translateY(-4px);
box-shadow: 0 12px 28px rgba(0,0,0,.12);
}
.home-play-tile-main {
flex: 1;
text-decoration: none;
color: inherit;
display: flex;
flex-direction: column;
}
.home-play-tile-main:hover { color: inherit; }
.home-play-tile-teaser {
display: block;
margin-top: 3px;
font-size: .68rem;
line-height: 1.35;
color: var(--muted, #64748b) !important;
font-weight: 500;
}
.home-play-tile-guide {
display: flex;
align-items: center;
justify-content: center;
gap: 4px;
padding: .45rem .55rem;
font-size: .68rem;
font-weight: 700;
text-decoration: none;
color: var(--primary, var(--primary)) !important;
background: var(--card-bg);
border-top: 1px solid var(--border, #e5e7eb);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.home-play-tile-guide:hover {
background: rgba(0, 113, 227, .08);
text-decoration: none;
transform: none;
}
.home-section-strip {
margin-bottom: 1.5rem;
}
.home-section-strip .home-scroll-row {
margin-bottom: 0;
}
.home-tile-badge--guide {
background: rgba(140, 120, 190, 0.85);
text-transform: none;
font-size: 0.6rem;
letter-spacing: 0.01em;
}
.home-play-tile-play--guide {
background: linear-gradient(135deg, #b0a0d8, #98a8d0);
}
.home-play-tile--guide .home-play-tile-cat {
color: #6b5b9a !important;
}
.home-play-tile-meta {
display: block;
margin-top: 3px;
font-size: 0.62rem;
line-height: 1.3;
color: var(--muted) !important;
font-weight: 600;
}
.home-play-tile-meta i {
font-size: 0.58rem;
margin-right: 2px;
}
.home-play-tile--compact .home-play-tile-meta {
display: block;
}
@media (min-width: 768px) {
.home-play-tile { flex: 0 0 200px; }
.home-play-tile-media { height: 112px; }
}
.home-play-tile-media {
position: relative;
height: 100px;
background: linear-gradient(145deg, #c8daf0, #d4dce8);
}
.home-tile-badge {
position: absolute;
top: 6px;
left: 6px;
z-index: 2;
font-size: 0.58rem;
font-weight: 800;
letter-spacing: 0.02em;
text-transform: uppercase;
padding: 3px 7px;
border-radius: 999px;
background: rgba(15, 23, 42, 0.72);
color: #fff;
backdrop-filter: blur(4px);
}
.home-tile-badge--trending {
background: rgba(100, 140, 190, 0.82);
text-transform: none;
font-size: 0.6rem;
letter-spacing: 0.01em;
}
.home-play-tile-media::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.35) 100%);
pointer-events: none;
}
.home-play-tile-media img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
filter: saturate(0.88) contrast(0.98);
}
.home-play-tile-media--fallback {
display: flex;
align-items: center;
justify-content: center;
}
.home-play-tile-media--fallback i {
font-size: 2rem;
color: rgba(30, 41, 59, 0.42);
opacity: 1;
}
.home-play-tile-body {
padding: .5rem .6rem .6rem;
background: var(--card-bg, #fff);
border-top: 1px solid var(--border, #e5e7eb);
}
.home-play-tile-cat {
display: block;
font-size: .65rem;
font-weight: 600;
color: var(--muted, #64748b) !important;
text-transform: uppercase;
letter-spacing: .04em;
margin-bottom: 2px;
}
.home-play-tile-title {
display: block;
font-size: .8rem;
font-weight: 700;
line-height: 1.3;
color: var(--text, #111827) !important;
}
[data-theme="dark"] .home-play-tile-title {
color: var(--text, #f1f5f9) !important;
}
[data-theme="dark"] .home-play-tile-cat {
color: var(--muted, #94a3b8) !important;
}
.home-play-tile-play {
position: absolute;
right: 6px;
bottom: 6px;
width: 26px;
height: 26px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
background: rgba(90, 130, 175, 0.92);
color: #fff;
font-size: .72rem;
box-shadow: 0 2px 8px rgba(0,0,0,.15);
z-index: 1;
}
.home-play-tile--compact .home-play-tile-body {
padding: .45rem .5rem .5rem;
}
.home-play-tile--compact .home-play-tile-title {
font-size: .7rem;
line-height: 1.25;
}
.home-browse { margin-top: 0.15rem; }
.home-subject-rail-wrap { margin-bottom: 0.85rem; }
.home-subject-rail-wrap::after { bottom: 0; }
.home-subject-rail {
display: flex;
gap: 0.5rem;
overflow-x: auto;
padding-bottom: 0.35rem;
scroll-snap-type: x mandatory;
-webkit-overflow-scrolling: touch;
scrollbar-width: thin;
}
.home-subject-rail::-webkit-scrollbar { height: 5px; }
.home-subject-rail::-webkit-scrollbar-thumb {
background: var(--border, #cbd5e1);
border-radius: 99px;
}
.home-subject-chip {
flex: 0 0 auto;
scroll-snap-align: start;
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 0.85rem 0.5rem 0.5rem;
border-radius: 999px;
border: 1px solid var(--border, #e5e7eb);
background: var(--card-bg, #fff);
color: var(--text);
font-size: 0.8rem;
font-weight: 700;
cursor: pointer;
transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
white-space: nowrap;
}
.home-subject-chip:hover {
border-color: var(--primary);
}
.home-subject-chip.is-active {
border-color: var(--primary);
background: rgba(0, 113, 227, 0.08);
box-shadow: 0 4px 14px rgba(0, 113, 227, 0.12);
}
.home-subject-chip-icon {
width: 28px;
height: 28px;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 0.9rem;
flex-shrink: 0;
}
.home-subject-chip-label { line-height: 1.1; }
.home-subject-chip-count {
font-size: 0.68rem;
font-weight: 800;
color: var(--muted);
background: var(--bs-secondary-bg, #f1f5f9);
padding: 2px 7px;
border-radius: 999px;
}
.home-subject-chip.is-active .home-subject-chip-count {
color: var(--primary);
background: rgba(0, 113, 227, 0.12);
}
.home-subject-panel { display: none; }
.home-subject-panel.is-active { display: block; }
.home-subject-panel-head {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 0.65rem 0.75rem;
margin-bottom: 0.55rem;
}
.home-subject-panel-meta {
font-size: 0.78rem;
font-weight: 600;
color: var(--muted);
}
.home-subject-panel-actions {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
}
.home-subject-panel-empty {
padding: 0.5rem 0 0.25rem;
}
.home-play-tile--full {
border-color: rgba(0, 113, 227, 0.28);
}
.home-play-tile--full .home-play-tile-main {
display: flex;
flex-direction: column;
height: 100%;
text-decoration: none;
color: inherit;
}
.home-play-tile--full:hover { color: inherit; }
.home-play-tile--full .home-play-tile-teaser {
display: block;
margin-top: 3px;
font-size: 0.68rem;
line-height: 1.35;
color: var(--muted) !important;
font-weight: 500;
}
[data-theme="dark"] .home-play-tile,
[data-theme="dark"] .home-subject-chip { border-color: rgba(255,255,255,.1); }
[data-theme="dark"] .home-subject-chip.is-active {
background: rgba(56, 189, 248, 0.1);
}
.home-play-tile--more {
background: linear-gradient(145deg, rgba(0, 113, 227, 0.28), rgba(91, 94, 166, 0.34));
border-color: rgba(91, 94, 166, 0.22);
}
[data-theme="dark"] .home-play-tile--more {
background: linear-gradient(145deg, rgba(0, 113, 227, 0.38), rgba(91, 94, 166, 0.42));
border-color: rgba(255, 255, 255, 0.14);
}
.home-play-tile--more:hover {
border-color: rgba(0, 113, 227, 0.45);
box-shadow: 0 10px 24px rgba(91, 94, 166, 0.18);
}
.home-play-tile--more .home-play-tile-media {
display: flex;
align-items: center;
justify-content: center;
background: transparent;
}
.home-play-tile--more .home-play-tile-media::after {
display: none;
}
.home-play-tile--more .home-play-tile-body {
background: transparent;
border-top: none;
}
.home-play-tile--more .home-play-tile-title {
color: #fff !important;
font-weight: 800;
}
.home-play-tile--more .home-play-tile-media i {
font-size: 1.45rem;
color: #fff;
opacity: 0.95;
}
.home-quick-bar {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: .75rem;
margin-top: 0;
}
@media (min-width: 768px) {
.home-quick-bar { grid-template-columns: repeat(4, 1fr); }
}
.home-quick-bar .home-feature-link {
min-height: 100%;
border: 1px solid var(--border);
}
.home-search-wrap { margin-top: 0; }
.home-search {
display: flex;
align-items: center;
gap: 0.65rem;
padding: 0.65rem 1rem;
border-radius: 14px;
border: 1px solid var(--border);
background: var(--card-bg);
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}
.home-search > .bi-search {
flex-shrink: 0;
font-size: 1rem;
color: var(--muted);
}
.home-search-input {
flex: 1;
min-width: 0;
border: 0;
background: transparent;
font-size: 0.92rem;
font-weight: 500;
color: var(--text);
outline: none;
}
.home-search-input::placeholder { color: var(--muted); opacity: 0.85; }
.home-search-clear {
flex-shrink: 0;
border: 0;
background: var(--bs-secondary-bg, #f1f5f9);
color: var(--muted);
width: 28px;
height: 28px;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
cursor: pointer;
font-size: 0.7rem;
}
.home-search-clear:hover { color: var(--text); }
.home-search-empty {
font-size: 0.82rem;
color: var(--muted);
margin: 0.5rem 0 0;
}
.home-search-results {
margin-top: 0.85rem;
}
.home-search-results .home-scroll-row {
padding-bottom: 0.35rem;
}
.home-search-hidden { display: none !important; }
.home-search-section-hidden { display: none !important; }
.home-help {
padding: 2rem 0 2.5rem;
background: var(--bg);
}
.home-help-grid {
display: grid;
grid-template-columns: 1fr;
gap: 1.75rem;
align-items: start;
}
@media (min-width: 992px) {
.home-help-grid {
grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
gap: 2rem;
}
}
.home-help .home-section-title {
font-size: 1.2rem;
margin-bottom: 0.25rem;
}
.home-help-lead {
font-size: .84rem;
color: var(--muted);
margin-bottom: 0.85rem;
}
.home-faq-more { margin-top: 0.65rem; }
.home-faq-more summary {
list-style: none;
margin: 0;
}
.home-faq-more summary::-webkit-details-marker { display: none; }
.home-faq-more summary.home-nav-card::before {
content: '+ ';
font-weight: 800;
color: var(--primary);
}
.home-faq-more[open] summary.home-nav-card::before { content: '− '; }
.home-faq-accordion .accordion-body a:not(.home-inline-card) {
display: inline-flex;
align-items: center;
gap: 0.2rem;
padding: 0.12rem 0.5rem;
border-radius: 8px;
border: 1px solid var(--border);
background: var(--bg);
font-weight: 700;
color: var(--primary);
text-decoration: none;
}
.home-faq-accordion .accordion-body a:not(.home-inline-card):hover {
border-color: rgba(0, 113, 227, 0.35);
text-decoration: none;
}
.home-help-aside {
padding: 1rem 1.1rem;
border-radius: 16px;
border: 1px solid var(--border);
background: var(--card-bg);
}
.home-help-stats {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 0.5rem;
margin-bottom: 1rem;
}
.home-help-stat {
padding: 0.55rem 0.65rem;
border-radius: 10px;
border: 1px solid var(--border);
background: var(--bg);
text-align: center;
}
.home-help-stat strong {
display: block;
font-size: 1rem;
font-weight: 800;
color: var(--text);
line-height: 1.1;
}
.home-help-stat span {
display: block;
font-size: .68rem;
font-weight: 600;
color: var(--muted);
text-transform: uppercase;
letter-spacing: .04em;
margin-top: 2px;
}
.home-help-links {
list-style: none;
padding: 0;
margin: 0;
}
.home-help-link-text {
display: flex;
flex-direction: column;
min-width: 0;
}
.home-help-link-text strong {
font-size: .82rem;
font-weight: 700;
line-height: 1.2;
}
.home-help-link-text small {
font-size: .72rem;
color: var(--muted);
line-height: 1.25;
}
.home-help-fact {
font-size: .8rem;
color: var(--muted);
padding: 0.65rem 0.75rem;
border-radius: 10px;
background: var(--bg);
border: 1px solid var(--border);
margin: 0;
line-height: 1.45;
}
.home-help-more-links {
margin: 0.75rem 0 0;
font-size: 0.82rem;
color: var(--muted);
}
.home-help-more-links a {
color: var(--accent, #0071e3);
text-decoration: none;
font-weight: 600;
}
.home-help-more-links a:hover {
text-decoration: underline;
}
.home-faq-accordion .accordion-item {
border: 1px solid var(--border) !important;
border-radius: 10px !important;
background: var(--card-bg);
overflow: hidden;
}
.home-faq-accordion .accordion-button {
font-weight: 700;
font-size: .84rem;
padding: 0.65rem 0.85rem;
background: var(--card-bg);
color: var(--text);
box-shadow: none !important;
}
.home-faq-accordion .accordion-button:not(.collapsed) {
background: rgba(0, 113, 227, 0.06);
color: var(--primary);
}
.home-faq-accordion .accordion-body {
font-size: .82rem;
line-height: 1.5;
padding: 0.65rem 0.85rem 0.75rem;
background: var(--card-bg);
}
.globe-preview-card {
border-radius: 16px;
border: 1px solid var(--border, #e5e7eb);
background: linear-gradient(135deg, rgba(0, 113, 227,.08), rgba(91,94,166,.1));
}
.globe-preview-icon {
width: 62px;
height: 62px;
border-radius: 14px;
display: inline-flex;
align-items: center;
justify-content: center;
background: rgba(255,255,255,.72);
border: 1px solid rgba(255,255,255,.9);
font-size: 1.9rem;
color: var(--primary, var(--primary));
}
.globe-topic-chip {
display: inline-flex;
align-items: center;
gap: 6px;
border-radius: 999px;
border: 1px solid var(--border, #e5e7eb);
background: var(--card-bg, #fff);
color: var(--text, #111827);
padding: 7px 12px;
font-size: .82rem;
font-weight: 600;
}
[data-theme="dark"] .globe-preview-icon {
background: rgba(17,24,39,.6);
border-color: rgba(255,255,255,.14);
}
.start-hub-card {
border-radius: 16px;
border: 1px solid var(--border, #e5e7eb);
background: var(--card-bg, #fff);
}
.start-hub-title { font-size: 1.02rem; font-weight: 700; margin-bottom: 8px; }
.start-hub-sub { font-size: .88rem; color: var(--muted); line-height: 1.5; margin-bottom: 14px; }
.start-hub-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.start-hub-mini-chip {
display: inline-flex; align-items: center; gap: 5px;
font-size: .75rem; font-weight: 600;
border-radius: 999px; border: 1px solid var(--border, #e5e7eb);
background: var(--bg, #f8fafc); color: var(--text);
padding: 5px 10px; text-decoration: none;
}
.start-hub-mini-chip:hover { border-color: var(--primary, var(--primary)); color: var(--text); }
.compact-info-grid .info-item {
border: 1px solid var(--border, #e5e7eb);
border-radius: 12px;
padding: 12px 14px;
background: var(--bg, #f8fafc);
height: 100%;
}
.compact-info-grid .info-item h3 {
font-size: .92rem;
font-weight: 700;
margin-bottom: 6px;
}
.compact-info-grid .info-item p {
font-size: .84rem;
color: var(--muted);
margin-bottom: 0;
line-height: 1.5;
}
.home-cta-strip {
border: 1px solid var(--border, #e5e7eb);
border-radius: 14px;
background: linear-gradient(135deg, rgba(0, 113, 227,.08), rgba(91,94,166,.09));
}
.topic-cover-card {
border: 1px solid var(--border, #e5e7eb);
border-radius: 12px;
background: var(--bg, #f8fafc);
padding: 12px 14px;
height: 100%;
}
.topic-cover-card h3 {
font-size: .9rem;
font-weight: 700;
margin-bottom: 6px;
display: flex;
align-items: center;
gap: 7px;
}
.topic-cover-card p {
margin-bottom: 0;
color: var(--muted);
font-size: .82rem;
line-height: 1.45;
}
