/* ============================================================
   EDUCE — by Educed Moment
   Palette extracted from in-game pixel art:
   warm earth, sandstone, sage, dusty pink edge-glow.
   ============================================================ */

:root {
    /* Backgrounds — warm, never pure black */
    --bg:           #0e0a08;
    --bg-elev:      #1a120e;
    --bg-block:     #20180f;

    /* Text — warm, never pure white */
    --text:         #f1e4d3;
    --text-muted:   #a89380;
    --text-dim:     #6e5d4d;

    /* Accents from the game */
    --pink:         #e9b4a3;   /* lit-edge glow — primary accent */
    --pink-deep:    #d49a87;
    --olive:        #9b9866;   /* sage / creature olive */
    --burn:         #d65a3a;   /* hot bird-red — used sparingly */

    /* Borders / lines */
    --line:         rgba(233, 180, 163, 0.12);
    --line-strong:  rgba(233, 180, 163, 0.25);
}

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

html {
    background: var(--bg);
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Subtle warm vignette toward the bottom */
    background-image: radial-gradient(ellipse at 50% 120%, rgba(214, 90, 58, 0.06), transparent 60%);
    min-height: 100vh;
}

::selection {
    background: var(--pink);
    color: var(--bg);
}

/* --------------------------------------------------------- *
 * Layout
 * --------------------------------------------------------- */

main {
    max-width: 880px;
    margin: 0 auto;
    padding: 60px 24px 40px;
}

@media (max-width: 600px) {
    main { padding: 40px 18px 30px; }
}

/* --------------------------------------------------------- *
 * Links
 * --------------------------------------------------------- */

a {
    color: var(--pink);
    text-decoration: none;
    transition: color 120ms ease, text-shadow 120ms ease;
}

a:visited {
    color: var(--pink-deep);
}

a:hover {
    color: var(--text);
    text-shadow: 0 0 6px var(--pink);
}

/* --------------------------------------------------------- *
 * Game title (wordmark stand-in)
 * --------------------------------------------------------- */

.game-title {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: normal;
    font-size: clamp(4rem, 14vw, 8rem);
    letter-spacing: 0.25em;
    text-align: center;
    margin: 20px 0 30px;
    color: var(--text);
    text-shadow:
        0 0 12px rgba(233, 180, 163, 0.20),
        0 0 32px rgba(214, 90, 58, 0.10);
    /* Slight ink-bleed feel */
    -webkit-text-stroke: 0.5px var(--pink-deep);
}

/* --------------------------------------------------------- *
 * Steam button (single, prominent)
 * --------------------------------------------------------- */

.tagline {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    letter-spacing: 0.08em;
    font-size: 1.05rem;
    margin: -10px 0 28px;
}

.stores {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 0 auto 14px;
}

.store-btn {
    display: inline-block;
    padding: 14px 28px;
    border: 1px solid var(--pink);
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: linear-gradient(180deg, rgba(233, 180, 163, 0.08), rgba(233, 180, 163, 0.02));
    transition: all 200ms ease;
}

.store-btn:hover {
    background: var(--pink);
    color: var(--bg);
    text-shadow: none;
    box-shadow:
        0 0 20px rgba(233, 180, 163, 0.45),
        0 0 40px rgba(214, 90, 58, 0.25);
    transform: translateY(-1px);
}

.availability {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 36px;
}

/* --------------------------------------------------------- *
 * Trailer (commented out in HTML until trailer exists)
 * --------------------------------------------------------- */

.trailer-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    margin: 30px 0;
    border: 1px solid var(--line);
    background: var(--bg-block);
}

.trailer {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}

/* --------------------------------------------------------- *
 * Quick links (Press Kit / Dev)
 * --------------------------------------------------------- */

.quick-links {
    text-align: center;
    margin: 26px 0 18px;
    font-size: 1.05rem;
    letter-spacing: 0.2em;
}

.quick-link {
    text-transform: uppercase;
    font-weight: 600;
}

.quick-link__sep {
    color: var(--text-dim);
    margin: 0 14px;
}

/* --------------------------------------------------------- *
 * Contact bar (icons)
 * --------------------------------------------------------- */

.contact-bar {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin: 12px 0 40px;
}

.contact-bar a {
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    transition: color 150ms ease, transform 150ms ease;
}

.contact-bar a:hover {
    color: var(--pink);
    transform: translateY(-2px);
    text-shadow: none;
}

/* --------------------------------------------------------- *
 * Body copy
 * --------------------------------------------------------- */

p {
    margin: 18px 0;
}

.lead {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text);
    margin: 30px auto;
    max-width: 65ch;
    text-align: center;
}

.lead--quiet {
    font-size: 1rem;
    color: var(--pink);
    font-style: italic;
    letter-spacing: 0.04em;
    margin-top: -10px;
}

.aside {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 30px auto;
    max-width: 65ch;
    text-align: center;
    font-style: italic;
}

/* --------------------------------------------------------- *
 * Image grid (gameplay shots)
 * --------------------------------------------------------- */

.grid--media {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin: 44px 0;
}

@media (max-width: 600px) {
    .grid--media { grid-template-columns: 1fr; }
}

.shot {
    width: 100%;
    height: auto;
    display: block;
    image-rendering: pixelated;        /* preserve pixel art crispness */
    image-rendering: -moz-crisp-edges;
    /* Polaroid frames are baked into the image — no border, just a warm cast shadow */
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45))
            drop-shadow(0 2px 4px rgba(214, 90, 58, 0.10));
    transition: filter 250ms ease, transform 250ms ease;
}

.shot:hover {
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.55))
            drop-shadow(0 0 12px rgba(233, 180, 163, 0.30));
    transform: translateY(-2px);
}

/* --------------------------------------------------------- *
 * Features list
 * --------------------------------------------------------- */

.features {
    list-style: none;
    margin: 30px auto;
    max-width: 65ch;
    padding: 0;
}

.features li {
    position: relative;
    padding: 8px 0 8px 24px;
    border-bottom: 1px solid var(--line);
    color: var(--text);
}

.features li:last-child {
    border-bottom: 0;
}

.features li::before {
    content: "·";
    position: absolute;
    left: 0;
    top: 6px;
    color: var(--pink);
    font-size: 1.6rem;
    line-height: 1;
}

/* --------------------------------------------------------- *
 * Meta (platforms / release / price)
 * --------------------------------------------------------- */

.meta {
    text-align: center;
    margin: 36px 0;
    padding: 22px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.meta p {
    margin: 6px 0;
    font-size: 0.95rem;
    color: var(--text);
}

.meta__label {
    display: inline-block;
    min-width: 90px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    margin-right: 12px;
}

.meta b {
    color: var(--text);
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* --------------------------------------------------------- *
 * Studio credit (Educed Moment, at bottom)
 * --------------------------------------------------------- */

.studio {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--line-strong);
    text-align: center;
}

.studio__title {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: normal;
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.studio__brand {
    display: inline-block;
    line-height: 0;
}

.studio__brand:hover {
    text-shadow: none;
}

.studio__logo {
    height: 40px;
    width: auto;
    /* Logo is dark-ink on transparent — invert to read on dark bg */
    filter: invert(1) brightness(0.95) sepia(0.3) hue-rotate(-15deg) saturate(0.6);
    transition: filter 200ms ease;
}

.studio__brand:hover .studio__logo {
    filter: invert(1) brightness(1) drop-shadow(0 0 8px var(--pink));
}

.studio p {
    max-width: 60ch;
    margin: 12px auto;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --------------------------------------------------------- *
 * Footer
 * --------------------------------------------------------- */

footer {
    text-align: center;
    padding: 40px 20px 30px;
    color: var(--text-dim);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    border-top: 1px solid var(--line);
    margin-top: 60px;
}
