/* === RETRO 2000s STYLE - NO MODERN ICONS === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Verdana, Tahoma, "Courier New", monospace;
    font-size: 11px;
    line-height: 1.5;
    color: #333333;
    background: #8B8B8B;
    margin: 20px 0;
}

a {
    color: #003366;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    color: #CC0000;
    text-decoration: underline;
    background: #FFFFCC;
}

/* === MAIN CONTAINER - TABLED LAYOUT === */
.container {
    width: 980px;
    margin: 0 auto;
    background: #F0F0F0;
    border: 2px solid #666666;
    border-radius: 0;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
}

/* === HEADER - RETRO GRADIENT === */
.header {
    background: #224488;
    color: white;
    padding: 10px;
    border-bottom: 2px solid #112244;
    background: linear-gradient(to bottom, #3366CC, #224488);
}

.header table {
    width: 100%;
}

.header h1 {
    font-size: 24px;
    color: #FFCC00;
    text-shadow: 2px 2px 2px #000000;
    font-family: 'Trebuchet MS', 'Courier New', monospace;
    letter-spacing: -1px;
}

.header h1:before {
    content: "[ ";
    color: #FFFFFF;
    font-size: 18px;
}

.header h1:after {
    content: " ]";
    color: #FFFFFF;
    font-size: 18px;
}

.header .tagline {
    color: #AACCFF;
    font-style: italic;
    font-family: 'Courier New', monospace;
}

.header .tagline:before {
    content: ">> ";
    color: #FFCC00;
}

/* === NAVIGATION BAR - RETRO BUTTONS === */
.navbar {
    background: #336699;
    border-bottom: 2px solid #112244;
    padding: 5px;
    background: linear-gradient(to bottom, #4488CC, #336699);
}

.navbar table {
    width: 100%;
}

.navbar a {
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    border-right: 1px solid #AACCFF;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    font-size: 10px;
}

.navbar a:before {
    content: "[";
    color: #FFCC00;
}

.navbar a:after {
    content: "]";
    color: #FFCC00;
}

.navbar a:hover {
    background: #112244;
    color: #FFCC00;
    text-decoration: none;
}

.navbar .active {
    background: #112244;
    color: #FFCC00;
    padding: 5px 10px;
    font-weight: bold;
}

.navbar .active:before,
.navbar .active:after {
    color: #FFCC00;
}

/* === MAIN CONTENT AREA === */
.content {
    padding: 20px;
    background: #FFFFFF;
    border: 1px solid #999999;
    margin: 10px;
    box-shadow: inset 1px 1px 3px rgba(0,0,0,0.1);
}

/* === SIDEBAR === */
.sidebar {
    width: 250px;
    vertical-align: top;
    background: #E6E6E6;
    border: 1px solid #999999;
    padding: 10px;
}

.sidebar-box {
    border: 1px solid #666666;
    background: #F6F6F6;
    margin-bottom: 15px;
    box-shadow: 2px 2px 3px rgba(0,0,0,0.2);
}

.sidebar-title {
    background: #336699;
    color: white;
    padding: 5px;
    font-weight: bold;
    border-bottom: 2px solid #112244;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    font-size: 10px;
    background: linear-gradient(to bottom, #4488CC, #336699);
}

.sidebar-title:before {
    content: ">> ";
    color: #FFCC00;
}

.sidebar-content {
    padding: 10px;
    font-family: Verdana, Arial, sans-serif;
}

/* === BOOKMARK LISTINGS - RETRO STYLE === */
.bookmark-item {
    border: 1px solid #CCCCCC;
    background: #F9F9F9;
    margin-bottom: 15px;
    padding: 10px;
    box-shadow: 2px 2px 3px rgba(0,0,0,0.1);
    position: relative;
}

.bookmark-item:hover {
    background: #FFFFE0;
    border-color: #336699;
}

.bookmark-item:before {
    content: "+----------------------+";
    color: #666666;
    position: absolute;
    top: -1px;
    left: -1px;
    font-family: 'Courier New', monospace;
    font-size: 8px;
    overflow: hidden;
}

.vote-box {
    float: left;
    width: 60px;
    text-align: center;
    background: #E6E6E6;
    border: 1px solid #999999;
    padding: 5px;
    margin-right: 10px;
    box-shadow: inset 1px 1px 2px #FFFFFF, inset -1px -1px 2px #666666;
}

.vote-count {
    font-size: 18px;
    font-weight: bold;
    color: #003366;
    font-family: 'Courier New', monospace;
}

.vote-count:before {
    content: "[";
    color: #666666;
}

.vote-count:after {
    content: "]";
    color: #666666;
}

.vote-label {
    font-size: 8px;
    color: #666666;
    text-transform: uppercase;
    font-family: 'Courier New', monospace;
}

.vote-label:before {
    content: "{";
    color: #999999;
}

.vote-label:after {
    content: "}";
    color: #999999;
}

.bookmark-title {
    margin-left: 80px;
}

.bookmark-title a {
    font-size: 13px;
    font-weight: bold;
    color: #003399;
    font-family: 'Trebuchet MS', 'Courier New', monospace;
}

.bookmark-title a:before {
    content: "> ";
    color: #CC0000;
    font-weight: bold;
}

.bookmark-title a:hover {
    color: #CC0000;
}

.bookmark-desc {
    margin-left: 80px;
    color: #555555;
    margin-top: 5px;
    font-size: 11px;
    border-left: 2px solid #CCCCCC;
    padding-left: 10px;
}

.bookmark-desc:before {
    content: "| ";
    color: #666666;
}

.bookmark-meta {
    margin-left: 80px;
    margin-top: 8px;
    font-size: 9px;
    color: #777777;
    border-top: 1px dashed #CCCCCC;
    padding-top: 5px;
    font-family: 'Courier New', monospace;
}

.bookmark-meta:before {
    content: "\\-- ";
    color: #336699;
}

.tag {
    display: inline-block;
    background: #E0E0E0;
    border: 1px solid #999999;
    padding: 2px 5px;
    margin: 0 2px;
    font-size: 8px;
    color: #333333;
    font-family: 'Courier New', monospace;
    text-transform: lowercase;
}

.tag:before {
    content: "#";
    color: #336699;
}

.tag:hover {
    background: #336699;
    color: white;
    border-color: #112244;
}

.tag:hover:before {
    color: #FFCC00;
}

/* === PAGINATION - RETRO STYLE === */
.pagination {
    text-align: center;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #666666;
    background: #F0F0F0;
    color: #333333;
    margin: 0 2px;
    font-size: 10px;
}

.pagination a:before {
    content: "[";
    color: #666666;
}

.pagination a:after {
    content: "]";
    color: #666666;
}

.pagination .current {
    background: #336699;
    color: white;
    border-color: #112244;
    font-weight: bold;
}

.pagination .current:before,
.pagination .current:after {
    color: #FFCC00;
}

.pagination a:hover {
    background: #FFCC00;
    color: #000000;
}

/* === FORMS - RETRO INPUT === */
.form-table {
    width: 100%;
    border-collapse: collapse;
}

.form-table td {
    padding: 5px;
}

.form-label {
    font-weight: bold;
    color: #336699;
    width: 120px;
    font-family: 'Courier New', monospace;
    font-size: 10px;
}

.form-label:after {
    content: ":>";
    color: #CC0000;
    margin-left: 5px;
}

input[type="text"], 
input[type="password"], 
input[type="email"], 
input[type="url"],
textarea, 
select {
    border: 1px solid #999999;
    padding: 5px;
    width: 250px;
    font-family: Verdana, 'Courier New', monospace;
    font-size: 11px;
    background: #FFFFFF;
    border-top: 2px solid #666666;
    border-left: 2px solid #666666;
    border-bottom: 2px solid #EEEEEE;
    border-right: 2px solid #EEEEEE;
}

input[type="text"]:focus, 
input[type="password"]:focus, 
input[type="email"]:focus,
input[type="url"]:focus,
textarea:focus {
    border-color: #336699;
    background: #FFFFE0;
    border-top: 2px solid #224488;
    border-left: 2px solid #224488;
    outline: none;
}

.button {
    background: #336699;
    color: white;
    border: 2px outset #6699CC;
    padding: 5px 15px;
    font-weight: bold;
    cursor: pointer;
    font-size: 11px;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    display: inline-block;
}

.button:hover {
    background: #224488;
    border-color: #336699;
    color: #FFCC00;
}

.button:active {
    border: 2px inset #224488;
}

/* === TOAST NOTIFICATIONS - RETRO === */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    min-width: 250px;
    margin-bottom: 10px;
    padding: 12px 15px;
    background: #333333;
    color: #FFFFFF;
    border-left: 5px solid #FFCC00;
    box-shadow: 3px 3px 5px rgba(0,0,0,0.5);
    font-family: 'Courier New', monospace;
    font-size: 11px;
    animation: slideIn 0.3s ease;
    border: 1px solid #666666;
}

.toast:before {
    content: "> ";
    color: #FFCC00;
}

.toast.success {
    border-left-color: #00CC00;
    background: #004400;
}

.toast.error {
    border-left-color: #CC0000;
    background: #440000;
}

.toast.info {
    border-left-color: #336699;
    background: #003366;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* === FOOTER - RETRO === */
.footer {
    background: #224488;
    color: white;
    padding: 10px;
    text-align: center;
    border-top: 2px solid #112244;
    font-size: 9px;
    font-family: 'Courier New', monospace;
    background: linear-gradient(to bottom, #3366CC, #224488);
}

.footer a {
    color: #FFCC00;
}

.footer a:before {
    content: "[";
    color: #FFFFFF;
}

.footer a:after {
    content: "]";
    color: #FFFFFF;
}

.footer .sep {
    color: #AACCFF;
    margin: 0 3px;
}

/* === ABOUT PAGE SPECIFIC STYLES === */
.about-section {
    margin-bottom: 25px;
    border-bottom: 1px dashed #CCCCCC;
    padding-bottom: 15px;
}

.about-section h3 {
    color: #336699;
    font-size: 14px;
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
}

.about-section h3:before {
    content: ">> ";
    color: #CC0000;
}

.about-section p {
    color: #444444;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* === TERMS PAGE SPECIFIC STYLES === */
.terms-section {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #CCCCCC;
}

.terms-section h3 {
    color: #336699;
    font-size: 14px;
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
}

.terms-section h3:before {
    content: ">> ";
    color: #CC0000;
}

.terms-section p, .terms-section ul {
    color: #444444;
    line-height: 1.6;
    margin-bottom: 10px;
    margin-left: 20px;
}

.terms-section ul li {
    margin-bottom: 5px;
}

/* === PRIVACY PAGE SPECIFIC STYLES === */
.privacy-section {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #CCCCCC;
}

.privacy-section h3 {
    color: #336699;
    font-size: 14px;
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
}

.privacy-section h3:before {
    content: ">> ";
    color: #CC0000;
}

.privacy-section p, .privacy-section ul {
    color: #444444;
    line-height: 1.6;
    margin-bottom: 10px;
    margin-left: 20px;
}

/* === CONTACT PAGE SPECIFIC STYLES === */
.contact-info {
    margin-bottom: 20px;
}

.contact-info h3 {
    color: #336699;
    font-size: 14px;
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
}

.contact-info h3:before {
    content: ">> ";
    color: #CC0000;
}

.contact-info p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.contact-info strong {
    color: #336699;
    display: inline-block;
    width: 80px;
}

/* === LAST UPDATED === */
.last-updated {
    color: #666666;
    font-size: 9px;
    text-align: right;
    margin-top: 20px;
    font-style: italic;
    border-top: 1px solid #CCCCCC;
    padding-top: 10px;
}

/* === ASCII ICONS REPLACEMENTS === */
.ascii-folder:before { 
    content: "[DIR] "; 
    color: #CC0000; 
}

.ascii-file:before { 
    content: "[FILE] "; 
    color: #336699; 
}

.ascii-tag:before { 
    content: "#"; 
    color: #CC0000; 
}

.ascii-user:before { 
    content: "USER: "; 
    color: #336699; 
}

.ascii-date:before { 
    content: "DATE: "; 
    color: #336699; 
}

.ascii-cat:before { 
    content: "CAT: "; 
    color: #336699; 
}

.ascii-vote:before { 
    content: "VOTE: "; 
    color: #CC0000; 
}

.ascii-info:before { 
    content: "[i] "; 
    color: #FFCC00; 
}

.ascii-warning:before { 
    content: "[!] "; 
    color: #CC0000; 
}

/* === UTILITY - RETRO SYMBOLS === */
.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.bold {
    font-weight: bold;
}

hr {
    border: none;
    border-top: 1px dashed #CCCCCC;
    margin: 10px 0;
    position: relative;
    overflow: visible;
}

hr:before {
    content: "----------------------------------------------------------------------";
    color: #666666;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
    font-size: 8px;
    position: absolute;
    top: -8px;
    left: 0;
}

/* === RESPONSIVE === */
@media screen and (max-width: 1000px) {
    .container {
        width: 100%;
        margin: 0 10px;
    }
    
    table {
        display: block;
    }
    
    td {
        display: block;
        width: 100% !important;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .vote-box {
        float: none;
        margin: 0 auto 10px;
    }
    
    .bookmark-title, 
    .bookmark-desc, 
    .bookmark-meta {
        margin-left: 0;
    }
}

/* === PRINT STYLES === */
@media print {
    body {
        background: white;
        margin: 0;
    }
    
    .container {
        box-shadow: none;
        border: none;
    }
    
    .navbar, .sidebar, .footer, .button {
        display: none;
    }
}