body {
  background: #111;
  color: #ffe066;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
} 

header {
  text-align: center;
  padding: 2rem 1rem 1rem 1rem;
  background: #111;
  box-shadow: 0 4px 24px rgba(0,0,0,0.23);
  border-bottom: 2px solid #ffe066;
} 

header h1 {
  margin: 0;
  font-size: 2.2rem;
  letter-spacing: 1px;
  color: #ffd700;
  text-shadow: 0 2px 12px #000a, 0 0px 24px #ffd70044;
  animation: header-glow 2.2s cubic-bezier(.23,1.02,.67,1.01) infinite alternate;
} 

@media (max-width: 600px) {
  header h1 {
    font-size: 1.3rem;
    padding: 0.2rem 0;
  }
}

@keyframes header-glow {
  from { text-shadow: 0 2px 12px #000a, 0 0px 24px #2b2b2b; }
  to   { text-shadow: 0 4px 24px #000c, 0 0px 48px #353535; }
}

header p {
  margin: 0.5rem 0 0 0;
  font-size: 1.1rem;
  color: #ffd700;
  letter-spacing: 1px;
} 

main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 0.5rem 2rem 0.5rem;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin: 1.2rem 1rem 1.8rem 1rem;
  z-index: 3;
}

@media (max-width: 900px) {
  .product-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
    margin: 0.9rem 0.5rem 1.4rem 0.5rem;
  }
}

@media (max-width: 600px) {
  .product-list {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    margin: 0.7rem 0.2rem 1.1rem 0.2rem;
  }
}

.menu-category.active .product-list {
  display: grid;
  opacity: 1;
  border-top: 2px solid #ffe066;
  box-shadow: 0 2px 16px #ffe06622;
  animation: product-fade-in 0.5s cubic-bezier(.23,1.02,.67,1.01);
}

@keyframes product-fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.product-card {
  background: #111;
  border-radius: 14px;
  box-shadow: 0 2px 16px #ffe06622;
  padding: 1.1rem 1rem 0.7rem 1rem;
  color: #ffe066;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 2px solid #ffe066;
  transition: transform 0.22s, box-shadow 0.22s;
  position: relative;
  overflow: hidden;
  min-height: 120px;
  min-width: 0;
  max-width: 100%;
  animation: product-pop-in 0.7s cubic-bezier(.23,1.02,.67,1.01);
  box-sizing: border-box;
  word-break: break-word;
} 

@media (max-width: 600px) {
  .product-card {
    padding: 0.9rem 0.7rem 0.6rem 0.7rem;
    min-height: 90px;
    font-size: 0.98rem;
  }
}

.product-card:hover {
  transform: scale(1.04) translateY(-6px) rotateZ(-1deg);
  box-shadow: 0 10px 32px rgba(0,0,0,0.24);
  border: 2px solid #ffd700;
}

@keyframes product-pop-in {
  from { opacity: 0; transform: scale(0.96) translateY(25px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.product-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 0.3rem;
  letter-spacing: 0.5px;
  line-height: 1.25;
  word-break: break-word;
  text-shadow: 0 1px 6px #000a;
} 

@media (max-width: 600px) {
  .product-title {
    font-size: 1.05rem;
  }
}

.product-desc {
  font-size: 0.98rem;
  color: #ffd700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.2px;
  line-height: 1.2;
  white-space: normal;
  word-break: break-word;
} 

@media (max-width: 600px) {
  .product-desc {
    font-size: 0.93rem;
  }
}

.product-price {
  font-size: 1.08rem;
  font-weight: 800;
  color: #ffd700;
  margin-top: auto;
  align-self: flex-end;
  letter-spacing: 1px;
  padding-top: 0.2rem;
  text-shadow: 0 1px 4px #000a;
} 

@media (max-width: 600px) {
  .product-price {
    font-size: 1rem;
    padding-top: 0.1rem;
  }
}

.menu-category {
  position: relative;
  cursor: pointer;
  border-radius: 20px;
  overflow: hidden;
  min-height: 140px;
  box-shadow: 0 16px 44px 0 rgba(0,0,0,0.39), 0 2px 8px rgba(0,0,0,0.23);
  margin: 0 auto 1.2rem auto;
  max-width: 600px;
  width: 100%;
  cursor: pointer;
  transition: transform 0.45s cubic-bezier(.23,1.02,.67,1.01), box-shadow 0.45s cubic-bezier(.23,1.02,.67,1.01);
  will-change: transform, box-shadow;
  perspective: 800px;
  background: #111;
  border: 2px solid #ffe066;
  animation: pop-in 0.9s cubic-bezier(.23,1.02,.67,1.01);
  box-sizing: border-box;
} 

@media (max-width: 900px) {
  .menu-category {
    max-width: 99vw;
    margin: 0 auto 0.7rem auto;
    border-radius: 14px;
  }
}

@media (max-width: 600px) {
  .menu-category {
    min-height: 70px;
    border-radius: 10px;
    margin: 0.3rem auto 0.3rem auto;
    width: 99vw;
    max-width: 99vw;
  }
}

.menu-category::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  box-shadow: 0 0 32px 4px #ffe06633 inset;
  pointer-events: none;
} 

.menu-category:hover {
  transform: scale(1.04) translateY(-10px) skewY(-1deg);
  box-shadow: 0 8px 32px 0 #ffe06644, 0 2px 8px #ffe06622;
  border-color: #ffd700;
  z-index: 2;
  background: rgba(40,42,50,0.95);
  animation: card-pop 0.4s cubic-bezier(.23,1.02,.67,1.01);
}

@keyframes card-pop {
  from {
    filter: brightness(0.9) blur(1.5px);
  }
  to {
    filter: brightness(1) blur(0);
  }
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: scale(0.93) translateY(40px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.menu-category h2 {
  position: relative;
  z-index: 2;
  color: #fff;
  text-shadow: 0 2px 18px #000b, 0 0px 32px #2a2a2a;
  margin: 0;
  padding: 2.5rem 1rem;
  font-size: 1.7rem;
  letter-spacing: 2px;
  font-weight: 700;
  background: linear-gradient(90deg, #fff 0%, #c2b7ff 40%, #fff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: title-glow 2.3s cubic-bezier(.23,1.02,.67,1.01) infinite alternate;
}
  from { text-shadow: 0 2px 18px #000b, 0 0px 32px #2a2a2a; }
  to   { text-shadow: 0 4px 32px #000e, 0 0px 64px #3d3d3d; }
}

@media (max-width: 600px) {
  main {
    padding: 1rem 0.2rem;
    gap: 1.1rem;
  }
  .menu-category h2 {
    font-size: 1.2rem;
    padding: 1.2rem 0.4rem;
  }
  .menu-category {
    min-height: 80px;
    border-radius: 12px;
  }
}
footer {
  text-align: center;
  padding: 1rem 0;
  background: rgba(24,26,34,0.95);
  font-size: 1rem;
  color: #bcbcbc;
  margin-top: 2rem;
  border-top: 1px solid #23242b;
}
