:root {
    --red: #D72323;
    --red-deep: #A01B1B;
    --yellow: #FFFF30;
    --black: #111111;
    --white: #F5F0EB;
    --cream: #FAF6F0;
    --gray-newsprint: #E8E0D4;
    --gray-warm: #C4BAA8;
    --gray-mid: #8A8275;

    --font-display: 'Bangers', cursive;
    --font-body: 'DM Sans', sans-serif;
    --font-mono: 'Space Mono', monospace;
}

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

body {
    font-family: var(--font-body);
    color: var(--black);
    -webkit-font-smoothing: antialiased;
}

/* ── Home / Login ── */

.page-home {
    background-color: var(--red);
    min-height: 100vh;
    min-height: 100dvh;
}

.home-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 40px 20px;
}

.home-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

.logo {
    max-width: 200px;
    height: auto;
}

.google-btn {
    display: block;
    transition: transform 0.1s;
}

.google-btn:active {
    transform: scale(0.97);
}

.clipart {
    transform: rotate(2deg);
    opacity: 0.85;
    max-width: 150px;
    height: auto;
}

/* ── Legal pages (Terms, Privacy) ── */

.page-legal {
    background-color: var(--red);
    min-height: 100vh;
}

.legal-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.legal-logo {
    display: block;
    text-align: center;
    margin-bottom: 32px;
}

.legal-logo img {
    max-width: 140px;
    height: auto;
}

.legal-card {
    background: var(--white);
    border-radius: 4px;
    padding: 32px 28px;
    box-shadow: 3px 3px 0px var(--red-deep);
}

.legal-card h1 {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.legal-card .meta {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-mid);
    margin-bottom: 28px;
}

.legal-card h2 {
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 1px;
    margin-top: 24px;
    margin-bottom: 8px;
}

.legal-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--black);
}

/* ── Post page ── */

.page-post {
    background-color: var(--red);
    min-height: 100vh;
}

.post-container {
    max-width: 540px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.post-logo {
    display: block;
    text-align: center;
    margin-bottom: 32px;
}

.post-logo img {
    max-width: 140px;
    height: auto;
}

.post-card {
    background: var(--white);
    border-radius: 4px;
    padding: 20px;
    box-shadow: 3px 3px 0px var(--red-deep);
}

.post-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.post-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-warm);
    box-shadow: 2px 2px 0px var(--red-deep);
}

.post-handle {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
}

.post-time {
    font-family: var(--font-mono);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-mid);
    margin-left: 8px;
}

.post-body {
    margin-bottom: 20px;
}

.post-body p {
    font-size: 14px;
    line-height: 1.6;
}

.post-cta {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid var(--gray-newsprint);
}

.cta-button {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: 2px;
    background: var(--yellow);
    color: var(--black);
    padding: 12px 24px;
    text-decoration: none;
    box-shadow: 2px 2px 0px var(--red-deep);
    transition: transform 0.1s;
}

.cta-button:active {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0px var(--red-deep);
}
