/* Global styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background-color: white; /* fond noir */
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Container */
.container {
  perspective: 1500px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* Glassmorphic glossy card */
.card {
  background: rgba(0, 0, 0, 0.9); /* noir profond */
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.25); /* contour brillant */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 32px;
  max-width: 720px;
  width: 100%;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.7),
    0 -5px 15px rgba(255, 255, 255, 0.05),
    0 0 60px rgba(255, 255, 255, 0.08); /* reflet vernis */
  transform-style: preserve-3d;
  animation: float 6s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 1s ease;
  opacity: 0; /* pour fade-in */
  position: relative;
  overflow: hidden;
}

/* Reflet vernis */
.card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0) 70%);
  pointer-events: none;
  mix-blend-mode: overlay;
  border-radius: inherit;
}

/* Float vertical animation seulement */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Fade-in visible */
.card.visible {
  opacity: 1;
}

/* Card header */
.card-header h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
  color: #fff;
}

.card-header .updated {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin-bottom: 24px;
}

/* Card body */
.card-body p, .card-body ul, .card-body h2 {
  margin-bottom: 16px;
  line-height: 1.6;
}

.card-body h2 {
  font-size: 18px;
  margin-top: 16px;
  margin-bottom: 8px;
}

.card-body ul {
  padding-left: 20px;
}

.card-body ul li {
  list-style-type: disc;
  margin-bottom: 8px;
}

/* Email link metallic */
.email-link {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  background: linear-gradient(135deg, #fff, #c0c0c0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.email-link:hover {
  text-shadow: 0 0 12px #0ff, 0 0 8px #0ff;
  transform: scale(1.05);
  transition: 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .card {
    padding: 24px;
  }

  .card-header h1 {
    font-size: 24px;
  }

  .card-body h2 {
    font-size: 16px;
  }
}
