/* ===== Reset & Base ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #1a0000;
  color: #fff;
}

/* ===== Header ===== */
header {
  background: linear-gradient(135deg, #8B0000, #DC143C);
  padding: 16px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 2px 8px rgba(220, 20, 60, 0.3);
}

/* ===== Category Buttons ===== */
.categories {
  display: flex;
  gap: 10px;
  padding: 12px;
  overflow-x: auto;
  background: #2a0000;
  position: -webkit-sticky;
  position: sticky;
  top: 52px; /* below header */
  z-index: 999;
  cursor: grab;
  user-select: none;
  scroll-behavior: smooth;
  width: 100%;
}

.categories::-webkit-scrollbar {
  display: none;
}

.categories:active {
  cursor: grabbing;
}

.categories button {
  background: #3a0000;
  color: #fff;
  border: 1px solid #660000;
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.categories button.active {
  background: linear-gradient(135deg, #DC143C, #FF6347);
  color: #fff;
  font-weight: 600;
  border: 1px solid #FF6347;
  box-shadow: 0 0 15px rgba(220, 20, 60, 0.5);
}

/* ===== Menu Section ===== */
.menu-image {
  padding: 12px;
  display: none;
}

.menu-image.active {
  display: block;
}

/* ===== Menu Images (Scrollable) ===== */
.menu-image img {
  width: 100%;
  max-width: 1200px;
  display: block;
  margin: 0 auto 16px;
  border-radius: 12px;
  background: #2a0000;
  box-shadow: 0 4px 10px rgba(139, 0, 0, 0.3);
}

/* ===== Mobile Optimization ===== */
@media (max-width: 768px) {
  header {
    font-size: 18px;
  }

  .categories button {
    font-size: 13px;
    padding: 8px 14px;
  }
}
