/* Bomberang - Legal Pages (Terms, Privacy, Cookies) - matches the bright landing theme */

:root {
    --sky: #ff8a1e;            /* fuse orange (primary accent/hover) */
    --grape: #4aa8e0;          /* sky blue */
    --grape-deep: #2f7fc0;
    --lime: #6bbf4a;           /* hill green */
    --lime-deep: #3f8f2f;
    --magenta: #ff5a2b;        /* flame */
    --magenta-deep: #c23d18;
    --corn: #ffd23b;           /* spark yellow */
    --tangerine: #ff8a1e;      /* fuse orange */
    --berry: #4aa8e0;          /* sky blue */
    --text: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.82);
    --card: rgba(255, 255, 255, 0.12);
    --card-line: rgba(255, 255, 255, 0.30);
}

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

body {
    font-family: 'Fredoka', 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 50% -8%, rgba(255, 210, 63, 0.22) 0%, transparent 45%),
        radial-gradient(circle at 100% 22%, rgba(255, 138, 30, 0.22) 0%, transparent 45%),
        radial-gradient(circle at 0% 62%, rgba(107, 191, 74, 0.24) 0%, transparent 46%),
        linear-gradient(180deg, #5bb8ea 0%, #3f93d4 44%, #1c4f7a 100%);
    background-attachment: fixed;
}

/* Press Start 2P - retro candy display for the main title, matching the landing */
main h1 { font-family: 'Press Start 2P', monospace; }

/* 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(20, 26, 40, 0.82);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(255, 138, 30, 0.4);
}
.nav-inner {
    max-width: 960px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.7rem 1.5rem;
}
.logo {
    text-decoration: none; color: var(--text);
    display: flex; align-items: center; gap: 0.5rem;
}
.logo-img {
    display: block; height: 30px; width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}
.beta-badge {
    display: inline-block;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.5rem; line-height: 1; letter-spacing: 0.08em;
    color: #143d00;
    background: linear-gradient(180deg, #c4ff7a 0%, var(--lime) 100%);
    padding: 0.28rem 0.4rem 0.24rem; border-radius: 4px;
    box-shadow: 0 2px 0 var(--lime-deep), inset 0 1px 1px rgba(255,255,255,0.6);
    vertical-align: middle;
}
.breadcrumb {
    font-size: 0.95rem; color: var(--text-dim); font-weight: 500;
    display: flex; align-items: center; gap: 0.5rem;
}
.breadcrumb a { color: var(--lime); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: var(--magenta); }
.breadcrumb .sep { opacity: 0.4; }

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

main h1 {
    font-size: 1.9rem;
    color: var(--corn);
    margin-bottom: 0.6rem;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-shadow: 3px 3px 0 var(--magenta-deep), 0 0 30px rgba(255, 210, 63, 0.35);
}

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

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

section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--lime);
    margin-bottom: 0.7rem;
}

section p {
    font-size: 1.02rem;
    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; }

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

/* Footer */
footer {
    padding: 2rem 1.5rem;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.12);
}
footer a { color: var(--lime); text-decoration: none; font-weight: 600; }
footer a:hover { color: var(--magenta); }

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

/* Mobile */
@media (max-width: 768px) {
    main h1 { font-size: 1.35rem; }
    section h2 { font-size: 1.15rem; }
    section p { font-size: 0.98rem; }
}
