/* ========================================
   RESET & BASE
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  background-color: #0b1d2a;
  color: #dce3ec;
}
a {
  text-decoration: none;
  color: inherit;
}
p {
  text-align: center;
}

/* ========================================
   HEADER
======================================== */
header {
  background-color: #0e2435;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.6);
}
.logo {
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  letter-spacing: 2px;
  justify-self: start;
}
nav {
  justify-self: center;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
}
nav ul li a {
  color: #dce3ec;
  font-weight: 500;
  font-size: 18px;
  transition: color 0.2s;
}
nav ul li a:hover,
nav ul li a.active {
  color: #56b0ff;
  text-shadow: 0 0 5px #56b0ff, 0 0 15px #56b0ff;
}

/* Burger Menu */
.burger {
  display: none;
  font-size: 26px;
  color: #fff;
  cursor: pointer;
  justify-self: end;
}
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #0e2435;
    padding: 15px;
    border-radius: 8px;
    position: absolute;
    top: 60px;
    right: 20px;
    width: 200px;
  }
  nav ul.active {
    display: flex;
  }
  .burger {
    display: block;
  }
}

/* ========================================
   HERO
======================================== */
.hero {
  background: url("src/background.png") no-repeat center/cover;
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  padding: 0 20px;
  color: #fff;
}
.hero h1 { font-size: 50px; margin-bottom: 20px; }
.hero p { font-size: 20px; margin-bottom: 30px; }

.hero-starcitizen {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
}
.hero-content {
  max-width: 800px;
  padding: 0 20px;
}
.hero-content h1 {
  font-size: 50px;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(86,176,255,.6);
}
.hero-content p { font-size: 20px; margin-bottom: 30px; }

/* ========================================
   BUTTONS
======================================== */
.btn-cta {
  background: #1a8cff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: bold;
  color: #fff;
  transition: all 0.3s;
  display: inline-block;
  cursor: pointer;
}
.btn-cta:hover {
  background: #56b0ff;
  box-shadow: 0 0 10px #56b0ff, 0 0 20px #56b0ff;
}

/* ========================================
   SECTIONS
======================================== */
section {
  padding: 60px 80px;
  text-align: center;
}
section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #56b0ff;
}
section p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
}

/* ========================================
   GALERIE
======================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.gallery img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #56b0ff;
}

/* ========================================
   EVENTS (glow cards)
======================================== */
.sc-ops {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.glow-card {
  background: #0e2435;
  border-radius: 14px;
  padding: 22px;
  border: 1px solid rgba(86,176,255,.15);
  box-shadow: 0 0 12px rgba(86,176,255,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.glow-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 25px rgba(86,176,255,.35);
}
.glow-card h3 { margin-bottom: 10px; }
.badge {
  display: inline-block;
  font-size: 12px;
  color: #bfe1ff;
  background: rgba(86,176,255,.12);
  border: 1px solid rgba(86,176,255,.25);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* ========================================
   CTA PANELS (Discord / Organisation)
======================================== */
.cta-panel {
  background: #0e2435;
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 0 15px rgba(86,176,255,.25);
}
.cta-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.cta-links img {
  height: 70px;
  transition: transform 0.3s, filter 0.3s;
}
.cta-links img:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 0 15px #56b0ff);
}

/* Discord logo simple */
.discord-logo {
  height: 80px;
  transition: transform 0.3s;
}
.discord-logo:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px #56b0ff);
}

/* ========================================
   TEAM (À propos)
======================================== */
.team {
  padding: 60px 20px;
  text-align: center;
}
.team h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #56b0ff;
}
.team-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.team-card {
  background: #0e2435;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(86,176,255,.25);
  width: 220px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(86,176,255,.45);
}
.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #56b0ff;
}
.team-card h3 {
  margin-bottom: 5px;
  color: #fff;
}
.team-card p {
  font-size: 14px;
  color: #bfe1ff;
}

/* ========================================
   TWITCH PANEL (À propos)
======================================== */
.twitch-panel {
  background: #0e2435;
  padding: 30px;
  border-radius: 12px;
  max-width: 1000px;
  margin: 50px auto;
  text-align: center;
  box-shadow: 0 0 15px rgba(86,176,255,0.6);
}
.twitch-panel h3 {
  margin-bottom: 20px;
  color: #56b0ff;
}
#StriikzLeLama {
  width: 100%;
  height: 550px;
  border-radius: 8px;
  overflow: hidden;
}
@media (max-width: 768px) {
  #StriikzLeLama { height: 400px; }
}
@media (max-width: 480px) {
  #StriikzLeLama { height: 250px; }
}


/* ========================================
   FOOTER
======================================== */
footer {
  background: #0e2435;
  text-align: center;
  padding: 30px 15px;
  margin-top: 40px;
  font-size: 14px;
  color: #b7c5d0;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}
footer p {
  margin: 5px 0;
}
footer a {
  color: #56b0ff;
  font-weight: 500;
  margin: 0 5px;
}
footer a:hover {
  text-decoration: underline;
}
footer .credit {
  font-size: 13px;
  color: #8695a3;
  margin-top: 10px;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
  section { padding: 40px 20px; }
}
@media (max-width: 768px) {
  .hero-starcitizen { min-height: 45vh; }
  .hero-content h1 { font-size: 28px; }
  .hero-content p { font-size: 16px; }
  .btn-cta { width: 100%; max-width: 250px; }
  .gallery { grid-template-columns: 1fr; }
  #StriikzLeLama { height: 400px; }
}
@media (max-width: 480px) {
  section h2 { font-size: 22px; }
  section p { font-size: 15px; }
  .cta-links img { height: 60px; }
  .discord-logo { height: 60px; }
  .founder img { width: 90px; height: 90px; }
  #StriikzLeLama { height: 250px; }
}

/* ----- Burger Menu animé ----- */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* état actif = croix */
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* mobile */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }
}
