@import url('https://fonts.googleapis.com/css2?family=Rubik+Moonrocks&family=Roboto&display=swap');

body {
  margin: 0;
  padding: 20px;
  font-family: 'Rubik Moonrocks', cursive;
  background-image: url('../bg.jpg');
  background-size: contain;
  background-position: center;
  background-repeat: repeat;
  background-attachment: fixed;
}

.main-wrapper {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 1em;
  background-color: rgba(0, 0, 0, 0.3);
  max-width: 1100px;
  margin: 1em auto;
}

h1 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 20px;
  color: #fff;
  font-family: 'Rubik Moonrocks', cursive;
  font-size: clamp(1.8rem, 5vw, 3rem);
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(0,0,0,0.2);
  border-radius: 12px;
  padding-bottom: 0;  /* Add this if needed */
}

.grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.grid button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 1em;
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  border: none;
  border-radius: 8px;
  background-color: rgba(0, 122, 204, 0.2);
  color: #fff;
  backdrop-filter: blur(1px);
  box-shadow: 0 1px 1px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  text-align: center;
}

.grid button:hover {
  background-color: rgba(0, 153, 255, 0.7);
  transform: scale(1.05);
}

.grid button:active {
  background-color: rgba(0, 95, 163, 0.7);
  transform: scale(0.95);
}

.btn-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
}

.btn-icon {
  margin-left: -20px;
  width: 96px;
  height: 66px;
}

.btn-label {
  flex-grow: 1;
  text-align: left;
}

#loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  color: white;
  background: rgba(0,0,0,0.8);
  padding: 1em 2em;
  border-radius: 10px;
  z-index: 999;
}

.fart-burst {
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  background: radial-gradient(circle, rgba(0,255,0,0.8) 0%, transparent 80%);
  animation: burst 0.7s ease-out forwards;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

@keyframes burst {
  from {
    transform: scale(0.2);
    opacity: 1;
  }
  to {
    transform: scale(1.8);
    opacity: 0;
  }
}

.filter-section {
  margin-top: 1em;
  padding: 1em;
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  text-align: center;
}

.filter-section h2 {
  font-family: 'Rubik Moonrocks', cursive;
  color: #fff;
  font-size: clamp(1rem, 3vw, 1.6rem);
  margin-top: 0; /* ADD this */
  margin-bottom: 0.5em;
  text-shadow: 1px 1px 4px black;
}

.filters {
  display: flex;
  justify-content: center;
  gap: 1em;
  flex-wrap: wrap;
}

.filters button {
  padding: 0.7em 1.2em;
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.filters button:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.filters button.active-filter {
  background-color: rgba(0, 255, 0, 0.5);
  border: 2px solid rgba(0, 255, 0, 1);
  font-weight: bold;
  outline: 2px solid lime;
}

.warning-icon {
  width: auto;
  vertical-align: middle;
  margin: 0 0.4em;
  transform: translateY(-1px);
}

.warning-icon {
  height: 1rem;
  max-height: 50px;
}

@media (min-width: 600px) {
  .warning-icon {
    height: 2.5rem;
    max-height: 55px;
  }
}
