/* =========================================================
   GLOBAL – Styles généraux (fond, texte, police principale)
   ========================================================= */
body {
  margin: 0;
  background: radial-gradient(circle at top, #1a1a1a, #0a0a0a);
  color: #e5e5e5;
  font-family: 'Inter', sans-serif;
}

/* =========================================================
   HEADER / MENU – Logo + navigation principale
   ========================================================= */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: #111;
  border-bottom: 1px solid #2a2a2a;
}

.logo {
  font-family: 'Cinzel', serif;
  color: #c9a24d;
  margin: 0;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #e5e5e5;
}

nav a:hover {
  color: #c9a24d;
}

/* =========================================================
   HERO – Présentation principale de l’accueil
   ========================================================= */
.hero {
  text-align: center;
  padding: 80px 20px;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: 64px;
  color: #c9a24d;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 24px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero-text {
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* =========================================================
   BOUTONS – Boutons dorés (CTA, formulaires, actions)
   ========================================================= */
.gold-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(135deg, #d4af37, #b8962e);
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(212,175,55,0.3);
}

.gold-button:hover {
  box-shadow: 0 0 30px rgba(212,175,55,0.6);
}

.gold-button.small {
  width: 100%;
  border: none;
  cursor: pointer;
  margin-top: 10px;
}

/* =========================================================
   AUTH – Connexion / Inscription
   ========================================================= */
.auth {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
}

.auth-box {
  background: #121212;
  padding: 25px;
  width: 260px;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
}

.auth-box h3 {
  text-align: center;
  margin-bottom: 15px;
}

.auth-box input,
.auth-box select {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  background: #0e0e0e;
  border: 1px solid #2a2a2a;
  color: #e5e5e5;
}

.hidden {
  display: none;
}

.switch-text {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
}

.switch-text span {
  color: #c9a24d;
  cursor: pointer;
}

.switch-text span:hover {
  text-decoration: underline;
}

/* =========================================================
   FAMILLES – Présentation des familles / clans
   ========================================================= */
.families {
  margin: 100px auto 80px;
  max-width: 1100px;
  text-align: center;
}

.families h2 {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  margin-bottom: 60px;
}

.families h2 span {
  color: #c9a24d;
}

.families-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
}

.family-card {
  background: #fff;
  border-radius: 14px;
  padding: 30px 25px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.family-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.12);
}

.family-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

.family-tag {
  display: inline-block;
  margin-bottom: 15px;
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Couleurs spécifiques par famille */
.corleone .family-tag {
  background: #f7e3b1;
  color: #9a6a00;
}

.barzini .family-tag {
  background: #f8cfcf;
  color: #9a2d2d;
}

.tattaglia .family-tag {
  background: #cdeee6;
  color: #00796b;
}

.cuneo .family-tag {
  background: #e0d8ff;
  color: #5a4fcf;
}

/* =========================================================
   GAME OVERVIEW – Présentation du gameplay
   ========================================================= */
.game-overview {
  padding: 100px 20px;
  text-align: center;
  background: #fff;
}

.game-overview h2 {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  margin-bottom: 10px;
}

.game-overview h2 span {
  color: #c28a2c;
}

.overview-intro {
  max-width: 700px;
  margin: 0 auto 60px;
  font-size: 18px;
  color: #555;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.overview-card {
  background: #fcfbf9;
  border: 1px solid rgba(194, 138, 44, 0.18);
  border-radius: 18px;
  padding: 42px 28px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.overview-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.15);
  border-color: rgba(194, 138, 44, 0.45);
}

.overview-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(194,138,44,0.12);
  color: #c28a2c;
  font-size: 28px;
  margin-bottom: 20px;
}

.overview-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.overview-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.5;
}

/* =========================================================
   FOOTER – Bas de page
   ========================================================= */
.site-footer {
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
  color: #fff;
  background: transparent !important;
  width: 100% !important;
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  margin: 0 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}
