@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

body {
  font-family: 'Anton', sans-serif;
  background: linear-gradient(135deg, #121212, #2a2a2a);
  color: #e0d7c6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  min-height: 100vh;
}

.offres-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 50px 20px;
}

.offre {
  background: #1f1f1f;
  border: 3px solid #7f1f1f;
  border-radius: 15px;
  width: 220px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: 3px 3px 10px rgba(127, 31, 31, 0.6);
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.offre:hover {
  background-color: #311616;
  border-color: #ff3b3b;
  box-shadow: 4px 4px 15px rgba(255, 59, 59, 0.8);
}

.offre h2 {
  color: #9b0909;
  font-size: 24px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-shadow: 2px 2px 4px #000000aa;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.prix {
  font-size: 22px;
  color: #e0b484;
  font-weight: 700;
  text-shadow: 1px 1px 3px #000000bb;
  margin-bottom: 25px;
}

/* Icône animée réduite, moins glow */
.icon-animated {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 2px #ff3b3baa);
  animation: subtleFloat 4s ease-in-out infinite;
}

@keyframes subtleFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    filter: drop-shadow(0 0 2px #ff3b3baa);
  }
  50% {
    transform: translateY(-4px) rotate(3deg);
    filter: drop-shadow(0 0 6px #ff3b3bcc);
  }
}

.commande-menu {
  position: fixed;
  top: 50%;
  right: -400px;
  transform: translateY(-50%);
  width: 340px;
  background: #1b1b1b;
  border-left: 4px solid #9b0909;
  border-radius: 15px 0 0 15px;
  padding: 25px;
  color: #e0d7c6;
  box-shadow: -6px 0 40px rgba(255, 59, 59, 0.5);
  transition: right 0.4s ease;
  z-index: 999;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
}
.commande-menu.active {
  right: 0;
}

.commande-menu h2 {
  color: #880f0f;
  font-size: 24px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.commande-menu ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.commande-menu li {
  padding: 6px 0;
  border-left: 3px solid #ff4f4f;
  padding-left: 10px;
}

.commande-menu button {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  background: linear-gradient(to right, #ff4f4f, #ff0000);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 0 12px #ff4f4faa;
  transition: 0.3s;
}

.commande-menu button:hover {
  background: linear-gradient(to right, #ff0000, #cc0000);
  box-shadow: 0 0 20px #ff0000dd;
}

.logo-footer {
  text-align: center;
  padding: 3rem 0 4rem;
  position: relative;
  z-index: 1;
}

.logo-fivem {
  height: 380px;
  filter: drop-shadow(0 6px 10px rgba(127, 31, 31, 0.6));
}

@keyframes float-vertical {
  0%, 100% { transform: translateY(0);}
  50% { transform: translateY(-15px);}
}

.animated-logo {
  animation: float-vertical 5s ease-in-out infinite;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1a1a1a;
  padding: 15px 40px;
  border-bottom: 3px solid #7f1f1f;
  box-shadow: 0 2px 10px rgba(127, 31, 31, 0.5);
  z-index: 999;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  color: #ff3b3b;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo img {
  filter: drop-shadow(0 0 6px #ff3b3b88);
}

nav {
  display: flex;
  gap: 25px;
  align-items: center;
}

nav a {
  color: #e0d7c6;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 10px;
  transition: 0.3s ease;
  font-size: 16px;
  letter-spacing: 1px;
  position: relative;
}

nav a:hover {
  background: #311616;
  color: #ff3b3b;
  box-shadow: 0 0 10px rgba(255, 59, 59, 0.5);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 1px;
  left: 0;
  background: #2a2a2a;
  border: 2px solid #7f1f1f;
  border-radius: 10px;
  padding: 10px 0;
  z-index: 1000;
  min-width: 200px;
  box-shadow: 0 8px 20px rgba(127, 31, 31, 0.4);
  transform: translateY(8px);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: #e0d7c6;
  text-decoration: none;
  transition: 0.3s;
}

.dropdown-menu a:hover {
  background-color: #3a1e1e;
  color: #ff3b3b;
}

.dropdown > a::after {
  content: "▼";
  font-size: 0.6rem;
  margin-left: 6px;
  opacity: 0.7;
  vertical-align: middle;
}

.nav-link {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  display: block;
}

.nav-link:hover {
  background-color: #0077cc;
}

.dropdown-menu.user-menu {
  top: 50% !important;
  left: auto !important;
  right: 0;
  transform: none !important;
}


#loginBtn {
  background: linear-gradient(to right, #ff3b3b, #9b0909);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 0 10px #ff3b3b88;
  transition: 0.3s ease-in-out;
}

#loginBtn:hover {
  background: linear-gradient(to right, #9b0909, #ff0000);
  box-shadow: 0 0 20px #ff0000aa;
}
