/* --- Reset y fuente elegante --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background: hsl(0, 0%, 6%); /* Fondo oscuro moderno */
  color: #eee;
  line-height: 1.6;
}

/* --- Encabezado elegante --- */
header {
  background: linear-gradient(135deg, #1f1f1f, #2b2b2b);
  color: #f1c40f; /* color plano sin sombra ni brillo */
  text-align: center;
  padding: 2rem 1rem;
  border-bottom: 2px solid #f1c40f;
}

header h1 {
  font-size: 2.5rem;
  letter-spacing: 2px;
  font-weight: 700;
  /* Se eliminó text-shadow */
}

header p {
  font-size: 1.2rem;
  color: #aaa; /* color plano */
  margin-top: 0.5rem;
}

/* --- Contenedor principal de opciones --- */
.main-options {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 60px auto;
  flex-wrap: wrap;
  max-width: 1200px;
}

/* --- Botones con imágenes neumorfismo --- */
.card-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  width: 260px;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.5s, box-shadow 0.5s;
  background: #161616;
  box-shadow: 10px 10px 20px #0a0a0a, -10px -10px 20px #222;
}

.card-btn img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  filter: brightness(0.85);
  transition: transform 0.5s, filter 0.5s;
}

.card-btn span {
  display: block;
  width: 100%;
  padding: 16px;
  background: linear-gradient(120deg, #f1c40f, #e67e22);
  color: #111;
  font-weight: 700;
  text-align: center;
  letter-spacing: 1px;
  transition: background 0.5s;
}

.card-btn:hover {
  transform: translateY(-10px) rotateZ(2deg) scale(1.05);
  box-shadow: 15px 15px 30px #0a0a0a, -15px -15px 30px #222;
}

.card-btn:hover img {
  transform: scale(1.1) rotateZ(-1deg);
  filter: brightness(1);
}

.card-btn:hover span {
  background: linear-gradient(120deg, #e67e22, #f1c40f);
}

/* --- Botones generales futuristas --- */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, #f1c40f, #e67e22);
  color: #111;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #f1c40f, 0 0 40px #e67e22;
}

/* --- Menú --- */
.menu-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 30px;
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: #161616;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 10px 10px 20px #0a0a0a, -10px -10px 20px #222;
  text-align: center;
  transition: transform 0.4s, box-shadow 0.4s;
}

.card:hover {
  transform: translateY(-8px) rotateX(2deg) scale(1.03);
  box-shadow: 15px 15px 25px #0a0a0a, -15px -15px 25px #222;
}

.card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  transition: transform 0.4s;
}

.card h3 {
  font-size: 1.3rem;
  margin: 12px 0 6px 0;
  color: #f1c40f; /* color plano */
}

.card p {
  font-size: 0.95rem;
  color: #ccc; /* color plano */
  padding: 0 8px 10px 8px;
}

/* --- Carrito --- */
.cart {
  background: #161616;
  color: #eee;
  padding: 25px;
  margin: 30px auto;
  border-radius: 20px;
  box-shadow: 10px 10px 25px #0a0a0a, -10px -10px 25px #222;
  max-width: 450px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #333;
}

.cart-item:last-child {
  border-bottom: none;
}

#total {
  font-weight: 700;
  font-size: 1.2rem;
  text-align: right;
  margin-top: 12px;
  color: #f1c40f; /* color plano */
}

/* --- Animaciones generales --- */
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.main-options .card-btn,
.menu-list .card {
  animation: fadeIn 0.6s ease forwards;
}

@media (max-width: 768px) {
  .main-options {
    flex-direction: column;
    align-items: center;
  }

  .menu-list {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}
