@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    min-height: 100%;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("img/web-bg.webp") center/900px no-repeat; 
    opacity: 0.25;
    transform: scale(2.4);
    pointer-events: none;
    z-index: -1;
}


body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #f5f5f5;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top, rgba(132, 138, 109, 0.24), transparent 40%),
        #0d0d12;
}

.page {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.site-header {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 32px;
    background: rgba(25, 25, 32, 0.55);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.brand img {
    display: block;
    width: 120px;
    max-width: 32vw;
    height: auto;
}

.social-nav {
    display: flex;
    gap: 10px;
}

.social-nav a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(8, 9, 9, 0.62);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.social-nav a:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.8);
}

.card {
    width: 100%;
    max-width: 600px;
    background: rgba(25, 25, 32, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 28px 44px 44px;
    text-align: center;
    transform: translateY(-8px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
}

.card h1 {
    font-family: "Anton", sans-serif;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.steam-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin: 125px auto 80px 80px;
}

.back-button {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    background: #282833;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9px;
    color: #c9c9d0;
    font-weight: 600;
    transition: background 0.12s ease, color 0.12s ease;
}

.back-button:hover {
    background: #333340;
    color: #fff;
}

.legal-page {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 70px 24px 40px;
}

.legal-card {
    width: 100%;
    max-width: 900px;
    background: rgba(25, 25, 32, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 48px;
    transform: translateY(-16px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
}

.legal-card .logo {
    display: block;
    width: fit-content;
    margin: 0 auto 12px;
}

.legal-card h1 {
    text-align: center;
    margin: 8px 0 8px;
}

.legal-updated {
    text-align: center;
    color: #70707b;
    font-size: 12px;
    margin: 0 0 38px;
}

.legal-content {
    max-width: 760px;
    margin: 0 auto;
    color: #aaaab5;
    font-size: 14px;
    line-height: 1.75;
}

.legal-content h2 {
    margin: 32px 0 10px;
    color: #f5f5f7;
    font-size: 18px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    margin: 0 0 14px;
}

.legal-content ul {
    margin: 8px 0 18px;
    padding-left: 24px;
}

.legal-content li {
    margin: 6px 0;
}

.legal-card .back-button {
    max-width: 760px;
    margin: 32px auto 0;
    text-decoration: none;
}

.site-footer {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(25, 25, 32, 0.85);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: #555560;
    font-size: 11px;
}

.site-footer a {
    color: #70707b;
    text-decoration: none;
}

.site-footer a:hover {
    color: hwb(0 80% 20%);
}

.small {
    color: #70707b;
    font-size: 12px;
    margin: 20px 0 0;
}

@media (max-width: 600px) {
    .legal-page {
        padding: 30px 15px 20px;
    }

    .legal-card {
        padding: 30px 22px;
    }

    .legal-content {
        font-size: 13px;
    }
}

@media (max-width: 560px) {
    .card {
        padding: 32px 22px;
    }

    h1 {
        font-size: 26px;
    }
}