/* =========================================================
   QUANTUM INTELLIGENCE SYSTEMS
   MAIN STYLESHEET
   ========================================================= */


/* =========================================================
   GLOBAL
   ========================================================= */

html,
body {
    margin: 0;
    padding: 0;
    background: black;
    color: #00ff66;
    height: 100%;
    font-family: monospace;
}


/* =========================================================
   CUSTOM CURSOR
   ========================================================= */

* {
    cursor: url("data:image/svg+xml,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='10' stroke='Blue' stroke-width='2' fill='none'/%3E%3Ccircle cx='12' cy='12' r='2' fill='red'/%3E%3C/svg%3E") 12 12, auto !important;
}


/* =========================================================
   MATRIX BACKGROUND
   ========================================================= */

canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}


/* =========================================================
   PAGE
   ========================================================= */

.page {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 24px;
}


.panel {
    width: 100%;
    max-width: 440px;
    text-align: center;
}


/* =========================================================
   TITLE BOX
   ========================================================= */

.title-box {
    box-sizing: border-box;
    width: 100%;
    padding: 22px 16px;

    border: 2px solid #00ff66;

    background: rgba(0, 0, 0, 0.85);

    box-shadow:
        0 0 25px rgba(0, 255, 100, 0.5),
        inset 0 0 20px rgba(0, 255, 100, 0.15);

    margin-bottom: 18px;
}


.main-title {
    font-family: Orbitron, sans-serif;

    font-size: clamp(
        1.6rem,
        4.5vw,
        2.4rem
    );

    letter-spacing: 0.12em;

    line-height: 1.25;

    text-transform: uppercase;

    text-shadow:
        0 0 12px rgba(0, 255, 100, 0.7),
        0 0 30px rgba(0, 255, 100, 0.4);
}


/* =========================================================
   SCROLL HINT
   ========================================================= */

.scroll-hint {
    font-size: 0.65rem;

    letter-spacing: 0.18em;

    opacity: 0.85;

    margin-bottom: 18px;

    display: flex;

    flex-direction: column;

    align-items: center;

    animation: hintPulse 1.6s infinite;

    pointer-events: none;
}


.scroll-hint span {
    font-size: 1rem;
    margin-top: 2px;
}


@keyframes hintPulse {

    0% {
        opacity: 0.25;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.25;
    }

}


/* =========================================================
   MENU BOX
   ========================================================= */

.menu-box {
    box-sizing: border-box;

    width: 100%;

    padding: 22px 16px;

    border: 2px solid #00ff66;

    background: rgba(0, 0, 0, 0.85);

    box-shadow:
        0 0 25px rgba(0, 255, 100, 0.5),
        inset 0 0 20px rgba(0, 255, 100, 0.15);

    margin-bottom: 18px;
}


/* =========================================================
   MENU
   ========================================================= */

.menu {
    display: flex;

    flex-direction: column;

    gap: 14px;
}


/* =========================================================
   STANDARD GREEN BUTTON
   ========================================================= */

.rabbit-button {
    padding: 14px 22px;

    font-family: Orbitron, sans-serif;

    font-size: 0.85rem;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    color: #00ff66;

    border: 2px solid #00ff66;

    text-decoration: none;

    background: transparent;

    box-shadow:
        0 0 12px rgba(0, 255, 100, 0.6),
        inset 0 0 12px rgba(0, 255, 100, 0.4);

    transition: 0.25s;
}


.rabbit-button:hover {
    background: #00ff66;

    color: black;

    box-shadow: 0 0 30px #00ff66;
}


/* =========================================================
   MAGENTA BUTTON
   ========================================================= */

.rabbit-button-magenta {
    padding: 14px 22px;

    font-family: Orbitron, sans-serif;

    font-size: 0.85rem;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    color: #ff00ff;

    border: 2px solid #ff00ff;

    text-decoration: none;

    background: transparent;

    box-shadow:
        0 0 12px rgba(255, 0, 255, 0.6),
        inset 0 0 12px rgba(255, 0, 255, 0.4);

    transition: 0.25s;
}


.rabbit-button-magenta:hover {
    background: #ff00ff;

    color: black;

    box-shadow: 0 0 30px #ff00ff;
}


/* =========================================================
   WHITE BUTTON
   ========================================================= */

.rabbit-button-white {
    display: block;

    text-decoration: none;

    text-align: center;

    color: #ffffff;

    border: 2px solid #ffffff;

    padding: 15px;

    font-family: Orbitron, sans-serif;

    font-size: 0.85rem;

    text-transform: uppercase;

    letter-spacing: 0.12em;

    background: transparent;

    transition: 0.25s;

    box-shadow:
        0 0 12px rgba(255, 255, 255, 0.65),
        inset 0 0 10px rgba(255, 255, 255, 0.35);

    box-sizing: border-box;
}


.rabbit-button-white:hover {
    background: #ffffff;

    color: #000000;

    box-shadow:
        0 0 30px rgba(255, 255, 255, 1),
        0 0 60px rgba(255, 255, 255, 0.7);
}


/* =========================================================
   RED BUTTON
   ========================================================= */

.rabbit-button-red {
    display: block;

    text-decoration: none;

    text-align: center;

    color: #ff3333;

    border: 2px solid #ff3333;

    padding: 15px;

    font-family: Orbitron, sans-serif;

    font-size: 0.85rem;

    text-transform: uppercase;

    letter-spacing: 0.12em;

    background: transparent;

    transition: 0.25s;

    box-shadow:
        0 0 12px rgba(255, 51, 51, 0.65),
        inset 0 0 10px rgba(255, 51, 51, 0.35);

    box-sizing: border-box;
}


.rabbit-button-red:hover {
    background: #ff3333;

    color: #000000;

    box-shadow:
        0 0 30px rgba(255, 51, 51, 1),
        0 0 60px rgba(255, 51, 51, 0.7);
}


/* =========================================================
   UNDER CONSTRUCTION TAG
   ========================================================= */

.uc-tag {
    margin-left: 6px;

    font-family: Orbitron, sans-serif;

    font-size: 0.6rem;

    letter-spacing: 0.14em;

    color: #ffff66;

    text-shadow:
        0 0 6px rgba(255, 255, 100, 0.9),
        0 0 14px rgba(255, 255, 100, 0.6);

    white-space: nowrap;
}


/* =========================================================
   LATEST BLOG POST
   ========================================================= */

.latest-post {
    box-sizing: border-box;

    width: 100%;

    padding: 18px 16px;

    border: 2px solid #ffff66;

    background: rgba(0, 0, 0, 0.9);

    box-shadow:
        0 0 20px rgba(255, 255, 100, 0.5),
        inset 0 0 14px rgba(255, 255, 100, 0.2);

    margin-bottom: 18px;
}


.latest-post a {
    display: block;

    width: 100%;

    color: #ffff66;

    font-family: Orbitron, sans-serif;

    font-size: 0.8rem;

    letter-spacing: 0.18em;

    text-transform: uppercase;

    text-decoration: none;

    text-align: center;
}


.latest-post:hover {
    background: #ffff66;

    color: black;

    box-shadow: 0 0 35px rgba(255, 255, 100, 0.9);
}


.latest-post:hover a {
    color: black;
}


/* =========================================================
   LATEST POST BUTTON
   ========================================================= */

.latest-post-button {
    display: block;

    width: 100%;

    box-sizing: border-box;

    padding: 18px 16px;

    border: 2px solid #ffff66;

    background: rgba(0, 0, 0, 0.9);

    color: #ffff66;

    font-family: Orbitron, sans-serif;

    font-size: 0.8rem;

    letter-spacing: 0.18em;

    text-transform: uppercase;

    text-decoration: none;

    text-align: center;

    box-shadow:
        0 0 20px rgba(255, 255, 100, 0.5),
        inset 0 0 14px rgba(255, 255, 100, 0.2);

    transition: 0.3s;

    margin-top: 14px;
}


.latest-post-button:hover {
    background: #ffff66;

    color: #000;

    box-shadow:
        0 0 35px rgba(255, 255, 100, 0.9);
}


/* =========================================================
   SOCIAL BOXES
   ========================================================= */

.social-box {
    box-sizing: border-box;

    width: 100%;

    margin-bottom: 18px;
}


.social-box a {
    display: block;

    padding: 18px 16px;

    border: 2px solid #00ccff;

    background: rgba(0, 0, 0, 0.9);

    color: #00ccff;

    font-family: Orbitron, sans-serif;

    font-size: 0.8rem;

    letter-spacing: 0.18em;

    text-transform: uppercase;

    text-decoration: none;

    box-shadow:
        0 0 20px rgba(0, 200, 255, 0.5),
        inset 0 0 14px rgba(0, 200, 255, 0.25);

    transition: 0.3s;
}


.social-box a:hover {
    background: #00ccff;

    color: black;

    box-shadow:
        0 0 35px rgba(0, 200, 255, 0.9);
}


/* =========================================================
   WHITE RABBIT IMAGE
   ========================================================= */

.title-image {
    box-sizing: border-box;

    width: 100%;

    margin-top: 10px;

    border: 2px solid #00ff66;

    box-shadow:
        0 0 20px rgba(0, 255, 100, 0.45);
}


/* =========================================================
   RANDOM IMAGE
   ========================================================= */

.random-image {
    display: block;

    width: 100%;

    height: auto;

    border: 3px solid #00ff66;

    box-sizing: border-box;
}


/* =========================================================
   NEW TAG
   ========================================================= */

.new-tag {
    margin-left: 8px;

    color: #ffffff;

    font-family: Orbitron, sans-serif;

    font-size: 0.7rem;

    letter-spacing: 0.14em;

    animation: blinkNew 1s steps(1, start) infinite;

    text-shadow:
        0 0 6px rgba(255, 255, 255, 0.8),
        0 0 12px rgba(255, 255, 255, 0.6);
}


@keyframes blinkNew {

    50% {
        opacity: 0;
    }

}


/* =========================================================
   PATRIOT QUOTE
   ========================================================= */

#patriotQuote {
    margin-top: 20px;

    font-style: italic;

    line-height: 1.6;

    text-align: center;

    border-top: 1px solid #00ff66;

    padding-top: 15px;

    color: #ffffff;
}


.rgb-letter {
    transition: color 0.15s;
}


/* =========================================================
   DIGITAL CLOCK
   ========================================================= */

#retro-clock {
    background: #000;

    border: 4px ridge #444;

    color: #00ff00;

    font-family: "Courier New", monospace;

    font-size: 28px;

    font-weight: bold;

    padding: 10px 20px;

    display: inline-block;

    text-shadow: 0 0 8px #00ff00;

    letter-spacing: 2px;
}


/* =========================================================
   HIDDEN SPACER
   ========================================================= */

.hidden-spacer {
    position: absolute;

    visibility: hidden;
}


/* =========================================================
   YOUTUBE VIDEOS
   ========================================================= */

.video-container {
    margin-top: 30px;

    text-align: center;
}


.video-container iframe {
    max-width: 100%;

    border: 2px solid #66ccff;

    background: #000;

    box-shadow:
        0 0 25px rgba(102, 204, 255, 0.45);
}


/* =========================================================
   QUANTUM INTELLIGENCE TERMINAL
   ========================================================= */

.terminal-window {
    width: 94%;

    max-width: 1100px;

    height: 420px;

    margin: 20px auto 30px auto;

    display: flex;

    flex-direction: column;

    background: rgba(0, 5, 2, 0.96);

    border: 2px solid #00ff66;

    box-shadow:
        0 0 10px #00ff66,
        0 0 25px rgba(0, 255, 102, 0.35),
        inset 0 0 25px rgba(0, 255, 102, 0.08);

    position: relative;

    z-index: 5;

    font-family:
        "Courier New",
        Courier,
        monospace;

    color: #00ff66;
}


.terminal-header {
    height: 42px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 14px;

    background: #001a0a;

    border-bottom: 1px solid #00ff66;

    color: #00ff66;

    font-size: 13px;

    letter-spacing: 1px;
}


.header-left {
    display: flex;

    align-items: center;

    gap: 10px;
}


.status-light {
    width: 9px;

    height: 9px;

    background: #00ff66;

    border-radius: 50%;

    box-shadow:
        0 0 5px #00ff66,
        0 0 12px #00ff66;

    animation: terminal-blink 1.4s infinite;
}


@keyframes terminal-blink {

    0%,
    45% {
        opacity: 1;
    }

    46%,
    100% {
        opacity: 0.25;
    }

}


.terminal-screen {
    flex: 1;

    min-width: 0;

    padding: 14px;

    overflow-y: auto;

    overflow-x: hidden;

    scrollbar-width: thin;

    scrollbar-color:
        #00ff66
        #001a0a;

    font-size: 14px;

    line-height: 1.45;

    text-shadow:
        0 0 5px rgba(0, 255, 102, 0.6);
}


.terminal-screen::-webkit-scrollbar {
    width: 8px;
}


.terminal-screen::-webkit-scrollbar-track {
    background: #001a0a;
}


.terminal-screen::-webkit-scrollbar-thumb {
    background: #00ff66;
}


/* =========================================================
   TERMINAL TEXT
   ========================================================= */

.line {
    white-space: pre-wrap;

    word-break: break-word;
}


.command-line {
    color: #ffffff;
}


.system {
    color: #00ff66;
}


.warning {
    color: #ffff00;
}


.error {
    color: #ff4444;
}


.info {
    color: #66ccff;
}


.magenta {
    color: #ff55ff;
}


.dim {
    color: #438f5e;
}


/* =========================================================
   TERMINAL ASCII ART
   ========================================================= */

.art {
    color: #00ff66;

    white-space: pre;

    font-family:
        "Courier New",
        Courier,
        monospace;

    font-size: 11px;

    line-height: 1.05;

    margin: 8px 0;

    width: 100%;

    max-width: 100%;

    overflow: hidden;

    box-sizing: border-box;
}


/* =========================================================
   TERMINAL INPUT
   ========================================================= */

.input-area {
    flex-shrink: 0;

    min-height: 44px;

    display: flex;

    align-items: center;

    padding: 8px 14px;

    border-top: 1px solid #00ff66;

    background: #000b04;

    box-sizing: border-box;
}


.prompt {
    color: #00ff66;

    white-space: nowrap;
}


#commandInput {
    flex: 1;

    min-width: 0;

    margin-left: 8px;

    background: transparent;

    border: none;

    outline: none;

    color: #ffffff;

    font-family:
        "Courier New",
        Courier,
        monospace;

    font-size: 14px;

    caret-color: #00ff66;

    text-shadow:
        0 0 5px rgba(255, 255, 255, 0.6);
}


/* =========================================================
   TERMINAL MATRIX MODE
   ========================================================= */

.matrix-effect {
    position: fixed;

    inset: 0;

    background: #000;

    color: #00ff66;

    z-index: 50;

    display: none;

    overflow: hidden;

    font-family: monospace;

    font-size: 15px;

    line-height: 15px;

    white-space: pre;

    opacity: 0.95;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .page {
        padding: 12px;
    }


    .terminal-window {
        width: 96%;

        height: 360px;
    }


    .terminal-header {
        font-size: 11px;

        padding: 0 9px;
    }


    .terminal-screen {
        font-size: 13px;

        padding: 10px;
    }


    #commandInput,
    .prompt {
        font-size: 13px;
    }


    #retro-clock {
        font-size: 22px;

        padding: 8px 12px;
    }


    .title-box {
        padding: 18px 12px;
    }


    .video-container iframe {
        width: 100%;

        height: auto;

        aspect-ratio: 16 / 9;
    }

}