body {
  font-family: system-ui, sans-serif;
  background: #0b1723;
  color: #f5f5f5;
  margin: 0;
  padding: 20px;
  display: flex;
  justify-content: center;
}

.game {
  max-width: 1000px;
  width: 100%;
  background: #111b29;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

h1 {
  margin-top: 0;
  text-align: center;
}

/* Top navigation bar */
.nav {
  display: flex;
  gap: 16px;
  margin: 16px 0 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid #22324b;
}

.nav a {
  color: #f5f5f5;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.nav a:hover {
  text-decoration: underline;
}

/* Generic panel style used on all pages */
.panel {
  background: #1a2535;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
}

.label {
  font-weight: 600;
  margin-bottom: 4px;
}

/* Optional helper class for photos you add later */
.hero-image {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 10px;
  margin: 16px 0;
}

/* ---- GAME-SPECIFIC STYLES (from your original file) ---- */

.top-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr;
  gap: 16px;
  margin-top: 10px;
}

.buttons {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}

button {
  padding: 8px 12px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

#castBtn {
  background: #2d8cff;
  color: white;
  flex: 1;
}

#reelBtn {
  background: #27ae60;
  color: white;
  flex: 1;
}

button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

#message {
  min-height: 40px;
}

#log {
  max-height: 260px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.4;
  background: #0f1824;
  border-radius: 8px;
  padding: 8px 10px;
}

.log-entry {
  margin-bottom: 4px;
}

.log-entry span.time {
  color: #8ca3c9;
  font-size: 12px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 6px 12px;
  font-size: 14px;
}

.fish-stats {
  margin-top: 6px;
  font-size: 13px;
}

.fish-stats div {
  margin-bottom: 2px;
}

.shop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  font-size: 13px;
}

.bait-card {
  background: #0f1824;
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bait-info {
  max-width: 70%;
}

.bait-name {
  font-weight: 600;
  margin-bottom: 2px;
}

.bait-details {
  font-size: 12px;
  color: #a9bad6;
}

.bait-actions button {
  font-size: 12px;
  padding: 6px 10px;
}

.economy-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-top: 4px;
}

.visual-panel {
  background: #1a2535;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
  text-align: center;
}

#visualImage {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.5s ease;
  background: #000;
}

.visual-label {
  font-size: 13px;
  color: #a9bad6;
  margin-bottom: 4px;
}
