/* ===== RESET ===== */
body {
  margin: 0;
  font-family: 'Oswald', sans-serif;
  overflow: hidden;
}

/* ===== AGE GATE ===== */
.age-gate {
  position: fixed;
  width: 100%;
  height: 100%;

  background: url("images/brarudi-bg.jpg") center center / cover no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== OVERLAY CINEMA VERT ===== */
.age-gate::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;

  background:
    radial-gradient(circle at center, rgba(0,87,61,0.25) 0%, rgba(0,87,61,0.75) 100%),
    linear-gradient(rgba(0,87,61,0.4), rgba(0,87,61,0.75));

  z-index: 1;
}

/* ===== CONTENT ===== */
.content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 500px;
  padding: 20px;

  backdrop-filter: blur(6px);
}

/* ===== LOGO ===== */
.logo {
  width: 120px;
  margin-bottom: 25px;
}

/* ===== TITLE ===== */
h1 {
  font-size: 28px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

/* ===== DATE INPUT ===== */
.date-input {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 25px 0;
}

.date-input input {
  width: 60px;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.8);
  color: #fff;
  text-align: center;
  font-size: 22px;
  outline: none;
  transition: 0.3s;
}

/* FOCUS EFFECT */
.date-input input:focus {
  border-bottom: 2px solid #f2b705;
}

/* SLASH */
.date-input span {
  margin: 0 10px;
  font-size: 20px;
}

/* ===== BUTTON ===== */
.enter-btn {
  padding: 14px 40px;
  border: none;
  background: #f2b705;
  color: #000;
  font-weight: bold;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.3s;
}

/* HOVER BUTTON */
.enter-btn:hover {
  background: #d9a404;
  transform: translateY(-2px);
}

/* ===== TEXT ===== */
.legal {
  font-size: 12px;
  margin-top: 20px;
  opacity: 0.85;
}

.warning {
  font-size: 11px;
  margin-top: 10px;
  opacity: 0.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  h1 {
    font-size: 22px;
  }

  .date-input input {
    width: 50px;
    font-size: 18px;
  }

  .enter-btn {
    padding: 12px 30px;
  }
}
/* MESSAGE ERREUR */
.error-message {
  color: #ff4d4d;
  font-size: 13px;
  margin-top: 10px;
  opacity: 0;
  transition: 0.3s;
}
.error-message {
  background: rgba(255,0,0,0.1);
  padding: 8px 12px;
  border-radius: 6px;
}
/* visible */
.error-message.show {
  opacity: 1;
}