/*
 * ============================================================
 * BLOODMOON GRID
 * Display Names
 * ============================================================
 *
 * Version : 2026-09-18 09:04
 */

.displayname-page {
    min-height: 70vh;
    background: #ffffff;
}

.displayname-container {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
}


/* ============================================================
   HERO
============================================================ */

.displayname-hero {
    padding: 78px 0 72px;
    border-bottom: 1px solid #eadedb;
    background:
        radial-gradient(
            circle at 82% 12%,
            rgba(196, 18, 37, 0.08),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #fffdfc 0%,
            #fff2ef 62%,
            #faf8f8 100%
        );
}

.displayname-kicker,
.displayname-section-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: #b3122d;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.displayname-hero h1 {
    max-width: 900px;
    margin: 0;
    color: #202632;
    font-size: clamp(2.5rem, 5vw, 4.35rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.displayname-hero-text {
    max-width: 760px;
    margin: 20px 0 0;
    color: #687181;
    font-size: 1.02rem;
    line-height: 1.7;
}

.displayname-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}


/* ============================================================
   COMMON
============================================================ */

.displayname-section {
    padding: 62px 0;
}

.displayname-section-soft {
    border-top: 1px solid #ece7e5;
    border-bottom: 1px solid #ece7e5;
    background: #f8f9fb;
}

.displayname-section-heading {
    max-width: 760px;
    margin-bottom: 30px;
}

.displayname-section-heading h2,
.displayname-intro-copy h2 {
    margin: 0;
    color: #252c38;
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    line-height: 1.15;
}

.displayname-section-heading p,
.displayname-intro-copy p {
    margin: 14px 0 0;
    color: #6e7785;
    font-size: 0.92rem;
    line-height: 1.75;
}

.displayname-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    box-sizing: border-box;
    padding: 10px 17px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 850;
    text-decoration: none;
    transition:
        transform 150ms ease,
        background 150ms ease,
        border-color 150ms ease;
}

.displayname-button:hover {
    transform: translateY(-1px);
}

.displayname-button.is-primary {
    border: 1px solid #b3122d;
    background: #b3122d;
    color: #ffffff;
}

.displayname-button.is-primary:hover {
    border-color: #971027;
    background: #971027;
    color: #ffffff;
}

.displayname-button.is-secondary {
    border: 1px solid #d9d3d0;
    background: #ffffff;
    color: #323945;
}

.displayname-button.is-secondary:hover {
    border-color: #b3122d;
    color: #b3122d;
}


/* ============================================================
   INTRO + IMAGE
============================================================ */

.displayname-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: 38px;
}

.displayname-intro-copy {
    min-width: 0;
}

.displayname-identity-example {
    display: grid;
    width: min(100%, 430px);
    margin-top: 25px;
    padding: 20px 22px;
    border: 1px solid #ead9d7;
    border-radius: 15px;
    background: #fff8f7;
}

.displayname-example-label {
    margin-bottom: 8px;
    color: #b3122d;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.displayname-identity-example strong {
    color: #262d39;
    font-size: 1.45rem;
}

.displayname-identity-example > span:not(.displayname-example-label) {
    margin-top: 2px;
    color: #697382;
    font-size: 0.9rem;
}

.displayname-identity-example small {
    margin-top: 9px;
    color: #959ca5;
    font-size: 0.73rem;
}

.displayname-overview-card {
    overflow: hidden;
    margin: 0;
    border: 1px solid #e0e3e8;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(28, 35, 46, 0.08);
}

.displayname-overview-card img {
    display: block;
    width: 100%;
    height: auto;
}

.displayname-overview-card figcaption {
    padding: 11px 14px 12px;
    color: #838b96;
    font-size: 0.72rem;
    text-align: center;
}


/* ============================================================
   FEATURES
============================================================ */

.displayname-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.displayname-feature-card,
.displayname-download-card {
    border: 1px solid #e1e4e8;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(28, 36, 46, 0.045);
}

.displayname-feature-card {
    padding: 24px;
}

.displayname-card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    margin-bottom: 18px;
    padding: 0 8px;
    border-radius: 10px;
    background: #fff0f1;
    color: #b3122d;
    font-size: 0.73rem;
    font-weight: 900;
}

.displayname-feature-card h3,
.displayname-download-card h3,
.displayname-cache-card h3 {
    margin: 0;
    color: #28303b;
    font-size: 1.03rem;
}

.displayname-feature-card p,
.displayname-download-card p,
.displayname-cache-card p {
    margin: 10px 0 0;
    color: #737c89;
    font-size: 0.82rem;
    line-height: 1.65;
}

.displayname-note {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 20px;
    padding: 18px 20px;
    border: 1px solid #ecd4d6;
    border-radius: 14px;
    background: #fff6f6;
}

.displayname-note-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #ffe8ea;
    color: #b3122d;
    font-weight: 900;
}

.displayname-note strong {
    color: #2d343f;
    font-size: 0.87rem;
}

.displayname-note p {
    margin: 4px 0 0;
    color: #747c88;
    font-size: 0.8rem;
    line-height: 1.6;
}


/* ============================================================
   FIRESTORM CACHE
============================================================ */

.displayname-cache-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    border: 1px solid #e1e4e8;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(28, 36, 46, 0.045);
}

.displayname-cache-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 13px;
    background: #fff0f1;
    color: #b3122d;
    font-size: 1.55rem;
    font-weight: 900;
}

.displayname-cache-content {
    min-width: 0;
}

.displayname-cache-card ol {
    display: grid;
    gap: 7px;
    margin: 18px 0 0;
    padding-left: 20px;
    color: #626c79;
    font-size: 0.8rem;
    line-height: 1.5;
}

.displayname-cache-card .displayname-cache-footnote {
    margin-top: 16px;
    color: #939aa3;
    font-size: 0.74rem;
}


/* ============================================================
   DOWNLOADS
============================================================ */

.displayname-download-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.displayname-download-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.displayname-download-card.is-highlighted {
    border-color: #e8c8cd;
    background:
        linear-gradient(
            180deg,
            #fff9f9 0%,
            #ffffff 100%
        );
}

.displayname-download-topline {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 17px;
}

.displayname-download-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #fff0f1;
    color: #b3122d;
    font-size: 1rem;
    font-weight: 900;
}

.displayname-download-label {
    color: #b3122d;
    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.displayname-download-card p {
    flex: 1 1 auto;
}

.displayname-download-card .displayname-button {
    align-self: flex-start;
    margin-top: 22px;
}

.displayname-install-note {
    margin-top: 20px;
    padding: 18px 20px;
    border-left: 4px solid #b3122d;
    border-radius: 0 12px 12px 0;
    background: #ffffff;
}

.displayname-install-note strong {
    color: #2d343f;
    font-size: 0.86rem;
}

.displayname-install-note p {
    margin: 5px 0 0;
    color: #737c88;
    font-size: 0.79rem;
    line-height: 1.62;
}


/* ============================================================
   STABLE ACCOUNT ELEMENTS
============================================================ */

.displayname-stable-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.displayname-stable-grid > div {
    padding: 18px 20px;
    border: 1px solid #e4e7ea;
    border-radius: 13px;
    background: #fbfcfd;
}

.displayname-stable-grid strong {
    display: block;
    margin-bottom: 4px;
    color: #313844;
    font-size: 0.82rem;
}

.displayname-stable-grid span {
    color: #7b838e;
    font-size: 0.76rem;
    line-height: 1.5;
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 900px) {

    .displayname-intro-grid {
        grid-template-columns: 1fr;
    }

    .displayname-feature-grid,
    .displayname-download-grid {
        grid-template-columns: 1fr;
    }

    .displayname-overview-card {
        max-width: 780px;
    }

}

@media (max-width: 620px) {

    .displayname-container {
        width: min(100% - 28px, 1100px);
    }

    .displayname-hero {
        padding: 52px 0 48px;
    }

    .displayname-section {
        padding: 44px 0;
    }

    .displayname-hero-actions {
        flex-direction: column;
    }

    .displayname-hero-actions .displayname-button {
        width: 100%;
    }

    .displayname-cache-card {
        flex-direction: column;
    }

    .displayname-stable-grid {
        grid-template-columns: 1fr;
    }

}

/* ============================================================
   README VIEWER
============================================================ */

.displayname-readme-hero {
    padding: 62px 0 54px;
    border-bottom: 1px solid #eadedb;
    background:
        radial-gradient(
            circle at 84% 12%,
            rgba(196, 18, 37, 0.07),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #fffdfc 0%,
            #fff2ef 62%,
            #faf8f8 100%
        );
}

.displayname-readme-hero h1 {
    margin: 0;
    color: #202632;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.04;
    letter-spacing: -0.025em;
}

.displayname-readme-hero p {
    max-width: 780px;
    margin: 16px 0 0;
    color: #687181;
    font-size: 0.94rem;
    line-height: 1.7;
}

.displayname-readme-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 24px;
}

.displayname-readme-section {
    padding: 44px 0 64px;
    background: #f7f8fa;
}

.displayname-readme-document {
    overflow: hidden;
    border: 1px solid #dfe3e8;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(27, 34, 44, 0.065);
}

.displayname-readme-document-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 18px;
    border-bottom: 1px solid #e6e9ed;
    background: #fbfcfd;
}

.displayname-readme-document-top > div {
    min-width: 0;
}

.displayname-readme-document-top span {
    display: block;
    color: #8a929c;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.displayname-readme-document-top strong {
    display: block;
    margin-top: 3px;
    overflow-wrap: anywhere;
    color: #333b47;
    font-size: 0.78rem;
}

.displayname-readme-document-top .displayname-readme-encoding {
    flex: 0 0 auto;
    padding: 6px 9px;
    border-radius: 999px;
    background: #fff0f1;
    color: #b3122d;
    font-size: 0.62rem;
}

.displayname-readme-text {
    margin: 0;
    padding: 24px;
    overflow-x: auto;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    tab-size: 4;
    background: #ffffff;
    color: #333b47;
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        "Liberation Mono",
        "Segoe UI Emoji",
        "Apple Color Emoji",
        "Noto Color Emoji",
        monospace;
    font-size: 0.78rem;
    line-height: 1.65;
}

.displayname-readme-error {
    padding: 18px 20px;
    border: 1px solid #efc8ce;
    border-radius: 12px;
    background: #fff4f5;
    color: #9f2334;
    font-size: 0.84rem;
    font-weight: 700;
}

@media (max-width: 620px) {

    .displayname-readme-hero {
        padding: 46px 0 42px;
    }

    .displayname-readme-actions {
        flex-direction: column;
    }

    .displayname-readme-actions .displayname-button {
        width: 100%;
    }

    .displayname-readme-document-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .displayname-readme-text {
        padding: 17px;
        font-size: 0.72rem;
    }

}
