/* Feed Us Games - site styles
   Palette: black, white, shades of blue */
:root {
    --bg: #000000;
    --fg: #ffffff;
    --muted: #9bb1c9;
    --blue: #4ea3ff;
    --blue-dim: #1f4a7a;
    --blue-deep: #0a1a2e;
    --card: #0d1726;
    --border: #1f3554;
    --accent: #6cc4ff;
    --max-w: 1100px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.55;
    min-height: 100%;
}

body {
    background:
        radial-gradient(ellipse at top, #061226 0%, #000 60%) no-repeat;
    background-attachment: fixed;
}

a {
    color: var(--accent);
    text-decoration: none;
}
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

/* Layout */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 24px;
}

/* Header */
.site-header {
    border-bottom: 1px solid var(--border);
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    position: sticky;
    top: 0;
    z-index: 10;
}
.site-header .container {
    /* Flush to the left and right edges of the page. */
    max-width: none;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--fg);
}
.brand:hover { text-decoration: none; }
.brand .logo-mark {
    width: 64px;
    height: 64px;
    flex: 0 0 auto;
}
.brand .logo-mark svg,
.brand .logo-mark img { width: 100%; height: 100%; display: block; }
.brand .name {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 14px;
}

nav.primary a {
    color: var(--muted);
    margin-left: 22px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
}
nav.primary a:hover, nav.primary a.active { color: var(--fg); text-decoration: none; }

/* Hero */
.hero {
    text-align: center;
    padding: 70px 24px 40px;
}
.hero .logo-large {
    width: 180px;
    height: 180px;
    margin: 0 auto 24px;
}
.hero .logo-large img { width: 100%; height: 100%; display: block; }
.hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    margin: 0 0 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.hero .tagline {
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto;
    font-size: 18px;
}

/* Section heading */
h2.section-title {
    font-size: 28px;
    margin: 48px 0 18px;
    letter-spacing: 0.04em;
}
.crumbs {
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}
.crumbs a { color: var(--muted); }

/* Cards / grid */
.cards {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    color: var(--fg);
    display: flex;
    flex-direction: column;
    transition: transform .15s ease, border-color .15s ease;
}
.card:hover {
    text-decoration: none;
    border-color: var(--blue);
    transform: translateY(-2px);
}
.card .thumb {
    aspect-ratio: 16 / 9;
    background: #050a14 center/cover no-repeat;
    border-bottom: 1px solid var(--border);
}
.card .body {
    padding: 16px 18px 18px;
}
.card h3 {
    margin: 0 0 6px;
    font-size: 18px;
    letter-spacing: 0.03em;
}
.card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

/* Two big landing cards */
.landing-cards {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr 1fr;
    margin-top: 16px;
}
.landing-cards .card {
    text-align: center;
    padding: 36px 24px;
}
.landing-cards .card h3 { font-size: 22px; margin-bottom: 10px; }
@media (max-width: 700px) {
    .landing-cards { grid-template-columns: 1fr; }
}

/* Game page hero */
.game-hero {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 28px;
    align-items: start;
    margin-top: 8px;
}
.game-hero .shot {
    aspect-ratio: 16 / 9;
    background: #050a14 center/cover no-repeat;
    border: 1px solid var(--border);
    border-radius: 10px;
}
@media (max-width: 800px) {
    .game-hero { grid-template-columns: 1fr; }
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 20px;
}
.gallery img {
    border: 1px solid var(--border);
    border-radius: 6px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.tags {
    margin: 14px 0 6px;
}
.tag {
    display: inline-block;
    border: 1px solid var(--blue-dim);
    color: var(--accent);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 12px;
    margin-right: 6px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 8px;
    border: 1px solid var(--blue);
    color: var(--fg);
    background: transparent;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
}
.btn:hover { background: var(--blue-dim); text-decoration: none; }
.btn.primary {
    background: var(--blue);
    color: #001025;
    border-color: var(--blue);
}
.btn.primary:hover { background: var(--accent); }
.btn.ghost { border-color: var(--border); color: var(--muted); }
.btn.ghost:hover { color: var(--fg); border-color: var(--muted); background: transparent; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* Download widget */
.download-box {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    background: linear-gradient(180deg, #0c1a2e 0%, #050d1a 100%);
}
.download-box h3 {
    margin: 0 0 6px;
    font-size: 18px;
    letter-spacing: 0.04em;
}
.download-box .meta {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 14px;
}
.download-box .download-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.platform-note {
    color: var(--muted);
    font-size: 12px;
    margin-top: 12px;
}

/* Modal (coffee prompt) */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal {
    background: #0a1424;
    border: 1px solid var(--border);
    border-radius: 12px;
    max-width: 460px;
    width: 100%;
    padding: 28px 26px;
    text-align: center;
}
.modal h3 {
    margin: 0 0 8px;
    font-size: 22px;
    letter-spacing: 0.04em;
}
.modal p {
    color: var(--muted);
    margin: 0 0 18px;
    font-size: 15px;
}
.coffee-icon {
    font-size: 42px;
    margin-bottom: 6px;
}
.modal .actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.modal .actions .btn { width: 100%; }
.modal .small {
    font-size: 12px;
    color: var(--muted);
    margin-top: 14px;
}

/* Footer */
footer.site-footer {
    border-top: 1px solid var(--border);
    margin-top: 80px;
    padding: 30px 24px;
    color: var(--muted);
    font-size: 14px;
}
footer.site-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 0;
}
footer .socials {
    display: flex;
    align-items: center;
    gap: 14px;
}
footer .socials a {
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    transition: color .15s ease, background .15s ease;
}
footer .socials a:hover {
    color: var(--fg);
    background: rgba(255,255,255,0.06);
    text-decoration: none;
}
footer .socials svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    display: block;
}

/* Game / project meta line under the section title */
.game-meta {
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: -8px 0 18px;
}
.game-meta .sep {
    margin: 0 10px;
    opacity: 0.5;
}

/* Stack multiple download buttons vertically */
.download-box .download-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.download-box .download-row .btn { flex: 1 1 auto; }

/* Prose body text on game pages */
.prose p { color: #d6e2f0; }
.prose h2 { margin-top: 28px; }
.prose ul { color: #d6e2f0; }
