/* HORROR PC TERMINAL THEME */
* {
    margin:0;
    padding:0;
    box-sizing: border-box;
}

body {
    background: #000000;
    background-image: 
        repeating-linear-gradient(
            0deg,
            rgba(0, 100, 0, 0.03) 0px,
            rgba(0, 100, 0, 0.03) 1px,
            transparent 1px,
            transparent 2px
        );
    color: #00ff00;
    font-family: 'Courier New', 'Lucida Console', monospace;
    font-size: 14px;
    line-height: 1.4;
    min-height: 100vh;
    padding: 20px;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    animation: flicker 0.15s infinite;
}

/* FLICKER */
@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.97; }
}

/* SCANLINE */
body::before {
    content: "";
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 2px,
        rgba(0, 0, 0, 0.1) 4px
    );
    pointer-events: none;
    z-index: 1000;
}

/* MOVING SCANLINE */
body::after {
    content: "";
    position: fixed;
    top: -10%;
    left:0;
    width: 100%;
    height: 10%;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(0, 255, 0, 0.03),
        transparent
    );
    animation: scanline 6s linear infinite;
    pointer-events: none;
    z-index: 1001;
}

@keyframes scanline {
    0% { top: -10%; }
    100% { top: 110%; }
}

/* BOOT ANIMATION */
@keyframes boot {
    0% { opacity:0; }
    10% { opacity:1; }
    20% { opacity:0.8; }
    30% { opacity:1; }
    40% { opacity:0.9; }
    50%, 100% { opacity:1; }
}

/* TYPING CURSOR */
@keyframes blink {
    0%, 50% { opacity:1; }
    51%, 100% { opacity:0; }
}

/* SCANLINE */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 2px,
        rgba(0, 0, 0, 0.1) 4px
    );
    pointer-events: none;
    z-index: 1000;
}

/* MOVING SCANLINE */
body::after {
    content: "";
    position: fixed;
    top: -10%;
    left: 0;
    width: 100%;
    height: 10%;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(0, 255, 0, 0.03),
        transparent
    );
    animation: scanline 6s linear infinite;
    pointer-events: none;
    z-index: 1001;
}

@keyframes scanline {
    0% { top: -10%; }
    100% { top: 110%; }
}

/* CONTAINER - PC SCREEN */
.container {
    max-width: 900px;
    margin: 20px auto;
    background: #000000;
    border: 3px solid #00ff00;
    border-radius: 5px;
    box-shadow: 
        0 0 30px rgba(0, 255, 0, 0.4),
        inset 0 0 50px rgba(0, 255, 0, 0.05),
        0 0 100px rgba(0, 255, 0, 0.1);
    padding:0;
    position: relative;
    animation: boot 1s ease-out;
}

/* MONITOR FRAME */
.container::before {
    content: "[SYSTEM ONLINE] > ";
    display: block;
    background: #003300;
    color: #00ff00;
    padding: 10px 15px;
    font-size: 12px;
    border-bottom: 2px solid #00ff00;
    text-align: left;
    letter-spacing: 1px;
    font-weight: bold;
}

/* PC HEADER BAR */
.container::before {
    content: "█▓▒░ SYSTEM TERMINAL v2.0 ░▒▓█";
    display: block;
    background: #003300;
    color: #00ff00;
    padding: 8px 15px;
    font-size: 12px;
    border-bottom: 1px solid #00ff00;
    text-align: center;
    letter-spacing: 2px;
}

/* HEADER */
header {
    padding: 30px 20px 20px;
    text-align: center;
    border-bottom: 1px dashed #00ff00;
    position: relative;
}

header::after {
    content: "█";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    color: #00ff00;
    animation: blink 1s infinite;
    font-size: 16px;
}

/* GLITCH ANIMATION */
@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-1px, 1px); }
    40% { transform: translate(-1px, -1px); }
    60% { transform: translate(1px, 1px); }
    80% { transform: translate(1px, -1px); }
}

h1 {
    font-size: 2.5rem;
    color: #00ff00;
    text-shadow: 
        0 0 10px rgba(0, 255, 0, 0.8),
        0 0 20px rgba(0, 255, 0, 0.4),
        2px 2px 0 #008800;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 10px;
    animation: glitch 2s infinite;
}

.subtitle {
    color: #00aa00;
    font-size: 1rem;
    letter-spacing: 2px;
}

/* MAIN CONTENT */
main {
    padding: 20px 30px 30px;
}

/* TERMINAL PROMPT */
section::before {
    content: "C:\> ";
    color: #00ff00;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

section {
    margin: 25px 0;
    padding-left: 15px;
    border-left: 2px solid #003300;
    position: relative;
}

/* DIRECTORY STYLE */
section::after {
    content: "_";
    position: absolute;
    bottom: -20px;
    left: 15px;
    color: #00ff00;
    animation: blink 1s infinite;
    font-weight: bold;
}

h2 {
    color: #00ff00;
    font-size: 1.2rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    font-weight: bold;
}

h2::before {
    content: "[+] ";
    color: #00aa00;
    font-weight: bold;
}

p {
    color: #00cc00;
    line-height: 1.8;
    margin-bottom: 12px;
    font-size: 0.95rem;
    position: relative;
}

p::before {
    content: "|- ";
    color: #006600;
}

/* LINKS - TERMINAL STYLE */
a {
    color: #00ff00;
    text-decoration: none;
    transition: 0.3s;
    border-bottom: 1px dashed #00ff00;
    padding: 2px 4px;
}

a:hover {
    background: #003300;
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.8);
    animation: glitch 0.2s;
    border-bottom: 1px solid #00ff00;
}

/* TAGS */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
    padding-left: 20px;
}

.tags span {
    border: 1px solid #00aa00;
    padding: 4px 10px;
    color: #00ff00;
    font-size: 0.85rem;
    background: rgba(0, 255, 0, 0.05);
    position: relative;
}

.tags span::before {
    content: "> ";
    color: #006600;
    position: absolute;
    left: -15px;
}

/* HR - TERMINAL SEPARATOR */
hr {
    border: none;
    height: 1px;
    background: repeating-linear-gradient(
        90deg,
        #00ff00 0px,
        #00ff00 10px,
        transparent 10px,
        transparent 20px
    );
    margin: 25px 0;
    position: relative;
}

hr::before {
    content: "[...]";
    position: absolute;
    left: 50%;
    top: -8px;
    transform: translateX(-50%);
    background: #000000;
    padding: 0 10px;
    color: #00aa00;
    font-size: 11px;
}

/* BADGES */
.badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    padding: 15px;
    background: #001100;
    border: 1px solid #003300;
    font-size: 0.85rem;
    position: relative;
}

.badges::before {
    content: "[STATUS] ";
    color: #00aa00;
    font-weight: bold;
    position: absolute;
    left: 10px;
    top: 15px;
}

/* FOOTER */
footer {
    margin-top: 20px;
    padding: 15px;
    color: #008800;
    font-size: 0.85rem;
    text-align: center;
    border-top: 1px solid #003300;
    background: #000800;
    position: relative;
}

footer::before {
    content: "C:\> ";
    color: #00aa00;
    font-weight: bold;
}

footer::after {
    content: "_";
    animation: blink 1s infinite;
    color: #00ff00;
    font-weight: bold;
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #000000;
    border-left: 1px solid #003300;
}

::-webkit-scrollbar-thumb {
    background: #00aa00;
    border: 1px solid #00ff00;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    body {
        padding: 10px;
        font-size: 12px;
    }

    .container {
        margin: 10px auto;
    }

    h1 {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    main {
        padding: 15px 20px;
    }
}
