/* ==========================================================
   Celestails Studios — site styles
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg: #0a0712;
    --bg-deep: #07050e;
    --surface: #120e1f;
    --surface-2: #171226;
    --line: rgba(173, 148, 225, 0.14);
    --line-strong: rgba(173, 148, 225, 0.3);

    --violet: #9d4edd;
    --violet-bright: #b57bee;
    --violet-deep: #6d28b8;
    --ice: #8fd4ff;
    --glow: rgba(157, 78, 221, 0.35);

    --text: #eee9f7;
    --text-soft: #b9b0cd;
    --text-dim: #8a819e;

    --discord: #5865F2;

    --display: 'Fraunces', Georgia, serif;
    --body: 'Inter', 'Segoe UI', system-ui, sans-serif;

    --wrap: 1060px;
    --radius: 14px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* soft cosmic wash, fixed so it doesn't scroll with content */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(900px 600px at 12% -5%, rgba(157, 78, 221, 0.20), transparent 60%),
        radial-gradient(700px 500px at 95% 15%, rgba(80, 140, 220, 0.12), transparent 60%),
        radial-gradient(800px 700px at 50% 110%, rgba(109, 40, 184, 0.16), transparent 60%);
}

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

a { color: inherit; }

::selection { background: var(--violet); color: #fff; }

:focus-visible {
    outline: 2px solid var(--violet-bright);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ---------- Header ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 0.85rem 5%;
    background: rgba(10, 7, 18, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    display: block;
    width: auto;
    height: 64px;
    object-fit: contain;
}

header nav {
    display: flex;
    gap: 1.9rem;
    align-items: center;
}

header nav a {
    position: relative;
    color: var(--text-soft);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.93rem;
    padding: 4px 0;
    transition: color 0.25s ease;
}

header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: var(--violet-bright);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.28s ease;
}

header nav a:hover { color: var(--text); }
header nav a:hover::after { transform: scaleX(1); }

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
    flex: 1;
}

section + section { margin-top: 5rem; }

.section-title {
    font-family: var(--display);
    font-size: clamp(1.5rem, 3vw, 1.95rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 1.6rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--line-strong), transparent);
}

/* ---------- Hero ---------- */
.hero {
    padding: 4.5rem 0 3.5rem;
    max-width: 680px;
}

.hero h1 {
    font-family: var(--display);
    font-size: clamp(2.3rem, 6vw, 3.6rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 1.1rem;
}

.hero p {
    color: var(--text-soft);
    font-size: 1.1rem;
    max-width: 52ch;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.8rem;
}

.chip {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-soft);
    padding: 5px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
}

/* ---------- Game cards (home) ---------- */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 1.6rem;
}

.game-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.game-card:hover {
    border-color: var(--line-strong);
    transform: translateY(-3px);
}

.game-banner {
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    border-bottom: 1px solid var(--line);
}

.game-content {
    padding: 1.4rem 1.5rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.game-header-flex {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.game-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 12px;
    object-fit: cover;
    image-rendering: pixelated;
    border: 1px solid var(--line-strong);
}

.game-title {
    font-family: var(--display);
    font-size: 1.22rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.badge-soon {
    margin-left: auto;
    flex-shrink: 0;
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--ice);
    background: rgba(143, 212, 255, 0.1);
    border: 1px solid rgba(143, 212, 255, 0.28);
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.game-description {
    color: var(--text-soft);
    font-size: 0.93rem;
    flex: 1;
}

.game-description p + p { margin-top: 0.7rem; }
.game-description strong { color: var(--text); }

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 1.4rem;
    padding: 11px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--violet) 0%, var(--violet-deep) 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    box-shadow: 0 4px 16px var(--glow);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 22px rgba(157, 78, 221, 0.55);
}

/* ---------- Discord strip ---------- */
.discord-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;
    flex-wrap: wrap;
    padding: 1.9rem 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background:
        linear-gradient(120deg, rgba(88, 101, 242, 0.12), transparent 65%),
        var(--surface);
}

.discord-info h3 {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: var(--display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.discord-info p {
    color: var(--text-soft);
    font-size: 0.94rem;
    max-width: 48ch;
}

.btn-discord {
    flex-shrink: 0;
    padding: 11px 24px;
    border-radius: 10px;
    background: var(--discord);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: transform 0.2s ease, filter 0.25s ease;
}

.btn-discord:hover { transform: translateY(-2px); filter: brightness(1.12); }

/* ---------- Credits ---------- */
.credits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.2rem;
}

.credit-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem 1.4rem;
}

.credit-card h4 {
    font-family: var(--display);
    font-size: 1.02rem;
    font-weight: 600;
    margin-bottom: 1.1rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid var(--line);
}

.credit-group + .credit-group { margin-top: 1rem; }

.credit-role {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--violet-bright);
    margin-bottom: 0.25rem;
}

.credit-name {
    font-size: 0.91rem;
    color: var(--text-soft);
    line-height: 1.5;
}

.credits-footer-note {
    margin-top: 2rem;
    text-align: center;
    padding: 1.6rem;
    border-top: 1px solid var(--line);
}

.credits-footer-note h5 {
    font-family: var(--display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.credits-footer-note p { color: var(--text-dim); font-size: 0.9rem; }

/* ---------- Detail pages ---------- */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text-soft);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 1.6rem;
    transition: color 0.25s ease, gap 0.25s ease;
}

.back-btn:hover { color: var(--violet-bright); gap: 11px; }

/* hero banner on a game page */
.game-hero-banner {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    margin-bottom: -58px;
}

.game-hero-banner img {
    width: 100%;
    aspect-ratio: 2.4 / 1;
    object-fit: cover;
}

.game-hero-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 35%, rgba(10, 7, 18, 0.55) 72%, var(--bg) 100%);
}

.game-header-card {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    gap: 1.6rem;
    padding: 0 1.6rem 1.6rem;
    margin-bottom: 2.4rem;
}

.game-detail-icon {
    width: 116px;
    height: 116px;
    min-width: 116px;
    border-radius: 22px;
    object-fit: cover;
    image-rendering: pixelated;
    border: 3px solid var(--bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

.game-header-info { flex: 1; min-width: 0; padding-bottom: 4px; }

.game-header-info h1 {
    font-family: var(--display);
    font-size: clamp(1.7rem, 4.2vw, 2.35rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.12;
    color: #fff;
    margin-bottom: 0.3rem;
}

.game-subtitle {
    color: var(--text-soft);
    font-size: 1rem;
    margin-bottom: 1.1rem;
    max-width: 52ch;
}

/* small factual row under the title */
.game-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem;
    padding: 1.1rem 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.fact-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-dim);
    margin-bottom: 2px;
}

.fact-value { font-size: 0.95rem; font-weight: 600; color: var(--text); }

/* ---------- Store button ---------- */
.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 22px 10px 18px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--violet) 0%, var(--violet-deep) 100%);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 5px 20px var(--glow);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(157, 78, 221, 0.55);
}

.store-btn svg { width: 26px; height: 26px; flex-shrink: 0; }

.store-btn-text { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.store-btn-small { font-size: 0.68rem; color: rgba(255, 255, 255, 0.8); }
.store-btn-big { font-size: 1rem; font-weight: 700; letter-spacing: 0.01em; }

.btn-download { /* legacy alias */
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--violet) 0%, var(--violet-deep) 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px var(--glow);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-download:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(157, 78, 221, 0.6); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 10px;
    border: 1px solid var(--line-strong);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.btn-ghost:hover { background: rgba(157, 78, 221, 0.1); border-color: var(--violet); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }

/* ---------- Content cards ---------- */
.detail-card, .legal-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.2rem;
    margin-bottom: 2.5rem;
}

.detail-section, .legal-section { margin-bottom: 2rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }

.detail-section:last-child, .legal-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.detail-section h3, .legal-section h3 {
    font-family: var(--display);
    font-size: 1.22rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #fff;
    margin-bottom: 0.7rem;
}

.detail-section p, .legal-section p { color: var(--text-soft); font-size: 0.97rem; }
.detail-section p + p, .legal-section p + p { margin-top: 0.8rem; }
.detail-section strong, .legal-section strong { color: var(--text); font-weight: 600; }

.styled-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-top: 0.9rem; }

.styled-list li {
    position: relative;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-left: 2px solid var(--violet);
    padding: 0.85rem 1.15rem;
    border-radius: 9px;
    color: var(--text-soft);
    font-size: 0.93rem;
}

.styled-list li strong { color: var(--text); }

/* feature grid on game page */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.feature-item {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 1.2rem 1.25rem;
}

.feature-item h4 { font-size: 0.97rem; font-weight: 600; color: var(--text); margin-bottom: 0.35rem; }
.feature-item p { font-size: 0.89rem; color: var(--text-soft); line-height: 1.55; }

/* screenshot strip */
.shot-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.shot-strip img { border-radius: 11px; border: 1px solid var(--line); width: 100%; }

.legal-title {
    font-family: var(--display);
    font-size: clamp(1.8rem, 4.5vw, 2.4rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 0.15rem;
}

.legal-date { color: var(--violet-bright); font-weight: 600; font-size: 0.85rem; margin-bottom: 1.8rem; }

/* ---------- Footer ---------- */
footer {
    margin-top: auto;
    border-top: 1px solid var(--line);
    padding: 2.6rem 1.5rem;
    text-align: center;
    background: var(--bg-deep);
}

.footer-mark { height: 78px; width: auto; margin: 0 auto 1.5rem; opacity: 0.6; }

.social-links { display: flex; justify-content: center; align-items: center; gap: 0.9rem; margin-bottom: 1.4rem; }

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.social-icon svg { width: 17px; height: 17px; fill: currentColor; }

.social-icon:hover {
    color: #fff;
    background: var(--violet);
    border-color: var(--violet);
    transform: translateY(-3px);
}

.copyright { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 0.5rem; }

.legal-links { display: flex; justify-content: center; gap: 0.9rem; font-size: 0.85rem; color: var(--text-dim); }
.legal-links a { color: var(--text-dim); text-decoration: none; transition: color 0.25s ease; }
.legal-links a:hover { color: var(--violet-bright); }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
    header { padding: 0.8rem 1.2rem; }
    header nav { gap: 1.2rem; }
    header nav a { font-size: 0.88rem; }
}

@media (max-width: 680px) {
    header { flex-direction: column; gap: 0.75rem; }
    .hero { padding: 3rem 0 2.5rem; }
    section + section { margin-top: 3.5rem; }

    .game-hero-banner { margin-bottom: -40px; }
    .game-hero-banner img { aspect-ratio: 16 / 9; }

    .game-header-card { flex-direction: column; align-items: center; text-align: center; padding: 0 1rem 1rem; }
    .game-detail-icon { width: 96px; height: 96px; min-width: 96px; }
    .game-subtitle { margin-left: auto; margin-right: auto; }
    .btn-row { justify-content: center; }

    .game-facts { gap: 1.2rem 2rem; justify-content: center; text-align: center; }

    .discord-section { flex-direction: column; align-items: flex-start; padding: 1.5rem; }
    .detail-card, .legal-card { padding: 1.5rem; }
    .game-header-flex { flex-wrap: wrap; }
    .badge-soon { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================
   Contact page
   ========================================================== */

.contact-hero {
    text-align: center;
    padding: 2.5rem 0 3rem;
}

.contact-mark {
    height: 120px;
    width: auto;
    margin: 0 auto 1.8rem;
    opacity: 0.9;
    filter: drop-shadow(0 0 28px rgba(157, 78, 221, 0.35));
}

.contact-hero h1 {
    font-family: var(--display);
    font-size: clamp(1.9rem, 5vw, 2.6rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 0.8rem;
}

.contact-hero p {
    color: var(--text-soft);
    font-size: 1.05rem;
    max-width: 50ch;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.1rem;
    margin-bottom: 2.5rem;
}

.contact-card {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1.6rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.contact-card:hover {
    border-color: var(--line-strong);
    background: var(--surface-2);
    transform: translateY(-3px);
}

.contact-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(157, 78, 221, 0.12);
    color: var(--violet-bright);
    margin-bottom: 0.3rem;
}

.contact-card-icon svg { width: 19px; height: 19px; fill: currentColor; }

.contact-card h3 {
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
}

.contact-card p { font-size: 0.89rem; color: var(--text-soft); line-height: 1.5; }

.contact-card-handle {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--violet-bright);
    word-break: break-word;
    margin-top: auto;
    padding-top: 0.5rem;
}

/* highlighted "become a tester" panel */
.contact-callout {
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background:
        linear-gradient(120deg, rgba(157, 78, 221, 0.14), transparent 70%),
        var(--surface);
}

.contact-callout h3 {
    font-family: var(--display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-callout p { color: var(--text-soft); font-size: 0.95rem; max-width: 58ch; }

.contact-callout ul {
    list-style: none;
    margin: 1rem 0 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.contact-callout li {
    position: relative;
    padding-left: 1.4rem;
    color: var(--text-soft);
    font-size: 0.93rem;
}

.contact-callout li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--violet-bright);
}

/* ==========================================================
   Devlog / news
   ========================================================== */

.devlog-list { display: flex; flex-direction: column; gap: 1rem; }

.devlog-entry {
    display: grid;
    grid-template-columns: 116px 1fr;
    gap: 1.5rem;
    padding: 1.4rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color 0.3s ease;
}

.devlog-entry:hover { border-color: var(--line-strong); }

.devlog-meta { display: flex; flex-direction: column; gap: 0.45rem; }

.devlog-date {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-dim);
}

.devlog-tag {
    align-self: flex-start;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 5px;
    white-space: nowrap;
}

.tag-update  { color: #7ee7a8; background: rgba(126, 231, 168, 0.1); border: 1px solid rgba(126, 231, 168, 0.28); }
.tag-dev     { color: var(--violet-bright); background: rgba(157, 78, 221, 0.12); border: 1px solid rgba(157, 78, 221, 0.3); }
.tag-news    { color: var(--ice); background: rgba(143, 212, 255, 0.1); border: 1px solid rgba(143, 212, 255, 0.28); }

.devlog-body h3 {
    font-family: var(--display);
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.35rem;
}

.devlog-body p { color: var(--text-soft); font-size: 0.93rem; }

.devlog-body ul {
    list-style: none;
    margin-top: 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.devlog-body li {
    position: relative;
    padding-left: 1.2rem;
    color: var(--text-soft);
    font-size: 0.91rem;
}

.devlog-body li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--violet);
}

/* ==========================================================
   Newsletter / signup box
   ========================================================== */

.signup-box {
    padding: 2.3rem 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--line-strong);
    text-align: center;
    background:
        radial-gradient(600px 300px at 50% 0%, rgba(157, 78, 221, 0.18), transparent 70%),
        var(--surface);
}

.signup-box h3 {
    font-family: var(--display);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.6rem;
}

.signup-box > p {
    color: var(--text-soft);
    font-size: 0.97rem;
    max-width: 52ch;
    margin: 0 auto 1.5rem;
}

.signup-form {
    display: flex;
    gap: 0.6rem;
    max-width: 440px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.signup-form input {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--line-strong);
    background: rgba(0, 0, 0, 0.3);
    color: var(--text);
    font-family: var(--body);
    font-size: 0.94rem;
    transition: border-color 0.25s ease;
}

.signup-form input::placeholder { color: var(--text-dim); }
.signup-form input:focus { outline: none; border-color: var(--violet); }

.signup-form button {
    padding: 12px 24px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, var(--violet) 0%, var(--violet-deep) 100%);
    color: #fff;
    font-family: var(--body);
    font-weight: 600;
    font-size: 0.94rem;
    cursor: pointer;
    box-shadow: 0 4px 16px var(--glow);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.signup-form button:hover { transform: translateY(-2px); box-shadow: 0 7px 22px rgba(157, 78, 221, 0.55); }

.signup-note { font-size: 0.82rem; color: var(--text-dim); margin-top: 1rem; }

.signup-status {
    font-size: 0.88rem;
    color: var(--ice);
    margin-top: 0.9rem;
    min-height: 1.2em;
}

/* ==========================================================
   FAQ (accordion)
   ========================================================== */

.faq-list { display: flex; flex-direction: column; gap: 0.7rem; }

.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 11px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item[open] { border-color: var(--line-strong); }

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.1rem 1.3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-weight: 600;
    font-size: 0.97rem;
    color: var(--text);
    transition: color 0.25s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--violet-bright); }

.faq-item summary::after {
    content: "";
    flex-shrink: 0;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--text-dim);
    border-bottom: 2px solid var(--text-dim);
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.faq-item[open] summary::after {
    transform: rotate(-135deg) translate(-2px, -2px);
    border-color: var(--violet-bright);
}

.faq-answer {
    padding: 0 1.3rem 1.2rem;
    color: var(--text-soft);
    font-size: 0.93rem;
}

.faq-answer p + p { margin-top: 0.6rem; }
.faq-answer a { color: var(--violet-bright); text-decoration: none; font-weight: 500; }
.faq-answer a:hover { text-decoration: underline; }

/* ==========================================================
   Media: trailer + gallery placeholders
   ========================================================== */

.trailer-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface-2);
    margin-top: 1rem;
}

.trailer-frame iframe,
.trailer-frame video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* placeholder state, shown until a real embed replaces it */
.media-placeholder {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 1.5rem;
    color: var(--text-dim);
    background:
        repeating-linear-gradient(45deg, rgba(157, 78, 221, 0.05) 0 12px, transparent 12px 24px),
        var(--surface-2);
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
}

.media-placeholder .play-badge {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(157, 78, 221, 0.15);
    border: 1px solid var(--line-strong);
    margin-bottom: 0.2rem;
}

.media-placeholder .play-badge svg { width: 20px; height: 20px; fill: var(--violet-bright); margin-left: 3px; }

.media-placeholder strong { color: var(--text-soft); font-size: 0.95rem; font-weight: 600; }
.media-placeholder span { font-size: 0.82rem; max-width: 34ch; line-height: 1.5; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.9rem;
    margin-top: 1rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 9 / 16;
    border-radius: 11px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface-2);
}

.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

.gallery-item .media-placeholder { border-radius: 11px; gap: 0.4rem; padding: 1rem; }
.gallery-item .media-placeholder strong { font-size: 0.86rem; }
.gallery-item .media-placeholder span { font-size: 0.75rem; }

.gallery-item .shot-num {
    font-family: var(--display);
    font-size: 1.6rem;
    font-weight: 600;
    color: rgba(157, 78, 221, 0.4);
}

@media (max-width: 680px) {
    .devlog-entry { grid-template-columns: 1fr; gap: 0.8rem; padding: 1.2rem; }
    .devlog-meta { flex-direction: row; align-items: center; gap: 0.7rem; }
    .contact-callout, .signup-box { padding: 1.5rem; }
    .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
    .contact-mark { height: 84px; }
}
