:root {
    --bg: #050505;
    --panel: #101010;
    --text: #f2ede4;
    --muted: #b7ada0;
    --blood: #5e3038;
    --blood-bright: #a56472;
    --border: #4b1b24;
    --fog: #726b65;
}

/* ==========================
   GLOBAL
========================== */

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

body {
    position: relative;
    background-image: url("images/Background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text);
    font-family: "Trebuchet MS", sans-serif;
    overflow: hidden;
}

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        pointer-events: none;
        z-index: 0;
    }

.room,
.window,
.title,
.visitor,
.icon {
    position: relative;
    z-index: 1;
}

/* ==========================
   ROOM
========================== */

.room {
    height: 100vh;
    position: relative;
}

/* ==========================
   TITLE
========================== */

.title {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 32px;
    font-family: Impact, Haettenschweiler, sans-serif;
    letter-spacing: 4px;
    color: var(--text);
    padding: 12px 18px;
    background: #0b0b0b;
    border: 1px solid var(--blood);
    text-shadow: 0 0 8px rgba(201,44,72,.5);
}

/* ==========================
   VISITOR
========================== */

.visitor {
    position: absolute;
    right: 20px;
    top: 20px;
    background: #0d0d0d;
    border: 1px solid var(--blood);
    padding: 14px;
    color: var(--muted);
    font-family: monospace;
    box-shadow: 0 0 15px rgba(143,29,44,.3);
}

/* ==========================
   ICONS
========================== */

.icon {
    position: absolute;
    width: 120px;
    text-align: center;
    cursor: pointer;
    transition: .25s;
    user-select: none;
    will-change: transform;
}

    .icon:hover {
        transform: scale(1.08);
        filter: drop-shadow( 0 0 10px rgba(201,44,72,.7) );
    }

    .icon .emoji {
        font-size: 52px;
    }

    .icon span {
        display: block;
        margin-top: 8px;
        color: var(--text);
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

/* POSITIONS */

.projects {
    top: 120px;
    left: 50px;
}

.about {
    top: 260px;
    left: 50px;
}

.contact {
    top: 400px;
    left: 50px;
}

.frog {
    top: 540px;
    left: 50px;
}

.socials {
    top: 680px;
    left: 50px;
}

.blog {
    top: 820px;
    left: 50px;
}

.desktop-icon {
    width: 64px;
    height: 64px;
    image-rendering: pixelated;
 
}

/* ==========================
   WINDOWS
========================== */

.window {
    position: absolute;
    width: 650px;
    max-height: 80vh;
    overflow-y: auto;
    background: var(--panel);
    border: 1px solid var(--blood);
    display: none;
    box-shadow: 0 0 25px rgba(143,29,44,.25), 0 0 60px rgba(143,29,44,.08);
}

    .window.active {
        display: block;
    }


    /* LILY DECORATION */

  /*.window::after {
        content: "??";
        font-family: "Segoe UI Symbol", sans-serif;
        position: absolute;
        right: 10px;
        bottom: 6px;
        color: rgba(201,44,72,.3);
        font-size: 28px;
    } /*

/* ==========================
   TITLEBAR
========================== */

.titlebar {
    background: linear-gradient( to bottom, #3a2328, #211417);
    color: var(--text);
    font-weight: bold;
    letter-spacing: 2px;
    padding: 12px;
    cursor: move;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--blood);
}

.close {
    cursor: pointer;
    color: #ff667a;
}

    .close:hover {
        text-shadow: 0 0 8px red;
    }

/* ==========================
   CONTENT
========================== */

.content {
    padding: 24px;
    line-height: 1.6;
}

h2, h3 {
    color: var(--text);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

p {
    color: var(--muted);
    margin-bottom: 8px;
}

hr {
    border: none;
    height: 1px;
    background: rgba(201,44,72,.3);
    margin: 20px 0;
}

/* ==========================
   PROFILE
========================== */

.profile {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--blood);
    flex-shrink: 0;
}

    .avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* ==========================
   STATUS
========================== */

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

/* ==========================
   ACHIEVEMENTS
========================== */

.achievement {
    background: #0c0c0c;
    padding: 12px;
    margin: 10px 0;
    border-left: 4px solid var(--blood);
    transition: .25s;
}

    .achievement:hover {
        background: #141414;
        transform: translateX(4px);
    }


/* ==========================
   PROJECTS
========================== */

.project {
    background: #0c0c0c;
    border-left: 4px solid var(--blood);
    padding: 16px;
    margin-bottom: 20px;
    transition: .25s;
}

    .project:hover {
        background: #141414;
        transform: translateX(4px);
    }

    .project img {
        width: 100%;
        border: 1px solid var(--blood);
        margin-bottom: 12px;
        display: block;
    }

    .project h3 {
        margin-bottom: 10px;
    }

    .project a {
        color: var(--blood-bright);
        text-decoration: none;
        font-weight: bold;
    }

        .project a:hover {
            text-shadow: 0 0 8px rgba(201,44,72,.8);
        }
/* ==========================
   GUESTBOOK
========================== */

.entry {
    padding: 12px 0;
    border-bottom: 1px dashed rgba(255,255,255,.15);
}

    .entry b {
        color: var(--blood-bright);
    }

/* ==========================
   GOVERNMENT ARCHIVE
========================== */

.archive-file {
    background: #0b0b0b;
    border: 1px solid var(--border);
    padding: 15px;
    margin-bottom: 25px;
}

    .archive-file img {
        width: 100%;
        border: 1px solid var(--blood);
        margin-bottom: 12px;
    }

.file-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
    font-family: monospace;
    margin-bottom: 10px;
}

.status {
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
}

.terminated {
    background: #5a101c;
    color: white;
}

.archived {
    background: #2c2c2c;
    color: white;
}

.onhold {
    background: #5a4a10;
    color: white;
}

.archive-file h3 {
    margin-bottom: 10px;
}

.archive-file a {
    color: var(--blood-bright);
    text-decoration: none;
    font-weight: bold;
}

    .archive-file a:hover {
        text-shadow: 0 0 10px rgba(201,44,72,.8);
    }

/* ==========================
   CONTACT TERMINAL
========================== */

.contact-card {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 15px;
    margin-bottom: 15px;
    background: #0c0c0c;
    border-left: 4px solid var(--blood);
    border: 1px solid var(--border);
}

    .contact-card:hover {
        background: #141414;
    }

.contact-icon {
    font-size: 42px;
    min-width: 60px;
}

.contact-card strong {
    display: block;
    color: var(--text);
    margin-bottom: 5px;
}

.contact-card p {
    margin-bottom: 8px;
}

.contact-card a {
    color: var(--blood-bright);
    text-decoration: none;
    font-family: monospace;
}

    .contact-card a:hover {
        text-shadow: 0 0 8px rgba(201,44,72,.8);
    }

.terminal-status {
    background: #050505;
    border: 1px solid var(--border);
    padding: 15px;
    margin-top: 20px;
    font-family: monospace;
    color: #9cff9c;
    line-height: 1.8;
}

.contact-icon {
    font-size: 42px;
    min-width: 60px;
}

    .contact-icon i {
        color: white;
    }

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient( transparent 0px, transparent 2px, rgba(255,255,255,0.02) 3px );
    pointer-events: none;
    z-index: -1;
}

.blog-entry {
    background: #0c0c0c;
    border-left: 4px solid var(--blood);
    padding: 15px;
    margin-bottom: 20px;
}

    .blog-entry:hover {
        background: #141414;
    }

    .blog-entry a {
        color: var(--blood-bright);
        text-decoration: none;
    }


.slideshow {
    margin-top: 20px;
    margin-bottom: 20px;
}

    .slideshow img {
        width: 100%;
        border: 1px solid var(--blood);
        display: block;
    }

.slide-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

    .slide-controls button {
        background: #0c0c0c;
        border: 1px solid var(--blood);
        color: var(--text);
        padding: 8px 12px;
        cursor: pointer;
    }

        .slide-controls button:hover {
            background: #1a1a1a;
        }



#cookieAlert {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    background: #101010;
    border: 1px solid var(--blood);
    box-shadow: 0 0 20px rgba(0,0,0,.6), 0 0 15px rgba(165,100,114,.25);
    display: none;
    z-index: 9999;
}

.cookie-header {
    background: linear-gradient( to bottom, #3a2328, #211417 );
    padding: 10px;
    font-family: monospace;
    font-weight: bold;
    border-bottom: 1px solid var(--blood);
}

.cookie-content {
    padding: 20px;
    text-align: center;
}

.cookie-button {
    margin-top: 15px;
    padding: 10px 15px;
    background: #0c0c0c;
    border: 1px solid var(--blood);
    color: var(--text);
    cursor: pointer;
}

#cookieStage2 img {
    width: 150px;
    display: block;
    margin: 0 auto;
}

#cookieAlert {
    min-height: 350px;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #0b0b0b;
    border-top: 1px solid var(--blood);
    padding: 8px 15px;
    display: flex;
    justify-content: space-between;
    font-family: monospace;
    font-size: 12px;
    color: var(--muted);
    z-index: 999;
}