/* ===== RESET ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ===== FONDO GENERAL ===== */
body {
  background: url("../img/bg.jpg") center/cover no-repeat fixed;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Oscurecer fondo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(3px);
}

/* ===== CONTENEDOR PRINCIPAL ===== */
.menu {
  position: relative;
  width: 100%;
  max-width: 420px;
  min-height: 100vh;
  padding: 25px 18px 30px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* ===== SELECTOR IDIOMA ===== */
.menu__top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.lang {
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 4px;
  backdrop-filter: blur(6px);
}

.lang__btn {
  border: none;
  background: transparent;
  color: white;
  padding: 6px 10px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
}

.lang__btn.is-active {
  background: white;
  color: #2f4f2f;
}

/* ===== LOGO ===== */
.menu__brand {
  position: relative;
  text-align: center;
  margin-bottom: 15px;
}

/* halo blanco blur */
.menu__brand::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 160px;
  filter: blur(50px);
  background: rgba(255,255,255,1);
  border-radius: 50%;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

/* logo arriba del blur */
.menu__logo {
  position: relative;
  z-index: 1;
  width: 150px;
  max-width: 80%;
}

/* ===== TITULOS ===== */
.menu__title {
  text-align: center;
  margin-bottom: 25px;
}

.menu__title h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 5px;
}

.menu__title p {
  font-size: 18px;
  opacity: .9;
}

.menu__title h1,
.menu__title p {
  text-shadow:
    -2px -2px 0 #000,
     2px -2px 0 #000,
    -2px  2px 0 #000,
     2px  2px 0 #000,
     0px  3px 6px rgba(0,0,0,0.6);
}

/* ===== OPCIONES ===== */
.menu__options {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
}

/* Hover */
.option:hover {
  transform: translateY(-3px) scale(1.01);
}

/* Icono */
.option__icon {
  font-size: 32px;
  margin-right: 14px;
}

/* Textos */
.option__text {
  flex: 1;
}

.option__title {
  display: block;
  font-size: 22px;
}

.option__subtitle {
  font-size: 14px;
  opacity: .85;
}

/* Flecha */
.option__chev {
  font-size: 28px;
  opacity: .7;
}

/* ===== COLORES ===== */
.option--trace {
  background: linear-gradient(145deg, #3e6b2c, #6ea542);
}

.option--recipes {
  background: linear-gradient(145deg, #7b4a1c, #b57b3b);
}

.option--web {
  background: linear-gradient(145deg, #d7d2c5, #f1eee6);
  color: #2e3b2e;
}

.option--web .option__subtitle {
  color: #2e3b2e;
}

.option {
  display: flex;
  align-items: center;
  padding: 18px;
  border-radius: 18px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  position: relative;

  /* 3D base */
  box-shadow:
    0 10px 25px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.25),
    inset 0 -3px 8px rgba(0,0,0,.25);

  transition: transform .18s ease, box-shadow .18s ease;
}

/* Brillo superior */
.option::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.25),
    rgba(255,255,255,0.05),
    transparent 40%
  );
  pointer-events: none;
}

.option--web .option__title{
    color:#2e3b2e;
}

/* Hover flotante */
.option:hover {
  transform: translateY(-4px) scale(1.01);

  box-shadow:
    0 18px 35px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,255,255,.35),
    inset 0 -4px 10px rgba(0,0,0,.35);
}

/* Click presionado */
.option:active {
  transform: translateY(2px) scale(.99);

  box-shadow:
    0 6px 12px rgba(0,0,0,.45),
    inset 0 4px 10px rgba(0,0,0,.4),
    inset 0 -1px 3px rgba(255,255,255,.2);
}

/* ===== FOOTER ===== */
.menu__footer {
  margin-top: auto;
  text-align: center;
  font-size: 14px;
  opacity: .8;
}

/* ===== MOBILE ===== */
@media (max-width: 480px) {
  .menu {
    padding: 20px 16px;
  }

  .menu__title h1 {
    font-size: 30px;
  }

  .option__title {
    font-size: 20px;
  }
}