/* ---------- Base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(145deg, #0b0f14, #1b202a);
  color: #d6faff;
  padding: 40px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

/* ---------- Header ---------- */
.tos-title {
  font-size: 3rem;
  color: #00f0ff;
  text-shadow: 0 0 10px #00e5ff, 0 0 25px #00b0ff;
  animation: glowHeader 2.5s infinite alternate;
  text-align: center;
}
@keyframes glowHeader {
  from { text-shadow: 0 0 10px #00f0ff, 0 0 20px #00c0ff; }
  to { text-shadow: 0 0 20px #00f0ff, 0 0 35px #00b0ff; }
}
.tos-subtitle {
  font-size: 1.2rem;
  margin-top: 10px;
  color: #a0eaff;
  text-align: center;
  margin-bottom: 40px;
}

/* ---------- Content ---------- */
.tos-container {
  width: 100%;
  max-width: 900px;
  background: #252b36;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 0 30px rgba(0,255,255,0.15);
  backdrop-filter: blur(5px);
}
.tos-section + .tos-section {
  margin-top: 30px;
}
.tos-section h2 {
  color: #00f0ff;
  font-size: 1.5rem;
  margin-bottom: 10px;
  text-shadow: 0 0 5px #00e5ff;
}
.tos-section p {
  font-size: 1rem;
  line-height: 1.7;
  color: #c0e4f2;
}

/* ---------- Footer ---------- */
footer {
  margin-top: 60px;
  width: 100%;
  background: #2c313d;
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  border-top: 3px solid #00f0ff;
  box-shadow: 0 -5px 20px rgba(0,255,255,0.2);
  color: #d8dee9;
}
footer h3 {
  margin-bottom: 12px;
  color: #00f0ff;
  text-shadow: 0 0 5px #00f0ff;
}
footer p, footer a {
  font-size: 14px;
  color: #d8dee9;
  text-decoration: none;
  line-height: 1.5;
}
footer a:hover {
  color: #00b0ff;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #00f0ff, #00aaff);
  border-radius: 10px;
  border: 2px solid #1a1f2b;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
}
::-webkit-scrollbar-track {
  background: #1a1f2b;
}

/* ---------- Background Glow Overlay ---------- */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(0,255,255,0.05), transparent 70%);
  pointer-events: none;
  animation: backgroundPulse 30s linear infinite;
}
@keyframes backgroundPulse {
  0% { transform: translate(0, 0); }
  50% { transform: translate(80px, 80px); }
  100% { transform: translate(0, 0); }
}
