body {
    background-color: #111111;
    color: #eeeeee;
    font-family: Arial, sans-serif;

    max-width: 1000px;
    margin: 0 auto;

    padding: 0 30px;
}


/* Navigation */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 30px 0;

    border-bottom: 1px solid #2a2a2a;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 4px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #aaaaaa;
    text-decoration: none;

    font-size: 14px;
}

.nav-links a:hover {
    color: #ffffff;
}


/* Main content */

main {
    padding-bottom: 100px;
}

section {
    margin-top: 100px;
}


/* Hero */

.hero {
    min-height: 500px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eyebrow {
    color: #888888;

    font-size: 13px;
    letter-spacing: 3px;

    margin-bottom: 20px;
}

h1 {
    font-size: 72px;

    margin: 0 0 20px 0;

    letter-spacing: -3px;
}

.intro {
    max-width: 650px;

    font-size: 21px;
}


/* Headings */

h2 {
    font-size: 32px;

    margin-bottom: 25px;
}

h3 {
    font-size: 22px;
}


/* Paragraphs */

p {
    color: #aaaaaa;

    font-size: 18px;

    line-height: 1.7;
}


/* Project cards */

.project {
    border: 1px solid #2a2a2a;

    padding: 30px;

    margin-top: 25px;

    background-color: #151515;
}

.project p {
    margin-bottom: 0;
}


/* Mobile */

@media (max-width: 700px) {

    nav {
        flex-direction: column;

        gap: 20px;

        align-items: flex-start;
    }

    .nav-links {
        flex-wrap: wrap;
    }

    h1 {
        font-size: 50px;
    }

    section {
        margin-top: 70px;
    }
}/* Hero effects */

.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;

    width: 400px;
    height: 400px;

    background: rgba(255, 255, 255, 0.03);

    border-radius: 50%;

    filter: blur(80px);

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    z-index: -1;
}

.hero h1 {
    transition: letter-spacing 0.3s ease;
}

.hero h1:hover {
    letter-spacing: 2px;
}
/* System Status */

.status-panel {
    margin-top: 45px;

    width: 100%;
    max-width: 600px;

    border: 1px solid #2a2a2a;

    background-color: #0d0d0d;

    padding: 25px;

    font-family: monospace;

    box-sizing: border-box;
}

.status-header {
    display: flex;
    justify-content: space-between;

    padding-bottom: 18px;
    margin-bottom: 18px;

    border-bottom: 1px solid #2a2a2a;

    color: #eeeeee;

    font-size: 13px;
    letter-spacing: 2px;
}

.status-header span {
    color: #777777;

    font-size: 12px;
}

.status-line {
    display: flex;
    justify-content: space-between;

    padding: 9px 0;

    color: #777777;

    font-size: 14px;
}

.status-line strong {
    color: #dddddd;

    font-weight: normal;
}
.status-panel {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.03);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.status-panel:hover {
    transform: translateY(-3px);
    border-color: #444444;
}

.status-header span {
    transition: color 0.3s ease;
}

.status-panel:hover .status-header span {
    color: #eeeeee;
}
/* Projects */

.project-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;

    margin-top: 30px;
}

.project {
    position: relative;

    border: 1px solid #2a2a2a;

    padding: 30px;

    background-color: #151515;

    transition: transform 0.3s ease, border-color 0.3s ease;
}

.project:hover {
    transform: translateY(-5px);

    border-color: #555555;
}

.project-number {
    color: #555555;

    font-family: monospace;

    font-size: 13px;

    letter-spacing: 2px;
}

.project h3 {
    margin-top: 25px;
}

.project-tags {
    display: flex;

    gap: 10px;

    margin-top: 25px;
}

.project-tags span {
    border: 1px solid #333333;

    padding: 6px 10px;

    color: #777777;

    font-family: monospace;

    font-size: 11px;

    letter-spacing: 1px;
}


/* Mobile project layout */

@media (max-width: 700px) {

    .project-grid {
        grid-template-columns: 1fr;
    }

}
/* System Section Headers */

.section-header {
    display: flex;
    justify-content: space-between;

    border-top: 1px solid #2a2a2a;
    border-bottom: 1px solid #2a2a2a;

    padding: 12px 0;

    margin-bottom: 35px;

    color: #555555;

    font-family: monospace;

    font-size: 11px;

    letter-spacing: 1.5px;
}

.section-header span:last-child {
    color: #444444;
}
/* NIERS TERMINAL */

.terminal {
    margin-top: 30px;
    border: 1px solid #2a2a2a;
    background-color: #080808;
    font-family: monospace;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.02);
}

.terminal-header {
    display: flex;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid #222222;
    color: #666666;
    font-size: 12px;
    letter-spacing: 2px;
}

.terminal-header span:last-child {
    color: #777777;
}

.terminal-output {
    height: 220px;
    overflow-y: auto;
    padding: 20px;
}

.terminal-output p {
    margin: 8px 0;
    color: #888888;
    font-family: monospace;
    font-size: 14px;
}

.terminal-output p:first-child {
    color: #dddddd;
}

.terminal-command {
    color: #dddddd;
}

.terminal-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    border-top: 1px solid #222222;
    color: #dddddd;
}

.terminal-input span {
    color: #777777;
    font-family: monospace;
}

.terminal-input input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #eeeeee;
    font-family: monospace;
    font-size: 14px;
}
/* NIERS TERMINAL CURSOR */

.terminal-input::after {
    content: "";
    width: 7px;
    height: 16px;
    background: #aaaaaa;
    animation: terminalBlink 1s steps(1) infinite;
}

@keyframes terminalBlink {
    0%, 50% {
        opacity: 1;
    }

    51%, 100% {
        opacity: 0;
    }
}
/* NIERS LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 9px;
}

.logo-symbol {
    width: 32px;
    height: 32px;
    fill: #dddddd;
    flex-shrink: 0;
}

.logo-star {
    fill: #eeeeee;
}
/* ===== NIERS FUTURISTIC BACKGROUND ===== */

body {
    position: relative;
    background:
        linear-gradient(
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        ),
        #0b0b0b;

    background-size: 50px 50px;
}

/* subtle screen texture */

body::before {
    content: "";
    position: fixed;
    inset: 0;

    background:
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.012),
            rgba(255, 255, 255, 0.012) 1px,
            transparent 1px,
            transparent 4px
        );

    pointer-events: none;
    z-index: 9999;
}

/* fade grid toward edges */

body::after {
    content: "";
    position: fixed;
    inset: 0;

    background:
        radial-gradient(
            circle at center,
            transparent 20%,
            rgba(0, 0, 0, 0.55) 100%
        );

    pointer-events: none;
    z-index: -1;
}
/* ===== HERO SYSTEM INTERFACE ===== */

.hero-system-line {
    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 100%;
    margin-bottom: 45px;
    padding: 10px 0;

    border-top: 1px solid #2a2a2a;
    border-bottom: 1px solid #2a2a2a;

    font-family: monospace;
    font-size: 10px;
    letter-spacing: 2px;
    color: #555;
}

.hero-system-line span:last-child {
    color: #888;
}
.hero h1 {
    position: relative;
    text-transform: uppercase;
    font-family: Arial, sans-serif;
    font-size: clamp(60px, 10vw, 105px);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -5px;
}

.hero h1::after {
    content: "_";
    margin-left: 8px;

    font-family: monospace;
    font-size: 0.65em;
    font-weight: normal;

    animation: heroCursor 1s steps(1) infinite;
}

@keyframes heroCursor {
    0%, 49% {
        opacity: 1;
    }

    50%, 100% {
        opacity: 0;
    }
}
/* ===== ADVANCED SYSTEM STATUS ===== */

.status-panel {
    position: relative;
    overflow: hidden;

    border: 1px solid #333;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.025),
            transparent 40%
        ),
        #0a0a0a;

    box-shadow:
        0 0 40px rgba(255,255,255,0.025),
        inset 0 0 30px rgba(255,255,255,0.015);
}

/* animated scanner */

.status-panel::before {
    content: "";
    position: absolute;

    left: 0;
    top: -2px;

    width: 100%;
    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.35),
        transparent
    );

    animation: statusScan 5s linear infinite;

    pointer-events: none;
}

@keyframes statusScan {
    from {
        top: 0;
    }

    to {
        top: 100%;
    }
}

/* technical corner */

.status-panel::after {
    content: "SYS // 01";

    position: absolute;
    right: 12px;
    bottom: 8px;

    font-family: monospace;
    font-size: 8px;
    letter-spacing: 1px;

    color: #333;
}

/* status rows */

.status-line {
    transition:
        background 0.2s ease,
        padding 0.2s ease;
}

.status-line:hover {
    background: rgba(255,255,255,0.025);
    padding-left: 8px;
    padding-right: 8px;
}

/* online indicator */

.status-header span::before {
    content: "";

    display: inline-block;

    width: 5px;
    height: 5px;

    margin-right: 7px;

    border: 1px solid #aaa;
    border-radius: 50%;

    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 0.35;
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 6px rgba(255,255,255,0.5);
    }
}
/* ===== BOOT INFORMATION ===== */

.boot-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;

    margin-top: 25px;

    font-family: monospace;
    font-size: 9px;
    letter-spacing: 1.5px;

    color: #444;
}

.boot-info span::before {
    content: "[";
    color: #666;
}

.boot-info span::after {
    content: "]";
    color: #666;
}
/* ===== NIERS NAVIGATION ===== */

.nav-links a {
    position: relative;

    font-family: monospace;
    font-size: 11px;
    letter-spacing: 1.5px;

    color: #666;
    text-decoration: none;

    transition: color 0.2s ease;
}

.nav-links a span {
    margin-right: 5px;
    color: #333;
    font-size: 8px;
}

.nav-links a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -8px;

    width: 0;
    height: 1px;

    background: #aaa;

    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: #ddd;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover span {
    color: #777;
}
/* ===== SMOOTH SYSTEM NAVIGATION ===== */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}
/* ===== SCROLL PROGRESS ===== */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;

    width: 0%;
    height: 1px;

    background: #cccccc;

    z-index: 10000;

    box-shadow: 0 0 8px rgba(255, 255, 255, 0.35);
}
/* ===== NIERS ACCESS GATE ===== */

.access-gate {
    position: fixed;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px;

    background: rgba(5, 5, 5, 0.96);

    z-index: 20000;
}

.access-box {
    width: 100%;
    max-width: 500px;

    border: 1px solid #333;

    background: #090909;

    padding: 30px;

    box-shadow:
        0 0 60px rgba(255,255,255,0.04),
        inset 0 0 40px rgba(255,255,255,0.015);
}

.access-top {
    display: flex;
    justify-content: space-between;

    padding-bottom: 15px;

    border-bottom: 1px solid #222;

    font-family: monospace;
    font-size: 10px;
    letter-spacing: 2px;

    color: #555;
}

.access-symbol {
    display: flex;
    justify-content: center;

    margin: 45px 0 35px;

    font-family: monospace;
    font-size: 45px;

    color: #aaa;
}

.access-label {
    margin-bottom: 8px;

    font-family: monospace;
    font-size: 9px;
    letter-spacing: 2px;

    color: #555;
}

.access-box h2 {
    margin: 0;

    font-size: 32px;
    text-transform: uppercase;
}

.access-description {
    margin-top: 12px;

    font-size: 14px;

    color: #666;
}

.access-input-row {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 30px;
    padding: 14px;

    border: 1px solid #292929;

    font-family: monospace;
}

.access-input-row span {
    color: #777;
}

.access-input-row input {
    width: 100%;

    border: none;
    outline: none;

    background: transparent;

    color: #ddd;

    font-family: monospace;
    font-size: 13px;
    letter-spacing: 2px;

    text-transform: uppercase;
}

#accessButton {
    width: 100%;

    margin-top: 12px;
    padding: 14px;

    border: 1px solid #333;

    background: #111;

    color: #aaa;

    font-family: monospace;
    font-size: 11px;
    letter-spacing: 2px;

    cursor: pointer;

    transition: 0.2s ease;
}

#accessButton:hover {
    background: #ddd;
    color: #111;
}

.access-message {
    margin-top: 18px;
    margin-bottom: 0;

    font-family: monospace;
    font-size: 9px;
    letter-spacing: 1px;

    color: #444;
}
/* ===== NIERS CONTACT ===== */

.contact-panel {
    margin-top: 30px;
    border: 1px solid #2a2a2a;
    background: #0a0a0a;
    padding: 10px 30px;
}

.contact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 0;
    border-bottom: 1px solid #202020;

    font-family: monospace;
    font-size: 13px;
}

.contact-row:last-child {
    border-bottom: none;
}

.contact-row span {
    color: #555;
    letter-spacing: 2px;
}

.contact-row strong,
.contact-row a {
    color: #ddd;
    font-weight: normal;
    text-decoration: none;
}

.contact-row a:hover {
    color: #fff;
}

.contact-button {
    display: inline-block;

    margin-top: 20px;
    padding: 12px 18px;

    border: 1px solid #333;

    color: #888;
    text-decoration: none;

    font-family: monospace;
    font-size: 11px;
    letter-spacing: 2px;

    transition: 0.2s ease;
}

.contact-button:hover {
    background: #ddd;
    color: #111;
    border-color: #ddd;
}
/* ===== NAV SESSION IDENTITY ===== */

.nav-session {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;

    padding-left: 20px;
    border-left: 1px solid #252525;

    font-family: monospace;
    text-align: right;
}

#navUser {
    color: #aaa;
    font-size: 9px;
    letter-spacing: 1.5px;
}

#navIdentity {
    color: #444;
    font-size: 8px;
    letter-spacing: 1px;
}

@media (max-width: 850px) {
    .nav-session {
        align-items: flex-start;
        padding-left: 0;
        border-left: none;
    }
}