/* ==========================================================================
   FAMECLOCK GLOSSARY - CREATORS ALIGNED MARBLE / GLASS UI
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

:root {
    --gl-accent: #60a5fa !important;
    --gl-accent-strong: #3b82f6;
    --gl-accent-glow: rgba(96, 165, 250, 0.18);
    --gl-gold: #d97706;
    --text-main: #1e293b !important;
    --text-muted: #64748b !important;

    --glass-bg: rgba(255, 255, 255, 0.52);
    --glass-border: rgba(255, 255, 255, 0.88);
    --glass-shadow: 0 18px 36px rgba(0, 138, 153, 0.10), inset 0 0 16px rgba(255, 255, 255, 0.62);
}

body.glossary-page {
    background: linear-gradient(-45deg, #ffffff, #eef3f7, #ffffff, #e0eaef, #ffffff);
    background-size: 400% 400%;
    animation: MarbleFlow 15s ease infinite;
    color: var(--text-main);
    font-family: 'Roboto', sans-serif;
    margin: 0;
    overflow-x: hidden;
    position: relative;
}

body.glossary-page::before,
body.glossary-page::after {
    content: "";
    position: fixed;
    border-radius: 999px;
    pointer-events: none;
    z-index: 0;
    filter: blur(10px);
}

body.glossary-page::before {
    top: 92px;
    left: -150px;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(0, 138, 153, 0.08) 0%, rgba(0, 138, 153, 0) 72%);
}

body.glossary-page::after {
    right: -120px;
    bottom: 85px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.08) 0%, rgba(217, 119, 6, 0) 72%);
}

@keyframes MarbleFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body.glossary-page .cyber-grid,
body.glossary-page .soft-vignette,
body.glossary-page #sciFiBg,
body.glossary-page canvas {
    display: none !important;
}

.gl-orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(6px);
}

.gl-orb--one {
    width: 220px;
    height: 220px;
    top: 150px;
    right: 6%;
    background: radial-gradient(circle, rgba(0, 138, 153, 0.18) 0%, rgba(0, 138, 153, 0) 72%);
}

.gl-orb--two {
    width: 180px;
    height: 180px;
    left: 7%;
    bottom: 16%;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.14) 0%, rgba(217, 119, 6, 0) 72%);
}

.gl-container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 132px 0 80px;
    position: relative;
    z-index: 1;
}

.gl-panel,
.gl-hero,
.gl-filter-shell,
.gl-results-shell,
.term-card,
.no-results {
    background: var(--glass-bg);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1.5px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.gl-hero,
.gl-filter-shell,
.gl-results-shell,
.term-card,
.no-results {
    border-radius: 28px;
    position: relative;
    overflow: hidden;
}

.gl-hero::before,
.gl-filter-shell::before,
.gl-results-shell::before,
.term-card::before,
.no-results::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.52), rgba(255,255,255,0.08));
    pointer-events: none;
}

.gl-hero {
    padding: 42px 36px;
    text-align: center;
    margin-bottom: 24px;
}

.gl-badge,
.gl-subheadline,
.gl-stat-label,
.gl-filter-kicker,
.gl-filter-intro p,
.gl-results-kicker,
.gl-results-label,
.gl-search-input,
.alpha-btn,
.term-index,
.term-letter,
.term-text,
.page-btn,
.no-results strong,
.no-results span {
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.11em;
}

.gl-badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(96, 165, 250, 0.22);
    color: #60a5fa;
    font-size: 0.74rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(96, 165, 250, 0.10);
}

.gl-badge i {
    font-size: 0.8rem;
}

.gl-headline,
.gl-section-title,
.term-name {
    position: relative;
    z-index: 1;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    color: var(--text-main);
    font-weight: 900;
    letter-spacing: 0.06em;
    text-shadow: none;
}

.gl-headline {
    font-size: clamp(2.2rem, 5vw, 3.9rem);
    margin: 18px auto 14px;
    max-width: 880px;
    line-height: 1.08;
}

.gl-subheadline {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.7;
    font-weight: 700;
}

.gl-hero-stats {
    position: relative;
    z-index: 1;
    margin-top: 28px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.gl-linkhub {
    position: relative;
    z-index: 1;
    margin: 24px auto 0;
    max-width: 1040px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(0, 138, 153, 0.12);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.gl-linkhub-title {
    margin: 0 0 14px;
    color: var(--text-main);
    font-size: 0.98rem;
    font-weight: 900;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gl-linkhub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.gl-linkhub-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 92px;
    padding: 14px 15px;
    border-radius: 16px;
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(0, 138, 153, 0.12);
    transition: 0.25s ease;
}

.gl-linkhub-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
    border-color: rgba(0, 138, 153, 0.24);
}

.gl-linkhub-card strong {
    color: var(--text-main);
    font-size: 0.96rem;
    line-height: 1.35;
    font-weight: 800;
}

.gl-linkhub-card span {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.45;
    font-weight: 600;
}

.gl-stat {
    min-width: 180px;
    padding: 16px 20px;
    border-radius: 22px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(0, 138, 153, 0.12);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.gl-stat-label,
.gl-filter-kicker,
.gl-results-kicker,
.gl-results-label,
.term-index,
.term-letter {
    display: block;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1.2;
}

.gl-stat strong,
.gl-results-count {
    display: block;
    margin-top: 7px;
    color: var(--text-main);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.02rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gl-filter-shell {
    padding: 28px;
    margin-bottom: 24px;
}

.gl-search-box {
    position: relative;
    margin-bottom: 26px;
}

.gl-search-icon {
    position: absolute;
    top: 50%;
    left: 22px;
    transform: translateY(-50%);
    color: var(--gl-accent);
    font-size: 1rem;
    z-index: 2;
}

.gl-search-input {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 62px;
    padding: 18px 22px 18px 56px;
    border-radius: 999px;
    border: 1.5px solid rgba(255,255,255,0.88);
    background: rgba(255,255,255,0.82);
    color: var(--text-main);
    font-size: 0.82rem;
    font-weight: 800;
    outline: none;
    box-shadow: 0 12px 28px rgba(0, 138, 153, 0.06);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.gl-search-input:focus {
    border-color: rgba(0, 138, 153, 0.42);
    box-shadow: 0 16px 34px rgba(0, 138, 153, 0.12);
    transform: translateY(-1px);
}

.gl-search-input::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.gl-alphabet-wrap {
    display: grid;
    gap: 18px;
}

.gl-filter-intro p {
    margin: 8px 0 0;
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 520px;
}

.alphabet-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.alpha-btn {
    position: relative;
    z-index: 1;
    min-width: 46px;
    height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.92);
    background: rgba(255,255,255,0.72);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.alpha-btn:hover {
    transform: translateY(-2px);
    color: var(--gl-accent);
    border-color: rgba(0, 138, 153, 0.28);
    box-shadow: 0 14px 24px rgba(0, 138, 153, 0.10);
}

.alpha-btn.active {
    background: linear-gradient(135deg, var(--gl-accent), var(--gl-accent-strong));
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 16px 28px rgba(0, 138, 153, 0.22);
}

.gl-results-shell {
    padding: 30px 28px;
}

.gl-results-bar {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.gl-section-title {
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    margin: 8px 0 0;
}

.gl-results-meta {
    min-width: 170px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(0, 138, 153, 0.12);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
    text-align: right;
}

.gl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    min-height: 320px;
}

.term-card {
    position: relative;
    z-index: 1;
    min-height: 100%;
    padding: 24px 22px 22px;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.term-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 138, 153, 0.24);
    box-shadow: 0 24px 40px rgba(0, 138, 153, 0.14), inset 0 0 20px rgba(255,255,255,0.72);
    background: rgba(255,255,255,0.64);
}

.term-card-topline {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.term-name {
    font-size: 1.05rem;
    line-height: 1.35;
    margin: 0;
    word-break: break-word;
}

.term-divider {
    position: relative;
    z-index: 1;
    width: 72px;
    height: 1px;
    margin: 16px 0 14px;
    background: linear-gradient(90deg, rgba(0, 138, 153, 0.55), rgba(0, 138, 153, 0));
}

.term-text {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.85;
}

.term-text a {
    color: var(--gl-accent);
    font-weight: 900;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 138, 153, 0.36);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.term-text a:hover {
    color: var(--text-main);
    border-bottom-color: rgba(30, 41, 59, 0.4);
}

.no-results {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    min-height: 260px;
    padding: 32px;
    text-align: center;
}

.no-results i {
    position: relative;
    z-index: 1;
    color: var(--gl-accent);
    font-size: 1.4rem;
}

.no-results strong {
    position: relative;
    z-index: 1;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 900;
}

.no-results span {
    position: relative;
    z-index: 1;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    max-width: 380px;
    line-height: 1.8;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.page-btn {
    min-width: 46px;
    height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.92);
    background: rgba(255,255,255,0.72);
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.page-btn:hover,
.page-btn.active {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--gl-accent), var(--gl-accent-strong));
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 16px 28px rgba(0, 138, 153, 0.20);
}

@media (max-width: 900px) {
    .gl-container {
        width: min(100% - 24px, 1200px);
        padding-top: 118px;
    }

    .gl-hero,
    .gl-filter-shell,
    .gl-results-shell {
        padding: 26px 20px;
        border-radius: 24px;
    }

    .gl-headline {
        font-size: clamp(1.85rem, 8vw, 2.8rem);
    }

    .gl-subheadline {
        font-size: 0.88rem;
    }

    .gl-grid {
        grid-template-columns: 1fr;
    }

    .gl-results-meta {
        width: 100%;
        text-align: left;
    }
}

@media (max-width: 640px) {
    .gl-badge {
        font-size: 0.68rem;
        padding: 9px 14px;
    }

    .gl-hero-stats {
        gap: 12px;
    }

    .gl-stat {
        width: 100%;
    }

    .gl-search-input {
        min-height: 56px;
        padding-left: 50px;
        font-size: 0.74rem;
    }

    .gl-filter-intro p,
    .term-text,
    .no-results span {
        font-size: 0.72rem;
    }

    .alpha-btn,
    .page-btn {
        min-width: 40px;
        height: 40px;
        padding: 0 12px;
        font-size: 0.68rem;
    }

    .term-card {
        padding: 20px 18px;
        border-radius: 22px;
    }

    .term-name {
        font-size: 0.94rem;
    }
}

/* ==========================================================================
   GLOSSARY EXECUTIVE WOW PASS
   Premium flagship knowledge hub / enterprise authority alignment
   ========================================================================== */

:root {
    --gl-premium-shadow: 0 30px 70px rgba(15, 23, 42, 0.10), 0 10px 24px rgba(15, 23, 42, 0.05), inset 0 1px 0 rgba(255,255,255,0.92), inset 0 0 0 1px rgba(15, 23, 42, 0.04);
    --gl-premium-shadow-hover: 0 38px 88px rgba(15, 23, 42, 0.14), 0 16px 34px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255,255,255,0.96), inset 0 0 0 1px rgba(15, 23, 42, 0.05);
    --gl-copy: #475569;
    --gl-copy-strong: #334155;
    --gl-focus-ring: 0 0 0 3px rgba(96, 165, 250, 0.22);
}

body.glossary-page {
    background:
        radial-gradient(circle at 50% -8%, rgba(96, 165, 250, 0.12), rgba(96, 165, 250, 0) 28%),
        radial-gradient(circle at 100% 100%, rgba(217, 119, 6, 0.08), rgba(217, 119, 6, 0) 24%),
        linear-gradient(180deg, #f8fbfd 0%, #eef4f7 44%, #ffffff 100%) !important;
    background-size: auto !important;
    animation: none !important;
    line-height: 1.65;
}

body.glossary-page::before {
    top: 110px;
    left: -120px;
    width: 320px;
    height: 320px;
    filter: blur(18px);
    background: radial-gradient(circle, rgba(96, 165, 250, 0.10) 0%, rgba(96, 165, 250, 0) 72%) !important;
}

body.glossary-page::after {
    right: -110px;
    bottom: 80px;
    width: 300px;
    height: 300px;
    filter: blur(18px);
    background: radial-gradient(circle, rgba(217, 119, 6, 0.08) 0%, rgba(217, 119, 6, 0) 72%) !important;
}

.gl-orb {
    opacity: 0.72;
    filter: blur(16px);
}

.gl-container {
    width: min(1240px, calc(100% - 40px));
    padding: 148px 0 88px;
}

.gl-panel,
.gl-hero,
.gl-filter-shell,
.gl-results-shell,
.term-card,
.no-results {
    background: linear-gradient(180deg, rgba(255,255,255,0.90), rgba(255,255,255,0.76)) !important;
    border: 1px solid rgba(255,255,255,0.94) !important;
    box-shadow: var(--gl-premium-shadow) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.gl-hero,
.gl-filter-shell,
.gl-results-shell,
.term-card,
.no-results {
    border-radius: 30px;
}

.gl-hero::before,
.gl-filter-shell::before,
.gl-results-shell::before,
.term-card::before,
.no-results::before {
    background:
        radial-gradient(circle at top right, rgba(96, 165, 250, 0.12), rgba(255,255,255,0) 38%),
        linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0.04)) !important;
}

.gl-hero {
    padding: 48px 42px 44px;
    margin-bottom: 28px;
    background:
        radial-gradient(circle at 50% 0%, rgba(96, 165, 250, 0.15), rgba(96, 165, 250, 0) 42%),
        linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.80)) !important;
    box-shadow: var(--gl-premium-shadow-hover) !important;
}

.gl-hero::after {
    content: "";
    position: absolute;
    left: 34px;
    right: 34px;
    top: 0;
    height: 2px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(96,165,250,0.40), rgba(255,255,255,0));
    pointer-events: none;
}

.gl-badge,
.gl-stat-label,
.gl-filter-kicker,
.gl-results-kicker,
.gl-results-label,
.alpha-btn,
.term-index,
.term-letter,
.page-btn,
.no-results strong,
.no-results span {
    letter-spacing: 0.12em;
}

.gl-badge {
    padding: 12px 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.88));
    border-color: rgba(96, 165, 250, 0.24);
    box-shadow: 0 14px 30px rgba(96, 165, 250, 0.12);
}

.gl-headline,
.gl-section-title,
.term-name {
    text-transform: none;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 0 rgba(255,255,255,0.92);
    text-wrap: balance;
}

.gl-headline {
    max-width: 12ch;
    font-size: clamp(2.45rem, 5vw, 4.3rem);
    line-height: 1.02;
    margin: 22px auto 14px;
}

.gl-subheadline,
.gl-filter-intro p,
.term-text,
.gl-linkhub-card span,
.no-results p {
    font-family: 'Inter', 'Roboto', sans-serif;
    text-transform: none !important;
    letter-spacing: 0.01em !important;
    color: var(--gl-copy) !important;
}

.gl-subheadline,
.gl-filter-intro p,
.term-text,
.no-results p {
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.72;
}

.gl-subheadline {
    max-width: 780px;
    color: var(--gl-copy-strong) !important;
}

.gl-hero-stats {
    gap: 18px;
    margin-top: 30px;
}

.gl-stat {
    min-width: 190px;
    padding: 18px 20px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.88));
    border: 1px solid rgba(255,255,255,0.92);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.gl-stat strong,
.gl-results-count {
    text-shadow: 0 1px 0 rgba(255,255,255,0.92);
}

.gl-linkhub-grid {
    gap: 16px;
    margin-top: 26px;
}

.gl-linkhub-card {
    min-height: 102px;
    padding: 18px 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.90));
    border-color: rgba(226, 232, 240, 0.92);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.gl-linkhub-card:hover {
    transform: translateY(-3px);
    border-color: rgba(96, 165, 250, 0.24);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);
}

.gl-linkhub-card strong {
    letter-spacing: 0.02em;
}

.gl-filter-shell {
    padding: 30px;
    margin-bottom: 26px;
    background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(248,250,252,0.84)) !important;
}

.gl-search-box {
    margin-bottom: 24px;
}

.gl-search-input {
    min-height: 64px;
    padding: 18px 22px 18px 58px;
    border-radius: 22px;
    border-color: rgba(226, 232, 240, 0.96);
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.92));
    color: #132238;
    font-family: 'Inter', 'Roboto', sans-serif;
    text-transform: none !important;
    letter-spacing: 0.01em !important;
    font-size: 0.98rem;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.86), 0 10px 20px rgba(15, 23, 42, 0.04);
}

.gl-search-input::placeholder {
    color: #94a3b8;
    text-transform: none !important;
    letter-spacing: 0.01em !important;
}

.gl-search-input:focus {
    border-color: rgba(59, 130, 246, 0.36);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.92), var(--gl-focus-ring), 0 18px 34px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.gl-alphabet-wrap {
    gap: 20px;
}

.gl-filter-intro p {
    margin: 6px 0 0;
    max-width: 680px;
}

.alphabet-nav {
    gap: 12px;
}

.alpha-btn {
    min-width: 48px;
    height: 44px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.90));
    border-color: rgba(226, 232, 240, 0.96);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
}

.alpha-btn:hover,
.alpha-btn.active {
    transform: translateY(-2px);
    border-color: rgba(96, 165, 250, 0.28);
    box-shadow: 0 14px 26px rgba(59, 130, 246, 0.10);
}

.alpha-btn.active {
    background: linear-gradient(135deg, #60a5fa, #2563eb);
    color: #ffffff;
}

.gl-results-shell {
    padding: 32px 30px;
    background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(248,250,252,0.84)) !important;
}

.gl-results-bar {
    margin-bottom: 26px;
}

.gl-results-meta {
    min-width: 190px;
    padding: 18px 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.90));
    border: 1px solid rgba(226, 232, 240, 0.92);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
}

.gl-grid {
    gap: 22px;
}

.term-card {
    padding: 26px 24px 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.88)) !important;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.term-card::after {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    top: 0;
    height: 2px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(96,165,250,0.56), rgba(255,255,255,0));
    pointer-events: none;
}

.term-card:nth-child(3n+2)::after {
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(143,91,255,0.52), rgba(255,255,255,0));
}

.term-card:nth-child(3n)::after {
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(217,119,6,0.48), rgba(255,255,255,0));
}

.term-card:hover {
    transform: translateY(-6px);
    border-color: rgba(96, 165, 250, 0.22);
    box-shadow: var(--gl-premium-shadow-hover) !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.90)) !important;
}

.term-card-topline {
    margin-bottom: 16px;
}

.term-name {
    font-size: 1.14rem;
    line-height: 1.32;
}

.term-index,
.term-letter {
    color: #64748b;
}

.term-divider {
    margin: 16px 0;
    opacity: 0.42;
}

.term-text {
    font-family: 'Inter', 'Roboto', sans-serif !important;
    text-transform: none !important;
    letter-spacing: 0.01em !important;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.72;
    color: var(--gl-copy) !important;
}

.pagination {
    gap: 12px;
    margin-top: 30px;
}

.page-btn {
    min-width: 48px;
    height: 46px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.90));
    border-color: rgba(226, 232, 240, 0.96);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
}

.page-btn:hover,
.page-btn.active {
    transform: translateY(-2px);
    border-color: rgba(96, 165, 250, 0.28);
    box-shadow: 0 14px 26px rgba(59, 130, 246, 0.10);
}

.page-btn.active {
    background: linear-gradient(135deg, #60a5fa, #2563eb);
    color: #ffffff;
}

.no-results {
    padding: 42px 26px;
    background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(248,250,252,0.88)) !important;
}

.no-results strong {
    display: block;
    margin-bottom: 10px;
    color: #0f172a;
}

.gl-search-input:focus-visible,
.alpha-btn:focus-visible,
.page-btn:focus-visible,
.term-card:focus-visible,
.gl-linkhub-card:focus-visible {
    outline: none;
    border-color: rgba(59, 130, 246, 0.42) !important;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.92), var(--gl-focus-ring), 0 18px 34px rgba(15, 23, 42, 0.10) !important;
}

@media (prefers-reduced-motion: reduce) {
    body.glossary-page {
        animation: none !important;
    }

    body.glossary-page::before,
    body.glossary-page::after,
    .gl-orb {
        display: none !important;
    }

    .alpha-btn,
    .page-btn,
    .term-card,
    .gl-linkhub-card,
    .gl-search-input {
        transition: none !important;
    }
}

@media (max-width: 1100px) {
    .gl-container {
        width: min(100% - 28px, 100%);
    }
}

@media (max-width: 760px) {
    .gl-container {
        width: min(100% - 20px, 100%);
        padding: 118px 0 64px;
    }

    .gl-hero,
    .gl-filter-shell,
    .gl-results-shell,
    .term-card,
    .no-results {
        border-radius: 24px;
    }

    .gl-hero {
        padding: 30px 18px 32px;
    }

    .gl-headline {
        font-size: clamp(1.95rem, 8vw, 2.95rem);
        letter-spacing: 0.02em;
    }

    .gl-subheadline,
    .gl-filter-intro p,
    .term-text,
    .gl-linkhub-card span,
    .no-results p {
        font-size: 0.95rem;
        line-height: 1.68;
    }    .gl-filter-shell,
    .gl-results-shell {
        padding: 22px 16px;
    }

    .gl-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   GLOSSARY CONVERGENCE PASS V2
   Better scanability and calmer content styling
   ========================================================================== */

.gl-hero,
.gl-filter-shell,
.gl-results-shell,
.term-card,
.no-results{
    background:linear-gradient(180deg, rgba(255,255,255,.97), rgba(246,249,255,.91));
    border:1px solid rgba(148,163,184,.18);
    box-shadow:0 24px 52px rgba(15,23,42,.07);
}

.gl-hero,
.gl-filter-shell,
.gl-results-shell{
    border-radius:32px;
}

.term-card,
.no-results{
    border-radius:26px;
}

.gl-headline{
    font-family:'Inter','Segoe UI',Roboto,Arial,sans-serif;
    font-size:clamp(2.1rem, 4.2vw, 3.3rem);
    letter-spacing:-.04em;
    line-height:1.04;
}

.gl-subheadline,
.gl-filter-intro p,
.term-text,
.no-results p{
    font-family:'Inter','Segoe UI',Roboto,Arial,sans-serif;
    letter-spacing:0;
    text-transform:none;
    line-height:1.8;
    color:#61708f;
}

.gl-badge{
    min-height:40px;
    padding:0 14px;
    border-radius:999px;
    background:rgba(255,255,255,.90);
    border:1px solid rgba(148,163,184,.16);
    box-shadow:0 10px 20px rgba(15,23,42,.04);
}

.gl-search-input{
    min-height:52px;
    border-radius:18px;
    border:1px solid rgba(148,163,184,.18);
    background:linear-gradient(180deg, rgba(255,255,255,.99), rgba(246,249,255,.94));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.80), 0 10px 20px rgba(15,23,42,.04);
}

.gl-search-input:focus{
    outline:none;
    border-color:rgba(47,107,255,.26);
    box-shadow:0 0 0 4px rgba(47,107,255,.08), 0 16px 28px rgba(15,23,42,.06);
}

.gl-linkhub-card,
.alpha-btn,
.page-btn{
    border-radius:16px;
    background:rgba(255,255,255,.92);
    border:1px solid rgba(148,163,184,.16);
    box-shadow:0 10px 20px rgba(15,23,42,.04);
}

.gl-linkhub-card:hover,
.alpha-btn:hover,
.page-btn:hover,
.term-card:hover{
    transform:translateY(-2px);
    border-color:rgba(47,107,255,.18);
    box-shadow:0 18px 30px rgba(15,23,42,.07);
}

.term-card{
    padding:24px;
}

@media (max-width:768px){
    .gl-hero,
    .gl-filter-shell,
    .gl-results-shell{
        border-radius:24px;
    }

    .term-card,
    .no-results{
        border-radius:22px;
    }
}

/* ==========================================================================
   FC_GLOSSARY_D9_DESKTOP_POLISH_START
   Glossary desktop readability polish. >=1025px only.
   ========================================================================== */
@media (min-width: 1025px) {
    body.glossary-page .glossary-shell,
    body.glossary-page .container {
        width: min(calc(100% - 48px), 1220px) !important;
        max-width: 1220px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body.glossary-page .glossary-hero,
    body.glossary-page .glossary-card,
    body.glossary-page .glossary-panel,
    body.glossary-page .glossary-term-card {
        border-radius: 30px !important;
        box-shadow:
            0 24px 70px rgba(15,23,42,0.08),
            0 1px 0 rgba(255,255,255,0.90) inset !important;
    }

    body.glossary-page h1,
    body.glossary-page .glossary-title {
        font-size: clamp(2.75rem, 4.2vw, 5rem) !important;
        line-height: 0.96 !important;
        letter-spacing: -0.06em !important;
        overflow-wrap: anywhere !important;
    }

    body.glossary-page .glossary-grid {
        gap: 18px !important;
    }
}
/* ==========================================================================
   FC_GLOSSARY_D9_DESKTOP_POLISH_END
   ========================================================================== */
