@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

:root {
    /* Pure Windows 95 Retro Palette */
    --win-teal: #008080;
    --win-silver: #c0c0c0;
    --win-darkgray: #808080;
    --win-black: #000000;
    --win-white: #ffffff;
    --win-blue: #000080;
    --win-red: #ff0000;
    --win-text: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', Courier, monospace;
}

body {
    background-color: var(--win-teal);
    color: var(--win-text);
    line-height: 1.4;
    min-height: 100vh;
    padding-bottom: 50px;
}

/* Classic Windows Bevels */
.win1.0-border {
    border-top: 2px solid var(--win-white);
    border-left: 2px solid var(--win-white);
    border-bottom: 2px solid var(--win-darkgray);
    border-right: 2px solid var(--win-darkgray);
    box-shadow: 1px 1px 0px var(--win-black);
}
.win1.0-border-inset {
    border-top: 2px solid var(--win-darkgray);
    border-left: 2px solid var(--win-darkgray);
    border-bottom: 2px solid var(--win-white);
    border-right: 2px solid var(--win-white);
}

a {
    text-decoration: none;
    color: var(--win-blue);
}
a:active {
    color: red;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
}

/* Header Window */
.site-header {
    text-align: left;
    margin-bottom: 2rem;
    background: var(--win-silver);
    padding: 3px;
    border-top: 2px solid var(--win-white);
    border-left: 2px solid var(--win-white);
    border-bottom: 2px solid var(--win-darkgray);
    border-right: 2px solid var(--win-darkgray);
    box-shadow: 1px 1px 0px var(--win-black);
}

.site-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.1rem;
    color: var(--win-white);
    background: var(--win-blue);
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-title span {
    font-size: 0.8rem;
    color: var(--win-silver);
}
.site-title::after {
    content: '_ □ X';
    letter-spacing: 5px;
    background: var(--win-silver);
    color: var(--win-black);
    padding: 2px 5px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    border-top: 1px solid var(--win-white);
    border-left: 1px solid var(--win-white);
    border-bottom: 1px solid var(--win-darkgray);
    border-right: 1px solid var(--win-darkgray);
}

/* Grid Layouts */
.main-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.5rem;
}

@media(max-width: 900px) {
    .main-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Directory Links Column */
.directory-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.directory-box {
    background: var(--win-silver);
    padding: 3px;
    border-top: 2px solid var(--win-white);
    border-left: 2px solid var(--win-white);
    border-bottom: 2px solid var(--win-darkgray);
    border-right: 2px solid var(--win-darkgray);
    box-shadow: 1px 1px 0px var(--win-black);
}

.directory-box h3 {
    background: var(--win-blue);
    color: var(--win-white);
    font-size: 0.95rem;
    padding: 5px 8px;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Text Tag Pills -> Win95 Buttons */
.nav-pills {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 5px;
    background: var(--win-white);
    border-top: 2px solid var(--win-darkgray);
    border-left: 2px solid var(--win-darkgray);
    border-bottom: 2px solid var(--win-white);
    border-right: 2px solid var(--win-white);
}

.nav-pill {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--win-black);
    border-bottom: 1px dashed var(--win-silver);
}

.nav-pill:active {
    background: var(--win-blue);
    color: var(--win-white);
}
.nav-pill:hover {
    background: var(--win-blue);
    color: var(--win-white);
}

.nav-pill .number {
    font-size: 0.8rem;
    color: var(--win-darkgray);
    margin-right: 10px;
    font-weight: normal;
}
.nav-pill:hover .number {
    color: var(--win-white);
}

/* Galleries Area */
.gallery-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.gallery-section {
    background: var(--win-silver);
    padding: 3px;
    border-top: 2px solid var(--win-white);
    border-left: 2px solid var(--win-white);
    border-bottom: 2px solid var(--win-darkgray);
    border-right: 2px solid var(--win-darkgray);
    box-shadow: 1px 1px 0px var(--win-black);
}

.section-heading {
    background: var(--win-blue);
    color: var(--win-white);
    font-size: 1rem;
    padding: 6px 10px;
    margin-bottom: 10px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}
.section-heading span.dark {
    font-weight: normal;
}

/* BIG BANNER CARD FOR A4.PNG */
.banner-card {
    display: inline-block;
    max-width: 600px;
    background: var(--win-silver);
    padding: 10px;
    margin-bottom: 2rem;
    border-top: 2px solid var(--win-white);
    border-left: 2px solid var(--win-white);
    border-bottom: 2px solid var(--win-darkgray);
    border-right: 2px solid var(--win-darkgray);
}
.banner-card img {
    width: 100%;
    height: auto;
    border-top: 2px solid var(--win-darkgray);
    border-left: 2px solid var(--win-darkgray);
    border-bottom: 2px solid var(--win-white);
    border-right: 2px solid var(--win-white);
    margin-bottom: 10px;
    display: block;
}
.banner-label {
    background: var(--win-red);
    color: var(--win-white);
    font-weight: bold;
    font-size: 1.1rem;
    padding: 8px;
    border-top: 2px solid var(--win-white);
    border-left: 2px solid var(--win-white);
    border-bottom: 2px solid var(--win-darkgray);
    border-right: 2px solid var(--win-darkgray);
}
.banner-card:active .banner-label {
    background: var(--win-blue);
}

/* Windows File Explorer Grid */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 5px;
    background: var(--win-white);
    padding: 15px;
    border-top: 2px solid var(--win-darkgray);
    border-left: 2px solid var(--win-darkgray);
    border-bottom: 2px solid var(--win-white);
    border-right: 2px solid var(--win-white);
    min-height: 200px;
}

.photo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 5px;
    color: var(--win-text);
    text-align: center;
}

.photo-card img {
    width: 64px;
    height: 64px;
    object-fit: contain; 
    margin-bottom: 5px;
}

.photo-card .label {
    font-size: 0.8rem;
    padding: 2px 4px;
    word-break: break-all;
}

.photo-card:hover .label {
    background: var(--win-blue);
    color: var(--win-white);
    outline: 1px dotted var(--win-white);
}

/* Specific Videos Table Styling */
.video-list {
    background: var(--win-white);
    padding: 10px;
    border-top: 2px solid var(--win-darkgray);
    border-left: 2px solid var(--win-darkgray);
    border-bottom: 2px solid var(--win-white);
    border-right: 2px solid var(--win-white);
}

.video-item {
    display: flex;
    gap: 15px;
    padding: 5px;
    font-size: 0.9rem;
}

.video-item:hover {
    background: var(--win-blue);
    color: var(--win-white);
}

.video-link {
    color: var(--win-black);
    text-decoration: underline;
}
.video-item:hover .video-link {
    color: var(--win-white);
}

/* Horizontal Thumbs Grid */
.thumb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    background: var(--win-white);
    padding: 15px;
    border-top: 2px solid var(--win-darkgray);
    border-left: 2px solid var(--win-darkgray);
    border-bottom: 2px solid var(--win-white);
    border-right: 2px solid var(--win-white);
}

.thumb-card img {
    width: 100%;
    border-top: 2px solid var(--win-darkgray);
    border-left: 2px solid var(--win-darkgray);
    border-bottom: 2px solid var(--win-white);
    border-right: 2px solid var(--win-white);
}

/* SEO Keyword Terminal (MS-DOS Box) */
.seo-module {
    margin-top: 2rem;
    background: var(--win-black);
    padding: 3px;
    border-top: 2px solid var(--win-darkgray);
    border-left: 2px solid var(--win-darkgray);
    border-bottom: 2px solid var(--win-white);
    border-right: 2px solid var(--win-white);
}

.seo-title {
    background: var(--win-silver);
    color: var(--win-black);
    font-size: 0.9rem;
    padding: 4px;
    border-top: 2px solid var(--win-white);
    border-left: 2px solid var(--win-white);
    border-bottom: 2px solid var(--win-darkgray);
    border-right: 2px solid var(--win-darkgray);
}

.keyword-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 15px;
}

.keyword-item {
    padding: 2px 8px;
    font-size: 0.85rem;
    color: #00ff00; /* DOS Green */
    font-family: 'Courier New', monospace;
}

.keyword-item:hover {
    background: #00ff00;
    color: var(--win-black);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--win-white);
    font-size: 0.85rem;
    font-family: 'Press Start 2P', cursive;
    text-shadow: 2px 2px 0px var(--win-black);
}