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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: #0a0a0c;
  background-image: radial-gradient(circle at top, rgba(255, 191, 0, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  color: #ffffff;
  padding: 20px;
}

.glass-container {
  max-width: 800px;
  width: 100%;
}

h1 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 3rem;
  letter-spacing: -1px;
  color: #ffbf00;
  text-shadow: 0 0 20px rgba(255, 191, 0, 0.3);
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* The Active State (when expanded) */
.faq.active {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 191, 0, 0.4);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(255, 191, 0, 0.05);
}

/* Subtle glow line on the left side when active */
.faq.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: #ffbf00;
  box-shadow: 0 0 10px #ffbf00;
}

.faq-title {
  margin: 0 35px 0 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #e1e1e6;
  transition: color 0.3s ease;
}

.faq.active .faq-title {
  color: #ffbf00;
}

.faq-text {
  display: none; /* Hidden by default */
  margin-top: 20px;
  color: #a0a0a5;
  line-height: 1.6;
  font-size: 1.05rem;
}

.faq.active .faq-text {
  display: block; /* Shown when active */
}

.faq-toggle {
  background-color: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  padding: 0;
  position: absolute;
  top: 25px;
  right: 30px;
  height: 35px;
  width: 35px;
  color: #a0a0a5;
  transition: all 0.3s ease;
}

.faq-toggle:focus {
  outline: 0;
}

.faq-toggle:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.faq.active .faq-toggle {
  background-color: #ffbf00;
  color: #0a0a0c;
  box-shadow: 0 0 10px rgba(255, 191, 0, 0.4);
}

/* Icon Toggling Logic */
.faq-toggle .icon-close {
  display: none;
}

.faq.active .faq-toggle .icon-down {
  display: none;
}

.faq.active .faq-toggle .icon-close {
  display: block;
}