/* Import Noto Sans SC for Chinese characters */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&display=swap');

/* Define our color palette and fonts */
:root {
	--font-body: 'Noto Sans SC', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI',
	  Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue',
	  sans-serif;
	--color-red-bg: #4d0000;
	--color-blue-bg: #0f303d;
	--color-text: #ffffff;
	--color-title: #e8ff3c;
	--color-card-bg: rgba(0, 0, 0, 0.5);
	--font-title: 'Arial Black', Gadget, sans-serif;
  }
  
  body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--color-text);
	background-color: var(--color-red-bg);
	/* Plain dark Chinese red background */
  }
  
  main {
	padding: 1rem;
	max-width: 1200px;
	margin: 0 auto;
  }
  
  .menu-category {
	padding: 2rem 0;
	border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  }
  
  .category-title {
	font-family: var(--font-title);
	font-size: 4rem;
	color: var(--color-title);
	text-align: center;
  }
  
  .items-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.5rem;
  }
  
  .menu-item-card {
	background: var(--color-card-bg);
	padding: 1.5rem;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .item-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 0.5rem;
  }
  
  .item-number {
	font-family: var(--font-title);
	font-size: 2.5rem;
	color: var(--color-title);
	-webkit-text-stroke: 1px black;
  }
  
  .item-name {
	font-size: 1.2rem;
	font-weight: bold;
	margin: 0;
  }
  
  .item-description {
	font-size: 1rem;
	color: #e0e0e0;
	font-style: italic;
	margin-top: 4px;
  }
  
  .notice {
	background-color: #000;
	color: #fff;
	text-align: center;
	padding: 0.5rem;
	font-size: 0.9rem;
  }
  
  /* Simple navigation bar */
  nav {
	position: sticky;
	top: 0;
	background: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(5px);
	padding: 0.5rem;
	text-align: center;
	z-index: 100;
  }
  
  nav a {
	color: var(--color-text);
	text-decoration: none;
	margin: 0 0.75rem;
	font-weight: bold;
	transition: color 0.2s;
  }
  
  nav a:hover {
	color: var(--color-title);
  }

  /* Mobile responsiveness */
  @media (max-width: 640px) {
    main {
      padding: 0.75rem;
    }

    /* Make the top nav horizontally scrollable if items overflow */
    nav {
      display: flex;
      gap: 0.5rem;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none; /* Firefox */
    }
    nav::-webkit-scrollbar {
      display: none; /* Safari/Chrome */
    }
    nav a {
      display: inline-block;
      padding: 0.5rem 0.75rem; /* larger tap targets */
      font-size: 0.95rem;
      white-space: nowrap;
    }

    .category-title {
      font-size: 2.25rem;
    }

    .items-grid {
      grid-template-columns: 1fr;
      gap: 1rem;
    }

    .menu-item-card {
      padding: 1rem;
    }

    .item-name {
      font-size: 1.1rem;
    }

    .item-description {
      font-size: 0.95rem;
    }
  }