/* === Base Reset === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', 'Inter', sans-serif;
  background-color: #0f0f0f;
  color: #e0e0e0;
  line-height: 1.6;
  font-size: 16px;
}

/* === Legal Shell Layout === */
.legal-shell {
  display: flex;
  flex-direction: row;
  max-width: 1400px;
  margin: 60px auto;
  padding: 0 40px;
  gap: 40px;
}

/* === Main Content === */
.legal-content {
  flex: 1;
  padding-bottom: 60px;
}

.legal-content h1 {
  font-size: 2rem;
  color: #ffd700;
  margin-bottom: 20px;
  border-bottom: 2px solid #333;
  padding-bottom: 10px;
  font-family: 'Cinzel', serif;
}

.legal-content h2 {
  font-size: 1.5rem;
  color: #ffcc66;
  margin-top: 40px;
  margin-bottom: 10px;
  font-family: 'Cinzel', serif;
}

.legal-content h3 {
  font-size: 1.2rem;
  color: #e0e0e0;
  margin-top: 30px;
  margin-bottom: 8px;
}

.legal-content p {
  margin-bottom: 12px;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.legal-content li {
  margin-bottom: 8px;
}

/* === Sidebar (Right Side) === */
.legal-sidebar {
  flex: 0 0 240px;
  background-color: #1a1a1a;
  padding: 24px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px #2c2c2c, 0 0 12px rgba(0,0,0,0.5);
  font-size: 0.95rem;
  font-family: 'Segoe UI', sans-serif;
  position: sticky;
  top: 100px;
  align-self: flex-start;
}

.legal-sidebar h2 {
  font-size: 1.2rem;
  color: #ffd700;
  margin-bottom: 16px;
  font-family: 'Cinzel', serif;
}

.legal-sidebar ul {
  list-style: none;
  padding: 0;
}

.legal-sidebar li {
  margin-bottom: 12px;
}

.legal-sidebar a {
  color: #80cbc4;
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-sidebar a:hover {
  color: #4dd0e1;
}

/* === Cookie Panel Compatibility === */
.cookie-panel {
  background-color: #1f1f1f;
  color: #e0e0e0;
  padding: 20px;
  border-top: 1px solid #333;
  text-align: center;
  font-size: 0.9rem;
}

.cookie-panel button {
  background-color: #ffd700;
  color: #0f0f0f;
  border: none;
  padding: 10px 20px;
  margin-left: 10px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.cookie-panel button:hover {
  background-color: #ffea80;
}

/* === Links === */
a {
  color: #80cbc4;
  text-decoration: underline;
}

a:hover {
  color: #4dd0e1;
}

/* === Responsive === */
@media (max-width: 900px) {
  .legal-shell {
    flex-direction: column;
    padding: 0 20px;
  }

  .legal-sidebar {
    width: 100%;
    margin-top: 40px;
    position: static;
  }
}