/* LAMORN - 2001 Webcore Aesthetic */

:root {
    --bg-primary: #000000;
    --bg-secondary: #1a1a1a;
    --bg-accent: #2a2a2a;
    --text-primary: #ffccdd;
    --text-secondary: #ffaacc;
    --text-dim: #cc8899;
    --border-color: #ff99bb;
    --accent-rose: #ffb3cc;
    --accent-pink: #ff99bb;
    --accent-blue: #99ccff;
    --win95-blue: #0000aa;
    --win95-gray: #c0c0c0;
    --win95-silver: #808080;
    --link-color: #99ccff;
    --link-hover: #ffb3cc;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Comic Sans MS', 'Trebuchet MS', 'Arial', sans-serif;
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

/* Header */
.ascii-header {
    text-align: center;
    margin-bottom: 20px;
    color: var(--accent-rose);
}

.ascii-header pre {
    font-size: 1.5em;
    letter-spacing: 3px;
    font-weight: bold;
}

/* Navigation */
.terminal-nav {
    border: 3px ridge var(--win95-gray);
    padding: 15px;
    margin-bottom: 20px;
    background-color: var(--win95-gray);
}

.nav-prompt {
    color: var(--win95-blue);
    margin-bottom: 12px;
    font-weight: bold;
    font-size: 0.9em;
    text-align: center;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-menu li a {
    color: #000000;
    text-decoration: none;
    padding: 8px 16px;
    border: 2px outset var(--win95-gray);
    background-color: var(--win95-gray);
    display: block;
    font-weight: bold;
}

.nav-menu li a:hover {
    color: #000000;
    border-style: inset;
    background-color: var(--win95-silver);
}

.nav-menu li a.active {
    color: #000000;
    border-style: inset;
    background-color: var(--win95-silver);
}

/* Content Box */
.content-box {
    border: 3px groove var(--win95-gray);
    padding: 20px;
    background-color: var(--bg-secondary);
    margin-bottom: 20px;
}

.box-border {
    border-left: 4px solid var(--accent-rose);
    padding-left: 15px;
}

h1, h2, h3 {
    color: var(--accent-rose);
    margin-bottom: 12px;
    font-weight: bold;
}

h1 {
    font-size: 1.8em;
}

h2 {
    font-size: 1.4em;
    margin-top: 20px;
    color: var(--accent-blue);
}

p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

/* Links */
a {
    color: var(--link-color);
    text-decoration: underline;
}

a:hover {
    color: var(--link-hover);
}

a:visited {
    color: var(--accent-pink);
}

/* Status Bar */
.status-bar {
    margin: 20px 0;
    padding: 12px 15px;
    border: 2px ridge var(--win95-gray);
    background-color: var(--win95-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-bar span:first-child {
    color: var(--win95-blue);
    font-weight: bold;
}

.blink {
    animation: blink 1s infinite;
    color: var(--accent-rose);
}

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

/* File List Styling */
.file-list {
    list-style: square;
    margin-top: 15px;
    margin-left: 25px;
    list-style-position: outside;
}

.file-list li {
    padding: 6px 0;
    color: var(--text-secondary);
}

.file-list li:hover {
    color: var(--accent-rose);
}

.timestamp {
    color: var(--accent-blue);
    margin-right: 8px;
    font-weight: bold;
}

/* Music Player Styling */
.music-item {
    padding: 15px;
    margin: 15px 0;
    border: 3px ridge var(--win95-gray);
    background-color: var(--bg-accent);
}

.music-item h3 {
    margin-bottom: 8px;
    color: var(--accent-rose);
}

audio {
    width: 100%;
    margin-top: 12px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-item {
    border: 3px ridge var(--win95-gray);
    padding: 10px;
    background-color: var(--bg-accent);
}

.gallery-item:hover {
    border-color: var(--accent-rose);
    border-style: groove;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border: 2px solid var(--win95-silver);
}

.gallery-caption {
    margin-top: 8px;
    color: var(--accent-blue);
    font-size: 0.9em;
    text-align: center;
    font-weight: bold;
}

/* Post Styling */
.post {
    margin: 20px 0;
    padding: 18px;
    border: 3px ridge var(--win95-gray);
    background-color: var(--bg-accent);
}

.post-header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px dotted var(--accent-rose);
}

.post-title {
    color: var(--accent-rose);
    font-size: 1.3em;
    font-weight: bold;
}

.post-date {
    color: var(--accent-blue);
    font-weight: bold;
}

.post-content {
    color: var(--text-secondary);
    line-height: 1.7;
}

.post-content p {
    color: var(--text-primary);
}

/* Footer */
.terminal-footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: var(--text-dim);
    border-top: 2px dashed var(--win95-silver);
}

.footer-line {
    margin-bottom: 12px;
    color: var(--accent-blue);
    font-size: 1em;
}

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

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

::-webkit-scrollbar-thumb {
    background-color: var(--win95-gray);
    border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--accent-rose);
}

/* Responsive */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    
    .ascii-header pre {
        font-size: 0.8em;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
