@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@700;900&family=Outfit:wght@800;900&family=Press+Start+2P&display=swap');

:root {
    --primary: #1e90ff;      /* Sky Blue */
    --accent-yellow: #ffa502;/* Accent Yellow */
    --accent-red: #ff4757;   /* Accent Red */
    --bg-dark: #1e272e;      /* Slate Dark */
    --bg-light: #f1f2f6;     /* Light Gray */
    --border: #000000;
    --card-shadow: 6px 6px 0px #000000;
    --btn-shadow: 4px 4px 0px #000000;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', 'Noto Sans JP', sans-serif;
    background-color: var(--bg-dark);
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
    background-image: radial-gradient(circle at center, #0c2461 0%, #1e272e 100%);
    position: relative;
}

/* Comic Ray Background layer */
body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 250vw;
    height: 250vw;
    transform: translate(-50%, -50%);
    background: repeating-conic-gradient(
        from 0deg,
        rgba(255, 255, 255, 0.02) 0deg 15deg,
        transparent 15deg 30deg
    );
    animation: rotateRays 240s linear infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes rotateRays {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Header */
header {
    background-color: #ffffff;
    border-bottom: 4px solid var(--border);
    padding: 12px 30px;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.header-logo-img {
    height: 40px;
    image-rendering: pixelated;
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #111111;
    font-weight: 900;
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: 6px;
    border: 2px solid transparent;
    transition: all 0.15s ease;
}

nav a:hover {
    background-color: var(--primary);
    color: white;
    border: 2.5px solid #000000;
    box-shadow: 2px 2px 0 #000;
}

.btn-nav-wishlist {
    background-color: var(--accent-yellow);
    border: 2.5px solid #000000 !important;
    box-shadow: var(--btn-shadow);
    color: #000000 !important;
}

.btn-nav-wishlist:hover {
    background-color: #ffb830;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #000;
}

/* Language switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 5px;
}
.lang-switch-icon {
    font-size: 1rem;
    line-height: 1;
}
#langSelect {
    font-family: inherit;
    font-weight: 900;
    font-size: 0.85rem;
    color: #111111;
    background-color: var(--bg-light);
    border: 2.5px solid #000000;
    border-radius: 6px;
    box-shadow: 2px 2px 0 #000;
    padding: 5px 8px;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}
#langSelect:hover {
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 #000;
}
#langSelect:focus {
    outline: none;
    background-color: #fff;
}

/* Main Container */
.page-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ==========================================================================
   Hero Banner — cocco_homepage.png をHTML/CSSで再構築
   ========================================================================== */
.hero-section {
    display: flex;
    justify-content: center;
}

.cocco-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 5px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--card-shadow);
    padding: 22px 24px 14px;
    background:
        radial-gradient(circle at 50% 0%, #5cb3f5 0%, #2c8de0 45%, #1c6fc7 100%);
    color: #fff;
}

/* Decorative sky clouds */
.bn-cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    filter: blur(0.5px);
    pointer-events: none;
    z-index: 0;
}
.bn-cloud::before,
.bn-cloud::after {
    content: '';
    position: absolute;
    background: inherit;
    border-radius: 50%;
}
.bn-cloud-1 { width: 90px; height: 22px; top: 70px; left: 38%; }
.bn-cloud-1::before { width: 40px; height: 40px; top: -16px; left: 18px; }
.bn-cloud-1::after  { width: 30px; height: 30px; top: -10px; left: 50px; }
.bn-cloud-2 { width: 70px; height: 18px; top: 30px; right: 24%; opacity: 0.7; }
.bn-cloud-2::before { width: 32px; height: 32px; top: -14px; left: 14px; }
.bn-cloud-3 { width: 60px; height: 16px; top: 120px; left: 12%; opacity: 0.6; }
.bn-cloud-3::before { width: 26px; height: 26px; top: -10px; left: 14px; }

/* ---- Top row: logo + spec chips ---- */
.bn-top {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.bn-logo-wrap { flex-shrink: 1; }

.bn-logo {
    width: clamp(220px, 38vw, 360px);
    height: auto;
    display: block;
    filter: drop-shadow(3px 3px 0 rgba(0, 0, 0, 0.25));
}

.bn-tagline {
    margin-top: 6px;
    font-weight: 900;
    font-size: clamp(0.95rem, 2.4vw, 1.45rem);
    color: #fff;
    text-shadow: 2px 2px 0 #1c5aa0, -1px -1px 0 #1c5aa0;
    letter-spacing: 1px;
}
.bn-tagline .hl-egg {
    color: var(--accent-yellow);
    text-shadow: 2px 2px 0 #000;
}

.bn-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.spec-chip {
    border: 3px solid #000;
    border-radius: 10px;
    padding: 5px 12px;
    box-shadow: 3px 3px 0 #000;
    min-width: 150px;
    text-align: center;
    line-height: 1.25;
}
.chip-label {
    display: block;
    font-size: 0.6rem;
    font-weight: 900;
    color: #000;
    letter-spacing: 0.5px;
}
.chip-value {
    display: block;
    font-size: 0.95rem;
    font-weight: 900;
}
.chip-yellow { background: var(--accent-yellow); }
.chip-yellow .chip-value { color: #000; }
.chip-blue { background: #2563eb; }
.chip-blue .chip-label { color: #fff; }
.chip-blue .chip-value { color: #fff; }
.chip-red { background: var(--accent-red); }
.chip-red .chip-label { color: #fff; }
.chip-red .chip-value { color: #fff; }
.chip-steam sup { font-size: 0.55em; }

/* Floating enemy */
.bn-float-enemy {
    position: absolute;
    top: 96px;
    right: 30%;
    width: 40px;
    height: auto;
    z-index: 2;
    animation: bobSprite 1.6s infinite alternate;
    filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.2));
}

/* ---- Middle row: 4 gameplay panels ---- */
.bn-panels {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.game-panel {
    border: 3px solid #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 3px 3px 0 #000;
    background: #000;
}

.panel-scene {
    position: relative;
    height: 78px;
    background: linear-gradient(#7ec6f7 0%, #4aa3e8 100%);
    overflow: hidden;
}

.panel-label {
    background: #2ecc71;
    color: #fff;
    font-weight: 900;
    font-size: 0.72rem;
    text-align: center;
    padding: 4px 2px;
    border-top: 2px solid #000;
    text-shadow: 1px 1px 0 #1c8a4b;
}

/* Mini scene elements (shared by panels & gameplay shot) */
.mini-cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.65);
    height: 6px;
    border-radius: 6px;
}
.mc-a { width: 32px; top: 12px; left: 14px; }
.mc-b { width: 26px; top: 20px; right: 16px; }

.mini-plat {
    position: absolute;
    bottom: 8px;
    height: 10px;
    background: #9b7653;
    border: 2px solid #000;
    border-radius: 2px;
}
.mini-plat::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: #2ecc71;
}
.mp-mid { bottom: 38px; }

.mini-spr {
    position: absolute;
    image-rendering: pixelated;
    z-index: 3;
}
.spr-cocco { height: 26px; animation: bobSprite 1.5s infinite alternate; }
.spr-cocco.jump { animation: jumpSprite 0.9s infinite alternate; }
.spr-enemy { height: 20px; animation: wiggleSprite 0.7s infinite alternate; }
.spr-egg   { height: 22px; animation: pulseEgg 1.2s infinite alternate; }

@keyframes jumpSprite {
    from { transform: translateY(6px); }
    to   { transform: translateY(-10px); }
}

/* ---- Bottom row ---- */
.bn-bottom {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr 1.4fr;
    gap: 14px;
    align-items: center;
    margin-top: 16px;
}

/* Difficulty starburst badge */
.diff-burst {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 150px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: var(--accent-red);
    color: #fff;
    border: 3px solid #000;
    padding: 10px;
    clip-path: polygon(
        50% 0%, 61% 12%, 78% 6%, 78% 24%, 95% 28%, 84% 42%,
        100% 50%, 84% 58%, 95% 72%, 78% 76%, 78% 94%, 61% 88%,
        50% 100%, 39% 88%, 22% 94%, 22% 76%, 5% 72%, 16% 58%,
        0% 50%, 16% 42%, 5% 28%, 22% 24%, 22% 6%, 39% 12%
    );
    animation: burstPulse 1.4s infinite alternate;
}
.diff-top {
    font-size: 0.62rem;
    font-weight: 900;
    text-shadow: 1px 1px 0 #000;
}
.diff-main {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--accent-yellow);
    text-shadow: 2px 2px 0 #000;
    line-height: 1.1;
}
@keyframes burstPulse {
    from { transform: rotate(-4deg) scale(1); }
    to   { transform: rotate(4deg) scale(1.05); }
}

/* Feature checklist */
.bn-features { position: relative; }
.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.feature-list li {
    background: rgba(255, 255, 255, 0.95);
    color: #1c2733;
    font-weight: 900;
    font-size: 0.78rem;
    padding: 5px 10px 5px 28px;
    border: 2px solid #000;
    border-radius: 8px;
    box-shadow: 2px 2px 0 #000;
    position: relative;
}
.feature-list li::before {
    content: '✔';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-red);
    font-size: 0.85rem;
}
.idea-chicken {
    position: absolute;
    right: -6px;
    bottom: -10px;
    width: 54px;
    text-align: center;
}
.idea-bulb {
    display: block;
    font-size: 1.1rem;
    animation: pulseEgg 1s infinite alternate;
}
.idea-cocco {
    width: 40px;
    height: auto;
    image-rendering: pixelated;
    animation: bobSprite 1.8s infinite alternate;
}

/* Gameplay screenshot */
.gameplay-shot {
    border: 3px solid #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 3px 3px 0 #000;
    background: #000;
}
.shot-hud {
    background: #000;
    color: #fff;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 0.55rem;
    display: flex;
    gap: 8px;
    padding: 3px 8px;
    flex-wrap: wrap;
}
.hud-ts { color: var(--accent-yellow); margin-left: auto; }
.shot-scene {
    position: relative;
    height: 96px;
    background: linear-gradient(#7ec6f7 0%, #4aa3e8 100%);
    overflow: hidden;
}
.shot-star {
    position: absolute;
    right: 30px;
    top: 26px;
    width: 24px;
    height: 24px;
    background: var(--accent-red);
    clip-path: polygon(
        50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%,
        50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%
    );
    animation: burstPulse 0.9s infinite alternate;
}

/* ---- CTA bar ---- */
.bn-cta {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 18px;
}
.cta-steam {
    background: #fff;
    color: #0b3d91;
    font-weight: 900;
    font-size: 1.1rem;
    text-decoration: none;
    padding: 10px 26px;
    border: 3px solid #000;
    border-radius: 50px;
    box-shadow: 4px 4px 0 #000;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.cta-steam:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #000;
}
.cta-wishlist {
    color: #fff;
    font-weight: 900;
    font-size: 0.95rem;
    text-decoration: none;
    text-shadow: 1px 1px 0 #1c5aa0;
}
.cta-wishlist:hover { text-decoration: underline; }
.cta-heart { color: var(--accent-red); }

/* ---- Banner credit ---- */
.bn-credit {
    position: relative;
    z-index: 2;
    text-align: center;
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 12px;
}

/* ---- Banner responsive ---- */
@media (max-width: 720px) {
    .bn-top { flex-direction: column; align-items: center; text-align: center; }
    .bn-specs { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .spec-chip { min-width: 110px; }
    .bn-float-enemy { display: none; }
    .bn-panels { grid-template-columns: repeat(2, 1fr); }
    .bn-bottom { grid-template-columns: 1fr; }
    .diff-burst { max-width: 130px; }
    .idea-chicken { position: static; margin: 8px auto 0; }
}

/* ==========================================================================
   配信・収益化OK宣言ストリップ
   ========================================================================== */
.stream-ok {
    border: 5px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--card-shadow);
    background:
        repeating-linear-gradient(
            45deg,
            #ffd23f 0px, #ffd23f 24px,
            #ffc107 24px, #ffc107 48px
        );
    padding: 6px;
    position: relative;
    overflow: hidden;
}

.stream-ok-inner {
    background: #fff;
    border: 3px solid #000;
    border-radius: 12px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 24px;
}

/* 丸スタンプ風アイコン */
.stream-ok-stamp {
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--accent-red);
    color: #fff;
    border: 4px solid #000;
    box-shadow: 4px 4px 0 #000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 900;
    font-size: 1.25rem;
    line-height: 1.1;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.4);
    transform: rotate(-8deg);
    animation: stampPulse 1.5s infinite alternate;
}
@keyframes stampPulse {
    from { transform: rotate(-8deg) scale(1); }
    to   { transform: rotate(-4deg) scale(1.06); }
}

.stream-ok-text { color: #1c2733; }

.stream-ok-title {
    font-size: clamp(1.1rem, 2.6vw, 1.6rem);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}
.stream-ok-title .hl-ok {
    color: var(--primary);
    background: rgba(30, 144, 255, 0.12);
    padding: 0 6px;
    border-radius: 4px;
}

.stream-ok-lead {
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.stream-ok-lead strong {
    color: var(--accent-red);
    font-size: 1.1em;
}

.stream-ok-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 12px;
}
.stream-ok-list li {
    background: #eef6ff;
    border: 2.5px solid #000;
    border-radius: 50px;
    box-shadow: 2px 2px 0 #000;
    font-weight: 900;
    font-size: 0.82rem;
    padding: 5px 14px;
    color: #1c2733;
}

.stream-ok-note {
    font-size: 0.82rem;
    font-weight: 700;
    color: #57606f;
    line-height: 1.5;
}
.stream-ok-note small { color: #8a93a2; font-size: 0.92em; }

@media (max-width: 720px) {
    .stream-ok-inner { flex-direction: column; text-align: center; padding: 20px; }
    .stream-ok-list { justify-content: center; }
}

/* Neobrutalist Card common */
.card-neobrutal {
    background-color: #ffffff;
    color: #111111;
    border: 4px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    position: relative;
}

.section-badge {
    position: absolute;
    top: -16px;
    left: 20px;
    border: 3px solid #000;
    padding: 4px 14px;
    font-weight: 900;
    font-size: 0.75rem;
    letter-spacing: 1px;
    border-radius: 50px;
    box-shadow: 2px 2px 0 #000;
    color: #000;
}
.badge-blue { background-color: var(--primary); color: #fff; }
.badge-yellow { background-color: var(--accent-yellow); }
.badge-red { background-color: var(--accent-red); color: #fff; }
.badge-cyan { background-color: #00d2d3; }
.badge-purple { background-color: #a55eea; color: #fff; }

.section-title {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    border-bottom: 3.5px solid #000;
    padding-bottom: 6px;
    display: inline-block;
}

/* Overview Layout */
.overview-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: center;
}

.overview-text p {
    margin-bottom: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    max-width: 28em; /* 28文字幅で改行されるように制限 */
    text-align: justify;
    text-justify: inter-character;
}
.overview-text p strong {
    color: var(--accent-red);
    background-color: rgba(255,71,87,0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.overview-visual {
    background-color: #eef2f7;
    border: 3px solid #000;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
}

.visual-sprites-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.visual-sprite {
    height: 48px;
    image-rendering: pixelated;
}
.sprite-cocco { animation: bobSprite 1.5s infinite alternate; }
.sprite-enemy { animation: wiggleSprite 0.6s infinite alternate; }
.sprite-egg { animation: pulseEgg 1.2s infinite alternate; }

.vs-plus {
    font-size: 1.5rem;
    font-weight: 900;
    color: #000;
}

@keyframes bobSprite {
    from { transform: translateY(0); }
    to { transform: translateY(-8px); }
}
@keyframes wiggleSprite {
    from { transform: rotate(-5deg); }
    to { transform: rotate(5deg); }
}
@keyframes pulseEgg {
    from { filter: drop-shadow(0 0 2px rgba(255,242,0,0.2)); }
    to { filter: drop-shadow(0 0 8px rgba(255,242,0,0.8)); }
}

/* Character Card */
.character-card {
    display: flex;
    gap: 25px;
    align-items: center;
    background-color: #eef2f7;
    border: 3.5px solid #000;
    border-radius: 12px;
    padding: 20px;
}

.char-avatar-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #000;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 3px 3px 0 #000;
    flex-shrink: 0;
}

.char-avatar-img {
    height: 48px;
    image-rendering: pixelated;
    animation: bobSprite 2s infinite alternate;
}

.char-info h3 {
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 4px;
}

.char-desc {
    font-size: 1rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 6px;
}

.char-sub {
    font-size: 0.88rem;
    font-weight: 700;
    color: #57606f;
}

/* Two Column Layout */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.flex-1 { display: flex; flex-direction: column; }

.modes-intro, .sim-intro {
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 20px;
}

.modes-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: auto;
}

.mode-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background-color: #eef2f7;
    border: 3px solid #000;
    padding: 12px 16px;
    border-radius: 10px;
}

.mode-badge {
    border: 2px solid #000;
    border-radius: 6px;
    font-weight: 900;
    font-size: 0.65rem;
    padding: 2px 8px;
    box-shadow: 2px 2px 0 #000;
    color: #fff;
    flex-shrink: 0;
    margin-top: 2px;
}
.badge-easy { background-color: var(--accent-yellow); color: #000 !important; }
.badge-normal { background-color: var(--primary); }
.badge-hard { background-color: var(--accent-red); }
.badge-special { background-color: #a55eea; }

.mode-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: #2f3542;
    line-height: 1.4;
}

/* CRT Simulator Monitor styling */
.monitor-wrapper {
    background-color: #2f3542;
    border: 4.5px solid #000;
    border-radius: 18px;
    padding: 12px;
    box-shadow: 6px 6px 0px #000;
    position: relative;
    margin-top: auto;
}

.monitor-screen {
    background: radial-gradient(circle, #35a5ea 0%, #0984e3 100%);
    border: 3px solid #000;
    border-radius: 10px;
    height: 180px;
    position: relative;
    overflow: hidden;
}

.screen-hud {
    background-color: #000;
    color: #ffffff;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 0.65rem;
    padding: 4px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #000;
    z-index: 10;
    position: relative;
}

.screen-arena {
    height: calc(100% - 22px);
    position: relative;
}

/* Clouds background inside simulator */
.arena-cloud {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    height: 8px;
}
.ac-1 { width: 50px; top: 15px; left: 20px; }
.ac-2 { width: 60px; top: 30px; right: 30px; }

/* Sim Sprites placement */
.sim-sprite {
    position: absolute;
    image-rendering: pixelated;
    z-index: 5;
}

.sim-cocco {
    height: 28px;
    left: 20px;
    bottom: 15px;
    animation: breathing 2s infinite alternate;
}

.sim-enemy {
    height: 22px;
    right: 80px;
    bottom: 12px;
    animation: wiggleSprite 0.8s infinite alternate;
}

.sim-egg {
    height: 20px;
    right: 20px;
    bottom: 52px;
    animation: pulseEgg 1s infinite alternate;
}

/* Sim Platforms */
.sim-plat {
    position: absolute;
    background-color: #7f8c8d;
    border: 2px solid #000;
    height: 12px;
    box-shadow: 0 2px 0 #000;
}
.sim-plat::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background-color: #2ecc71; /* Grass cap */
}
.plat-left { width: 100px; left: 5px; bottom: 0px; }
.plat-right { width: 50px; right: 10px; bottom: 40px; }

/* CRT Filter Scanlines overlay */
.screen-scanlines {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.18) 50%);
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 20;
}

/* Splat Overlay container for eggs */
.splat-overlay {
    position: absolute;
    top: 22px; left: 0; right: 0; bottom: 0;
    z-index: 15;
    pointer-events: none;
    transition: background-color 0.3s ease;
}

/* Dynamic CSS Fried Egg Splat styling */
.fried-egg-splat {
    position: absolute;
    background-color: #ffffff;
    border: 2.5px solid #000;
    border-radius: 45% 55% 50% 50% / 50% 45% 55% 50%;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.15);
    z-index: 16;
    opacity: 0.3; /* Faint/transparent fried egg splats */
}

.egg-yolk {
    position: absolute;
    width: 44%;
    height: 44%;
    background: radial-gradient(circle, #ffb830 0%, #ff9f43 100%);
    border: 2px solid #000;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: inset -1px -1px 0 rgba(0,0,0,0.1);
}

/* Simulator controls buttons panel */
.monitor-controls {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.btn-control {
    flex: 1;
    border: 3.5px solid #000;
    padding: 10px 14px;
    font-size: 0.9rem;
    font-weight: 900;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-mistake {
    background-color: var(--accent-red);
    color: #ffffff;
    box-shadow: 3px 3px 0px #000;
}
.btn-mistake:hover { background-color: #ff334b; }

.btn-clean {
    background-color: var(--accent-yellow);
    color: #000000;
    box-shadow: 3px 3px 0px #000;
}
.btn-clean:hover { background-color: #ffb830; }

.btn-control:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0px #000;
}

@keyframes breathing {
    from { transform: scaleY(1); }
    to { transform: scaleY(0.95); }
}

/* Specs Section Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.spec-card {
    background-color: #eef2f7;
    border: 3px solid #000;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 4px 4px 0 #000;
}

.spec-card h4 {
    font-size: 0.72rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
    font-weight: 900;
}

.spec-card p {
    font-size: 1.1rem;
    font-weight: 900;
    color: #111111;
}

.spec-steam h4 {
    color: #1783d1;
}
.spec-steam {
    background-color: #eef6ff;
}

/* Footer Section */
footer {
    background-color: #111111;
    color: #a4b0be;
    text-align: center;
    padding: 50px 20px;
    border-top: 5px solid #000;
}

.footer-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.footer-logo-img {
    height: 45px;
    image-rendering: pixelated;
}

.footer-desc {
    font-size: 0.9rem;
    font-weight: 700;
    color: #747d8c;
    margin-bottom: 20px;
}

.footer-copyright {
    font-size: 0.8rem;
    color: #57606f;
    letter-spacing: 0.5px;
}

/* Responsive Overrides */
@media (max-width: 900px) {
    .two-column-layout {
        grid-template-columns: 1fr;
    }
    .overview-layout {
        grid-template-columns: 1fr;
    }
    .overview-visual {
        max-width: 320px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .card-neobrutal {
        padding: 20px;
    }
    .character-card {
        flex-direction: column;
        text-align: center;
    }
}