:root {
  --primary: #6366f1;
  --primary-light: #818cf8;
  --gold: #fbbf24;
  --danger: #ef4444;
  --success: #10b981;
  --text: #f8fafc;
  --bg: #0f172a;
  --card: rgba(30, 41, 59, 0.8);
  --glass: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.2);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] {
  --text: #1e293b;
  --bg: #f8fafc;
  --card: rgba(255, 255, 255, 0.9);
  --glass: rgba(255, 255, 255, 0.6);
  --border: rgba(0, 0, 0, 0.1);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

.site-header {
  padding: 1.5rem 1rem;
  text-align: center;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-bottom: 1px solid var(--border);
}

.site-title {
  font-size: 2.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.site-header p {
  margin-top: 0.5rem;
  opacity: 0.8;
}

a {
  color: var(--primary);
  text-decoration: none;
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  text-align: center;
}

.content-card {
  background: var(--card);
  padding: 3rem 2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.content-card img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.content-card h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.content-card p {
  line-height: 1.8;
  font-size: 1.05rem;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.content-card p.lead {
  font-size: 1.2rem;
}

.content-card .contact {
  margin-top: 2.5rem;
  font-size: 1.1rem;
}

.back-home {
  margin: 2rem 0;
  display: inline-block;
  padding: 0.8rem 1.6rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-radius: 12px;
  font-weight: 600;
}

footer {
  text-align: center;
  padding: 2rem;
  color: var(--text);
  opacity: 0.6;
  font-size: 0.9rem;
  line-height: 1.6;
}

body.legal-page {
  line-height: 1.7;
  padding: 2rem 1rem;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  text-align: left;
}

.legal-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-header h1 {
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-header p {
  margin-top: 0.5rem;
  opacity: 0.8;
  font-size: 0.95rem;
}

.legal-section {
  margin: 2rem 0;
}

.legal-section h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 1.5rem 0 1rem;
  color: var(--gold);
}

.legal-section p {
  margin: 0.8rem 0;
  font-size: 0.98rem;
}

.legal-section ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.legal-section ul li {
  margin: 0.5rem 0;
  font-size: 0.98rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  margin-top: 2rem;
  font-size: 0.95rem;
}

.back-link:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .legal-container { padding: 1.5rem; }
  .legal-header h1 { font-size: 1.9rem; }
}