/* Home page sections: quick start, classes, tools, rankings, how it works, FAQ. Also the coming-soon / info pages. */
.home { max-width: 1180px; margin: 0 auto; padding: 0 16px 10px; }
.home > section { padding: 56px 0 8px; scroll-margin-top: 70px; }
.sec-title { margin: 0; text-align: center; font-family: var(--display); font-weight: 800; letter-spacing: 1.5px;
  font-size: clamp(28px, 4.2vw, 42px); color: #f3ead0; }
.sec-title::after { content: ""; display: block; width: 110px; height: 2px; margin: 12px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.sec-sub { margin: 12px auto 30px; max-width: 640px; text-align: center; color: var(--muted); font-size: 15px; }

/* quick start */
.hero { text-align: center; padding-top: 44px !important; }
.eyebrow { margin: 0 0 10px; color: var(--gold); font-size: 12.5px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; }
.hero h1 { margin: 0 auto; max-width: 780px; font-family: var(--display); font-weight: 800; letter-spacing: .5px; line-height: 1.15;
  font-size: clamp(28px, 4.6vw, 46px); color: #f6efd8; }
.hero-sub { margin: 16px auto 26px; max-width: 700px; color: #b6bccd; font-size: 16px; }
.hero-search { display: flex; align-items: center; gap: 8px; max-width: 800px; margin: 0 auto; padding: 6px 6px 6px 14px;
  background: #121727; border: 1px solid #3a4262; border-radius: 14px; box-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
.hero-search:focus-within { border-color: var(--gold-dim); box-shadow: 0 0 0 3px rgba(248, 183, 0, .15), 0 10px 40px rgba(0, 0, 0, .35); }
.hero-search > svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.hero-search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--text);
  font: inherit; font-size: 15.5px; padding: 11px 4px; }
.hero-search button { flex: none; border: 0; border-radius: 10px; padding: 12px 22px; cursor: pointer; font: inherit; font-weight: 800;
  color: #1b1300; background: linear-gradient(#ffcc33, #e0a000); }
.hero-search button:hover { filter: brightness(1.07); }
.hero-alt { margin: 12px 0 0; color: var(--muted); font-size: 13.5px; }
.hero-alt a { color: var(--gold); }
.stat-strip { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 34px auto 0; padding: 0; max-width: 900px; }
.stat-strip li { flex: 1 1 140px; max-width: 180px; padding: 14px 10px; border-radius: 12px; background: #11151f; border: 1px solid #232a40; }
.stat-strip b { display: block; font-family: var(--display); font-size: 26px; color: var(--gold); line-height: 1.1; }
.stat-strip span { color: var(--muted); font-size: 13px; }

/* classes */
.class-grid { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 12px; }
.cls { --cc: var(--gold); display: flex; flex-direction: column; border-radius: 14px; overflow: hidden;
  background: linear-gradient(180deg, #161b2d, #10131f); border: 1px solid #262c44; transition: transform .18s, border-color .18s, box-shadow .18s; }
.cls:hover, .cls:focus-within { border-color: color-mix(in srgb, var(--cc) 55%, transparent); box-shadow: 0 14px 30px rgba(0, 0, 0, .45); }
.cls-main { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 6px 10px; cursor: default; user-select: none; }
.cls-ic { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; color: var(--cc);
  background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--cc) 22%, #151a2c), #0c0f1a 72%);
  border: 2px solid color-mix(in srgb, var(--cc) 70%, transparent);
  box-shadow: 0 0 0 4px #0c0f1a, 0 0 0 5px color-mix(in srgb, var(--cc) 25%, transparent); transition: box-shadow .18s; }
.cls-ic svg { width: 40px; height: 40px; }
.cls-nm { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .5px; color: var(--cc); }
.cls:hover .cls-ic { box-shadow: 0 0 0 4px #0c0f1a, 0 0 0 5px var(--cc),
  0 0 26px color-mix(in srgb, var(--cc) 45%, transparent); }
.cls-specs { display: flex; flex-direction: column; border-top: 1px solid #222840; margin-top: auto; }
.cls-specs { gap: 5px; padding: 8px 7px 9px; }
.cls-specs a { position: relative; padding: 6px 4px; text-align: center; font-size: 12.5px; font-weight: 700; color: #d6dae6; text-decoration: none;
  border-radius: 7px; background: #171c2e; border: 1px solid #262c44; transition: background .15s, border-color .15s, color .15s, transform .15s; }

.cls-specs a:hover, .cls-specs a:focus-visible { color: #10131c; background: var(--cc); border-color: var(--cc); outline: none; transform: translateY(-1px); }

/* tools */
.tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tool { position: relative; display: flex; flex-direction: column; padding: 20px 20px 18px; border-radius: 14px; text-decoration: none;
  background: linear-gradient(180deg, #151a2b, #10131f); border: 1px solid #262c44; transition: transform .18s, border-color .18s; }
.tool:hover, .tool:focus-visible { transform: translateY(-3px); border-color: var(--gold-dim); outline: none; }
.tool.live { border-color: #5a4a14; background: linear-gradient(180deg, #1d1c20, #12131c); }
.tool-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #231d0c; border: 1px solid #5a4a14; }
.tool-ic svg { width: 22px; height: 22px; color: var(--gold); }
.badge { position: absolute; top: 18px; right: 18px; font-size: 11.5px; font-weight: 700; letter-spacing: .4px; padding: 3px 9px;
  border-radius: 999px; color: #c3c8d6; background: #1f2438; border: 1px solid #333b58; }
.badge.ok { color: #9dffa0; background: #0f2a14; border-color: #1f6a2a; }
.tool h3 { margin: 14px 0 6px; font-size: 18px; color: #f3ead0; }
.tool p { margin: 0 0 14px; color: var(--muted); font-size: 14px; flex: 1; }
.tool-go { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-weight: 700; font-size: 14px; }
.tool-go svg { width: 16px; height: 16px; }

/* rankings */
.rank-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 0 18px; }
.rank-tabs button { font: inherit; font-weight: 700; cursor: pointer; padding: 8px 18px; border-radius: 999px; color: #c9cfdf;
  background: #151a2b; border: 1px solid #2c3350; }
.rank-tabs button[aria-selected="true"] { color: #1b1300; border-color: var(--gold); background: linear-gradient(#ffcc33, #e0a000); }
.rank-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; align-items: start; }
.rank-side { display: grid; gap: 14px; }
.rank-card { padding: 16px 18px; border-radius: 14px; background: #11151f; border: 1px solid #232a40; }
.rank-card h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 16px; color: #f3ead0; }
.rank-card h3 svg { width: 18px; height: 18px; color: var(--gold); }
.rank-card h3 small { color: var(--muted); font-weight: 400; font-size: 13px; }
.rank-card ol { list-style: none; margin: 0; padding: 0; }
.rank-card li { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; column-gap: 8px; padding: 7px 0 9px;
  border-top: 1px solid #1c2134; position: relative; }
.rank-card li:first-child { border-top: 0; }
.rk { color: var(--muted); font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; }
.rn { color: var(--cc); font-weight: 700; text-decoration: none; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rn span { color: #9aa1b5; font-weight: 400; }
.rn:hover { text-decoration: underline; }
.rv { font-variant-numeric: tabular-nums; font-weight: 700; color: #e9e4d4; }
.rb { grid-column: 2 / 4; height: 4px; margin-top: 5px; border-radius: 2px; background: #1a1f31; overflow: hidden; }
.rb i { display: block; height: 100%; border-radius: 2px; background: var(--cc); opacity: .75; }
.rank-more { margin-top: 10px; width: 100%; font: inherit; font-weight: 700; color: var(--gold); cursor: pointer; padding: 9px;
  border-radius: 10px; background: #151a2b; border: 1px solid #2c3350; }
.rank-more:hover { border-color: var(--gold-dim); }
.rank-note { margin: 14px auto 0; max-width: 760px; text-align: center; color: var(--muted); font-size: 13px; }
.rank-note a { color: var(--gold); }

/* how it works */
.steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.steps li { position: relative; padding: 22px 20px 18px; border-radius: 14px; background: #11151f; border: 1px solid #232a40; }
.steps li > svg { width: 28px; height: 28px; color: var(--gold); }
.step-n { position: absolute; top: 16px; right: 18px; font-family: var(--display); font-size: 34px; font-weight: 800; color: #2a3048; line-height: 1; }
.steps h3 { margin: 10px 0 6px; font-size: 17px; color: #f3ead0; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; }

/* FAQ */
.faq-list { max-width: 820px; margin: 30px auto 0; display: grid; gap: 8px; }
.faq details { border-radius: 12px; background: #11151f; border: 1px solid #232a40; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 700; color: #ece6d2; list-style: none; position: relative; padding-right: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 20px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 18px 16px; color: var(--muted); }

/* coming-soon and info pages */
.soon, .info { min-height: 42vh; }
.soon .pick, .info-page { text-align: center; }
.soon-back { color: var(--gold); }
.info-page { max-width: 760px; margin: 0 auto; text-align: left; }
.info-page h1 { font-family: var(--display); color: #f3ead0; font-size: clamp(28px, 4vw, 40px); margin: 0 0 16px; }
.info-page h2 { color: #f3ead0; font-size: 19px; margin: 28px 0 8px; }
.info-page p, .info-page li { color: #b6bccd; }
.info-page a { color: var(--gold); }

@media (max-width: 1060px) {
  .class-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rank-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
  .class-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 560px) {
  .home > section { padding-top: 44px; }
  .hero-search { flex-wrap: wrap; padding: 8px; }
  .hero-search > svg { display: none; }
  .hero-search input { flex-basis: 100%; padding: 10px 8px; }
  .hero-search button { width: 100%; }
  .tool-grid { grid-template-columns: 1fr; }
  .cls-main { padding: 12px 4px 8px; gap: 8px; }
  .cls-ic { width: 56px; height: 56px; } .cls-ic svg { width: 32px; height: 32px; }
  .cls-nm { font-size: 13.5px; }
  .cls-specs a { font-size: 11.5px; padding: 5px 2px; }
  .stat-strip li { flex-basis: 30%; padding: 10px 6px; }
  .stat-strip b { font-size: 21px; }
}
.hero-sub a { color: var(--gold); }
.rn .rr { font-style: normal; font-weight: 400; font-size: 11.5px; color: #c9b27c; border: 1px solid rgba(201,178,124,.35); border-radius: 4px; padding: 0 4px; margin-left: 4px; }
