body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #000;
  color: white;
  user-select: none;
  -webkit-user-select: none;
  overflow-x: hidden;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 15px 20px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

header h1 {
  margin: 0;
  font-size: 1.1rem;
}

.back-btn {
  color: white;
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 8px;
  font-size: 14px;
  transition: 0.3s;
}

.container {
  padding: 100px 15px 40px 15px; /* Space for fixed header and footer */
  display: flex;
  justify-content: center;
  min-height: 100vh;
  box-sizing: border-box;
}

.card {
  width: 100%;
  max-width: 800px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  overflow: hidden;
  align-self: flex-start; /* Prevents stretching */
}

.scroll-box {
  max-height: 60vh; /* Scalable height based on screen size */
  overflow-y: auto;
  padding: 25px;
  line-height: 1.6;
  -webkit-overflow-scrolling: touch; /* Smooth scroll for iOS */
}

.scroll-box h2 { margin-top: 0; font-size: 1.5rem; }
.scroll-box h3 { color: rgba(255,255,255,0.9); margin-top: 25px; }

/* Custom Scrollbar */
.scroll-box::-webkit-scrollbar { width: 6px; }
.scroll-box::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
}

footer {
  padding: 25px;
  text-align: center;
  background: rgba(0,0,0,0.5);
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
  opacity: 0.7;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at 20% 20%, rgba(80, 120, 255, 0.1), transparent 40%), #000;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.04;
  background-image: url("https://grainy-gradients.vercel.app/noise.svg");
  pointer-events: none;
}

/* --- MOBILE SPECIFIC --- */
@media (max-width: 480px) {
  header { padding: 12px 15px; }
  header h1 { font-size: 0.95rem; }
  .scroll-box { max-height: 70vh; padding: 20px; }
  .scroll-box h2 { font-size: 1.3rem; }
}