/* mybgshelf.com — static site in the app's "night" theme */
@import url('fonts/fonts.css');

:root {
    --bg-page: #1e293b;
    --bg-card: #334155;
    --bg-input: #475569;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-title: #7dd3fc;
    --accent: #7dd3fc;
    --accent-dark: #38bdf8;
    --border: #475569;
    --win: #4ade80;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg-page);
    color: var(--text-primary);
    font-family: 'Merriweather', Georgia, serif;
    font-size: 16px;
    line-height: 1.7;
}

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

h1, h2, h3, .title {
    font-family: 'IM Fell English SC', Georgia, serif;
    font-weight: 400;
    color: var(--text-title);
    line-height: 1.2;
}

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-title); font-family: 'IM Fell English SC', Georgia, serif; font-size: 1.4rem; }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.site-header nav a { margin-left: 18px; text-decoration: none; color: var(--text-secondary); font-size: 0.95rem; }
.site-header nav a:hover { color: var(--accent); }

/* Hero */
.hero { text-align: center; padding: 64px 0 40px; }
.hero img.icon { width: 112px; height: 112px; border-radius: 24px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }
.hero h1 { font-size: clamp(2.4rem, 7vw, 4rem); margin: 20px 0 8px; }
.hero .tagline { font-size: clamp(1.05rem, 2.6vw, 1.3rem); color: var(--text-secondary); max-width: 640px; margin: 0 auto 28px; }

.store-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.badge {
    display: inline-flex; flex-direction: column; align-items: flex-start;
    padding: 10px 18px; border-radius: 10px; border: 1px solid var(--border);
    background: #0f172a; color: var(--text-primary); text-decoration: none; min-width: 190px;
}
.badge small { font-size: 0.72rem; color: var(--text-secondary); letter-spacing: 0.04em; text-transform: uppercase; }
.badge strong { font-family: 'Merriweather', Georgia, serif; font-size: 1.05rem; }
.badge.soon { opacity: 0.75; cursor: default; }

/* Sections */
section { padding: 48px 0; }
section h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); text-align: center; margin: 0 0 32px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.feature { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 22px; }
.feature h3 { font-size: 1.35rem; margin: 0 0 8px; }
.feature p { margin: 0; color: var(--text-secondary); font-size: 0.95rem; }
.feature .emoji { font-size: 1.8rem; display: block; margin-bottom: 6px; }

.screens { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; align-items: start; }
.screens figure { margin: 0; }
.screens img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border); display: block; }
.screens figcaption { text-align: center; color: var(--text-secondary); font-size: 0.9rem; margin-top: 8px; }

.callout { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; max-width: 760px; margin: 0 auto; }
.callout p { margin: 0 0 10px; }
.callout p:last-child { margin-bottom: 0; }

/* Policy / long text pages */
.doc { max-width: 760px; margin: 0 auto; padding: 40px 0 64px; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 4px; }
.doc .meta { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 32px; }
.doc h2 { font-size: 1.6rem; text-align: left; margin: 36px 0 10px; }
.doc ul { padding-left: 1.3em; }
.doc li { margin-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin: 12px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px; border-bottom: 1px solid var(--border); }
.doc th { color: var(--text-title); font-weight: 700; }
.table-scroll { overflow-x: auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); color: var(--text-secondary); font-size: 0.85rem; padding: 28px 0; text-align: center; }
.site-footer a { color: var(--text-secondary); }
.site-footer p { margin: 4px 0; }

@media (max-width: 560px) {
    .site-header nav a { margin-left: 12px; }
    .brand span { display: none; }
}
