﻿:root {
    --primary: #43e97b;
    --secondary: #38f9d7;
    --background: #0f172a;
    --card: #1e293b;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.background-glow {
    position: fixed;
    top: -150px;
    right: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(67, 233, 123, 0.15) 0%, rgba(56, 249, 215, 0) 70%);
    filter: blur(80px);
    z-index: -1;
}

.navbar {
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.78);
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -1px;
}

.logo span,
a,
.btn-link {
    color: var(--primary);
}

.hero {
    padding: 100px 0 60px;
    text-align: center;
}

.eyebrow {
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 58px);
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
}

.legal-cards {
    padding: 40px 0 100px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.96));
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 24px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.32);
}

.card-icon {
    font-size: 34px;
    margin-bottom: 24px;
}

.card h2 {
    font-size: 24px;
    margin-bottom: 16px;
}

.card p {
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.btn-link {
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legal-content {
    padding: 80px 0;
}

.content-box {
    background: rgba(30, 41, 59, 0.96);
    border: 1px solid var(--border);
    padding: clamp(28px, 6vw, 60px);
    border-radius: 32px;
}

.back-link {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    margin-bottom: 30px;
    font-weight: 800;
}

.legal-body h2 {
    margin: 42px 0 18px;
    font-size: clamp(23px, 4vw, 30px);
    color: var(--primary);
}

.legal-body p {
    margin-bottom: 18px;
    color: var(--text-muted);
}

.legal-body ul {
    margin: 0 0 20px 20px;
}

.legal-body li {
    margin-bottom: 10px;
    color: var(--text-muted);
}

.legal-body strong {
    color: var(--text);
}

.last-updated {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 40px;
    display: block;
}

.notice-box {
    border: 1px solid rgba(67, 233, 123, 0.35);
    background: rgba(67, 233, 123, 0.08);
    border-radius: 16px;
    padding: 18px;
    margin: 24px 0;
    color: var(--text-muted);
}

.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #0f172a;
    font-weight: 800;
    text-decoration: none;
}

footer {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

footer p {
    color: var(--text-muted);
    font-size: 14px;
}

@media (max-width: 768px) {
    .hero {
        padding: 70px 0 40px;
    }

    .content-box {
        border-radius: 24px;
    }
}