/* styles.css */
body {
    background-color: #1a1a1a;
    background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.2) 2px, rgba(0,0,0,0.2) 4px);
    color: #e0e0e0;
    font-family: 'Verdana', 'Tahoma', sans-serif;
    font-size: 12px;
    margin: 0;
    padding: 0;
}

a { color: #33ccff; text-decoration: none; }
a:hover { color: #ffffff; text-decoration: underline; }

.main-container {
    width: 1024px;
    margin: 10px auto;
    background: #222;
    border: 1px solid #444;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}

/* --- HEADER & WEB 2.0 NAV --- */
.header-banner {
    background: linear-gradient(to bottom, #113355, #001122);
    text-align: center;
    padding: 20px 0 0 0;
    border-bottom: 2px solid #33ccff;
}

.header-banner h1 {
    font-family: 'Courier New', Courier, monospace;
    color: #ffffff;
    text-shadow: 0px 0px 5px #33ccff;
    margin: 0 0 10px 0;
}

.y2k-marquee {
    background: #000;
    color: #00ff00;
    font-family: monospace;
    padding: 3px;
    border-top: 1px solid #33ccff;
}

.web20-nav {
    background: linear-gradient(to bottom, #444, #222);
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #000;
}

/* Glossy Buttons */
.gloss-btn {
    display: inline-block;
    background: linear-gradient(to bottom, #555 0%, #333 50%, #222 51%, #111 100%);
    color: #fff !important;
    padding: 6px 12px;
    border: 1px solid #000;
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
    text-transform: uppercase;
    font-size: 11px;
    font-weight: bold;
    text-shadow: 1px 1px 0px #000;
    cursor: pointer;
}
.gloss-btn:hover {
    background: linear-gradient(to bottom, #33ccff 0%, #0088cc 50%, #006699 51%, #004466 100%);
    text-decoration: none;
    box-shadow: 0 0 8px #33ccff, inset 0 1px 0 rgba(255,255,255,0.5);
}

.small-btn { padding: 4px 8px; font-size: 10px; }
.massive-btn { display: block; text-align: center; padding: 15px; font-size: 16px; margin-top: 20px;}

/* --- LAYOUT --- */
.layout-wrapper { display: flex; padding: 10px; gap: 10px; }
.sidebar-col { width: 220px; }
.content-col { flex: 1; }

/* --- SIDEBAR & CONTENT BOXES --- */
.sidebar-box, .content-box {
    background: #2a2a2a;
    border: 1px solid #111;
    margin-bottom: 15px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

.sidebar-title, .box-title {
    background: linear-gradient(to bottom, #005588, #002244);
    color: #fff;
    padding: 5px;
    font-weight: bold;
    border-bottom: 1px solid #111;
    text-shadow: 1px 1px 0 #000;
}

.sidebar-box ul { list-style: square; padding-left: 20px; margin: 10px 0; }
.sidebar-box li { margin-bottom: 5px; }

/* Shoutbox Fake */
.fake-shoutbox { padding: 10px; font-size: 10px; }
.fake-shoutbox p { margin: 0 0 5px 0; border-bottom: 1px dashed #444; padding-bottom: 2px;}
.fake-shoutbox input { width: 90%; background: #111; border: 1px solid #555; color: #fff; padding: 3px; }

/* --- GAME LIST --- */
.game-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #333;
    background: #252525;
}
.game-row:hover { background: #2d2d2d; }
.game-info h3 { margin: 0 0 5px 0; font-size: 14px; }
.tag { padding: 2px 5px; border-radius: 3px; font-size: 10px; font-weight: bold; color: #000; }
.tag-platform { background: #ffaa00; }
.tag-group { background: #00ffcc; }

/* --- TABLES (Leaderboard & Details) --- */
.retro-table { width: 100%; border-collapse: collapse; margin: 10px 0; }
.retro-table th, .retro-table td { border: 1px solid #444; padding: 6px; text-align: left; }
.retro-table th { background: #333; color: #33ccff; }
.retro-table tr:nth-child(even) { background: #222; }

/* --- DOWNLOAD PAGE --- */
.download-layout { display: flex; gap: 20px; padding: 15px; }
.dl-image img { border: 2px solid #555; max-width: 300px; }
.dl-info { flex: 1; }

/* --- FOOTER --- */
.footer-area {
    background: #111;
    text-align: center;
    padding: 20px;
    border-top: 1px solid #444;
    font-size: 10px;
    color: #888;
}
.badges img { margin: 0 5px; }

/* --- SEARCH BAR --- */
.retro-input {
    width: 90%;
    background: #000;
    border: 1px solid #33ccff;
    color: #00ff00;
    padding: 5px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
}
.retro-input:focus { outline: 1px solid #fff; }

/* --- NFO VIEWER --- */
.nfo-viewer {
    background: #000000;
    color: #00ff00; /* Classic terminal green */
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.2;
    padding: 15px;
    border: 1px solid #333;
    overflow-x: auto; /* Adds a scrollbar if the ASCII art is too wide */
    text-shadow: 0 0 2px #00ff00;
    margin: 0;
}

/* --- MIRRORS --- */
.mirror-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
    background: #1a1a1a;
}
.mirror-container .massive-btn {
    flex: 1 1 calc(50% - 10px); /* 2 columns */
    padding: 10px;
    font-size: 12px;
}