/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Inter", sans-serif;
  color: #fff;
  background: #0a0f0d;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Background image */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("background-quran.jpg") no-repeat center center/cover;
  filter: brightness(0.4) blur(2px);
  z-index: -1;
}

/* Glass card */
.hero {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  max-width: 500px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #ddd;
}

.buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  background: #1d7151;
  color: white;
  border: none;
  border-radius: 9999px;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.btn:hover {
  background: #239766;
  transform: scale(1.05);
}

/* Para chips */
.paras {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  justify-content: center;
  gap: 0.75rem;
  max-width: 600px;
  opacity: 1;
  max-height: 1000px;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease;
}

.chip {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 9999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
}

.chip:hover {
  background: rgba(255,255,255,0.25);
}

/* Hidden state */
.hidden {
  opacity: 0;
}

.placeholder {
  display: none;
}

.paras.hidden {
  opacity: 0;
  max-height: 0;
  pointer-events: none;
}

@media (max-width: 600px) {
  .paras {
    grid-template-columns: repeat(4, 1fr);
    justify-content:center;
  }
  .placeholder {
    display: flex;
  }
}
