.container {
  margin: 0 auto;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  flex-direction: column;
}

.left-panel {
  flex: 1;
  min-width: 300px;
  background: #2a2a2a;
  border-radius: 8px;
  padding: 20px;
}

.fruits-grid::-webkit-scrollbar {
  width: 6px;
}

.fruits-grid::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 3px;
}

.fruits-grid::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 3px;
  transition: background 0.3s ease;
}

.fruits-grid::-webkit-scrollbar-thumb:hover {
  background: #777;
}

.fruits-grid::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 6px;
  height: 20px;
  background: linear-gradient(transparent, #2a2a2a);
  pointer-events: none;
}

.right-panel {
  flex: 1;
  min-width: 400px;
  background: #2a2a2a;
  border-radius: 8px;
  padding: 20px;
}

.section-title {
  font-size: 24px;
  margin-bottom: 15px;
  color: #bdfc9a;
  border-bottom: 2px solid #444;
  padding-bottom: 10px;
}

.fruit-button {
  background: #3a3a3a;
  border: 2px solid #555;
  border-radius: 8px;
  padding: 10px;
  margin: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #ccc;
  font-size: 14px;
  min-width: 120px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.fruit-button:hover {
  background: #4a4a4a;
  border-color: #777;
}

.fruit-button.active {
  background: #4caf50;
  border-color: #66bb6a;
  color: white;
}

.fruit-button img {
  width: 40px;
  height: 40px;
  margin-bottom: 5px;
}

.modifier-button {
  background: #3a3a3a;
  border: 2px solid #555;
  border-radius: 6px;
  padding: 8px 12px;
  margin: 3px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #ccc;
  font-size: 13px;
}

.modifier-button:hover {
  background: #4a4a4a;
  border-color: #777;
}

.modifier-button.active {
  background: #f39c12;
  border-color: #e67e22;
  color: white;
}

.modifier-button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.input-group {
  display: flex;
  gap: 15px;
  margin: 15px 0;
  flex-wrap: wrap;
}

.input-block {
  flex: 1;
  min-width: 150px;
}

.input-block label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #bdfc9a;
}

.input-block input[type="number"],
.input-block input[type="range"] {
  width: 100%;
  padding: 8px;
  background: #3a3a3a;
  border: 2px solid #555;
  border-radius: 4px;
  color: #e0e0e0;
  font-size: 14px;
}

.input-block input[type="number"]:focus,
.input-block input[type="range"]:focus {
  outline: none;
  border-color: #bdfc9a;
}

.result {
  font-size: 32px;
  font-weight: bold;
  color: #bdfc9a;
  margin: 20px 0;
  padding: 15px;
  background: #333;
  border-radius: 8px;
  text-align: center;
}

button {
  background: #4caf50;
  border: none;
  border-radius: 6px;
  padding: 10px 15px;
  color: white;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s ease;
}

button:hover {
  background: #45a049;
}

.category-tabs {
  display: flex;
  gap: 5px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.category-tab {
  padding: 6px 12px;
  background: #3a3a3a;
  border: 2px solid #555;
  border-radius: 6px;
  cursor: pointer;
  color: #CCC;
  transition: all 0.3s ease;
  font-size: 12px;
  white-space: nowrap;
  display: inline-block;
}

.category-tab:hover {
  background: #4a4a4a;
  border-color: #777;
}

.category-tab.active {
  background: #bdfc9a;
  color: #1a1a1a;
  border-color: #bdfc9a;
}

.fruits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
  max-height: 50vh;
  overflow-y: auto;
  padding-right: 5px;
  position: relative;
}

.modifiers-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .input-group {
    flex-direction: column;
  }

  .fruits-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    max-height: 40vh;
  }
}

.seo-content {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  background: #2a2a2a;
  border-radius: 8px;
  color: #e0e0e0;
  line-height: 1.6;
}

.seo-content h1 {
  color: #bdfc9a;
  font-size: 2.5em;
  margin-bottom: 20px;
  text-align: center;
  border-bottom: 3px solid #bdfc9a;
  padding-bottom: 15px;
}

.seo-content h2 {
  color: #f39c12;
  font-size: 1.8em;
  margin: 30px 0 15px 0;
  border-left: 4px solid #f39c12;
  padding-left: 15px;
}

.seo-content h3 {
  color: #87ceeb;
  font-size: 1.4em;
  margin: 25px 0 12px 0;
}

.seo-content p {
  margin-bottom: 15px;
  text-align: justify;
}

.seo-content ul,
.seo-content ol {
  margin: 15px 0;
  padding-left: 30px;
}

.seo-content li {
  margin-bottom: 8px;
}

.highlight-keyword {
  color: #bdfc9a;
  font-weight: bold;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.feature-item {
  background: #3a3a3a;
  padding: 20px;
  border-radius: 8px;
  border: 2px solid #555;
}

.feature-item h4 {
  color: #f39c12;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .seo-content h1 {
    font-size: 2em;
  }

  .seo-content h2 {
    font-size: 1.5em;
  }
}

/* ===== NEW TOOLS STYLES ===== */

/* Input group styling for new tools */
.input-group {
  margin-bottom: 15px;
}

.input-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #bdfc9a;
}

.input-group input[type="number"] {
  width: 100%;
  padding: 8px;
  background: #3a3a3a;
  border: 2px solid #555;
  border-radius: 4px;
  color: #e0e0e0;
  font-size: 14px;
}

.input-group input[type="number"]:focus {
  border-color: #bdfc9a;
  outline: none;
}

/* Button styling for new tools */
.btn {
  background: #4caf50;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  margin-right: 10px;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #45a049;
}

.btn-small {
  padding: 6px 12px;
  font-size: 12px;
}

/* Result section styling */
.result-section {
  margin-top: 20px;
  padding: 15px;
  background: #3a3a3a;
  border-radius: 6px;
  border: 2px solid #555;
}

.result-value {
  font-size: 16px;
  color: #bdfc9a;
  margin-bottom: 10px;
  padding: 10px;
  background: #2a2a2a;
  border-radius: 4px;
  border: 1px solid #444;
}

/* Navigation active state */
.nav-links a.active {
  color: #bdfc9a;
  font-weight: bold;
}

/* Mouse and Starfish button active state */
button.active {
  background: #4caf50 !important;
  color: white !important;
}

/* Age list display styling */
#ageListDisplay {
  background: #2e2e2e;
  color: #e0e0e0;
  font-family: "Courier New", monospace;
  font-size: 0.9em;
  line-height: 1.4;
}

/* Responsive design for new tools */
@media (max-width: 768px) {
  .input-group {
    margin-bottom: 12px;
  }

  .btn {
    width: 100%;
    margin-bottom: 10px;
    margin-right: 0;
  }

  .result-section {
    margin-top: 15px;
  }
}

/* Header Styles */
.header {
  background: #1a1a1a;
  border-bottom: 2px solid #333;
  padding: 15px 0;
}

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

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #bdfc9a;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #bdfc9a;
}

/* Footer Styles */
.footer {
  background: #1a1a1a;
  border-top: 2px solid #333;
  padding: 40px 0 20px 0;
  margin-top: 50px;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h3 {
  color: #bdfc9a;
  margin-bottom: 15px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: 8px;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #bdfc9a;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  color: #999;
}

/* Main Content Spacing */
.main-content {
  margin-top: 0;
}

/* Disclaimer Banner */
.disclaimer-banner {
  background: linear-gradient(45deg, #2a2a2a, #3a3a3a);
  border: 2px solid #f39c12;
  border-radius: 8px;
  padding: 15px 20px;
  margin: 20px auto;
  max-width: 1400px;
  text-align: center;
  color: #e0e0e0;
  font-size: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.disclaimer-banner .highlight {
  color: #f39c12;
  font-weight: bold;
}

.disclaimer-banner .game-name {
  color: #bdfc9a;
  font-weight: bold;
}

@media (max-width: 768px) {
	
	.left-panel {
  padding: 10px !important;
}
  .header-content {
    flex-direction: column;
    gap: 15px;
  }

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

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