/* Rapture Of Volzara - Legal Pages (Terms, Privacy, Cookies, 404). Fire, ash and snow, matching the landing. */

:root {
    --ink: #0b0a0b;
    --night: #161314;
    --ember: #ff6a1f;
    --flame: #ffb259;
    --snow: #eef0f2;
    --text: #f3ede6;
    --text-dim: rgba(243, 237, 230, 0.78);
    --card: rgba(255, 255, 255, 0.04);
    --card-line: rgba(255, 178, 89, 0.16);
}

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

body {
    font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
    font-size: 1.08rem;
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 106, 31, 0.16) 0%, transparent 40%),
        radial-gradient(circle at 100% 60%, rgba(238, 240, 242, 0.06) 0%, transparent 45%),
        linear-gradient(180deg, #1a1617 0%, #121011 50%, var(--ink) 100%);
    background-attachment: fixed;
}

/* Cinzel - carved Roman capitals for titles, matching the landing */
main h1, section h2, th, .logo-text { font-family: 'Cinzel', 'Trajan Pro', Georgia, serif; }

/* Force form controls onto the body font (they don't inherit by default) so the
   legal pages stay type-consistent with the rest of the site. */
button, input, select, textarea { font-family: inherit; }

/* Nav */
nav {
    position: fixed; top: 0; width: 100%; z-index: 100;
    background: rgba(11, 10, 11, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 106, 31, 0.3);
}
.nav-inner {
    max-width: 1140px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.8rem 1.5rem;
}
.logo { text-decoration: none; color: var(--text); display: flex; align-items: center; gap: 0.5rem; }
.logo-text { font-weight: 700; font-size: 15px; letter-spacing: 3px; color: var(--text); }

/* Full top nav (matches the landing page) */
.nav-links { display: flex; align-items: center; gap: 1.1rem; }
.nav-link {
    color: var(--text-dim); text-decoration: none;
    font-weight: 500; font-size: 1rem; letter-spacing: 0.02em;
    white-space: nowrap; transition: color 0.15s;
}
.nav-link:hover { color: var(--flame); }
.nav-toggle {
    display: none; background: none; border: 0; cursor: pointer;
    padding: 0.4rem; margin: -0.4rem; margin-left: auto;
    flex-direction: column; gap: 5px;
}
.nav-toggle-bar {
    display: block; width: 24px; height: 2px; border-radius: 2px;
    background: var(--text); transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: rgba(11, 10, 11, 0.98); backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255, 106, 31, 0.3);
        padding: 0.5rem 0; max-height: 0; overflow: hidden;
        transition: max-height 0.28s ease;
    }
    .nav-links.open { max-height: 80vh; overflow-y: auto; }
    .nav-link { padding: 0.85rem 1.5rem; font-size: 1.05rem; border-top: 1px solid rgba(255,255,255,0.06); }
}

/* Breadcrumb bar - shown below the nav on pages that are not a top-nav tab */
.crumb-bar { padding: 5rem 1.5rem 0; }
.crumb-inner {
    max-width: 760px; margin: 0 auto;
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.95rem; color: var(--text-dim);
    padding-bottom: 0.6rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.crumb-inner a { color: var(--flame); text-decoration: none; font-weight: 500; }
.crumb-inner a:hover { color: var(--ember); }
.crumb-inner .sep { opacity: 0.4; }
.crumb-bar + main { padding-top: 1.8rem; }

/* Content */
main {
    flex: 1;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 7rem 1.5rem 4rem;
}

main h1 {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.6rem;
    line-height: 1.25;
    letter-spacing: 0.04em;
    text-shadow: 0 0 24px rgba(255, 106, 31, 0.45);
}

.updated {
    color: var(--text-dim);
    font-style: italic;
    margin-bottom: 2.5rem;
}

section {
    margin-bottom: 1.6rem;
    background: var(--card);
    border: 1px solid var(--card-line);
    border-radius: 6px;
    padding: 1.4rem 1.6rem;
}

section h2 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--flame);
    margin-bottom: 0.7rem;
}

section p {
    font-size: 1.08rem;
    color: var(--text-dim);
    margin-bottom: 0.7rem;
    line-height: 1.7;
}
section p:last-child { margin-bottom: 0; }

section p strong { color: var(--text); font-weight: 600; }
section a { color: var(--flame); }

/* Table (cookies page) */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.6rem 0;
    font-size: 1rem;
}
th, td {
    text-align: left;
    padding: 0.6rem 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
th {
    color: var(--flame);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
}
td { color: var(--text-dim); }

/* Phones: stack each row as a card. The names are long unbreakable strings
   (volzara_cookie_consent), and four columns of them made the whole page
   598px wide on a 390px screen, which pushed the nav toggle off-screen. */
@media (max-width: 600px) {
    table, tbody, tr, td { display: block; width: 100%; }
    table tr:first-child { display: none; }
    table tr { padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
    table td { border: 0; padding: 0.2rem 0; overflow-wrap: anywhere; }
    table td::before {
        content: attr(data-label);
        display: block;
        font-family: 'Cinzel', Georgia, serif;
        color: var(--flame);
        font-weight: 700;
        font-size: 0.8rem;
    }
}

/* Footer */
footer {
    padding: 2rem 1.5rem calc(2rem + env(safe-area-inset-bottom, 0px));
    text-align: center;
    color: var(--text-dim);
    font-size: 0.95rem;
    background: var(--night);
    border-top: 1px solid rgba(255,255,255,0.08);
}
footer a { color: var(--text); text-decoration: none; }
footer a:hover { color: var(--ember); }

.sep { margin: 0 0.5rem; opacity: 0.4; }
.footer-powered { margin-top: 0.6rem; }
.footer-powered a { color: var(--flame); text-decoration: underline; }
.footer-powered a:hover { color: var(--ember); }
.footer-powered .studio { color: var(--text-dim); }

/* Mobile */
@media (max-width: 768px) {
    main h1 { font-size: 1.55rem; }
    section h2 { font-size: 1.08rem; }
    section p { font-size: 1.02rem; }
    .logo-text { font-size: 13px; letter-spacing: 2px; }
}
