:root {
    color-scheme: dark;
    --bg:       #0d0804;
    --surface:  #1a1208;
    --surface2: #261a0c;
    --border:   #4a3510;
    --gold:     #c8a030;
    --gold-lt:  #e8c868;
    --text:     #e0d0a8;
    --muted:    #907860;
    --accent:   #38b0b8;
    --accent2:  #2898a0;
    --radius:   4px;
}
* { box-sizing: border-box; }
body {
    position: relative;
    color: var(--text);
    font: 15px/1.6 system-ui, sans-serif;
    margin: 0;
    min-height: 100vh;
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-lt); }

/* Same blurred backdrop as the suite's login pages (see
   RiseOfAtlantisAdmin/assets/app.css .auth-page::before/::after) — own local
   copy of bg-doa.webp since this is a standalone app. */
body::before {
    content: "";
    position: fixed;
    inset: -20px;
    background: url('bg-doa.webp') center / cover no-repeat;
    filter: blur(2px);
    z-index: -2;
}
body::after {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(13, 8, 4, .82), rgba(13, 8, 4, .88)),
        radial-gradient(ellipse at 50% 0%, rgba(200, 160, 48, .06) 0%, transparent 55%);
    z-index: -1;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(200, 160, 48, .07);
}

.hero-banner {
    background: var(--surface);
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 2px 16px rgba(0, 0, 0, .7);
    padding: 48px 24px;
    text-align: center;
}
.hero-banner .brand {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 42px;
    letter-spacing: 3px;
    color: var(--gold);
    text-shadow: 0 0 24px rgba(200, 160, 48, .5);
    margin: 0;
}
.hero-banner .tagline {
    color: var(--muted);
    font-size: 16px;
    margin: 14px 0 0;
}

.page {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.about { padding: 24px; }
.about h2 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 19px;
    margin: 0 0 12px;
}
.about-faq { display: flex; flex-direction: column; gap: 16px; }
.about-faq dt {
    font-weight: 600;
    color: var(--gold-lt);
    font-size: 14.5px;
    margin: 0 0 4px;
}
.about-faq dd {
    color: var(--text);
    font-size: 14px;
    margin: 0;
}
.tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.tool-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.tool-card h2 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 19px;
    margin: 0;
}
.tool-card p {
    color: var(--text);
    font-size: 13.5px;
    margin: 0;
    flex: 1;
}
.tool-card .btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;
    background: linear-gradient(to bottom, #44c8d0, #1a98a4);
    color: #fff;
    border: 1px solid var(--gold);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
    transition: opacity .15s, box-shadow .15s;
}
.tool-card .btn:hover {
    opacity: .9;
    box-shadow: 0 0 10px rgba(200, 160, 48, .3);
    color: #fff;
}

.app-footer {
    position: relative;
    margin-top: 48px;
    padding: 28px 24px 40px;
    border-top: 1px solid var(--border);
    background: var(--surface);
    text-align: center;
}
/* Golden line frame — same decorative touch as the other ROAVAULT apps
   (see RiseOfAtlantisTracker/server/assets/app.css). Hotlinked straight from
   reignofatlantis.com since this app has no img.php pull-through cache of
   its own. */
.app-footer::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 18px;
    background: url('https://reignofatlantis.com/assets/images/ui/frames/ui_frame_golden_line.webp') repeat-x center / auto 100%;
    pointer-events: none;
}
.app-footer-inner { max-width: 1200px; margin: 0 auto; }
.app-footer-inner p { font-size: 12px; color: var(--muted); line-height: 1.6; margin: 0 0 12px; }
.app-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--muted);
}
.app-footer-discord {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold);
}
.app-footer-discord:hover { color: var(--gold-lt); }
