/* =========================================
   LEGAL PAGES CSS — QCT eSportz v4.0
   Terms | Privacy | Refund | Support | Fair Play
   Orange × Teal × Neon × Void Black
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:wght@500;700&family=Rajdhani:wght@400;500;600;700&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600&display=swap');

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

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: #020207;
  color: #E0E0E8;
  line-height: 1.75;
  padding: 16px 16px 48px;
  min-height: 100vh;
}

/* ── Ambient glow ── */
body::before {
  content: '';
  position: fixed;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(255,165,0,0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ===== BACK LINK ===== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: rgba(0,196,232,0.85);
  text-decoration: none;
  margin-bottom: 20px;
  padding: 8px 14px;
  background: rgba(0,140,180,0.07);
  border: 1px solid rgba(0,140,180,0.18);
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
}

.back-link:hover {
  background: rgba(0,140,180,0.14);
  color: #00C4E8;
  text-decoration: none;
}

/* Fallback for plain <a> tags */
main > a:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: rgba(0,196,232,0.85);
  text-decoration: none;
  margin-bottom: 20px;
  padding: 8px 14px;
  background: rgba(0,140,180,0.07);
  border: 1px solid rgba(0,140,180,0.18);
  border-radius: 20px;
  transition: background 0.2s;
}

main > a:first-child:hover {
  background: rgba(0,140,180,0.14);
  color: #00C4E8;
}

/* ===== MAIN CONTAINER ===== */
main {
  max-width: 680px;
  margin: 0 auto;
  background: rgba(255,255,255,0.02);
  border-radius: 18px;
  padding: 28px 22px;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 1;
}

/* Top accent line */
main::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #FFA500, #00C4E8, #AAFF44);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 0 12px rgba(255,165,0,0.25);
}

/* ===== HEADINGS ===== */
h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #FFA500;
  text-shadow: 0 0 20px rgba(255,165,0,0.25);
  margin: 12px 0 6px;
  line-height: 1.1;
}

h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 30px;
  margin-bottom: 10px;
  color: #00C4E8;
}

h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-top: 18px;
  margin-bottom: 8px;
  color: rgba(255,165,0,0.80);
}

/* ===== TEXT ===== */
p {
  margin: 10px 0;
  font-size: 0.93rem;
  color: #C8C8D8;
  line-height: 1.75;
}

strong {
  color: #F0F0F8;
  font-weight: 600;
}

a {
  color: #00C4E8;
  text-decoration: none;
  font-weight: 500;
}

a:hover { text-decoration: underline; }

/* ===== LISTS ===== */
ul {
  margin: 10px 0 10px 18px;
}

li {
  margin-bottom: 7px;
  font-size: 0.91rem;
  color: #C0C0D0;
  line-height: 1.65;
}

/* ===== DIVIDER ===== */
hr {
  margin: 26px 0;
  border: none;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255,165,0,0.20),
    rgba(0,196,232,0.20),
    transparent
  );
}

/* ===== INFO BOXES ===== */
.notice {
  margin: 18px 0;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(170,255,68,0.06);
  border-left: 3px solid #AAFF44;
  font-size: 0.91rem;
  color: #C8C8D0;
}

.warning {
  margin: 18px 0;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(255,68,68,0.07);
  border-left: 3px solid #FF4444;
  font-size: 0.91rem;
  color: #C8C8D0;
}

.info-box {
  margin: 18px 0;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(0,140,180,0.07);
  border-left: 3px solid #008CB4;
  font-size: 0.91rem;
  color: #C8C8D0;
}

/* ===== LAST UPDATED BADGE ===== */
.last-updated {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,165,0,0.65);
  background: rgba(255,165,0,0.07);
  border: 1px solid rgba(255,165,0,0.15);
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 16px;
}

/* ===== FOOTER ===== */
footer {
  margin-top: 28px;
  font-size: 0.82rem;
  color: #666680;
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ===== LEGAL CHECKBOX (signup) ===== */
.legal-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
}

.legal-check input {
  margin-top: 4px;
  accent-color: #FFA500;
  width: 16px; height: 16px;
}

.legal-check label {
  font-size: 0.85rem;
  color: #AAA;
  line-height: 1.6;
}

/* ===== MOBILE ===== */
@media (max-width: 480px) {
  h1 { font-size: 1.65rem; letter-spacing: 3px; }
  h2 { font-size: 1.05rem; }
  main { padding: 22px 16px; border-radius: 14px; }
}
