/* Style sobre et élégant pour la page d'accueil */
:root {
  --bg: #f6f7f9;
  --card: #ffffff;
  --text: #0f1720;
  --muted: #566272;
  --accent: #1f6feb;
  --accent-hover: #165fc1;
  --border: rgba(15, 23, 32, 0.08);
  --glass: rgba(255, 255, 255, 0.6);
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, #f4f6f8 0%, var(--bg) 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}

.card {
  width: 100%;
  max-width: 450px;
  background: var(--card);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(20, 30, 50, 0.08);
  text-align: center;
  border: 1px solid var(--border);
}

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.avatar {
  font-size: 4rem;
  color: var(--accent);
  margin-bottom: 15px;
}

.title {
  font-size: 2rem;
  margin: 0 0 10px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.subtitle {
  color: var(--muted);
  margin: 0 0 30px;
  font-size: 1.05rem;
  line-height: 1.5;
}

.actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-direction: column;
}

@media (min-width: 400px) {
  .actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  background: var(--card);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid var(--accent-hover);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 32, 0.08);
  border-color: rgba(15, 23, 32, 0.15);
}

.btn:active {
  transform: translateY(0);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --card: #0f192b;
    --text: #ecf0f6;
    --muted: #9aa6b2;
    --accent: #2b8cff;
    --accent-hover: #1f6feb;
    --border: rgba(255, 255, 255, 0.1);
  }
  
  body {
    background: linear-gradient(135deg, #06101a 0%, #0b1220 100%);
  }
  
  .card {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  }
  
  .btn {
    background: rgba(255, 255, 255, 0.05);
  }
  
  .btn:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  }
}

@media (max-width: 420px) {
  .card {
    padding: 30px 20px;
    border-radius: 14px;
  }
  
  .title {
    font-size: 1.75rem;
  }
  
  .btn {
    width: 100%;
    padding: 12px 20px;
  }
}
