/* Import SonicDMG Terminal Font */
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

body {
    background-color: #050505; /* Deep black */
    color: #00ff41;           /* Matrix/Terminal Green */
    font-family: 'VT323', monospace;
    padding: 3rem;
    margin: 0;
    line-height: 1.1;
    font-size: 1.4rem;        /* VT323 reads best slightly oversized */
    letter-spacing: 0.5px;
}

/* Retro CRT Glow Effect */
.terminal-content, pre, a {
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.4);
}

/* ASCII Header Styling */
pre {
    font-family: 'VT323', monospace;
    white-space: pre;
    line-height: 1.0;          /* Tightened for ASCII art connectivity */
    margin-bottom: 2rem;
    color: #00ff41;
    overflow-x: auto;          /* Prevents breaking on narrow screens */
}

/* Typography & Links */
h1, h2, h3 {
    text-transform: lowercase;
    font-weight: normal;
    margin-top: 2rem;
}

a {
    color: #00ff41;
    text-decoration: none;
    border: 1px solid #00ff41;
    padding: 0 8px;
    display: inline-block;
    margin: 4px 0;
    transition: all 0.2s ease;
}

a:hover {
    background-color: #00ff41;
    color: #050505;
    text-shadow: none;
}

/* Terminal Cursor Emulation */
.cursor {
    display: inline-block;
    width: 12px;
    height: 24px;
    background-color: #00ff41;
    margin-left: 5px;
    vertical-align: middle;
    animation: blink 1s infinite;
    box-shadow: 0 0 8px #00ff41;
}

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

/* Layout Elements */
hr {
    border: none;
    border-top: 2px solid #00ff41;
    margin: 2rem 0;
    opacity: 0.3;
}

ul {
    list-style-type: none;
    padding-left: 0;
}

li {
    margin-bottom: 0.5rem;
}

li::before {
    content: "> ";
}

/* Utility classes for "Wider Capabilities" */
.status-online {
    color: #00ff41;
}

.status-alert {
    color: #ff0000;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

.recording-list {
    list-style-type: none;
    padding-left: 0;
}

.entry {
    margin-bottom: 1rem;
    border-left: 2px solid #333;
    padding-left: 10px;
}

.file-name {
    color: #888;
    font-size: 0.8em;
    margin-right: 5px;
}

.sub-info {
    font-size: 0.85em;
    color: #008f11; /* Dimmer green */
    padding-left: 15px;
}

.stats {
    color: #555;
}

.scatter-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 50px 20px;
}
.tag-item {
    color: #00ff41; 
    text-decoration: none;
    padding: 8px 12px;
    border: 1px solid #333;
    font-family: 'Courier New', Courier, monospace;
    background: rgba(0, 255, 65, 0.05);
    transition: all 0.3s ease;
}
/* Scatter rotation logic */
.tag-item:nth-child(3n) { transform: rotate(-3deg); font-size: 1.2rem; }
.tag-item:nth-child(2n) { transform: rotate(2deg); font-size: 0.9rem; }

.tag-item:hover {
    background: #00ff41;
    color: #000;
    transform: scale(1.1) rotate(0deg);
    box-shadow: 0 0 15px #00ff41;
}

#eXTReMe-Free-mailboxd {
    position: absolute !important;
    left: -9999px !important;
    white-space: nowrap !important;
}