:root {
  --bg: #0f172a;
  --card: #1e293b;
  --text: #e2e8f0;
  --accent: #38bdf8;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  background: rgba(15,23,42,0.8);
  backdrop-filter: blur(10px);
}

nav {
  display: flex;
}

nav a {
  margin: 0 10px;
  text-decoration: none;
  color: var(--text);
}

.hero {
  text-align: center;
  padding: 2rem 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

button {
  padding: 10px 20px;
  border: none;
  background: var(--accent);
  color: black;
  cursor: pointer;
}

.section {
  padding: 4rem 1rem;
  max-width: 1100px;
  margin: auto;
}

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

.card {
  background: var(--card);
  padding: 20px;
  border-radius: 12px;
  transition: transform 0.3s, opacity 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

footer {
  text-align: center;
  padding: 2rem;
  opacity: 0.7;
}

.menu-btn {
  display: none;
}

@media(max-width:768px){
  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background: var(--card);
    padding: 10px;
    border-radius: 8px;
  }
  nav.active {
    display: flex;
  }
  .menu-btn {
    display: block;
  }
}

span.logo
{
  color:#38bdf8;
}

.social-cta {
  text-align: center;
  padding: 5rem 1rem;
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

.social-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 10px;
}

.social-cta p {
  opacity: 0.8;
  margin-bottom: 40px;
}

.social-grid {
  display: grid;
  gap: 20px;
  max-width: 900px;
  margin: auto;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.social-card {
  display: block;
  padding: 2rem;
  border-radius: 16px;
  text-decoration: none;
  color: white;
  transition: transform 0.3s, box-shadow 0.3s;
}

.social-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Couleurs plateformes */
.youtube {
  background: linear-gradient(135deg, #ff0000, #b91c1c);
}

.twitter {
  background: linear-gradient(135deg, #1da1f2, #0ea5e9);
}

.discord {
  background: linear-gradient(135deg, #5865f2, #4338ca);
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #1e293b;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  position: relative;
}

.modal-content input {
  width: 100%;
  padding: 10px;
  margin: 15px 0;
  border-radius: 8px;
  border: none;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 20px;
}

