/* Nouveau style.css avec effet liquide dans le titre */

:root {
  --color-bg-dark: #493628;
  --color-card: #F5EBE0;
  --color-card-border: #D6CCC2;
  --color-title: #F5EBE0;
  --color-desc: #b8a89b;
  --color-main: #D5BDAF;
}

body {
  margin: 0;
  padding: 0;
  background: var(--color-bg-dark);
  font-family: 'Quicksand', Arial, sans-serif;
  color: var(--color-title);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-icons {
  position: fixed;
  top: 48px;
  right: 36px;
  display: flex;
  gap: 1.2rem;
  z-index: 100;
}

.central-column {
  width: 100%;
  padding: 3.5rem 1.2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.header-title {
  font-size: 2.2rem;
  color: var(--color-title);
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  text-align: center;
}

.liquid-text {
  position: relative;
  font-size: 2.5rem;
  color: transparent;
  -webkit-text-stroke: 1px #f5ebe0;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1px;
  overflow: hidden;
  text-align: center;
}

.liquid-text::before {
  content: attr(data-text);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  color: #d5bda7;
  animation: fillUp 5s infinite ease-in-out;
  overflow: hidden;
  white-space: nowrap;
  -webkit-text-stroke: 0;
}

@keyframes fillUp {
  0% {
    top: 100%;
  }
  50% {
    top: 0%;
  }
  100% {
    top: 100%;
  }
}

.header-subtitle {
  text-align: center;
  color: var(--color-desc);
  margin-bottom: 2rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 0.5rem;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
}

.card {
  background: transparent;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  border-radius: 16px;
  width: 100%;
  max-width: 280px;
  min-height: 400px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  margin: 0 auto;
}

.card:hover {
  /* transform: translateY(-5px) scale(1.02); */
  /* box-shadow: 0 8px 20px rgba(0,0,0,0.2); */
}

.card-blur {
  filter: blur(4px);
  opacity: 0.7;
  pointer-events: none;
}

.card-image-large {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
  background: var(--color-main);
  box-shadow: 0 2px 10px rgba(80,60,40,0.07);
  border: none;
}

.card-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.card-desc {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.4;
  text-align: center;
}

.card-btn {
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  color: #FFDEA2;
  border: 2px solid #FFDEA2;
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  margin-top: 1rem;
}

.card-btn:hover {
  background: #FFDEA2;
  color: #493628;
}

@media (max-width: 800px) {
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 100%;
  }
  .card {
    width: 90%;
    max-width: 100%;
  }
}

.back-arrow {
  position: fixed;
  top: 32px;
  left: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 100;
}
.liquid-title {
  position: relative;
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  color: #f5ebe0;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.liquid-title span {
  position: relative;
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 1px #f5ebe0;
}

.liquid-title span::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, #a1887f 0%, #d5bda7 100%);
  background-size: 100% 200%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fillLiquid 4s infinite linear;
}

@keyframes fillLiquid {
  0% {
    background-position: 0 100%;
  }
  50% {
    background-position: 0 0%;
  }
  100% {
    background-position: 0 100%;
  }
}

@keyframes fill-wave {
  from {
    background-position: 0 100%;
  }
  to {
    background-position: 200% 0%;
  }
}
.back-arrow svg {
  stroke: #F5EBE0;
  width: 36px;
  height: 36px;
  transition: transform 0.2s;
}

.back-arrow:hover svg {
  transform: translateX(-4px) scale(1.09);
  stroke: #D5BDAF;
}