@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg: #050505;
    --card: rgba(255,255,255,0.04);
    --border: rgba(255,255,255,0.08);

    --text: #ffffff;
    --muted: #9b9ba1;

    --accent: #7c3aed;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;

    overflow: hidden;

    font-family: 'Inter', sans-serif;

    background: var(--bg);

    color: var(--text);
}

/* BODY */

body {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px;

    overflow: hidden;
}

/* BACKGROUND */

body::before {
    content: "";

    position: fixed;
    inset: 0;

    background:
        radial-gradient(circle at top, rgba(124,58,237,0.18), transparent 35%),
        radial-gradient(circle at bottom, rgba(124,58,237,0.10), transparent 35%),
        #050505;

    z-index: -2;
}

body::after {
    content: "";

    position: fixed;
    inset: 0;

    background-image: url("../img/background.png");
    background-size: 260px;

    opacity: 0.03;

    animation: bgMove 120s linear infinite;

    z-index: -1;
}

@keyframes bgMove {
    from {
        transform: translate(0px, 0px);
    }

    to {
        transform: translate(-500px, -500px);
    }
}

/* CARD */

.policy-box {
    position: relative;

    width: 100%;
    max-width: 1100px;

    height: 90vh;

    padding: 60px;

    border-radius: 40px;

    border: 1px solid var(--border);

    background: var(--card);

    backdrop-filter: blur(30px);

    overflow: hidden;

    display: flex;
    flex-direction: column;

    box-shadow:
        0 0 80px rgba(124,58,237,0.10),
        inset 0 0 0 1px rgba(255,255,255,0.03);
}

/* GLOW */

.policy-box::before {
    content: "";

    position: absolute;

    top: -150px;
    left: 50%;

    transform: translateX(-50%);

    width: 500px;
    height: 500px;

    background: rgba(124,58,237,0.15);

    filter: blur(160px);

    z-index: 0;
}

.policy-box * {
    position: relative;
    z-index: 2;
}

/* TITLE */

.policy-box h1 {
    font-size: 64px;

    font-weight: 900;

    letter-spacing: -3px;

    margin-bottom: 18px;

    background: linear-gradient(
        to bottom,
        #ffffff,
        #9f9fa7
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* BACK BUTTON */

.back-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: fit-content;

    padding: 14px 24px;

    border-radius: 999px;

    border: 1px solid rgba(255,255,255,0.08);

    background: rgba(255,255,255,0.03);

    color: #d4d4d8;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 1px;
    text-transform: uppercase;

    margin-bottom: 45px;

    transition: 0.3s ease;
}

.back-btn:hover {
    background: rgba(124,58,237,0.12);

    border-color: rgba(124,58,237,0.25);

    color: white;

    transform: translateY(-2px);
}

/* CONTENT */

.policy-text {
    flex: 1;

    overflow-y: auto;

    padding-right: 14px;

    margin-top: 10px;
}

/* SCROLLBAR */

.policy-text::-webkit-scrollbar {
    width: 4px;
}

.policy-text::-webkit-scrollbar-track {
    background: transparent;
}

.policy-text::-webkit-scrollbar-thumb {
    background: rgba(124,58,237,0.5);
    border-radius: 999px;
}

/* SECTIONS */

.policy-text h2 {
    font-size: 30px;

    font-weight: 800;

    margin-top: 45px;
    margin-bottom: 16px;

    color: white;
}

.policy-text h3 {
    color: #d4d4d8;

    font-size: 18px;

    line-height: 1.7;

    font-weight: 500;

    margin-bottom: 24px;
}

/* TEXT */

.policy-text p {
    position: relative;

    padding-left: 22px;

    color: var(--muted);

    line-height: 1.9;

    font-size: 17px;

    margin-bottom: 14px;
}

/* BULLETS */

.policy-text p::before {
    content: "";

    position: absolute;

    left: 0;
    top: 12px;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--accent);

    box-shadow:
        0 0 12px rgba(124,58,237,0.8);
}

/* ACCENT */

.policy-text span {
    color: #b388ff;
    font-weight: 600;
}

/* FOOTER */

.footer {
    position: fixed;

    bottom: 18px;
    left: 50%;

    transform: translateX(-50%);

    color: rgba(255,255,255,0.3);

    font-size: 13px;

    text-align: center;
}

/* RESPONSIVE */

@media (max-width: 900px) {

    body {
        padding: 20px;
    }

    .policy-box {
        height: calc(100vh - 40px);

        padding: 35px 22px;

        border-radius: 28px;
    }

    .policy-box h1 {
        font-size: 42px;
    }

    .policy-text {
        padding-right: 8px;
    }

    .policy-text h2 {
        font-size: 24px;
    }

    .policy-text h3 {
        font-size: 16px;
    }

    .policy-text p {
        font-size: 15px;
        line-height: 1.8;
    }

    .footer {
        position: relative;

        margin-top: 25px;

        left: unset;
        transform: unset;

        bottom: unset;
    }
}