.mfp-gamma-page {
    min-height: 100vh;
    padding-top: 112px;
    background: var(--mfp-bg);
}

.mfp-gamma-hero {
    padding: 72px 0 34px;
}

.mfp-gamma-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: end;
}

.mfp-gamma-hero h1 {
    max-width: 760px;
    margin: 0;
    font-family: "Alumni Sans", sans-serif;
    font-size: clamp(54px, 8vw, 132px);
    font-weight: 700;
    line-height: 0.9;
    color: var(--mfp-text);
}

.mfp-gamma-hero p {
    max-width: 620px;
    margin: 18px 0 0;
    color: var(--mfp-text-soft);
    font-size: 18px;
    line-height: 1.6;
}

.mfp-gamma-theme-card {
    min-width: 240px;
    padding: 22px;
    border: 1px solid var(--mfp-border);
    border-radius: var(--mfp-radius-sm);
    background: var(--mfp-card-strong);
    box-shadow: var(--mfp-shadow-soft);
}

.mfp-gamma-theme-card span {
    display: block;
    margin-bottom: 12px;
    color: var(--mfp-text-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mfp-gamma-section {
    padding: 34px 0;
}

.mfp-gamma-section-header {
    display: flex;
    gap: 24px;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 18px;
}

.mfp-gamma-section-header h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 56px);
    line-height: 0.95;
}

.mfp-gamma-section-header p {
    max-width: 440px;
    margin: 0;
    color: var(--mfp-text-muted);
    line-height: 1.5;
}

.mfp-gamma-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.mfp-gamma-token {
    display: grid;
    gap: 12px;
    min-height: 190px;
    padding: 14px;
    border: 1px solid var(--mfp-border);
    border-radius: var(--mfp-radius-sm);
    background: var(--mfp-card);
    box-shadow: var(--mfp-shadow-soft);
}

.mfp-gamma-swatch {
    min-height: 84px;
    border: 1px solid var(--mfp-border);
    border-radius: 14px;
    background:
        linear-gradient(45deg, rgba(128,128,128,0.18) 25%, transparent 25% 75%, rgba(128,128,128,0.18) 75%),
        linear-gradient(45deg, rgba(128,128,128,0.18) 25%, transparent 25% 75%, rgba(128,128,128,0.18) 75%);
    background-position: 0 0, 8px 8px;
    background-size: 16px 16px;
    overflow: hidden;
}

.mfp-gamma-swatch-color {
    width: 100%;
    height: 100%;
    min-height: 84px;
}

.mfp-gamma-token-name {
    margin: 0;
    color: var(--mfp-text);
    font-size: 14px;
    font-weight: 800;
    word-break: break-word;
}

.mfp-gamma-token-value {
    margin: 0;
    color: var(--mfp-text-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    line-height: 1.45;
    word-break: break-word;
}

.mfp-gamma-token-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-self: end;
}

.mfp-gamma-token-flag {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--mfp-accent-soft);
    color: var(--mfp-accent-strong);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 1100px) {
    .mfp-gamma-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .mfp-gamma-page {
        padding-top: 92px;
    }

    .mfp-gamma-hero {
        padding-top: 42px;
    }

    .mfp-gamma-hero-inner,
    .mfp-gamma-section-header {
        grid-template-columns: 1fr;
        display: grid;
    }

    .mfp-gamma-theme-card {
        min-width: 0;
    }

    .mfp-gamma-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .mfp-gamma-token {
        min-height: 176px;
        padding: 10px;
    }

    .mfp-gamma-token-value {
        font-size: 11px;
    }
}
