* {
    box-sizing: border-box;
}

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

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #090a0a;
    color: #f5f5f5;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hero {
    position: relative;
    flex: 1;
    overflow: hidden;
    background:
        linear-gradient(rgba(9, 10, 10, 0.82), rgba(9, 10, 10, 0.82)),
		url("img/web-bg.webp") center 60px / cover no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at center, transparent 35%, rgba(0, 0, 0, 0.48) 100%);
}

.site-header {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 32px;
    background: #090a0a;
    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);
}

.content {
    position: relative;
    z-index: 2;
    width: 600px;
    max-width: calc(100% - 96px);
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin: 125px 70px 80px auto;
}

.steam-embed {
	width: 600px;
    max-width: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.steam-embed iframe {
    display: block;
    width: 600px;
    max-width: 100%;
    height: 190px;
    border: 0;
}

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

.site-footer a {
    color: #85898c;
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

.legal-page {
    width: 100%;
    min-height: calc(100vh - 58px);
    display: flex;
    justify-content: center;
    padding: 70px 24px;
    background:
        linear-gradient(rgba(9, 10, 10, 0.82), rgba(9, 10, 10, 0.82)),
        url("img/web-bg.webp") center 60px / cover fixed no-repeat;
}

.legal-card {
    width: 100%;
    max-width: 900px;
    padding: 48px;
    background: rgba(18, 20, 20, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.legal-logo {
    display: block;
    width: 150px;
    height: auto;
    margin: 0 auto 22px;
}

.legal-card h1 {
    margin: 0;
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: #f5f5f5;
}

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

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

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

.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-content a {
    color: #aab6aa;
}

.legal-content a:hover {
    color: #fff;
}

.back-button {
    width: 100%;
    max-width: 760px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 36px auto 0;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 8px;
    background: #242727;
    color: #d7d9da;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.back-button:hover {
    background: #303434;
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

@media (max-width: 760px) {
    .legal-page {
        padding: 40px 16px;
    }

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

    .legal-logo {
        width: 125px;
    }

    .legal-card h1 {
        font-size: 26px;
    }

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

@media (max-width: 760px) {
    .site-header {
        padding: 24px 20px;
    }

    .brand img {
        width: 140px;
    }

    .social-nav {
        gap: 6px;
    }

    .social-nav a {
        width: 38px;
        height: 38px;
        font-size: 11px;
    }

    .content {
        width: calc(100% - 32px);
        max-width: none;
        margin: 130px auto 50px;
    }

    .steam-embed iframe {
        width: 100%;
    }
}
