:root {
    --background: #05090e;
    --text: #f5f7fb;
    --text-soft: #bad0df;
    --text-muted: #8da4b4;
    --accent: #41e6aa;
    --accent-blue: #62b8ff;
    --line: rgba(255, 255, 255, 0.12);
    --shadow: rgba(0, 0, 0, 0.55);
    --max-width: 980px;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--background);
    color: var(--text);
}

.policy-page {
    position: relative;
    min-height: 100vh;

    padding: 70px 24px;

    background:
        linear-gradient(
            90deg,
            rgba(5, 9, 14, 0.92) 0%,
            rgba(5, 9, 14, 0.72) 38%,
            rgba(5, 9, 14, 0.84) 100%
        ),
        linear-gradient(
            180deg,
            rgba(5, 9, 14, 0.55) 0%,
            rgba(5, 9, 14, 0.95) 100%
        ),
        url("/images/MainMenu_Star.png");

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.policy-overlay {
    position: fixed;
    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 62% 22%,
            rgba(36, 159, 255, 0.18),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            transparent 0%,
            rgba(5, 9, 14, 0.62) 100%
        );
}

.policy-wrap {
    position: relative;
    z-index: 1;

    width: min(100%, var(--max-width));

    margin: 0 auto;
}

.back-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 34px;

    color: var(--text-soft);

    text-decoration: none;

    font-size: 15px;
    font-weight: 700;
}

.back-link:hover {
    color: var(--accent);
}

.policy-header {
    display: flex;
    align-items: center;

    gap: 20px;

    margin-bottom: 24px;
}

.policy-logo {
    flex: 0 0 86px;

    width: 86px;
    height: 86px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    border:
        1px solid
        rgba(65, 230, 170, 0.4);

    background:
        rgba(5, 9, 14, 0.72);

    box-shadow:
        0 18px 45px var(--shadow);

    overflow: hidden;
}

.policy-logo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
}

.policy-title {
    min-width: 0;
}

.policy-title h1 {
    margin: 0;

    color: var(--text);

    font-size: clamp(38px, 5vw, 64px);
    line-height: 0.95;

    letter-spacing: 0;

    text-shadow:
        0 4px 18px rgba(0, 0, 0, 0.7);
}

.policy-title p {
    margin: 8px 0 0;

    color: var(--text-soft);

    font-size: 15px;
}

.policy-content {
    max-width: 900px;

    color: var(--text-soft);

    font-size: 16px;
    line-height: 1.75;

    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.72);
}

.policy-content p {
    margin: 0 0 20px;
}

.policy-content h2 {
    margin: 44px 0 12px;

    color: var(--text);

    font-size: 25px;
    line-height: 1.2;

    letter-spacing: 0;
}

.policy-content ul {
    margin: 12px 0 28px;

    padding-left: 23px;
}

.policy-content li {
    margin-bottom: 12px;
}

.policy-content strong {
    color: var(--text);
}

.policy-content a {
    color: var(--accent-blue);
}

.policy-content a:hover {
    color: var(--accent);
}

@media (max-width: 700px) {
    .policy-page {
        padding: 34px 18px 56px;

        background-attachment: scroll;
    }

    .policy-header {
        align-items: center;

        gap: 14px;
    }

    .policy-logo {
        flex-basis: 58px;

        width: 58px;
        height: 58px;

        border-radius: 14px;
    }

    .policy-title h1 {
        font-size: 38px;
    }

    .policy-title p {
        font-size: 14px;
    }

    .policy-content {
        font-size: 15px;
        line-height: 1.68;
    }

    .policy-content h2 {
        margin-top: 34px;

        font-size: 22px;
    }
}

@media (max-width: 460px) {
    .policy-header {
        align-items: flex-start;
    }

    .policy-logo {
        flex-basis: 48px;

        width: 48px;
        height: 48px;

        border-radius: 12px;
    }

    .policy-title h1 {
        font-size: 32px;
    }
}