:root {
    --nr-bg: #050816;
    --nr-bg-alt: #0a0b1a;
    --nr-neon-cyan: #2df4ff;
    --nr-neon-pink: #ff4dff;
    --nr-neon-purple: #a64dff;
    --nr-text: #e7f5ff;
    --nr-muted: #8a99b5;
}

/* GLOBAL ------------------------------------------------------------------ */

.nr-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 0% 0%, #1b0f3b 0, transparent 55%),
        radial-gradient(circle at 100% 100%, #220b33 0, transparent 55%),
        linear-gradient(135deg, #02010a, #050816 60%, #02010a);
    color: var(--nr-text);
    font-family: "Share Tech Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
        "Liberation Mono", "Courier New", monospace;
}

/* NAVBAR ------------------------------------------------------------------ */

.nr-navbar {
    background: rgba(3, 4, 16, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(45, 244, 255, 0.2);
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.8);
}

.nr-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    box-shadow:
        0 0 8px rgba(255, 77, 255, 0.8),
        0 0 16px rgba(45, 244, 255, 0.8);

    /* show the tiny mech nicely */
    object-fit: contain;

    /* NEW: background texture behind the transparent sprite */
    background-image: url("../assets/img/floor.png");
    background-size: cover;       /* fill the rounded box */
    background-position: center;
    background-repeat: no-repeat;
}


.navbar-brand span {
    font-family: "Orbitron", system-ui, sans-serif;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
}

/* HERO TERMINAL ----------------------------------------------------------- */

.terminal-window {
    background: radial-gradient(circle at 0 0, #1a1632, #060414 70%);
    border-radius: 16px;
    border: 2px solid rgba(45, 244, 255, 0.7);
    box-shadow:
        0 0 12px rgba(45, 244, 255, 0.8),
        0 0 32px rgba(164, 77, 255, 0.7);
    overflow: hidden;
    position: relative;
    animation: nr-glow 4s ease-in-out infinite alternate;
}

.terminal-window::before {
    /* scanlines */
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.18),
        rgba(0, 0, 0, 0.18) 1px,
        transparent 1px,
        transparent 3px
    );
    mix-blend-mode: soft-light;
    opacity: 0.45;
    pointer-events: none;
    animation: nr-scan 6s linear infinite;
}

.terminal-header {
    padding: 0.5rem 0.9rem;
    border-bottom: 1px solid rgba(45, 244, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
}

.terminal-header .dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px;
    background: radial-gradient(circle, #ff4d4d 0, #7a1414 60%);
}

.terminal-header .dots span:nth-child(2) {
    background: radial-gradient(circle, #ffd84d 0, #7a6d14 60%);
}

.terminal-header .dots span:nth-child(3) {
    background: radial-gradient(circle, #6dff4d 0, #207a14 60%);
}

.terminal-title {
    color: var(--nr-muted);
}

.terminal-status {
    font-weight: 700;
    color: var(--nr-neon-cyan);
}

.terminal-body {
    position: relative;
    padding: 1.25rem 1rem 1.5rem;
    font-size: 0.85rem;
}

/* Code block tweaking */
.terminal-body pre {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: var(--nr-text);
}

.terminal-body code {
    background: transparent;
    padding: 0;
    font-size: inherit;
    color: inherit;
}

/* Animated cursor */
.terminal-cursor {
    display: inline-block;
    width: 0.6em;
    background: var(--nr-neon-cyan);
    margin-left: 0.1em;
    animation: nr-cursor 0.85s steps(2, start) infinite;
}

/* HERO ART --------------------------------------------------------------- */

.nr-hero-art {
    max-width: 360px;
    border-radius: 24px;
    box-shadow:
        0 0 24px rgba(255, 77, 255, 0.8),
        0 0 40px rgba(45, 244, 255, 0.9);
    transform: translateY(0);
    animation: nr-float 6s ease-in-out infinite;
}

/* SECTIONS --------------------------------------------------------------- */

.nr-section {
    background: radial-gradient(circle at top, rgba(36, 10, 71, 0.8), transparent 60%);
}

.section-title {
    font-family: "Orbitron", system-ui, sans-serif;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--nr-neon-cyan);
}

/* ARTICLE --------------------------------------------------------------- */

.nr-article {
    background: rgba(5, 7, 24, 0.95);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(255, 77, 255, 0.4);
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.6);
    font-size: 0.9rem;
}

.nr-article p {
    color: var(--nr-text);
}

.nr-article ul {
    padding-left: 1.2rem;
}

.nr-article li {
    margin-bottom: 0.25rem;
    color: var(--nr-muted);
}

/* VIDEO ------------------------------------------------------------------ */

.nr-video-frame {
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid rgba(45, 244, 255, 0.7);
    box-shadow:
        0 0 16px rgba(45, 244, 255, 0.8),
        0 0 28px rgba(164, 77, 255, 0.6);
}

/* SCREENSHOTS ------------------------------------------------------------- */

.nr-shot-card {
    background: rgba(4, 6, 22, 0.95);
    border-radius: 16px;
    padding: 0.6rem;
    border: 1px solid rgba(164, 77, 255, 0.4);
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.7);
}

.nr-screenshot {
    border-radius: 12px;
    display: block;
    width: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow:
        0 0 12px rgba(45, 244, 255, 0.5),
        0 0 16px rgba(164, 77, 255, 0.7);
}

.nr-screenshot:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow:
        0 0 18px rgba(45, 244, 255, 0.8),
        0 0 28px rgba(164, 77, 255, 0.9);
}

.nr-shot-caption {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--nr-muted);
}

/* ACCORDIONS (Manual / Privacy) ----------------------------------------- */

.nr-accordion .accordion-item {
    background: rgba(5, 8, 26, 0.95);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(45, 244, 255, 0.4);
    margin-bottom: 0.75rem;
}

.nr-accordion .accordion-button {
    background: linear-gradient(90deg, rgba(19, 11, 49, 0.9), rgba(16, 36, 73, 0.9));
    color: var(--nr-text);
    font-size: 0.9rem;
}

.nr-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.15rem rgba(45, 244, 255, 0.45);
}

.nr-accordion .accordion-button:not(.collapsed) {
    color: var(--nr-neon-cyan);
    box-shadow: inset 0 0 0 1px rgba(45, 244, 255, 0.7);
}

.nr-accordion .accordion-body {
    font-size: 0.85rem;
    color: var(--nr-text);
}

/* BUTTONS ---------------------------------------------------------------- */

.btn-neon-primary,
.btn-neon-secondary {
    font-family: "Orbitron", system-ui, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.7rem;
    border-radius: 999px;
    padding: 0.6rem 1.6rem;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-neon-primary {
    color: #050816;
    background: linear-gradient(135deg, var(--nr-neon-cyan), var(--nr-neon-pink));
    box-shadow:
        0 0 16px rgba(45, 244, 255, 0.9),
        0 0 22px rgba(255, 77, 255, 0.9);
}

.btn-neon-primary:hover {
    filter: brightness(1.1);
    color: #050816;
}

.btn-neon-secondary {
    color: var(--nr-neon-cyan);
    background: transparent;
    border-color: rgba(45, 244, 255, 0.8);
    box-shadow: 0 0 12px rgba(45, 244, 255, 0.8);
}

.btn-neon-secondary:hover {
    color: var(--nr-neon-pink);
    border-color: rgba(255, 77, 255, 0.9);
}

/* HIGHLIGHTS & LEGAL ----------------------------------------------------- */

.nr-highlight {
    color: var(--nr-neon-pink);
}

.nr-legal {
    color: var(--nr-muted);
}

/* FOOTER ----------------------------------------------------------------- */

.nr-footer {
    background: #02020a;
    border-top: 1px solid rgba(45, 244, 255, 0.3);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.9);
}

/* ANIMATIONS ------------------------------------------------------------- */

@keyframes nr-cursor {
    0%, 50% {
        opacity: 1;
    }
    50.01%, 100% {
        opacity: 0;
    }
}

@keyframes nr-float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes nr-glow {
    0% {
        box-shadow:
            0 0 12px rgba(45, 244, 255, 0.6),
            0 0 24px rgba(164, 77, 255, 0.6);
    }
    100% {
        box-shadow:
            0 0 18px rgba(45, 244, 255, 0.9),
            0 0 32px rgba(255, 77, 255, 0.9);
    }
}

@keyframes nr-scan {
    0% {
        opacity: 0.25;
    }
    50% {
        opacity: 0.45;
    }
    100% {
        opacity: 0.25;
    }
}

/* RESPONSIVE ------------------------------------------------------------- */

@media (max-width: 991.98px) {
    .terminal-window {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .terminal-body {
        font-size: 0.8rem;
    }

    .nr-hero-art {
        max-width: 260px;
    }

    .navbar-brand span {
        letter-spacing: 0.08em;
    }
}

.nr-subheading {
    font-family: "Orbitron", system-ui, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: var(--nr-neon-purple);
}

.nr-about-list {
    list-style: disc;
    padding-left: 1.3rem;
    font-size: 0.85rem;
    color: var(--nr-muted);
}

.nr-about-list li + li {
    margin-top: 0.35rem;
}

/* Checklist-style feature lists */
.nr-feature-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.nr-feature-list li {
    position: relative;
    padding-left: 1.7rem;
    margin-bottom: 0.45rem;
    font-size: 0.85rem;
    color: var(--nr-muted);
}

.nr-feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.12rem;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 6px;
    border: 1px solid rgba(45, 244, 255, 0.7);
    box-shadow: 0 0 6px rgba(45, 244, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

/* Completed features */
.nr-feature-done::before {
    content: "✓";
    background: linear-gradient(135deg, var(--nr-neon-cyan), var(--nr-neon-purple));
    color: #050816;
    text-shadow: none;
}

/* Planned features */
.nr-feature-planned::before {
    content: "…";
    border-style: dashed;
    color: var(--nr-neon-cyan);
    box-shadow: 0 0 6px rgba(164, 77, 255, 0.8);
}

.nr-toggle-subtitle {
    color: rgba(231, 245, 255, 0.9); /* bright, readable */
    letter-spacing: 0.18em;
    font-family: "Orbitron", system-ui, sans-serif;
    text-shadow: 0 0 8px rgba(45, 244, 255, 0.5);
}
