body {
    background: #181a1b;
    color: #f0e6d2;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
}
header {
  background: #232323;
  padding: 0.7rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 54px;
  box-shadow: 0 4px 24px #0009;
  z-index: 10;
}

nav a {
    color: #49a9ff;
    margin-right: 2rem;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}
nav a:hover {
    color: #e53935;
}
.disabled {
    color: #555 !important;
    pointer-events: none;
    opacity: 0.7;
}
main {
    max-width: 800px;
    margin: 1.5rem auto;
    padding: 1rem 1.2rem;
    background: rgba(35, 39, 43, 0.75);
    border-radius: 12px;
    box-shadow: 0 8px 36px #000c, 0 0 24px #0008;
}

h1, h2 {
    color: #e53935;
}
footer {
    text-align: center;
    color: #666;
    margin-top: 2rem;
    font-size: 0.9rem;
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 1rem 0 0.3rem 0;
}

.social-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #23272b;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px #000a;
    transition: transform 0.13s, box-shadow 0.13s, border-color 0.13s, background 0.13s;
    border: 2px solid #444;
    text-decoration: none;
}

.social-btn img {
    width: 64px;
    height: 64px;
        margin: 0 12px;
    vertical-align: middle;
    transition: transform 0.12s, filter 0.01s;
}
.social-btn:hover {
    transform: scale(1.13);
    border-color: #e53935;
    background: #181a1b;
}
/* Glow couleur officielle pour chaque réseau */
.social-btn.steam:hover img {
    filter: brightness(1.15) drop-shadow(0 0 12px #66bbffcc);
}
.social-btn.discord:hover img {
    filter: brightness(1.15) drop-shadow(0 0 12px #7289da);
}
.social-btn.youtube:hover img {
    filter: brightness(1.15) drop-shadow(0 0 12px #ff0000cc);
}
.social-btn.twitter:hover img {
    filter: brightness(1.15) drop-shadow(0 0 12px #1da1f2cc);
}
.social-btn.instagram:hover img {
    filter: brightness(1.15) drop-shadow(0 0 12px #e1306ccc);
}
.social-btn.threads:hover img {
    filter: brightness(1.15) drop-shadow(0 0 12px #1da1f2cc);
}
.social-btn.facebook:hover img {
    filter: brightness(1.15) drop-shadow(0 0 12px #1877f2cc);
}
.social-btn.patreon:hover img {
    filter: brightness(1.15) drop-shadow(0 0 12px #fff);
}

.game-title {
  font-family: 'Oswald', Impact, sans-serif;
  font-size: 3.2rem;
  letter-spacing: 10px;
  font-weight: bold;
  margin-bottom: 18px;
  text-shadow: 0 2px 18px #000, 0 0 12px #222;
  line-height: 1.05;
  position: relative;
  text-align: center;
  word-break: break-word;
  white-space: normal;   
  width: 100%;            
  box-sizing: border-box; 
}
@keyframes glitch-effect {
  0%   { text-shadow: 2px 0 #500, -2px 0 #b30000, 0 2px #000; color: #e53935; }
  12%  { text-shadow: -2px 2px #b30000, 2px -2px #500, 2px 0 #100; color: #c11c1c; }
  26%  { text-shadow: 1px -1px #e53935, -1px 1px #700, 0 3px #000; color: #c11c1c; }
  39%  { text-shadow: 0 2px #222, 2px 0 #b30000, -2px 0 #500; color: #c11c1c; }
  57%  { text-shadow: 3px 3px #700, -3px -3px #900, 2px 2px #000; color: #b30000; }
  73%  { text-shadow: 2px 0 #b30000, -2px 0 #500, 0 2px #000; color: #e53935; }
  100% { text-shadow: 0 2px 18px #000, 0 0 12px #222; color: #e53935; }
}

.game-title.glitch {
  animation: glitch-effect 0.38s linear;
  /* effet vibration léger */
  transform: translateX(-2px) skewX(1deg) scale(1.01);
}

.game-title.zombiemachia {
  color: #e53935;
  text-shadow: 0 2px 18px #000, 0 0 28px #e5393577, 0 0 8px #500;
}
.game-title.psychomachia {
  color: #ff3030;
  text-shadow: 0 2px 18px #000, 0 0 28px #ff303077, 0 0 8px #500;
}

.game-hero {
  width: 90%;
  max-width: 1600px;
  margin: 48px auto 0 auto;
  text-align: center;
  margin-bottom: 56px;
}
.game-hero a {
  text-decoration: none;
}

.hero-img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 6px 32px #000a;
  display: block;
  margin: 0 auto 18px auto;
  max-height: 420px;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(.3,1.4,.5,1), box-shadow 0.25s;
}
.hero-img:hover {
  transform: scale(1.035);
  box-shadow: 0 12px 48px #e53935aa, 0 0 0 4px #fff2;
  z-index: 2;
}

.steam-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 32px;
  background: linear-gradient(90deg, #171a21 60%, #2a475e 100%);
  color: #fff;
  font-size: 1.15rem;
  font-weight: bold;
  border: none;
  border-radius: 999px;
  box-shadow: 0 2px 16px #0008;
  letter-spacing: 1px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: background 0.18s, transform 0.17s, box-shadow 0.17s;
}
.steam-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 160%;
  height: 280%;
  background: radial-gradient(circle, #66ccffff 0%, #66bbff66 30%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  filter: blur(4px);
}
.steam-btn span {
  position: relative;
  z-index: 1;
  text-shadow: 0 0 6px #66bbff88, 0 0 12px #66bbff44;
  transition: text-shadow 0.2s ease;
}
.steam-btn:hover {
  background: #2a475e;
  color: #66bbff;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 28px #66bbffbb;
}
.steam-btn:hover span {
  text-shadow: 0 0 12px #66bbffcc, 0 0 18px #66bbffaa;
}

.social-separator {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 1.2rem auto;
  height: 2px;
  border-radius: 12px;
  background:linear-gradient(90deg, rgba(229,57,53,0.01) 0%, rgba(229,57,53,0.15) 15%, rgba(229,57,53,0.80) 45%, rgba(229,57,53,0.80) 55%, rgba(229,57,53,0.15) 85%, rgba(229,57,53,0.01) 100%);
  opacity: 1;
  box-shadow: 0 0 18px #e5393550;
  position: relative;
}

/* Espacement spécifique pour le trait du bas */
.social-separator--bottom {
  margin: 1.4rem auto 1.8rem auto; /* desktop & tablette */
}
@media (max-width: 600px) {
  .social-separator--bottom {
    margin: 1.8rem auto 2.2rem auto; /* ↑ plus d’air sur mobile */
  }
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    color: #e53935;
    font-weight: bold;
    letter-spacing: 2px;
}
.logo-img {
    height: 48px;
    margin-right: 8px;
    filter: brightness(1.15);
}

.home-icon { 
  margin-left: 7px;
  display: flex;
  align-items: center;
}
.media-icon {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.contact-icon { 
  margin-left: auto;
  display: flex;
  align-items: center;
}


/* Images */
.contact-icon img,
.home-icon img {
  width: 34px;
  height: 34px;
  transition: filter 0.14s, transform 0.14s;
}
.contact-icon img:hover,
.home-icon img:hover {
  filter: brightness(1.05) drop-shadow(0 0 4px #ff57577a);
  transform: rotate(-2deg) scale(1.10);
  cursor: pointer;
}
.media-icon {
  margin-left: 10px; /* petit espace entre contact et media */
  display: flex;
  align-items: center;
}
.media-icon img {
  width: 34px;
  height: 34px;
  transition: filter 0.14s, transform 0.14s;
}
.media-icon img:hover {
  filter: brightness(1.15) drop-shadow(0 0 4px #49a9ffb0);
  transform: rotate(2deg) scale(1.10);
  cursor: pointer;
}

@media (max-width: 600px) {
  .media-icon img {
    width: 24px !important;
    height: 24px !important;
  }
}


@media (max-width: 900px) {
  .game-title { font-size: 2.1rem; }
  .hero-img { max-height: 220px; border-radius: 10px;}
}
@media (max-width: 600px) {
  /* Séparateur social */
  .social-separator {
    max-width: 350px;
    height: 2px;
  }
  /* Header compact */
  header {
    min-height: 30px !important;
    padding: 0.15rem 0.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-shadow: 0 4px 24px #0009 !important;
    background: #232323 !important;
  }
    /* Logo réduit */
  .logo-img {
    height: 34px !important;
    width: 34px !important;
    margin-right: 0.25rem !important;
  }
    /* Icônes header compactes */
.contact-icon img,
.home-icon img {
  width: 24px !important;
  height: 24px !important;
}
  /* Navigation */
  nav {
    margin-right: 0;
    width: 100%;
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
  }
  nav a {
    margin-right: 0;
    font-size: 1rem;
    padding-right: 0.6rem;
  }

  /* Main / Welcome / Footer */
  main {
    max-width: 100%;
    padding: 1rem;
    margin: 1rem 0.2rem;
  }
  .welcome h1 {
    font-size: 1.1rem;
  }
  .welcome p {
    font-size: 0.97rem;
  }
  footer {
    font-size: 0.8rem;
    padding: 0 0.3rem;
    margin-top: 1rem;
  }

  /* Hero section */
  .game-hero {
    width: 100%;
  }
  .hero-img {
    max-height: 140px;
  }
  .game-title {
    font-size: 1.15rem;
    letter-spacing: 3px;
  }

  /* Social buttons */
  .social-buttons {
    max-width: 250px;
margin: 0.5rem auto 0.1rem auto;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
  }
  .social-btn {
    width: 56px !important;
    height: 56px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
    border: none !important;
  }
  .social-btn img {
    width: 56px !important;
    height: 56px !important;
    margin: 0 !important;
    border-radius: 50%;
    box-shadow: none !important;
    background: transparent !important;
    display: block;
  }
}
.mail-vertical-bar {
  display: inline-block;
  width: 2px;
  height: 42px;
  background: linear-gradient(
    180deg,
    rgba(229,57,53,0.01) 0%,
    rgba(229,57,53,0.15) 15%,
    rgba(229,57,53,0.80) 45%,
    rgba(229,57,53,0.80) 55%,
    rgba(229,57,53,0.15) 85%,
    rgba(229,57,53,0.01) 100%
  );
  border-radius: 12px;
  margin-right: 10px;
  box-shadow: 0 0 14px #e5393550;
}

@media (max-width: 600px) {
  .mail-vertical-bar {
    height: 30px;
    width: 2px;
    margin-right: 6px;
  }
}
.game-pitch {
  color: #ffb3b3;
  font-size: 1.18rem;
  font-style: italic;
  margin: -12px 0 14px 0;
  text-align: center;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(.34,1.56,.64,1), transform 0.6s cubic-bezier(.34,1.56,.64,1);
}
.game-pitch.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .game-pitch { font-size: 1rem; }
}
@media (max-width: 600px) {
  .game-pitch { font-size: 0.95rem; }
}
@media (max-width: 600px) {
  .hero-img {
    max-height: 180px;
    object-position: center top;
  }
}
@media (max-width: 600px) {
  .game-pitch {
    margin: 4px 0 10px 0 !important;
    font-size: 0.95rem;
  }
}
@media (max-width: 600px) {
  .game-pitch {
    white-space: pre-line;
  }
}
.logout-btn {
  color: #fff;
  background: #e53935;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s ease;
}
.logout-btn:hover {
  background: #c62828;
}
.logout-compact {
  font-size: 0.95rem;
  padding: 4px 10px;
  line-height: 1.1;
}
.own-status {
  display: inline-block;
  margin-top: -6px;
  margin-left: 0;
  font-size: 0.9em;
  font-weight: bold;
  color: #7dff7d;
  text-align: left;
}

.wim-owned-row,
.zm-owned-row,
.pm-owned-row {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 1px;
  min-height: 1em;
  margin-bottom: 13px;
}
#own-wim, #not-own-wim,
#own-zm, #not-own-zm,
#own-pm, #not-own-pm {
  position: absolute;
  left: 0;
  font-size: 1em;
}

.wim-punchline,
.zm-punchline,
.pm-punchline {
  margin: 0 auto;
  font-size: 1.2em;
  font-style: italic;
}
.mob-br {
  display: none;
}
@media (max-width: 600px) {
  .mob-br {
    display: block;
    height: 0.5em;
    width: 100%;
    content: "";
  }
}
.bundle-button {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(90deg, #c10000, #ff3b3b);
  color: #ffffff; /*7dff7d*/
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 32px;
  box-shadow: 0 4px 12px #000a;
  text-decoration: none;
  transition: transform 0.22s cubic-bezier(.32,1.47,.61,.97);
}
.bundle-button.zoom {
    transform: scale(1.005);
}
.bundle-button:hover {
  background: linear-gradient(90deg, #ff0000, #ff6600);
  transform: scale(1.04);
  box-shadow: 0 6px 18px #ff000080;
}


.quick-shortcuts-bar {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    background: #161616;
    box-shadow: 0 8px 28px #e5393535, 0 4px 16px #000b;
    padding: 0 22px 0 0;
    min-height: 50px;
    border-bottom: 2px solid #1a1a1a;
    z-index: 10;
    position: relative;
}
.shortcut-icon {
    display: flex;
    align-items: center;
    height: 50px;
    transition: background 0.16s;
    padding: 0 2px;
    border-radius: 8px;
}
.shortcut-icon img {
    width: 34px;
    height: 34px;
    filter: drop-shadow(0 0 10px #e5393575);
    transition: filter 0.16s, transform 0.14s;
}
.shortcut-icon:hover img {
    filter: brightness(1.15) drop-shadow(0 0 16px #ff3939bb);
    transform: scale(1.17) rotate(-2deg);
}
.mail-vertical-bar {
    display: inline-block;
    width: 2px;
    height: 37px;
    background: linear-gradient(
        180deg,
        rgba(229,57,53,0.01) 0%,
        rgba(229,57,53,0.15) 15%,
        rgba(229,57,53,0.80) 45%,
        rgba(229,57,53,0.80) 55%,
        rgba(229,57,53,0.15) 85%,
        rgba(229,57,53,0.01) 100%
    );
    border-radius: 12px;
    margin-right: 8px;
    box-shadow: 0 0 10px #e5393550;
}
@media (max-width: 800px) {
    .quick-shortcuts-bar {
        gap: 10px;
        padding-right: 6px;
        min-height: 36px;
    }
    .shortcut-icon img {
        width: 22px;
        height: 22px;
    }
    .mail-vertical-bar {
        height: 24px;
        margin-right: 5px;
    }
}
.quick-shortcuts-bar .shortcut-icon:last-child {
    margin-right: 10px;
}
.main-media {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

h1 {
  margin-top: 0.7rem;
  margin-bottom: 0.7rem;
  font-size: 2.1rem;
}

.media-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem; /* Réduit l'espace */
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  align-items: center;
}
.media-item {
  background: #232323cc;
  padding: 1.2rem 1.2rem 1.5rem 1.2rem; /* Plus d'espace en bas */
  border-radius: 22px; /* Plus doux */
  box-shadow: 0 6px 28px #000b, 0 1.5px 16px #2a475e33;
  width: 100%;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.15s;
  border: 1.5px solid #353941; /* Liseré subtil */
}
.media-item:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 10px 34px #000c, 0 4px 20px #49a9ff44;
}
.media-item img {
  max-width: 100%;
  border-radius: 12px; /* Plus arrondi */
  margin-bottom: 1.1em; /* Espace download */
  box-shadow: 0 3px 18px #0009, 0 0px 0px #49a9ff44;
  border: 2px solid #353941;
  transition: box-shadow 0.18s;
}
.media-item img:hover {
  box-shadow: 0 8px 32px #2a475e77, 0 0 10px #49a9ff55;
}
.media-item a {
  color: #e53935;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.05em;
  letter-spacing: 0.1px;
  transition: color 0.14s, text-shadow 0.18s;
  display: inline-block;
  margin-top: 0.2em;
  text-shadow: 0 1px 8px #23232388;
}
.media-item a:hover {
  color: #ff6757;
  text-shadow: 0 2px 14px #e5393555, 0 1px 8px #232323cc;
}

@media (max-width: 600px) {
  .main-media { padding: 0.8rem 0.4rem; }
  h1 { font-size: 1.4rem; }
  .media-item { padding: 0.6rem 0.4rem 1rem 0.4rem; }
  .media-list { gap: 0.8rem; } /* espace entre les items un poil réduit*/
}

/* Taille normale responsive */
.yt-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 900px;
  margin: 2rem auto 0 auto; /* ← ICI : espace au-dessus (2rem ≈ 32px) */
}


.yt-container .yt-embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Sur écrans larges, on agrandit */
@media (min-width: 1200px) {
  .yt-container {
    max-width: 1100px; /* ← ici tu peux mettre 1000, 1100 ou 1200 selon ton goût */
  }
}


html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* empêche le scroll horizontal */
  background-color: #181a1b; /* garde ton fond */
}

.hero-subtitle {
  margin: 0.3rem 0 1rem;
  font-size: 1rem;
  color: #d6d2c8;
  opacity: 0.9;
  font-weight: 500;
  letter-spacing: 0.25px;
}

/* Cache le logo du footer uniquement sur la page contact */
.main-contact + #footer .footer-logo {
  display: none;
}

.main-contact p {
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
  color: #f0e6d2;
  opacity: 0.85;
}
