body {
  font-family: 'Noto Sans JP', sans-serif;
  text-align: center;
  background-color: #f5f5f5;
  padding: 2rem;
}

#main-title {
  color: #d43f00;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

img {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Navigation Bar */
.navbar {
  background: rgba(91, 121, 75, 1);
  /*background: rgba(75, 105, 47, 1);*/

  backdrop-filter: blur(10px);
  padding: 15px 0;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.nav-brand {
  font-size: 1.8em;
  font-weight: 700;
  color: rgba(160, 28, 28, 1);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand:hover {
  color: #FFF;
}

.nav-center {
  display: flex;
  gap: 15px;
}

.filter-btn {
  background: rgba(230, 205, 150, 1);
  color: rgba(160, 28, 28, 1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(242, 220, 166, 1);
  color: rgba(180, 30, 0, 1);
  border-color: rgba(160, 28, 28, 1);
}

.nav-right {
  display: flex;
  gap: 20px;
}

.nav-link {
  color: rgba(45, 20, 20, 1);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFF;
  border-color: rgba(255, 215, 0, 0.3);
}

/* Main Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
}

.header {
  text-align: center;
  margin-bottom: 40px;
}

.header h1 {
  font-size: 3em;
  font-weight: 700;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 10px;
}

.header p {
  color: #FFD700;
  font-size: 1.2em;
  font-weight: 500;
}

/* Sections Layout */
.sections-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.section {
  background: rgba(255, 248, 240, 0.95);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 215, 0, 0.3);
}

.section-header {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(139, 0, 0, 0.2);
}

.section-icon {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.section-title {
  font-size: 1.6em;
  font-weight: 700;
  color: #8B0000;
  margin: 0;
}

.games-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.game-item {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  padding: 15px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(139, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.game-item:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.2);
  border-color: rgba(255, 215, 0, 0.5);
}

.game-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: linear-gradient(135deg, #DC143C, #8B0000);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  color: white;
  margin-right: 15px;
  box-shadow: 0 3px 8px rgba(220, 20, 60, 0.3);
  flex-shrink: 0;
}

.game-title {
  font-size: 1.1em;
  font-weight: 600;
  color: #8B0000;
}

/* Section-specific colors */
.single-player .game-icon {
  background: linear-gradient(135deg, #DC143C, #8B0000);
}

.two-player .game-icon {
  background: linear-gradient(135deg, #228B22, #006400);
}

.multiplayer .game-icon {
  background: linear-gradient(135deg, #FFD700, #FF8C00);
  color: #8B0000;
}

.tiger-mom .game-icon {
  background: linear-gradient(135deg, #8B0000, #DC143C);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .nav-center {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .filter-btn {
    padding: 6px 12px;
    font-size: 0.9em;
  }

  .nav-right {
    gap: 15px;
  }

  .header h1 {
    font-size: 2.2em;
  }

  .sections-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section {
    padding: 20px;
  }

  .game-item {
    padding: 12px;
  }

  .game-icon {
    width: 45px;
    height: 45px;
    font-size: 1.5em;
    margin-right: 12px;
  }

  .game-title {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .nav-center {
    gap: 8px;
  }

  .filter-btn {
    padding: 5px 10px;
    font-size: 0.8em;
  }

  .header h1 {
    font-size: 1.8em;
  }

  .section-icon {
    font-size: 2em;
  }

  .section-title {
    font-size: 1.4em;
  }
}

/* iPad landscape */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .sections-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* iPad portrait */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .sections-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Active/touch states */
.game-item:active {
  transform: scale(0.98) translateX(5px);
}

/* Hidden sections for filtering */
.section.hidden {
  display: none;
}