.hero {
  height: calc(100vh - var(--nav-height) - 20px);
  background: radial-gradient(circle at 30% 70%, #ca3f16, #95122c, #0f0f0f);

  display: flex;
  justify-content: center;
  align-items: center;

  margin: 0 20px;
  width: calc(100% - 40px);
  border-radius: 20px;

  overflow: hidden;
  position: relative;
}

@media screen and (max-width: 800px) {
  .hero {
    margin: 0 10px;
    width: calc(100% - 20px);
    height: calc(100svh - var(--nav-height) - 70px);
  }

  .hero-content {
    margin: 30px !important;
    gap: 24px;
  }

  .hero-greeting {
    font-size: 1rem;
  }

  .hero-title {
    font-size: 2.8rem;
    line-height: 2.4rem;
  }
}

@media screen and (max-width: 480px) {
  .hero {
    margin: 0 5px;
    width: calc(100% - 10px);
  }

  .hero-content {
    margin: 20px !important;
    gap: 20px;
  }

  .hero-greeting {
    font-size: 0.9rem;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 2rem;
  }

  .hero-description {
    font-size: 1.1rem;
    line-height: 1.5;
  }

  .hero-description-single {
    font-size: 1.1rem;
  }

  .hero .buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 12px;
  }

  .hero .button {
    width: 100%;
    max-width: 280px;
    height: 44px;
  }

  .hero .invite-text {
    font-size: 0.8rem;
  }
}

.hero-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  max-width: 800px;
  margin: 20px;
  margin-top: -20px;
  gap: 32px;

  color: var(--color-text);
  z-index: 10;
  position: relative;
}

.hero-content * {
  z-index: 10;
}

/* Nouveau style pour le titre */
.hero-title-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-greeting {
  font-size: 1.2rem;
  font-weight: 300;
  opacity: 0.8;
  letter-spacing: 1px;
  animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-title {
  font-size: 4rem;
  line-height: 3.5rem;
  font-weight: 700;
  max-width: 800px;
  display: flex;
  align-items: center;
  gap: 5px;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-title-main {
  background: linear-gradient(135deg, #ffffff, #ff6b35, #ffffff);
  background-size: 300% 300%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease-in-out infinite;
}

.hero-title-cursor {
  color: #ff6b35;
  animation: blink 1s infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

.hero-description-single {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--color-text);
  margin-top: 8px;
}

.hero .buttons {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 8px;
  animation: fadeInUp 1s ease-out 1.8s both;
}

.hero .button {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 20px;
  background: rgba(24, 24, 24, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: var(--color-text);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.button-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 107, 53, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero .button:hover .button-glow {
  opacity: 1;
}

.hero .button-icon {
  height: 20px;
  transition: transform 0.3s ease;
}

.hero .button-text {
  color: inherit;
  font-size: 1rem;
  font-weight: 500;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: all 0.3s ease;
}

.hero .button.filled {
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.2),
    rgba(149, 18, 44, 0.2)
  );
  border-color: rgba(255, 107, 53, 0.4);
  color: #ffffff;
}

.hero .button.filled:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.3),
    rgba(149, 18, 44, 0.3)
  );
  border-color: rgba(255, 107, 53, 0.6);
  transform: translateY(-2px);
  box-shadow: 0px 8px 25px rgba(255, 107, 53, 0.3);
}

.hero .button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.3);
}

.hero .button:hover .button-icon {
  transform: scale(1.1);
}

.hero .button:active {
  transform: translateY(0px);
  transition: all 0.1s ease;
}

.hero .invite {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  animation: fadeInUp 1s ease-out 2.2s both;
}

.hero .invite > * {
  opacity: 0.7;
}

.invite-animation {
  display: flex;
  flex-direction: column;
  gap: -5px;
  align-items: center;
}

.hero .invite-icon {
  height: 20px;
  animation: bounce 2s infinite ease-in-out;
}

.hero .invite-icon:nth-child(2) {
  animation-delay: 0.3s;
  opacity: 0.5;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

.hero .invite-text {
  font-size: 0.9rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.hero .availability {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  color: var(--color-text);
  border-radius: 300px;
  transition: all 0.3s, color 0.1s, background-color 0.2s, border-color 0.1s;
  transition-timing-function: cubic-bezier(0.44, -0.2, 0, 1.57);
}

.availability-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  user-select: none;
}

.availability-symbol {
  margin-left: 2px;

  width: 10px;
  aspect-ratio: 1 / 1;
  border-radius: 300px;
  background-color: var(--color-text);

  outline: 5px solid #ffffff22;

  animation: available 2s infinite cubic-bezier(0.075, 0.82, 0.165, 1);
}

@keyframes available {
  0% {
    outline-width: 0px;
  }
  20% {
    outline-color: #ffffff42;
  }
  100% {
    outline-width: 10px;
    outline-color: #ffffff00;
  }
}
