@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css');

:root {
  --primary: #B53389;
  --accent: #60a5fa;
  --surface: #334155;
  --radius-pill: 50px;

  /* Thème clair (défaut) */
  --bg: linear-gradient(135deg, var(--primary), var(--accent));
  --text: #1f2937;
  --link-hover: rgba(255, 255, 255, 0.3);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: linear-gradient(135deg, #0f172a, var(--primary));
    --text: #e2e8f0;
    --link-hover: var(--surface);
  }
}

body.light {
  --bg: linear-gradient(135deg, var(--primary), var(--accent));
  --text: #1f2937;
  --link-hover: rgba(255, 255, 255, 0.3);
}

body.dark {
  --bg: linear-gradient(135deg, #0f172a, var(--primary));
  --text: #e2e8f0;
  --link-hover: var(--surface);
}

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.theme-selector,
.lang-selector {
  position: fixed;
  top: 20px;
  padding: 6px;
  border-radius: var(--radius-pill);
  display: flex;
  gap: 6px;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.theme-selector {
  right: 20px;
}

.lang-selector {
  left: 20px;
}

.theme-selector button,
.lang-selector button {
  padding: 10px 16px;
  border: 3px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  color: white;
  cursor: pointer;
  font-size: .8rem;
  transition: all 0.3s;
}

.theme-selector button:hover,
.lang-selector button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.theme-selector button.active,
.lang-selector button.active {
  background: var(--surface);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.5);
}

/* Contenu */
.container {
  max-width: 600px;
  padding: 40px 20px;
}

h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.95;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  text-decoration: none;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  font-size: 1.15rem;
  width: 300px;
}

a:hover {
  background: var(--link-hover);
  color: var(--text);
  transform: translateY(-3px);
}

footer {
  margin-top: 60px;
  font-size: 0.9rem;
  opacity: 0.75;
}
