* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

a {
  all: unset;
}

body {
  --spacing-main: clamp(20px, 5vw, 200px);

  background-color: #f0f7ee;
  color: #2d3b2d;
  line-height: 1.6;
  padding-inline: var(--spacing-main);
  min-height: 100vh;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%234aad52' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

h1 {
  text-align: center;
  margin: 30px 0;
  color: #507255;
  font-size: 2.8rem;
  position: relative;
  padding-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

h1:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 4px;
  background: linear-gradient(to right, #507255, #4aad52, #507255);
  border-radius: 3px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin: 0 auto;
  padding: 20px;
}

.card {
  background: linear-gradient(145deg, #ffffff, #f8fcf0);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(79, 114, 85, 0.15);
  transition: all 0.3s ease;
  border: 2px solid #c5e063;
  position: relative;
  overflow: hidden;
  min-height: 250px;
}
.card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(
    to right,
    #507255,
    #488b49,
    #4aad52,
    #6eb257,
    #c5e063
  );
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(79, 114, 85, 0.25);
}

.card::after {
  position: absolute;
  bottom: 15px;
  right: 15px;
  font-size: 24px;
  opacity: 1;
  content: none;
}
.link {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card:nth-child(5n + 1)::after {
  content: "🙈";
}
.card:nth-child(5n + 2)::after {
  content: "🐒";
}
.card:nth-child(5n + 3)::after {
  content: "🐵";
}
.card:nth-child(5n + 4)::after {
  content: "🙊";
}
.card:nth-child(5n + 5)::after {
  content: "🙉";
}

.card-title {
  font-size: 1.5rem;
  color: #507255;
  margin-bottom: 15px;
  font-weight: 600;
}

.card-content {
  color: #626d58;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-button {
  background-color: #4aad52;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  margin-top: auto;
}

.card-button:hover {
  background-color: #488b49;
  transform: scale(1.05);
}
/* Language Selector - Sober Jungle Theme */
.language-selector {
  z-index: 10;
  position: absolute;
  top: 5px;
  margin: 15px 0;
  max-width: 280px;
}

.language-selector label {
  display: block;
  margin-bottom: 6px;
  color: #507255;
  font-size: 0.95rem;
  font-weight: 500;
}

.language-selector select {
  width: 100%;
  padding: 10px 40px 10px 12px;
  border: 1.5px solid #c5e063;
  border-radius: 6px;
  background-color: #f8fcf0;
  color: #2d3b2d;
  font-size: 14px;
  appearance: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(79, 114, 85, 0.08);
}

.language-selector select:hover {
  border-color: #6eb257;
  box-shadow: 0 2px 6px rgba(79, 114, 85, 0.12);
}

.language-selector select:focus {
  outline: none;
  border-color: #4aad52;
  box-shadow: 0 0 0 2px rgba(74, 173, 82, 0.15);
}

.language-selector::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #488b49;
  pointer-events: none;
}

.language-selector select option {
  background-color: #f8fcf0;
  color: #2d3b2d;
  padding: 8px;
}

@media (max-width: 1536px) {
  .menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  h1 {
    font-size: 2.2rem;
  }
}
