@import url('https://fonts.googleapis.com/css2?family=VT323&family=Fira+Code:wght@400;700&display=swap');

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

:root {
    --bg-black: #000000;
    --poop-brown: #8B4513;
    --poop-light: #A0522D;
    --poop-dark: #5C3317;
    --white: #ffffff;
}

body {
    background-color: var(--bg-black);
    font-family: 'VT323', 'Fira Code', monospace;
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
}

/* CRT Scanlines Effect */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1),
        rgba(0, 0, 0, 0.1) 1px,
        transparent 1px,
        transparent 2px
    );
}

/* CA Display - Top Right */
.ca-display {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 18px;
    color: var(--poop-brown);
    z-index: 100;
    font-family: 'VT323', 'Fira Code', monospace;
}

/* Full Screen Terminal */
.terminal {
    width: 100%;
    min-height: 100vh;
    padding: 20px 40px;
    background-color: var(--bg-black);
}

/* ASCII Art */
.ascii-art {
    font-size: 10px;
    line-height: 1.1;
    color: var(--poop-brown);
    margin-bottom: 30px;
    white-space: pre;
    overflow-x: auto;
}

/* Content Styling */
.content {
    font-size: 20px;
    line-height: 1.8;
}

.content p {
    margin: 8px 0;
}

/* Colors */
.brown { color: var(--poop-brown); }
.white { color: var(--white); }
.light-brown { color: var(--poop-light); }

/* Poopy Box */
.poopy-box {
    color: var(--poop-brown);
    font-size: 16px;
    margin: 20px 0;
}

/* Stats */
.stats p {
    margin: 10px 0;
}

.stats span {
    color: var(--poop-brown);
}

/* Poopy Stream */
.poopy-stream {
    color: var(--poop-dark);
    font-size: 14px;
    line-height: 1.4;
    max-height: 120px;
    overflow: hidden;
    margin: 20px 0;
}

/* Commands */
.commands {
    border-left: 3px solid var(--poop-brown);
    padding: 15px 20px;
    margin: 20px 0;
}

/* Links */
.links {
    font-size: 18px;
    margin: 20px 0;
}

.links a {
    color: var(--poop-light);
    text-decoration: none;
    transition: all 0.3s;
}

.links a:hover {
    color: var(--white);
}

/* Footer Poopy */
.footer-poopy {
    color: var(--poop-dark);
    text-align: center;
    font-size: 16px;
    margin-top: 40px;
}

/* Section dividers */
.divider {
    color: var(--poop-brown);
    margin: 30px 0;
    font-size: 14px;
}

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

.cursor {
    animation: blink 1s infinite;
    color: var(--poop-brown);
}

.blink {
    animation: blink 1.5s infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

.typing {
    overflow: hidden;
    white-space: nowrap;
    animation: typing 2s steps(40) forwards;
}

.delay-1 { opacity: 0; animation: typing 2s steps(40) 0.5s forwards, fadeIn 0.1s 0.5s forwards; }
.delay-2 { opacity: 0; animation: typing 2s steps(40) 1s forwards, fadeIn 0.1s 1s forwards; }

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .terminal {
        padding: 15px;
    }
    
    .ascii-art {
        font-size: 6px;
    }
    
    .content {
        font-size: 16px;
    }
    
    .poopy-box {
        font-size: 12px;
        overflow-x: auto;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-black);
}

::-webkit-scrollbar-thumb {
    background: var(--poop-brown);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--poop-light);
}

/* Header line */
.header-line {
    color: var(--poop-brown);
    margin-bottom: 20px;
    font-size: 16px;
}

/* Big POOPY sections */
.poopy-wall {
    color: var(--poop-dark);
    font-size: 14px;
    line-height: 1.3;
    margin: 20px 0;
    opacity: 0.7;
}

.poopy-wall-bright {
    color: var(--poop-brown);
    font-size: 16px;
    line-height: 1.3;
    margin: 20px 0;
}
