/* ============================================
   BRUTAL TERMINAL THEME - dpakula.pl
   Color Scheme: Green on Black (#00ff00 / #0a0a0a)
   ============================================ */

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

body {
    background: #0a0a0a;
    color: #00ff00;
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

/* ============================================
   CRT SCANLINE EFFECT
   ============================================ */

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(18, 16, 16, 0) 50%,
        rgba(0, 0, 0, 0.25) 50%
    );
    background-size: 100% 4px;
    z-index: 9999;
    animation: scan 8s linear infinite;
}

@keyframes scan {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 4px;
    }
}

/* ============================================
   TERMINAL WINDOW
   ============================================ */

.terminal {
    background: #1a1a1a;
    border: 2px solid #00ff00;
    border-radius: 8px;
    box-shadow:
        0 0 20px rgba(0, 255, 0, 0.3),
        0 0 40px rgba(0, 255, 0, 0.2),
        inset 0 0 100px rgba(0, 255, 0, 0.05);
    max-width: 900px;
    width: 100%;
    margin: 40px auto;
    overflow: hidden;
}

/* Terminal Header */
.terminal-header {
    background: #0d0d0d;
    border-bottom: 1px solid #00ff00;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-title {
    color: #00ff00;
    font-weight: bold;
    font-size: 13px;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-buttons span {
    color: #00ff00;
    font-size: 16px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.terminal-buttons span:hover {
    opacity: 1;
}

/* Terminal Body */
.terminal-body {
    padding: 30px;
    min-height: 400px;
}

/* ASCII Art */
.ascii-art {
    color: #00ff00;
    font-size: 11px;
    line-height: 1.2;
    margin-bottom: 30px;
    text-align: center;
    opacity: 0.9;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

/* Content Area */
.content {
    margin-top: 20px;
}

.prompt {
    color: #00ff00;
    margin: 20px 0 5px 0;
    font-weight: bold;
}

.user {
    color: #00ff00;
}

.path {
    color: #00cc00;
}

.output {
    margin: 10px 0 20px 20px;
    color: #00dd00;
    line-height: 1.8;
}

.output p {
    margin: 8px 0;
}

/* Tags */
.tag {
    color: #00ff00;
    font-weight: bold;
    background: rgba(0, 255, 0, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
}

/* File/Directory Styling */
.file {
    color: #00ff00;
    font-weight: bold;
}

.dir {
    color: #00cc00;
    font-style: italic;
}

/* Links */
a {
    color: #00ff00;
    text-decoration: none;
    border-bottom: 1px dashed #00ff00;
    transition: all 0.3s;
}

a:hover {
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
    border-bottom: 1px solid #00ff00;
}

.coffee-link {
    display: inline-block;
    padding: 4px 8px;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid #00ff00;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s;
}

.coffee-link:hover {
    background: rgba(0, 255, 0, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
}

/* Blinking Cursor */
.blink-cursor {
    animation: blink 1s infinite;
    display: inline-block;
}

@keyframes blink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

/* Terminal Footer */
.terminal-footer {
    background: #0d0d0d;
    border-top: 1px solid #00ff00;
    padding: 8px 15px;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    opacity: 0.8;
}

.status {
    color: #00ff00;
}

.status::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
    margin-right: 5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 5px rgba(0, 255, 0, 0.8);
    }
    50% {
        opacity: 0.5;
        box-shadow: 0 0 2px rgba(0, 255, 0, 0.4);
    }
}

.info {
    color: #00cc00;
}

/* ============================================
   MOUNTAIN ASCII ART
   ============================================ */

.mountains {
    margin-top: 40px;
    opacity: 0.3;
}

.mountain-art {
    color: #00ff00;
    font-size: 8px;
    line-height: 1.1;
    text-align: center;
    opacity: 0.5;
}

/* ============================================
   FOOTER
   ============================================ */

footer.credits {
    text-align: center;
    color: #00cc00;
    font-size: 12px;
    margin-top: 30px;
    opacity: 0.6;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

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

    .terminal {
        margin: 20px auto;
    }

    .terminal-body {
        padding: 20px 15px;
    }

    .ascii-art {
        font-size: 8px;
    }

    .mountain-art {
        font-size: 6px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 11px;
    }

    .ascii-art {
        font-size: 6px;
        overflow-x: auto;
    }

    .output {
        margin-left: 10px;
    }
}

/* ============================================
   SELECTION STYLING
   ============================================ */

::selection {
    background: rgba(0, 255, 0, 0.3);
    color: #00ff00;
}

::-moz-selection {
    background: rgba(0, 255, 0, 0.3);
    color: #00ff00;
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */

::-webkit-scrollbar {
    width: 10px;
    background: #0a0a0a;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
    border: 1px solid #00ff00;
}

::-webkit-scrollbar-thumb {
    background: #00ff00;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00cc00;
}
