/* Shared stylesheet for the /terms and /privacy pages */

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --accent-yellow: #feca57;
    --accent-red: #ff6b6b;
    --accent-blue: #48dbfb;
    --accent-pink: #ff9ff3;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-primary: white;
    --text-muted: rgba(255, 255, 255, 0.8);
    --shadow-light: 0 8px 32px rgba(0, 0, 0, 0.1);
    --radius-medium: 12px;
    --radius-xl: 20px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--primary-gradient);
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: var(--text-primary);
    line-height: 1.6;
    padding: 2rem 1rem;
}

.container {
    max-width: 900px;
    width: 100%;
    padding: 2.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-light);
}

.header {
    text-align: center;
    margin-bottom: 0.5rem;
}

.logo {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--accent-red), var(--accent-yellow), var(--accent-blue), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: inline-block;
}

.logo:hover { opacity: 0.9; }

.page-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

.last-updated {
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
    margin-bottom: 2rem;
}

.section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-medium);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.section h2 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--accent-yellow);
}

.section h3 {
    font-size: 1rem;
    margin: 1rem 0 0.5rem;
    opacity: 0.95;
}

.section p, .section li {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.section ul {
    list-style: none;
    padding-left: 0;
}

.section ul li {
    padding: 0.25rem 0 0.25rem 1.25rem;
    position: relative;
}

.section ul li::before {
    content: "\2022";
    color: var(--accent-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.section a {
    color: var(--accent-blue);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.section a:hover {
    border-bottom-color: var(--accent-blue);
}

.section p + p { margin-top: 0.5rem; }

.back-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--accent-yellow);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    font-size: 0.95rem;
}

.back-link:hover { opacity: 1; }

.footer {
    margin-top: 2rem;
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

.copyright {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
    opacity: 0.6;
    font-size: 0.8rem;
}

@media (max-width: 600px) {
    body { padding: 1rem 0.5rem; }
    .container { padding: 1.5rem; }
    .logo { font-size: 2rem; }
    .page-title { font-size: 1.25rem; }
    .section { padding: 1.25rem; }
}
