@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Share+Tech+Mono&display=swap');

:root {
    --bg-deep: #050b11;
    --bg-mid: #0b1323;
    --panel: rgba(8, 17, 29, 0.88);
    --panel-soft: rgba(7, 17, 28, 0.62);
    --panel-border: rgba(97, 255, 213, 0.34);
    --text: #d7ffeb;
    --text-dim: #95c3b4;
    --accent: #41ffd0;
    --accent-2: #ffe066;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Share Tech Mono', monospace;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 10%, rgba(65, 255, 208, 0.16), transparent 44%),
        radial-gradient(circle at 80% 80%, rgba(255, 224, 102, 0.14), transparent 40%),
        linear-gradient(130deg, var(--bg-deep), var(--bg-mid));
    min-height: 100vh;
    padding: 22px;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(160, 255, 232, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(160, 255, 232, 0.06) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, transparent, black 14%, black 86%, transparent);
    opacity: 0.65;
}

.policy-wrap {
    width: min(920px, 100%);
    margin: 0 auto;
    border: 1px solid var(--panel-border);
    border-radius: 18px;
    background: var(--panel);
    padding: 20px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(65, 255, 208, 0.2);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    border: 1px solid rgba(65, 255, 208, 0.32);
    background: rgba(4, 13, 22, 0.66);
    color: rgba(170, 206, 194, 0.92);
    padding: 4px 10px;
    font-size: 0.78rem;
}

.badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(65, 255, 208, 0.9);
    box-shadow: 0 0 8px rgba(65, 255, 208, 0.5);
}

h1 {
    font-family: 'Press Start 2P', cursive;
    color: var(--accent-2);
    font-size: clamp(1rem, 2.4vw, 1.5rem);
    line-height: 1.5;
    margin-bottom: 8px;
}

.subtitle {
    color: var(--text-dim);
    margin-bottom: 16px;
    line-height: 1.6;
}

.policy-nav {
    position: sticky;
    top: 10px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    padding: 10px;
    border: 1px solid rgba(65, 255, 208, 0.2);
    border-radius: 12px;
    background: var(--panel-soft);
}

.policy-nav a {
    text-decoration: none;
    padding: 5px 8px;
    border-radius: 8px;
    border: 1px solid rgba(65, 255, 208, 0.2);
    color: var(--text-dim);
    font-size: 0.86rem;
    line-height: 1.2;
    transition: border-color 140ms ease, color 140ms ease, background 140ms ease;
}

.policy-nav a:hover {
    color: var(--text);
    border-color: rgba(65, 255, 208, 0.4);
    background: rgba(65, 255, 208, 0.08);
}

.policy-section {
    margin-top: 12px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(65, 255, 208, 0.18);
    background: rgba(5, 14, 23, 0.48);
}

h2 {
    margin-top: 0;
    margin-bottom: 8px;
    font-family: 'Press Start 2P', cursive;
    color: var(--accent);
    font-size: 0.7rem;
    line-height: 1.6;
}

p,
li {
    color: var(--text-dim);
    line-height: 1.65;
    font-size: 0.97rem;
}

ul {
    margin-left: 18px;
    margin-bottom: 8px;
}

a {
    color: var(--accent);
}

.meta {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(65, 255, 208, 0.22);
    color: var(--text-dim);
    font-size: 0.9rem;
}

.actions {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.button-link {
    display: inline-block;
    text-decoration: none;
    padding: 9px 12px;
    border-radius: 10px;
    border: 1px solid rgba(65, 255, 208, 0.42);
    color: var(--text);
    background: rgba(6, 15, 24, 0.56);
    transition: transform 150ms ease, background 150ms ease;
}

.button-link:hover {
    background: rgba(65, 255, 208, 0.1);
    transform: translateY(-1px);
}

@media (max-width: 740px) {
    body {
        padding: 14px;
    }

    .policy-wrap {
        padding: 14px;
    }

    .topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .policy-nav {
        position: static;
    }
}

@media (prefers-reduced-motion: reduce) {
    .button-link,
    .policy-nav a {
        transition: none;
    }
}
