/* =========================================================
   RESET + VARIABLES
   ========================================================= */

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

:root {
    --accent: #002c2c;
    --text-max-desktop: 700px;
    --text-max-mobile: 520px;
}

body {
    font-family: system-ui, sans-serif;
    background: #000;
    color: #fff;
}

/* =========================================================
   TOP BAR
   ========================================================= */

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;

    height: 56px;
    padding: 0 32px;

    display: flex;
    align-items: center;

    font-family: "Press Start 2P", monospace;
    font-size: 22px;
    text-transform: uppercase;

    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    object-fit: cover;

    /* CASTLE FOCUS (RIGHT + TOP) */
    object-position: 80% 15%;

    z-index: 0;
}

.overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
        to right,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.15)
    );
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 900px;
    padding: 120px 72px 80px;
}

.hero-content h1 {
    font-family: "Press Start 2P", monospace;
    font-size: 36px;
    line-height: 1.3;
}

.description {
    margin-top: 160px;
    max-width: 720px;

    font-family: "Press Start 2P", monospace;
    font-size: 12px;
    line-height: 2;
    color: #cfcfcf;
}

/* =========================================================
   TASKBAR
   ========================================================= */

.taskbar {
    position: sticky;
    top: 56px;
    z-index: 10;

    height: 60px;
    background: #333;
    border-top: 4px solid var(--accent);
}

.taskbar-inner {
    max-width: 900px;
    height: 100%;
    margin: 0 auto;

    display: flex;
    align-items: center;
    padding: 0 72px;
}

.taskbar-button {
    font-family: "Press Start 2P", monospace;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    margin-right: 40px;
}

.taskbar-button:hover {
    color: var(--accent);
}

/* =========================================================
   CONTENT SECTIONS (DESKTOP)
   ========================================================= */

.content-block {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 72px;
    border-bottom: 1px solid #333;
}

.content-block h2 {
    font-family: "Press Start 2P", monospace;
    color: var(--accent);
    margin-bottom: 32px;
}

.content-block p,
.content-block ul {
    max-width: var(--text-max-desktop);
    font-size: 16px;
    line-height: 1.6;
}

.content-block li {
    margin-bottom: 12px;
}

.download-button {
    display: inline-block;
    margin-top: 24px;
    padding: 14px 28px;

    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 6px;
}

/* =========================================================
   MOBILE — CLEAN + READABLE
   ========================================================= */

@media (max-width: 768px) {

    .top-bar {
        height: 48px;
        font-size: 16px;
        justify-content: center;
        padding: 0 20px;
    }

    .hero {
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        padding: 80px 20px 60px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .description {
        margin-top: 60px;
        font-size: 10px;
        line-height: 1.8;
    }

    /* MOBILE CASTLE LOCK */
    .hero-image {
        object-position: 85% 12%;
    }

    .taskbar {
        top: 48px;
        height: 50px;
    }

    .taskbar-inner {
        padding: 0 10px;
        justify-content: space-around;
    }

    .taskbar-button {
        font-size: 12px;
        margin: 0;
    }

    /* MOBILE CONTENT */
    .content-block {
        padding: 68px 28px; /* larger side margins */
        text-align: left;
    }

    .content-block h2 {
        text-align: center;
        font-size: 18px;
        margin-bottom: 24px;
    }

    .content-block p {
        max-width: var(--text-max-mobile);
        margin: 0 auto 18px;
        font-size: 13px; /* slightly smaller */
        line-height: 1.65;
    }

    .content-block ul {
        max-width: var(--text-max-mobile);
        margin: 0 auto;
        padding-left: 18px;
    }

    .content-block li {
        font-size: 13px;
        margin-bottom: 10px;
        line-height: 1.6;
    }

    .download-button {
        display: block;
        margin: 32px auto 0;
        text-align: center;
    }
}
