:root {
    --bg-black: #0b0c10;
    --bg-card: #12141c;
    --cyan-primary: #5bc0be;
    --cyan-bright: #00f0ff;
    --cyan-dim: #3a7ca5;
    --text-light: #c5c6c7;
    --font-pixel: 'Press Start 2P', monospace;
    --font-subpixel: 'VT323', monospace;
    --font-sans: 'Space Grotesk', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-black);
    color: var(--text-light);
    font-family: var(--font-sans);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


header {
    background-color: rgba(18, 20, 28, 0.95);
    border-bottom: 2px solid var(--cyan-dim);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-box {
    display: flex;
    align-items: center;
    gap: 15px;
}


.logo-placeholder {
    width: 48px;
    height: 48px;
    border: 2px dashed var(--cyan-primary);
    background-color: rgba(0, 240, 255, 0.05);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-title {
    font-family: var(--font-pixel);
    font-size: 1.2rem;
    color: var(--cyan-bright);
    text-shadow: 2px 2px 0px #000, -2px -2px 0px #000, 2px -2px 0px #000, -2px 2px 0px #000;
    letter-spacing: 1px;
}


main {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    flex: 1;
}

.hero-title {
    font-family: var(--font-subpixel);
    font-size: 3rem;
    color: var(--cyan-bright);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: #d1d5db;
}

span.mc-style {
    color: var(--cyan-bright);
    font-family: var(--font-subpixel);
    font-size: 1.3rem;
    letter-spacing: 1px;
}


.diagram-container {
    margin: 2.5rem 0;
    background: var(--bg-card);
    border: 1px solid var(--cyan-dim);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
    cursor: pointer;
}

.diagram-container:hover {
    border-color: var(--cyan-bright);
    transform: translateY(-2px);
}

.diagram-container img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.diagram-caption {
    margin-top: 0.8rem;
    font-family: var(--font-pixel);
    font-size: 0.65rem;
    color: var(--cyan-primary);
    text-transform: uppercase;
}


.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(11, 12, 16, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 2rem;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border: 2px solid var(--cyan-bright);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.2);
}

.btn-mc {
    margin-top: 1.5rem;
    font-family: var(--font-pixel);
    font-size: 0.85rem;
    color: #ffffff;
    background-color: #707070;
    border: 3px solid;
    border-color: #a0a0a0 #3c3c3c #3c3c3c #a0a0a0;
    padding: 12px 24px;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: inset -2px -2px 0px 0px #2a2a2a, inset 2px 2px 0px 0px #c0c0c0;
    text-shadow: 2px 2px 0px #000;
    letter-spacing: 1px;
    transition: filter 0.1s;
}

.btn-mc:hover {
    background-color: #808080;
    color: #ffffa0;
}

.btn-mc:active {
    border-color: #3c3c3c #a0a0a0 #a0a0a0 #3c3c3c;
    box-shadow: inset 2px 2px 0px 0px #2a2a2a, inset -2px -2px 0px 0px #c0c0c0;
}

footer {
    border-top: 1px solid rgba(91, 192, 190, 0.2);
    padding: 1.5rem;
    text-align: center;
    font-family: var(--font-pixel);
    font-size: 0.75rem;
    color: var(--cyan-dim);
    margin-top: auto;
    letter-spacing: 1px;
}


:root {
    --bg-black: #0b0c10;
    --bg-card: #12141c;
    --cyan-primary: #5bc0be;
    --cyan-bright: #00f0ff;
    --cyan-dim: #3a7ca5;
    --text-light: #c5c6c7;
    --font-pixel: 'Press Start 2P', monospace;
    --font-subpixel: 'VT323', monospace;
    --font-sans: 'Space Grotesk', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-black);
    color: var(--text-light);
    font-family: var(--font-sans);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


header {
    background-color: rgba(18, 20, 28, 0.95);
    border-bottom: 2px solid var(--cyan-dim);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-box {
    display: flex;
    align-items: center;
    gap: 15px;
}


.logo-placeholder {
    width: 48px;
    height: 48px;
    border: 2px dashed var(--cyan-primary);
    background-color: rgba(0, 240, 255, 0.05);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-title {
    font-family: var(--font-pixel);
    font-size: 1.2rem;
    color: var(--cyan-bright);
    text-shadow: 2px 2px 0px #000, -2px -2px 0px #000, 2px -2px 0px #000, -2px 2px 0px #000;
    letter-spacing: 1px;
}

main {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    flex: 1;
}

.hero-title {
    font-family: var(--font-subpixel);
    font-size: 3rem;
    color: var(--cyan-bright);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: #d1d5db;
}

span.mc-style {
    color: var(--cyan-bright);
    font-family: var(--font-subpixel);
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.diagram-container {
    margin: 2.5rem 0;
    background: var(--bg-card);
    border: 1px solid var(--cyan-dim);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
    cursor: pointer;
}

.diagram-container:hover {
    border-color: var(--cyan-bright);
    transform: translateY(-2px);
}

.diagram-container img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.diagram-caption {
    margin-top: 0.8rem;
    font-family: var(--font-pixel);
    font-size: 0.65rem;
    color: var(--cyan-primary);
    text-transform: uppercase;
}

.link-section {
    margin: 3rem 0 1.5rem 0;
    padding: 1.5rem;
    background-color: var(--bg-card);
    border: 1px solid var(--cyan-dim);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
}

.link-label {
    font-family: var(--font-subpixel);
    font-size: 1.5rem;
    color: var(--cyan-bright);
    letter-spacing: 1px;
}

.link-btn {
    text-decoration: none;
    display: inline-block;
    margin-top: 0;
}

.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(11, 12, 16, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 2rem;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border: 2px solid var(--cyan-bright);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.2);
}


.btn-mc {
    margin-top: 1.5rem;
    font-family: var(--font-pixel);
    font-size: 0.85rem;
    color: #ffffff;
    background-color: #707070;
    border: 3px solid;
    border-color: #a0a0a0 #3c3c3c #3c3c3c #a0a0a0;
    padding: 12px 24px;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: inset -2px -2px 0px 0px #2a2a2a, inset 2px 2px 0px 0px #c0c0c0;
    text-shadow: 2px 2px 0px #000;
    letter-spacing: 1px;
    transition: filter 0.1s;
}

.btn-mc:hover {
    background-color: #808080;
    color: #ffffa0;
}

.btn-mc:active {
    border-color: #3c3c3c #a0a0a0 #a0a0a0 #3c3c3c;
    box-shadow: inset 2px 2px 0px 0px #2a2a2a, inset -2px -2px 0px 0px #c0c0c0;
}


footer {
    border-top: 1px solid rgba(91, 192, 190, 0.2);
    padding: 1.5rem;
    text-align: center;
    font-family: var(--font-pixel);
    font-size: 0.75rem;
    color: var(--cyan-dim);
    margin-top: auto;
    letter-spacing: 1px;
}