:root {
    --bg-color: #000000;
    --bg-gradient: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
    --card-bg: #111111;
    --card-border: #333333;
    --border-color: #333333;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent-color: #ffffff;
    --accent-gradient: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    --beta-color: #ff0000;
    --font-main: 'Inter', sans-serif;
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.7);
    --glow: 0 0 40px rgba(255, 255, 255, 0.05);
}

body {
    background: var(--bg-gradient);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.8;
    margin: 0;
    padding: 40px 20px;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 60px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg), var(--glow);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1px;
    color: #ffffff;
}

h2 {
    font-size: 1.6rem;
    margin-top: 50px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.5px;
}

h2:first-of-type {
    margin-top: 30px;
}

p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.9;
}

ul {
    margin-bottom: 24px;
    padding-left: 24px;
}

li {
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.8;
}

li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.back-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 30px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.back-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-4px);
}


footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

footer p {
    margin-bottom: 8px;
}

footer p:last-child {
    margin-bottom: 0;
}

/* Modern Footer Styles */
.modern-footer {
    background: #000000;
    border-top: none;
    padding: 80px 0 40px;
    margin-top: 60px;
    width: 100%;
    color: #ffffff;
    text-align: left;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    gap: 40px;
}

.footer-brand {
    flex: 1;
}

.logo-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.footer-logo-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
}

.footer-logo-link {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

.footer-logo-link:hover {
    opacity: 0.8;
}

.logo-footer h2 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo-footer h2 span {
    color: #888888;
    font-weight: 300;
}

.footer-tagline {
    color: #888888;
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 500;
    margin-top: 10px;
}

.footer-nav {
    display: flex;
    gap: 60px;
    flex: 2;
    justify-content: flex-end;
}

.nav-group h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888888;
    margin-bottom: 25px;
    font-weight: 600;
}

.nav-group a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    margin-bottom: 12px;
    transition: color 0.2s;
    font-weight: 400;
}

.nav-group a:hover {
    color: #888888;
    padding-left: 0;
}

.nav-group a::before {
    display: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: none;
}

.footer-copyright p {
    font-size: 0.95rem;
    color: #666666;
    margin-bottom: 0;
}

.footer-copyright a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.footer-copyright a:hover {
    color: #888888;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-legal-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s;
}

.footer-legal-links a:hover {
    color: #888888;
}

.footer-legal-links .separator {
    color: #333333;
    font-size: 0.8rem;
}

@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    .footer-nav {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .footer-nav {
        gap: 30px;
    }
}

/* Image Protection */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
