.login-float-btn {
  position: fixed;
  right: 25px;
  top: 100px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-marron), var(--color-rose));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3), inset 0 2px 5px rgba(255, 255, 255, 0.2);
  cursor: pointer;
  z-index: 999;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  overflow: hidden;
  text-decoration: none;
  transform-style: preserve-3d;
  perspective: 500px;
  animation: float-attention 5s ease-in-out infinite;
}

.login-float-btn:hover {
  transform: translateY(-8px) rotate3d(1, 1, 0, 15deg);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4), 0 8px 15px rgba(167, 73, 73, 0.3);
  animation: none;
}

.login-float-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, 
    rgba(255, 255, 255, 0) 20%, 
    rgba(255, 255, 255, 0.4) 50%, 
    rgba(255, 255, 255, 0) 80%);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform 0.5s ease;
  pointer-events: none;
}

.login-float-btn:hover::before {
  transform: translateX(100%) skewX(-15deg);
}

.login-float-btn i {
  color: white;
  font-size: 1.8rem;
  transition: all 0.4s ease;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 2;
  position: relative;
}

.login-float-btn:hover i {
  transform: scale(1.2) rotate(10deg);
  color: rgba(255, 255, 255, 1);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

.login-float-btn .glowing-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  border: 2px solid transparent;
  box-shadow: 0 0 15px var(--color-marron), inset 0 0 15px var(--color-rose-light);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.login-float-btn:hover .glowing-ring {
  opacity: 0.7;
  animation: glow 2s ease-in-out infinite alternate;
}

.login-float-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 10px;
  height: 10px;
  background-color: #4caf50;
  border-radius: 50%;
  border: 2px solid white;
  animation: pulse 2s infinite;
  box-shadow: 0 0 10px rgba(76, 175, 80, 0.7);
  z-index: 3;
}

.login-float-btn::after {
  content: 'Connexion';
  position: absolute;
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%) translateY(10px) scale(0.8);
  background: linear-gradient(180deg, var(--color-marron-dark), var(--color-rose-light));
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-float-btn:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
  bottom: -50px;
}

.login-float-btn .tooltip-arrow {
  position: absolute;
  bottom: -45px;
  left: 50%;
  margin-left: -5px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--color-marron-dark);
  opacity: 0;
  transition: all 0.4s ease;
  transform: translateY(10px) rotate(180deg);
}

.login-float-btn:hover .tooltip-arrow {
  opacity: 1;
  transform: translateY(0) rotate(180deg);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
  70% {
    box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    opacity: 0.9;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    opacity: 1;
  }
}

@keyframes float-attention {
  0%, 10%, 100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  20% {
    transform: translateY(-5px) rotate(1deg) scale(1);
  }
  30% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  60% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  63% {
    transform: translateY(0) rotate(2deg) scale(1.25);
  }
  66% {
    transform: translateY(0) rotate(-2deg) scale(0.9);
  }
  69% {
    transform: translateY(0) rotate(1deg) scale(1.15);
  }
  72% {
    transform: translateY(0) rotate(-1deg) scale(0.95);
  }
  75% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  85% {
    transform: translateY(-7px) rotate(-1deg) scale(1);
  }
}

@keyframes glow {
  from {
    box-shadow: 0 0 10px var(--color-marron), inset 0 0 10px var(--color-rose-light);
  }
  to {
    box-shadow: 0 0 20px var(--color-marron), inset 0 0 15px var(--color-rose-light);
  }
}

.auth-card::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--color-rose), var(--color-rose-light));
}

.download-card::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--color-vert-light), var(--color-marron));
}

.download-card::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--color-vert-light), var(--color-marron));
}

::-webkit-scrollbar-thumb {
  transition: background 0.3s ease;
}

.features-section {
  scrollbar-width: none;
}

.features-section::-webkit-scrollbar {
  width: 0;
  background: transparent;
}

table {
  scrollbar-color: var(--color-marron) rgba(10, 6, 4, 0.2);
}

table::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: var(--color-marron);
}

table::-webkit-scrollbar {
  height: 6px;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(10, 6, 4, 0.3);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--color-marron), var(--color-rose-light));
  border-radius: 10px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--color-marron-dark), var(--color-rose));
}

::-webkit-scrollbar-corner {
  background: transparent;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--color-marron) rgba(10, 6, 4, 0.3);
}

.mobile-menu::-webkit-scrollbar {
  width: 5px;
}

.mobile-menu::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--color-marron), var(--color-rose-light));
  border-radius: 5px;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.mobile-menu::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, var(--color-rose), var(--color-marron-dark));
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

.mobile-menu::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  margin: 5px;
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
}

.mobile-menu:hover::-webkit-scrollbar-thumb {
  opacity: 1;
}

.mobile-menu::-webkit-scrollbar-thumb {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.mobile-menu::-webkit-scrollbar-thumb {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu {
  scrollbar-width: thin;
  scrollbar-color: var(--color-marron) rgba(0, 0, 0, 0.2);
}

:root {
  --color-beige: #e6c0a0;
  --color-beige-light: #f4dac1;
  --color-vert: #7b652e;
  --color-vert-light: #a8924e;
  --color-marron: #c87743;
  --color-marron-dark: #9c5a2c;
  --color-rose: #a94c60;
  --color-rose-light: #d16e81;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-dark: #111111;
  --color-gray: #333333;
  --color-light-gray: #dddddd;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.18);
  --card-bg: rgba(255, 255, 255, 0.08);
  --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
  --border-radius: 16px;
  --btn-radius: 30px;
  --size: 25vh;
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --scrollbar-thin: 5px;
  --scrollbar-normal: 8px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--color-dark);
  color: var(--color-white);
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a0f07 0%, #2d1c14 50%, #1f0d0d 100%);
  opacity: 0.94;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjUiPgo8cmVjdCB3aWR0aD0iNSIgaGVpZ2h0PSI1IiBmaWxsPSIjMDAwIj48L3JlY3Q+CjxwYXRoIGQ9Ik0wIDVMNSAwTDUgMUwxIDVMMCAwIiBmaWxsPSIjMTExIj48L3BhdGg+Cjwvc3ZnPg==');
  opacity: 0.02;
  z-index: -1;
}

section {
  position: relative;
  padding: 80px 0;
}

.container {
  position: relative;
  z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.display-title {
  font-size: 4rem;
  background: linear-gradient(to right, var(--color-beige-light), var(--color-marron));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
  position: relative;
  text-shadow: 0 0 40px rgba(232, 189, 151, 0.2);
}

.subtitle {
  color: var(--color-rose-light);
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-bottom: 2rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.section-title {
  font-size: 2.5rem;
  color: var(--color-beige-light);
  margin-bottom: 2rem;
  position: relative;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  height: 4px;
  width: 80px;
  background: linear-gradient(90deg, var(--color-marron), var(--color-rose));
  border-radius: 2px;
}

.center-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.navbar-container {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1000;
  padding: 0 20px;
}

.floating-navbar {
  width: 50%;
  max-width: 800px;
  background: rgba(15, 10, 8, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 119, 67, 0.3);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 15px;
  transition: var(--transition);
  height: 45px;
  position: relative;
}

.floating-navbar:hover {
  box-shadow: 0 15px 40px 0 rgba(0, 0, 0, 0.65);
}

.navbar-left, .navbar-right {
  display: flex;
  gap: 25px;
  align-items: center;
}

.hamburger-menu-btn {
  display: none;
  cursor: pointer;
  width: 28px;
  height: 24px;
  position: relative;
  z-index: 1002;
  background: none;
  border: none;
  padding: 0;
  margin-right: 5px;
  transition: all 0.3s ease;
}

.hamburger-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-beige-light);
  border-radius: 4px;
  position: absolute;
  left: 0;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hamburger-menu-btn span:nth-child(1) {
  top: 0;
}

.hamburger-menu-btn span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-menu-btn span:nth-child(3) {
  bottom: 0;
}

.hamburger-menu-btn.active span:nth-child(1) {
  top: 50%;
  width: 100%;
  transform: translateY(-50%) rotate(45deg);
  background-color: var(--color-rose-light);
}

.hamburger-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.hamburger-menu-btn.active span:nth-child(3) {
  bottom: 50%;
  width: 100%;
  transform: translateY(50%) rotate(-45deg);
  background-color: var(--color-rose-light);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 250px;
  height: 100vh;
  background: rgba(10, 6, 4, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1001;
  padding: 70px 15px 30px;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
  border-left: 1px solid rgba(200, 119, 67, 0.2);
  scrollbar-gutter: stable;
}

.mobile-menu.open {
  transform: translateX(0);
}

.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  transition: opacity 0.3s ease-in-out;
  opacity: 0;
}

.menu-overlay.active {
  display: block;
  opacity: 1;
}

body.menu-open {
  overflow-y: auto;
}

.mobile-menu-item {
  color: var(--color-beige-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  margin: 6px 0;
  position: relative;
  display: flex;
  align-items: center;
  text-align: left;
  transition: var(--transition);
  padding: 8px 15px;
  border-radius: 8px;
  width: 100%;
}

.mobile-menu-item i {
  margin-right: 12px;
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
  color: var(--color-marron);
  transition: var(--transition);
}

.mobile-menu-item:hover {
  color: var(--color-white);
  transform: translateX(5px);
  background: rgba(200, 119, 67, 0.15);
}

.mobile-menu-item:hover i {
  color: var(--color-rose-light);
}

.mobile-boutique-btn {
  background: linear-gradient(45deg, var(--color-marron), var(--color-rose));
  color: var(--color-white);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: var(--btn-radius);
  padding: 10px 20px;
  font-weight: 600;
  margin-top: 15px;
  margin-bottom: 10px;
  display: flex;
  width: 85%;
  text-align: center;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
  align-self: center;
  justify-content: center;
  align-items: center;
}

.mobile-boutique-btn i {
  margin-right: 8px;
  font-size: 1rem;
}

.mobile-boutique-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.mobile-menu-logo {
  width: 50px;
  margin-bottom: 12px;
  align-self: center;
}

.mobile-menu-divider {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-marron), var(--color-rose));
  margin: 5px auto 15px;
  border-radius: 2px;
  align-self: center;
}

.navbar-left a:nth-child(3) {
  margin-right: 15px;
}

.navbar-right a:nth-child(1) {
  margin-left: 15px;
}

.navbar-logo-container {
  position: relative;
  z-index: 2;
  margin-top: -28px;
  margin-bottom: -28px;
}

.navbar-logo {
  height: 70px;
  transition: transform 0.4s ease;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.5));
}

.navbar-logo:hover {
  transform: scale(1.15);
}

.navbar-item {
  color: var(--color-beige-light);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 5px;
  font-size: 1rem;
}

.navbar-item::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-marron), var(--color-rose));
  transition: width 0.3s ease;
}

.navbar-item:hover {
  color: var(--color-white);
  transform: translateY(-2px);
}

.navbar-item:hover::after {
  width: 100%;
}

.boutique-btn {
  background: linear-gradient(45deg, var(--color-marron), var(--color-rose));
  color: var(--color-white);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: var(--btn-radius);
  padding: 6px 15px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
  text-decoration: none;
  font-size: 1rem;
}

.boutique-btn::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(45deg, gold, #ffec8b, gold);
  z-index: -1;
  opacity: 0;
  border-radius: var(--btn-radius);
  transition: var(--transition);
}

.boutique-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  color: var(--color-white);
}

.boutique-btn:hover::before {
  opacity: 0.4;
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: -1;
}

.hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.hero-title {
  font-size: 5rem;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 1.8rem;
  margin-bottom: 40px;
  animation: fadeInUp 1s ease 0.2s forwards;
  opacity: 0;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(45deg, var(--color-marron), var(--color-rose));
  color: var(--color-white);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 15px 40px;
  border-radius: var(--btn-radius);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1s ease 0.4s forwards;
  opacity: 0;
  margin: 10px;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.6s;
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.cta-button:hover::before {
  left: 100%;
}

.secondary-cta {
  background: transparent;
  border: 2px solid var(--color-marron);
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  color: var(--color-beige-light);
  font-size: 2rem;
  cursor: pointer;
  animation: bounce 2s infinite;
}

.features-section {
  position: relative;
  padding: 190px 0 70px;
  margin-top: 0;
  margin-bottom: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(36, 21, 17, 0.95) 0%, rgba(36, 21, 17, 1) 20%);
  max-height: 100%;
  overflow: visible;
  width: 100%;
  max-width: 100%;
}

.features-section .container {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.feature-card {
  background: rgba(30, 20, 15, 0.6);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0) 0%, rgba(200, 119, 67, 0.05) 100%);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-img-container {
  position: relative;
  overflow: hidden;
  padding-top: 60%;
}

.feature-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.feature-card:hover .feature-img {
  transform: scale(1.1);
}

.feature-content {
  padding: 30px;
  position: relative;
  z-index: 2;
}

.feature-title {
  font-size: 1.8rem;
  color: var(--color-beige-light);
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
}

.feature-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 60px;
  background: linear-gradient(to right, var(--color-marron), transparent);
  border-radius: 3px;
}

.feature-text {
  color: var(--color-light-gray);
  margin-bottom: 25px;
  font-size: 1.05rem;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-beige);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.feature-link i {
  transition: transform 0.3s ease;
}

.feature-link:hover {
  color: var(--color-rose-light);
}

.feature-link:hover i {
  transform: translateX(5px);
}

.discord-section {
  position: relative;
  padding: 100px 0 100px 0;
  text-align: center;
  overflow: visible;
  margin-bottom: 0;
  margin-top: -100px;
  background: linear-gradient(135deg, #5865F2 0%, #404EED 100%);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
  z-index: 999;
  isolation: isolate;
  contain: layout;
}

.discord-logo-container, .discord-big-icon, .discord-section::before {
  z-index: 1000 !important;
  position: relative !important;
}

.discord-section::after {
  display: none !important;
  content: none !important;
  height: 0 !important;
  background: transparent !important;
}

.discord-bg {
  display: none;
}

.discord-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.discord-title {
  font-size: 3.2rem;
  color: white;
  margin-bottom: 25px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  font-weight: 700;
}

.discord-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.3rem;
  margin-bottom: 40px;
  line-height: 1.7;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: white;
  color: #5865F2;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 16px 38px;
  border-radius: var(--btn-radius);
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.discord-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(88, 101, 242, 0.1), transparent);
  transition: 0.6s;
}

.discord-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  background-color: #f2f2f2;
}

.discord-btn:hover::before {
  left: 100%;
}

.discord-icon {
  font-size: 1.6rem;
}

.download-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
}

.download-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: -1;
  animation: slowPulse 15s ease-in-out infinite;
}

@keyframes slowPulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.25;
    transform: scale(1.05);
  }
}

.download-hero {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.download-title {
  font-size: 3.5rem;
  color: var(--color-beige-light);
  margin-bottom: 15px;
  position: relative;
  background: linear-gradient(to right, var(--color-beige), var(--color-rose-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  text-shadow: 2px 2px 15px rgba(200, 119, 67, 0.3);
}

.download-subtitle {
  font-size: 1.4rem;
  color: var(--color-rose-light);
  opacity: 0.9;
  position: relative;
  margin: 0 auto;
  font-weight: 400;
  letter-spacing: 1px;
}

.download-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
}

.download-main-card {
  background: rgba(25, 15, 10, 0.7);
  backdrop-filter: blur(15px);
  border-radius: var(--border-radius);
  border: 1px solid rgba(200, 119, 67, 0.15);
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.download-main-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--color-marron), var(--color-rose));
}

.download-icon-container {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--color-marron), var(--color-rose));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transform: rotate(-5deg);
}

.download-main-icon {
  font-size: 2rem;
  color: white;
}

.download-card-title {
  font-size: 2.2rem;
  color: var(--color-beige-light);
  margin-bottom: 20px;
  position: relative;
}

.download-text {
  color: var(--color-light-gray);
  font-size: 1.05rem;
  margin-bottom: 30px;
  line-height: 1.7;
}

.version-badge {
  display: inline-block;
  background: rgba(200, 119, 67, 0.15);
  color: var(--color-beige);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 25px;
  border: 1px solid rgba(200, 119, 67, 0.3);
}

.download-buttons-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  border-radius: var(--btn-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  flex: 1;
  justify-content: center;
  min-width: 150px;
}

.download-btn.primary {
  background: linear-gradient(45deg, var(--color-marron), var(--color-rose));
  color: white;
  border: none;
}

.download-btn.secondary {
  background: rgba(30, 20, 15, 0.6);
  color: var(--color-beige-light);
  border: 1px solid rgba(200, 119, 67, 0.3);
}

.download-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

.download-btn.primary:hover {
  background: linear-gradient(45deg, var(--color-marron-dark), var(--color-rose));
}

.download-btn.secondary:hover {
  background: rgba(40, 25, 20, 0.7);
  color: white;
}

.download-features {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

.download-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.2);
  padding: 10px 15px;
  border-radius: 30px;
  color: var(--color-beige-light);
  font-size: 0.9rem;
  flex: 1;
  min-width: 200px;
}

.download-feature i {
  color: var(--color-rose-light);
  font-size: 1rem;
}

.specs-card {
  background: rgba(25, 15, 10, 0.7);
  backdrop-filter: blur(15px);
  border-radius: var(--border-radius);
  border: 1px solid rgba(200, 119, 67, 0.15);
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.specs-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.specs-icon-container {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-vert), var(--color-vert-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transform: rotate(5deg);
}

.specs-icon-container i {
  font-size: 1.5rem;
  color: white;
}

.specs-title {
  font-size: 1.8rem;
  color: var(--color-beige-light);
  margin-bottom: 0;
  position: relative;
}

.specs-tabs {
  display: flex;
  gap: 1px;
  margin-bottom: 30px;
  background: rgba(0, 0, 0, 0.2);
  padding: 5px;
  border-radius: 30px;
  width: fit-content;
}

.specs-tab {
  background: transparent;
  border: none;
  color: var(--color-light-gray);
  padding: 8px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.specs-tab.active {
  background: rgba(200, 119, 67, 0.2);
  color: var(--color-beige-light);
}

.specs-tab-content {
  display: none;
}

.specs-tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.specs-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.specs-item:hover {
  background: rgba(200, 119, 67, 0.1);
  transform: translateY(-3px);
}

.specs-icon {
  color: var(--color-beige);
  font-size: 1.6rem;
  margin-top: 5px;
}

.specs-detail {
  display: flex;
  flex-direction: column;
}

.specs-label {
  color: var(--color-beige-light);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.specs-value {
  color: var(--color-light-gray);
  font-size: 0.95rem;
}

.installation-guides {
  margin-bottom: 60px;
}

.guides-title {
  font-size: 2rem;
  color: var(--color-beige-light);
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.guides-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-marron), var(--color-rose));
  border-radius: 2px;
}

.guides-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.guide-card {
  background: rgba(25, 15, 10, 0.7);
  backdrop-filter: blur(15px);
  border-radius: var(--border-radius);
  border: 1px solid rgba(200, 119, 67, 0.15);
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.guide-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.guide-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-marron), var(--color-rose));
}

.guide-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.guide-icon i {
  font-size: 1.5rem;
  color: var(--color-beige);
}

.guide-title {
  font-size: 1.4rem;
  color: var(--color-beige-light);
  margin-bottom: 10px;
}

.guide-desc {
  color: var(--color-light-gray);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.guide-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-rose-light);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.guide-link i {
  transition: transform 0.3s ease;
}

.guide-link:hover {
  color: var(--color-beige-light);
}

.guide-link:hover i {
  transform: translateX(5px);
}

.download-footer {
  text-align: center;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.download-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.download-note i {
  color: var(--color-rose-light);
  font-size: 1.2rem;
}

.download-note p {
  color: var(--color-light-gray);
  font-size: 0.95rem;
  margin: 0;
}

.need-help p {
  color: var(--color-light-gray);
  font-size: 0.95rem;
}

.download-link, .help-link {
  color: var(--color-beige);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px dotted var(--color-beige);
}

.download-link:hover, .help-link:hover {
  color: var(--color-rose-light);
  border-bottom-color: var(--color-rose-light);
}

@media (max-width: 992px) {
  .download-content {
    grid-template-columns: 1fr;
  }
  
  .download-title {
    font-size: 3rem;
  }
  
  .download-buttons-container {
    flex-direction: column;
  }
  
  .guides-container {
    grid-template-columns: 1fr;
  }
  
  .specs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .download-title {
    font-size: 2.5rem;
  }
  
  .download-subtitle {
    font-size: 1.2rem;
  }
  
  .download-main-card, .specs-card, .guide-card {
    padding: 25px 20px;
  }
  
  .specs-header {
    flex-direction: column;
    text-align: center;
  }
  
  .specs-icon-container {
    margin: 0 auto 15px;
  }
  
  .specs-tabs {
    margin: 0 auto 20px;
  }
}

@media (max-width: 576px) {
  .download-title {
    font-size: 2rem;
  }
  
  .guides-title {
    font-size: 1.6rem;
  }
  
  .specs-tab {
    padding: 6px 10px;
    font-size: 0.9rem;
  }
  
  .download-feature {
    width: 100%;
  }
}

.auth-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0;
}

.login-error {
  background-color: rgba(231, 76, 60, 0.2);
  border-left: 4px solid #e74c3c;
  color: #ffffff;
  padding: 12px;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

.login-success {
  background-color: rgba(46, 204, 113, 0.2);
  border-left: 4px solid #2ecc71;
  color: #ffffff;
  padding: 12px;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

.message-box {
  padding: 12px;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  animation: fadeIn 0.3s ease-in-out;
}

.success-message {
  background-color: rgba(46, 204, 113, 0.2);
  border-left: 4px solid #2ecc71;
  color: #ffffff;
}

.error-message {
  background-color: rgba(231, 76, 60, 0.2);
  border-left: 4px solid #e74c3c;
  color: #ffffff;
}

.flash-success {
  animation: flashSuccess 1s ease;
}

@keyframes flashSuccess {
  0%, 100% { background-color: rgba(0, 0, 0, 0.2); }
  50% { background-color: rgba(46, 204, 113, 0.3); }
}

.auth-card {
  background: rgba(30, 20, 15, 0.7);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 50px 40px;
  box-shadow: var(--card-shadow);
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.auth-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--color-marron-dark), transparent, var(--color-rose));
  z-index: -1;
  border-radius: calc(var(--border-radius) + 2px);
  opacity: 0.2;
}

.auth-title {
  font-size: 2.5rem;
  color: var(--color-beige-light);
  margin-bottom: 30px;
  text-align: center;
}

.input-group {
  position: relative;
  margin-bottom: 25px;
}

.input-label {
  position: absolute;
  left: 15px;
  top: 17px;
  color: var(--color-light-gray);
  transition: var(--transition);
  background: transparent;
  padding: 0 5px;
  pointer-events: none;
}

.input-field {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 15px 20px;
  font-size: 1rem;
  color: var(--color-white);
  transition: var(--transition);
}

.input-field:focus {
  outline: none;
  border-color: var(--color-marron);
  box-shadow: 0 0 0 3px rgba(200, 119, 67, 0.15);
}

.input-field:focus + .input-label,
.input-field:not(:placeholder-shown) + .input-label {
  top: -12px;
  left: 12px;
  font-size: 0.85rem;
  color: var(--color-beige);
  background: rgba(30, 20, 15, 0.9);
}

.auth-btn {
  width: 100%;
  background: linear-gradient(45deg, var(--color-marron), var(--color-rose));
  color: var(--color-white);
  border: none;
  padding: 15px;
  border-radius: var(--btn-radius);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 15px;
  transition: var(--transition);
}

.auth-btn:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
}

.auth-footer {
  text-align: center;
  margin-top: 25px;
  color: var(--color-light-gray);
}

.auth-link {
  color: var(--color-beige);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.auth-link:hover {
  color: var(--color-rose-light);
}

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.check-label {
  color: var(--color-light-gray);
  font-size: 0.95rem;
}

.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-light-gray);
  cursor: pointer;
  transition: color 0.3s ease;
}

.password-toggle:hover {
  color: var(--color-beige);
}

.invalid-feedback {
  color: #FF6B6B;
  font-size: 0.85rem;
  margin-top: 5px;
}

.form-text {
  color: var(--color-light-gray);
  font-size: 0.85rem;
  margin-top: 5px;
  opacity: 0.7;
}

footer {
  background: rgb(0, 0, 0);
  backdrop-filter: blur(10px);
  padding: 60px 0 30px;
  position: relative;
  margin-top: 0;
  z-index: 4;
  border-top: 5px solid rgb(0, 0, 0);
}

footer::before {
  display: none;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  height: 80px;
  margin-bottom: 20px;
}

.footer-about {
  color: var(--color-light-gray);
  margin-bottom: 20px;
  max-width: 300px;
}

.footer-title {
  color: var(--color-beige-light);
  font-size: 1.4rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  height: 2px;
  width: 40px;
  background: linear-gradient(to right, var(--color-marron), transparent);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-link {
  color: var(--color-light-gray);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-link:hover {
  color: var(--color-beige);
  transform: translateX(5px);
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: var(--color-beige-light);
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-icon:hover {
  background: linear-gradient(45deg, var(--color-marron), var(--color-rose));
  color: white;
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright {
  color: var(--color-light-gray);
  font-size: 0.9rem;
  opacity: 0.7;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1200px) {
  .display-title {
    font-size: 3.5rem;
  }
  
  .floating-navbar {
    width: 90%;
  }
}

@media (max-width: 992px) {
  .display-title {
    font-size: 3rem;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .navbar-left, .navbar-right {
    gap: 15px;
  }
  
  .navbar-item {
    font-size: 0.9rem;
  }
  
  .floating-navbar {
    padding: 12px 20px;
  }
  
  .navbar-logo {
    height: 50px;
  }
}

@media (max-width: 768px) {
  .display-title {
    font-size: 2.5rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.4rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .floating-navbar {
    width: 90%;
    height: auto;
    padding: 8px 15px;
    flex-wrap: nowrap;
  }
  
  .navbar-logo-container {
    order: 0;
    margin: 5px 0;
    margin-top: -15px;
    margin-bottom: -15px;
  }
  
  .navbar-logo {
    height: 50px;
  }
  
  .navbar-left, .navbar-right {
    display: none;
  }
  
  .hamburger-menu-btn {
    display: block;
  }

  .mobile-menu {
    display: flex;
  }
  
  .discord-title {
    font-size: 2.5rem;
  }
  
  .download-card, .auth-card {
    padding: 30px 20px;
  }
  
  .download-title {
    font-size: 2.5rem;
  }
  
  .specs-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .display-title {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .navbar-item {
    font-size: 0.8rem;
    padding: 3px;
  }
  
  .boutique-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  
  .navbar-left, .navbar-right {
    gap: 8px;
  }
  
  .cta-button {
    width: 100%;
    margin: 10px 0;
  }
  
  .auth-title {
    font-size: 2rem;
  }
}
