/* ==========================================
   FUJI X PLAY - ABOUT & LEGAL PAGES
========================================== */

body {
    margin: 0;
    background: #151012;
}

.fab-app {
    --fab-bg: #151012;
    --fab-card: #271c1f;
    --fab-border: #503632;
    --fab-gold: #d7b16b;
    --fab-text: #f5e5d0;
    --fab-muted: #b6a094;

    width: 100%;
    max-width: 480px;
    min-height: 100dvh;

    margin: auto;
    padding-bottom: 30px;

    background: var(--fab-bg);
    color: var(--fab-text);

    font-family: inherit;
    font-size: 14px;
}

.fab-app * {
    box-sizing: border-box;
}

.fab-app a {
    color: inherit;
    text-decoration: none;
}


/* ==========================================
   HEADER
========================================== */

.fab-header {
    position: sticky;
    top: 0;
    z-index: 20;

    display: grid;
    grid-template-columns: 36px 1fr 36px;
    align-items: center;

    min-height: 58px;
    padding: 0 15px;

    background: linear-gradient(
        120deg,
        #82151c,
        #341719
    );

    border-bottom: 1px solid var(--fab-border);
}

.fab-header-title {
    color: #f5d698;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
}

.fab-header a {
    display: grid;
    place-items: center;

    width: 34px;
    height: 34px;

    color: var(--fab-gold);
}

.fab-icon {
    width: 24px;
    height: 24px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;

    flex-shrink: 0;
}

.fab-content {
    padding: 14px;
}


/* ==========================================
   BRAND HERO
========================================== */

.fab-hero {
    position: relative;
    overflow: hidden;

    text-align: center;

    padding: 30px 20px;

    background:
        radial-gradient(
            circle at 50% 0%,
            #ac383d55,
            transparent 65%
        ),
        linear-gradient(
            145deg,
            #681e27,
            #30191e
        );

    border: 1px solid #9e7545;
    border-radius: 20px;
}

.fab-hero::before {
    content: '';

    position: absolute;
    top: -90px;
    right: -90px;

    width: 220px;
    height: 220px;

    border: 1px solid #d7b16b20;
    border-radius: 50%;

    pointer-events: none;
}

.fab-brand-logo {
    display: block;

    width: 140px;
    height: 140px;

    margin: 0 auto 16px;

    object-fit: contain;

    filter: drop-shadow(
        0 5px 18px #d7b16b25
    );
}

.fab-hero h1 {
    margin: 8px 0;

    color: #ffe0a0;

    font-size: 29px;
    font-weight: 800;
    letter-spacing: 2px;
}

.fab-brand-tagline {
    margin: 14px 0;

    color: #e4b875;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;

    line-height: 1.8;
}

.fab-brand-description {
    color: #d8bbab;

    font-size: 12px;
    line-height: 1.8;

    margin: 0;
}


/* ==========================================
   CONTENT CARDS
========================================== */

.fab-card {
    background: var(--fab-card);

    border: 1px solid var(--fab-border);
    border-radius: 14px;

    padding: 18px;

    margin-top: 14px;
}

.fab-card h2 {
    color: #e6c18a;

    font-size: 17px;

    margin: 0 0 12px;
}

.fab-card p {
    margin: 0;

    color: #d0bfb3;

    font-size: 13px;
    line-height: 1.9;

    overflow-wrap: anywhere;
}

.fab-card p + p {
    margin-top: 12px;
}

.fab-section-title {
    font-size: 16px;
    font-weight: 700;

    margin: 25px 0 12px;

    color: var(--fab-text);
}


/* ==========================================
   IDENTITY GRID
========================================== */

.fab-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;
}

.fab-value {
    padding: 17px 14px;

    background: var(--fab-card);

    border: 1px solid var(--fab-border);
    border-radius: 13px;
}

.fab-value-icon {
    display: grid;
    place-items: center;

    width: 43px;
    height: 43px;

    border: 1px solid #765537;
    border-radius: 11px;

    background: #d7b16b0c;

    color: #e2bd7a;

    margin-bottom: 13px;
}

.fab-value h3 {
    margin: 0 0 7px;

    color: #e5c18a;

    font-size: 15px;
}

.fab-value p {
    margin: 0;

    color: var(--fab-muted);

    font-size: 11px;
    line-height: 1.7;
}


/* ==========================================
   LEGAL NAVIGATION
========================================== */

.fab-link-group {
    padding: 5px 15px;
}

.fab-link {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 17px 0;
}

.fab-link + .fab-link {
    border-top: 1px solid var(--fab-border);
}

.fab-link-icon {
    display: grid;
    place-items: center;

    width: 43px;
    height: 43px;

    border-radius: 11px;

    background: #493125;
    color: #e4bf7d;

    flex-shrink: 0;
}

.fab-link-info {
    flex: 1;
    min-width: 0;
}

.fab-link-info strong {
    display: block;

    font-size: 13px;

    color: var(--fab-text);
}

.fab-link-info small {
    display: block;

    margin-top: 5px;

    color: var(--fab-muted);

    font-size: 11px;
    line-height: 1.5;
}

.fab-link-arrow {
    width: 18px;
    height: 18px;

    color: var(--fab-gold);
}


/* ==========================================
   LEGAL DOCUMENT HEADER
========================================== */

.fab-document-hero {
    padding: 25px 18px;

    border: 1px solid #967040;
    border-radius: 17px;

    background: linear-gradient(
        145deg,
        #68212a,
        #30191e
    );
}

.fab-document-symbol {
    display: grid;
    place-items: center;

    width: 58px;
    height: 58px;

    background: #e6bf7015;

    border: 1px solid #d7b16b50;
    border-radius: 15px;

    color: #f0ca86;

    margin-bottom: 18px;
}

.fab-document-symbol svg {
    width: 31px;
    height: 31px;
}

.fab-eyebrow {
    color: var(--fab-gold);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.fab-document-hero h1 {
    margin: 12px 0;

    color: #ffe0a0;

    font-size: 24px;
    line-height: 1.4;
}

.fab-document-hero p {
    color: #d8bbab;

    font-size: 12px;
    line-height: 1.8;

    margin: 0;
}

.fab-document-version {
    color: #c5a78c;

    font-size: 11px;

    margin-top: 15px;
}


/* ==========================================
   LEGAL DOCUMENT SECTIONS
========================================== */

.fab-legal-section {
    padding: 18px;

    margin-top: 13px;

    border: 1px solid var(--fab-border);
    border-radius: 13px;

    background: var(--fab-card);
}

.fab-legal-heading {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    margin-bottom: 13px;
}

.fab-legal-number {
    display: grid;
    place-items: center;

    width: 28px;
    height: 28px;

    border-radius: 8px;

    background: #4b3326;

    color: #e7bf7b;

    font-size: 12px;
    font-weight: 700;

    flex-shrink: 0;
}

.fab-legal-heading h2 {
    color: #e7c38b;

    font-size: 15px;
    line-height: 1.7;

    margin: 0;
}

.fab-legal-section p {
    color: #d0bfb3;

    font-size: 13px;
    line-height: 1.9;

    margin: 0 0 12px;

    overflow-wrap: anywhere;
}

.fab-legal-section p:last-child {
    margin-bottom: 0;
}

.fab-notice {
    display: flex;
    align-items: flex-start;

    gap: 11px;

    margin-top: 15px;
    padding: 15px;

    background: #d7b16b0b;

    border: 1px solid #795a37;
    border-radius: 12px;

    color: #d9bc91;

    font-size: 12px;
    line-height: 1.8;
}

.fab-notice svg {
    color: var(--fab-gold);
}

.fab-risk-notice {
    background: #9b292525;
    border-color: #a65a4b;
    color: #f1c0b0;
}


/* ==========================================
   SUPPORT BUTTON
========================================== */

.fab-button {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 47px;
    margin-top: 16px;
    padding: 12px;

    border: 1px solid #ae8348;
    border-radius: 11px;

    background: linear-gradient(
        135deg,
        #c7333a,
        #901d25
    );

    color: #ffe0a0 !important;

    font-size: 13px;
    font-weight: 700;
}


/* ==========================================
   COPYRIGHT
========================================== */

.fab-footer {
    text-align: center;

    padding: 28px 10px 10px;

    color: #a88f7e;

    font-size: 11px;
    line-height: 1.9;
}

.fab-footer img {
    display: block;

    width: 115px;
    height: 38px;

    object-fit: contain;

    margin: 0 auto 10px;

    opacity: .8;
}

.fab-app a:focus-visible {
    outline: 2px solid var(--fab-gold);
    outline-offset: 3px;
}

@media (max-width: 360px) {

    .fab-hero h1 {
        font-size: 24px;
    }

    .fab-content {
        padding: 11px;
    }

    .fab-document-hero h1 {
        font-size: 21px;
    }

    .fab-card,
    .fab-legal-section {
        padding: 14px;
    }

}