@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700;900&family=Cinzel:wght@400;600&display=swap');

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

body {
    background: #0a0808;
    color: #c8bfb0;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    line-height: 1.8;
    min-height: 100vh;
    padding: 0 1rem 4rem;
}

.legal-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* =====================================
   BACK NAVIGATION
   ===================================== */
.back-link {
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    color: #ff6464;
    text-decoration: none;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.back-link:hover {
    border-color: #ff6464;
}

/* =====================================
   PAGE HEADER
   ===================================== */
.legal-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 100, 100, 0.25);
}

.legal-wordmark {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    color: #ff6464;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.legal-meta {
    font-size: 0.78rem;
    color: #5a5040;
    letter-spacing: 0.06em;
}

/* =====================================
   SECTION HEADINGS
   ===================================== */
h2 {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ff9a7a;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 2.5rem 0 0.8rem;
}

/* =====================================
   BODY COPY
   ===================================== */
p {
    font-size: 0.88rem;
    color: #c8bfb0;
    margin-bottom: 0.9rem;
}

ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0.9rem;
}

li {
    font-size: 0.88rem;
    color: #c8bfb0;
    margin-bottom: 0.4rem;
    padding-left: 1.4em;
    position: relative;
}

li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #ff6464;
    font-size: 0.72rem;
    top: 0.25em;
}

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

/* =====================================
   LINKS
   ===================================== */
a {
    color: #ff9a7a;
    text-decoration: underline;
    text-underline-offset: 3px;
}

a:hover {
    color: #ff6464;
}

/* =====================================
   TABLE
   ===================================== */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0.9rem;
    font-size: 0.82rem;
}

.legal-table th {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ff9a7a;
    text-align: left;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid rgba(255, 100, 100, 0.2);
}

.legal-table td {
    color: #c8bfb0;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: top;
}

.legal-table td a {
    font-size: 0.8rem;
}

/* =====================================
   PAGE FOOTER
   ===================================== */
.legal-page-footer {
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 100, 100, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.legal-page-footer p {
    font-size: 0.72rem;
    color: #3a3030;
    margin-bottom: 0;
}

.legal-page-footer a {
    font-size: 0.72rem;
    color: #5a5040;
    text-decoration: underline;
}

.legal-page-footer a:hover {
    color: #ff6464;
}
