:root {
    --accent-color: #b89fff;
    --background-color: #23232b;
    --footer-color: #b89fff;
    --container-bg: #19191f;
    --text-color: #ffffff;
    --secondary-text-color: #b9bbbe;
    --header-bg-color: #2a2f36;
    --border-color: #40444b;
    --link-hover-color: #b3a1e2;
    --max-width: 900px;
    --padding: 30px;
    --section-spacing: 40px;
    --line-height: 1.8;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding-top: 0;
}

.page-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.tos-container {
    background: var(--container-bg);
    padding: var(--padding);
    border-radius: 15px;
    max-width: var(--max-width);
    text-align: left;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    width: 100%;
    overflow-y: auto;
    height: calc(100vh - 100px);
}

header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

h1 {
    color: var(--accent-color);
    margin: 0;
    font-size: 32px;
    font-weight: 600;
}

h2 {
    color: var(--accent-color);
    font-size: 26px;
    margin-top: 20px;
    font-weight: 500;
}

p {
    color: var(--secondary-text-color);
    line-height: var(--line-height);
    font-size: 18px;
    margin-bottom: 20px;
}

ul {
    color: var(--secondary-text-color);
    padding-left: 20px;
    font-size: 18px;
    margin-bottom: 20px;
}

ul li {
    margin-bottom: 12px;
    list-style-type: disc;
}

footer {
    text-align: center;
    margin-top: 40px;
    color: var(--footer-color);
    font-size: 14px;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
}

footer a:hover {
    color: var(--link-hover-color);
    text-decoration: underline;
}

section {
    margin-bottom: var(--section-spacing);
}

section:last-of-type {
    margin-bottom: 0;
}


@media screen and (max-width: 768px) {
    .tos-container {
        padding: 25px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
    }

    p, ul li {
        font-size: 16px;
    }
}

a {
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}


::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background-color: #2e2e34;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    border-radius: 10px;
    border: 3px solid #2e2e34;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--accent-color);
}


a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}


a:hover {
    color: lighten(var(--accent-color), 15%);
}
