/* ════════════════════════════════════════════
   legal.css — Shared styles for all legal pages
   Used by: terms.html, privacy.html, dmca.html, contact.html
════════════════════════════════════════════ */

:root {
  --bg:      #080808;
  --surface: #111111;
  --card:    #181818;
  --border:  #242424;
  --border2: #2e2e2e;
  --accent:  #ff3d00;
  --accent2: #ff6d3a;
  --text:    #efefef;
  --muted:   #707070;
  --muted2:  #444;
  --r:       6px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.8;
}
a { color: var(--accent2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }

/* ── NAVBAR ── */
.legal-nav {
  background: rgba(8,8,8,0.97);
  border-bottom: 1px solid var(--border);
  height: 56px;
  display: flex; align-items: center;
  padding: 0 24px; gap: 16px;
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(12px);
}
.legal-nav-logo {
  font-family: 'Teko', sans-serif;
  font-size: 28px; font-weight: 700; letter-spacing: 2px;
  color: var(--text); text-decoration: none;
}
.legal-nav-logo em { color: var(--accent); font-style: normal; }
.legal-nav-back {
  margin-left: auto;
  background: var(--surface);
  border: 1px solid var(--border2);
  color: var(--muted);
  padding: 6px 14px; border-radius: var(--r);
  font-size: 12px; text-decoration: none;
  transition: all .2s;
}
.legal-nav-back:hover { color: var(--text); border-color: var(--muted); }

/* ── PAGE HERO ── */
.legal-hero {
  background: linear-gradient(135deg, #0d0000, #180800, #0a0a00);
  border-bottom: 1px solid var(--border);
  padding: 48px 24px 40px;
  position: relative; overflow: hidden;
}
.legal-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(255,61,0,.05), transparent 65%);
  pointer-events: none;
}
.legal-hero-inner { max-width: 760px; position: relative; z-index: 1; }
.legal-hero-tag {
  display: inline-block;
  background: rgba(255,61,0,.1); border: 1px solid rgba(255,61,0,.2);
  color: var(--accent2); font-size: 11px;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 3px; margin-bottom: 12px;
}
.legal-hero h1 {
  font-family: 'Teko', sans-serif;
  font-size: clamp(32px, 5vw, 48px); font-weight: 700; line-height: 1.1;
  margin-bottom: 8px;
}
.legal-hero-meta {
  color: var(--muted); font-size: 13px; margin-top: 8px;
}

/* ── CONTENT LAYOUT ── */
.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* ── SECTION ── */
.legal-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.legal-section:last-child { border-bottom: none; }

.legal-section h2 {
  font-family: 'Teko', sans-serif;
  font-size: 22px; font-weight: 600;
  color: var(--text); margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.legal-section h2::before {
  content: '';
  display: inline-block;
  width: 4px; height: 20px;
  background: var(--accent); border-radius: 2px;
  flex-shrink: 0;
}

.legal-section p {
  color: #b0b0b0;
  margin-bottom: 12px;
  font-size: 14px; line-height: 1.8;
}
.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul, .legal-section ol {
  padding-left: 20px; color: #b0b0b0; font-size: 14px;
  line-height: 1.8; margin-bottom: 12px;
}
.legal-section li { margin-bottom: 4px; }
.legal-section li::marker { color: var(--accent); }

/* Highlight box */
.legal-box {
  background: var(--card);
  border: 1px solid var(--border2);
  border-left: 3px solid var(--accent);
  border-radius: var(--r);
  padding: 16px 18px; margin: 16px 0;
  font-size: 13px; color: #b0b0b0; line-height: 1.8;
}
.legal-box strong { color: var(--accent2); }

/* Warning box */
.legal-warn {
  background: rgba(255,61,0,.06);
  border: 1px solid rgba(255,61,0,.2);
  border-radius: var(--r);
  padding: 14px 18px; margin: 16px 0;
  font-size: 13px; color: #c08070; line-height: 1.8;
}

/* ── CONTACT FORM ── */
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cf-group { display: flex; flex-direction: column; gap: 5px; }
.cf-label {
  font-size: 11px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .5px;
}
.cf-input, .cf-select, .cf-textarea {
  background: var(--surface);
  border: 1px solid var(--border2);
  color: var(--text);
  padding: 10px 14px; border-radius: var(--r);
  font-size: 13px; outline: none;
  font-family: 'DM Sans', sans-serif;
  transition: border-color .2s;
  width: 100%;
}
.cf-input:focus, .cf-select:focus, .cf-textarea:focus {
  border-color: var(--accent);
}
.cf-select option { background: var(--card); }
.cf-textarea { resize: vertical; min-height: 120px; }
.cf-submit {
  background: var(--accent); color: #fff; border: none;
  padding: 13px 28px; border-radius: var(--r);
  font-family: 'Teko', sans-serif; font-size: 18px;
  font-weight: 600; letter-spacing: .5px;
  cursor: pointer; transition: background .2s, transform .1s;
  align-self: flex-start;
}
.cf-submit:hover { background: var(--accent2); transform: translateY(-1px); }

/* DMCA form */
.dmca-form { display: flex; flex-direction: column; gap: 14px; }

/* ── FOOTER ── */
.legal-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 28px 24px; margin-top: 0;
}
.legal-footer-inner {
  max-width: 760px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.legal-footer-logo {
  font-family: 'Teko', sans-serif;
  font-size: 22px; font-weight: 700; letter-spacing: 2px;
}
.legal-footer-logo em { color: var(--accent); font-style: normal; }
.legal-footer-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.legal-footer-links a {
  color: var(--muted); font-size: 12px;
  transition: color .2s;
}
.legal-footer-links a:hover { color: var(--accent2); }
.legal-footer-copy {
  width: 100%; color: #2a2a2a; font-size: 11px; margin-top: 8px;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .legal-wrap { padding: 28px 16px 60px; }
  .cf-row { grid-template-columns: 1fr; }
  .legal-hero { padding: 32px 16px 28px; }
}
