/* Secondary navigation: Hall of Fame pill in the top bar / tab bar, the per-section pill strip
   under the top bar, and the grouped footer. Strong contrast comes from one solid ink pill (the
   current page / Hall of Fame), not from colour on every link. */

:root {
    --gold-1: #FFE08A;
    --gold-2: #F5B82E;
    --gold-3: #C98A0B;
    --gold-grad: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 45%, var(--gold-3) 100%);
}

/* ---- Hall of Fame in the top bar: solid ink pill, gold trophy ---- */
.topbar-hof {
    display: inline-flex; align-items: center; gap: 7px; margin-left: 6px;
    padding: 8px 14px; border-radius: 999px; text-decoration: none; white-space: nowrap;
    background: var(--ink); color: #fff; font-weight: 800; font-size: .86rem;
    box-shadow: 0 6px 16px rgba(28, 22, 6, .25), inset 0 1px 0 rgba(255, 255, 255, .12);
    transition: transform .15s ease, box-shadow .15s ease;
}
.topbar-hof i {
    background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 0 6px rgba(245, 184, 46, .55));
}
.topbar-hof:hover { transform: translateY(-1px); color: #fff; box-shadow: 0 10px 22px rgba(28, 22, 6, .3), 0 0 0 2px rgba(245, 184, 46, .55); }
.topbar-hof.is-active { box-shadow: 0 6px 16px rgba(28, 22, 6, .25), 0 0 0 2px var(--gold-2); }
.topbar-hof:focus-visible { outline: 2px solid var(--gold-3); outline-offset: 2px; }

/* Phone tab bar: the trophy tab wears the gold gradient. */
.tabbar-hof i {
    background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tabbar-hof.is-active span, .tabbar-hof span { color: var(--gold-3); font-weight: 800; }

/* ---- Section strip: the pages of the section you are in ---- */
.section-nav { margin-top: 4px; margin-bottom: 14px; }
.section-nav-track {
    display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px;
    -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent);
}
.section-nav-track::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .section-nav-track { -webkit-mask-image: none; mask-image: none; } }
.section-pill {
    flex: none; display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 16px; border-radius: 999px; text-decoration: none; white-space: nowrap;
    font-weight: 800; font-size: .86rem; color: var(--ink);
    background: linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .46));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85), 0 4px 14px rgba(150, 105, 10, .14);
    -webkit-backdrop-filter: blur(10px) saturate(150%); backdrop-filter: blur(10px) saturate(150%);
    transition: background .15s ease, transform .15s ease;
}
.section-pill i { font-size: .95rem; color: var(--ink-2); }
.section-pill:hover { background: rgba(255, 255, 255, .9); color: var(--ink); transform: translateY(-1px); }
.section-pill.is-current { background: var(--ink); color: #fff; box-shadow: 0 6px 16px rgba(28, 22, 6, .22); }
.section-pill.is-current i { color: var(--gold-2); }
.section-pill--gold:not(.is-current) { background: var(--gold-grad); color: #3A2600; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 6px 16px rgba(201, 138, 11, .3); }
.section-pill--gold:not(.is-current) i { color: #3A2600; }
.section-pill:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .section-pill, .topbar-hof { transition: none; } }

/* ---- Footer: brand + three link groups ---- */
.foot-grid {
    display: grid; gap: 22px 28px; padding: 6px 0;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) { .foot-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.foot-id { display: grid; gap: 10px; align-content: start; justify-items: start; }
.foot-copy { font-size: .8rem; color: var(--ink-3); }
.foot-hof {
    display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px;
    background: var(--ink); color: #fff; font-weight: 800; font-size: .82rem; text-decoration: none;
}
.foot-hof i { color: var(--gold-2); }
.foot-hof:hover { color: #fff; box-shadow: 0 0 0 2px var(--gold-2); }
.foot-col { display: grid; gap: 7px; align-content: start; }
.foot-col h2 { margin: 0 0 2px; font-size: .9rem; font-weight: 800; color: var(--ink); }
.foot-col a { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--ink-2); text-decoration: none; }
.foot-col a i { color: var(--ink-3); width: 1em; }
.foot-col a:hover, .foot-col a:hover i { color: var(--ink); }
@media (max-width: 639px) { .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot-id { grid-column: 1 / -1; } }

/* ---- Home page Hall of Fame banner: dark glass, gold trim (matches the champion card) ---- */
.fame-banner {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px 18px;
    margin: 0 0 24px; padding: 16px 20px; border-radius: 24px; text-decoration: none; color: #fff;
    background:
        radial-gradient(90% 140% at 0% 0%, rgba(245,184,46,.32), rgba(245,184,46,0) 60%),
        linear-gradient(150deg, #2B2008, #120E07);
    box-shadow: 0 16px 36px rgba(28,22,6,.28), inset 0 0 0 1.5px rgba(245,184,46,.6);
    transition: transform .15s ease, box-shadow .15s ease;
}
.fame-banner:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 20px 40px rgba(28,22,6,.32), inset 0 0 0 1.5px rgba(245,184,46,.9); }
.fame-banner:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; }
.fame-banner-icon {
    display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; font-size: 1.6rem;
    background: var(--gold-grad); color: #3A2600; box-shadow: 0 0 22px rgba(245,184,46,.45);
}
.fame-banner-text { display: grid; gap: 2px; min-width: 0; }
.fame-banner-text strong { font-family: 'Bangers', 'Nunito', sans-serif; font-size: 1.6rem; letter-spacing: .03em; line-height: 1; }
.fame-banner-text span { font-size: .88rem; color: rgba(255,255,255,.78); }
.fame-banner-cta {
    display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; white-space: nowrap;
    background: var(--gold-grad); color: #3A2600; font-weight: 800; font-size: .86rem;
}
@media (max-width: 560px) {
    .fame-banner { grid-template-columns: auto minmax(0, 1fr); }
    .fame-banner-cta { grid-column: 1 / -1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .fame-banner { transition: none; } }
