/* RESET SIMPLE */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1ef58a 0, #020617 55%, #020617 100%);
  color: #f9fafb;
  -webkit-font-smoothing: antialiased;
}

/* LAYOUT GLOBAL */

.page-wrapper {
  min-height: 100vh;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

/* HEADER / MENU */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 16px;
  z-index: 20;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #a3e635);
  color: #020617;
  font-size: 18px;
}

.logo-text {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 14px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 10px;
  border-radius: 999px;
  background: transparent;
  color: #e5e7eb;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.1s;
}

.main-nav a:hover {
  background: rgba(148, 163, 184, 0.15);
  color: #f9fafb;
  transform: translateY(-1px);
}

.btn-cta {
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  background: #facc15;
  color: #020617;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  box-shadow: 0 10px 30px rgba(234, 179, 8, 0.5);
  transition: transform 0.1s, box-shadow 0.1s;
}

.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(234, 179, 8, 0.6);
}

/* BOUTONS GÉNÉRIQUES */

.btn-primary {
  border: none;
  outline: none;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #a3e635);
  color: #020617;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(34, 197, 94, 0.5);
  transition: transform 0.1s, box-shadow 0.1s;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(34, 197, 94, 0.7);
}

.btn-ghost {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 10px 20px;
  background: transparent;
  color: #e5e7eb;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.9);
  border-color: #e5e7eb;
}

/* HERO */

.hero {
  margin-top: 40px;
  padding: 32px 28px;
  border-radius: 32px;
  background: radial-gradient(circle at top, #0f172a 0, #020617 50%, #020617 100%);
  border: 1px solid rgba(30, 64, 175, 0.7);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-title {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.05;
  text-transform: uppercase;
}

.hero-title span {
  color: #facc15;
}

.hero-subtitle {
  margin-top: 8px;
  font-size: 15px;
  color: #cbd5f5;
  max-width: 420px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.stat-card {
  flex: 0 0 auto;
  min-width: 120px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.8);
}

.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #9ca3af;
}

.stat-value {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  font-weight: 800;
}

/* HERO DROITE */

.hero-right {
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 340px;
  border-radius: 28px;
  padding: 18px 18px 16px;
  background: radial-gradient(circle at top, #0ea5e9 0, #0f172a 40%, #020617 100%);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.9);
  position: relative;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
}

.hero-card-footer {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.95);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.6);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #bbf7d0;
}

.hero-card-text {
  margin-top: 6px;
  font-size: 12px;
  color: #e5e7eb;
}

.hero-card-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  outline: none;
  cursor: pointer;
  background: #facc15;
  color: #020617;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(234, 179, 8, 0.6);
}

/* SECTIONS GÉNÉRALES */

.section-title {
  margin-top: 56px;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-subtitle {
  margin-top: 6px;
  font-size: 14px;
  color: #cbd5f5;
}

/* GAMES / TUILES */

.games-section {
  margin-top: 32px;
}

.games-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.game-tile {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(circle at top, #020617 0, #020617 100%);
  border: 1px solid rgba(30, 64, 175, 0.7);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.8);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.game-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 1);
  border-color: #facc15;
}

.game-image-wrapper {
  position: relative;
  padding-top: 65%;
}

/* Couleurs d’arrière-plan différentes pour chaque jeu */
.lyna-bg {
  background: radial-gradient(circle at top, #fb7185, #020617 60%);
}

.msts-bg {
  background: radial-gradient(circle at top, #22d3ee, #020617 60%);
}

.onfly-bg {
  background: radial-gradient(circle at top, #4ade80, #020617 60%);
}

.game-label {
  position: absolute;
  bottom: 10px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.game-info {
  padding: 14px 14px 16px;
}

.game-info h3 {
  font-size: 18px;
}

.game-info p {
  margin-top: 4px;
  font-size: 13px;
  color: #d1d5db;
}

.game-cta {
  margin-top: 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #facc15;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ABOUT */

.about-section {
  margin-top: 50px;
}

.about-content {
  margin-top: 16px;
  padding: 18px 18px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(30, 64, 175, 0.6);
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: #e5e7eb;
}

/* FORM / CONTACT */

.contact-section {
  margin-top: 50px;
}

.newsletter-form {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-group input {
  min-width: 260px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.95);
  color: #f9fafb;
  font-size: 14px;
}

.form-group input::placeholder {
  color: #6b7280;
}

.form-group input:focus {
  outline: none;
  border-color: #facc15;
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.6);
}

/* FOOTER / DISCLAIMER */

.site-footer {
  margin-top: 60px;
  padding-top: 26px;
  border-top: 1px solid rgba(31, 41, 55, 0.9);
}

.disclaimer {
  padding: 18px 18px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(75, 85, 99, 0.9);
  font-size: 13px;
  color: #d1d5db;
}

.disclaimer h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.footer-bottom {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: #9ca3af;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #f9fafb;
}

/* LIENS GLOBAUX */

a {
  color: inherit;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }

  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }

  .hero-right {
    order: -1;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .page-wrapper {
    padding-inline: 12px;
  }
}
