/* 2000s Style Gloomy Tokyo Sunsets */
@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@700&family=Press+Start+2P&display=swap');

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

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #e6e6e6;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Tile */
.background-tile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/diagmonds.png');
    opacity: 0.1;
    z-index: -1;
}

/* Main Container Table */
.main-container {
    width: 800px;
    margin: 20px auto;
    border: 2px solid #ff6699;
    background-color: rgba(10, 15, 30, 0.9);
    box-shadow: 0 0 20px rgba(255, 102, 153, 0.5);
}

.header-cell {
    background: linear-gradient(to bottom, #0f3460 0%, #16213e 100%);
    padding: 0;
}

.left-nav-cell, .right-sidebar-cell {
    background-color: rgba(20, 25, 45, 0.8);
    border-right: 1px solid #ff6699;
    border-left: 1px solid #ff6699;
    padding: 10px;
    vertical-align: top;
}

.right-sidebar-cell {
    border-left: none;
    border-right: 1px solid #ff6699;
}

.content-cell {
    padding: 10px;
    background-color: rgba(15, 20, 40, 0.7);
    vertical-align: top;
}

.footer-cell {
    background: linear-gradient(to bottom, #16213e 0%, #0f3460 100%);
    padding: 15px;
    text-align: center;
    border-top: 2px solid #ff6699;
}

/* Header Banner */
.header-banner {
    position: relative;
    text-align: center;
}

.header-gif {
    width: 100%;
    height: 150px;
    border-bottom: 2px solid #ff6699;
}

.header-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-shadow: 2px 2px 0 #000;
}

.header-text h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: 24px;
    color: #ff6699;
    margin-bottom: 5px;
}

.header-text p {
    font-family: 'Comic Neue', cursive;
    font-size: 16px;
    color: #66ccff;
}

.construction-banner {
    background-color: #ffcc00;
    color: #000;
    padding: 5px;
    text-align: center;
    font-weight: bold;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
}

.construction-banner img {
    vertical-align: middle;
}

/* Navigation Sections */
.nav-section, .sidebar-section {
    margin-bottom: 20px;
    border: 1px solid #ff6699;
    background-color: rgba(25, 30, 50, 0.8);
    padding: 10px;
}

.nav-title, .sidebar-title {
    background-color: #ff6699;
    color: #000;
    padding: 5px;
    font-weight: bold;
    text-align: center;
    margin: -10px -10px 10px -10px;
}

.nav-title img, .sidebar-title img {
    vertical-align: middle;
    margin-right: 5px;
}

.nav-buttons {
    display: flex;
    flex-direction: column;
}

.nav-button {
    display: block;
    background-color: #66ccff;
    color: #000;
    text-decoration: none;
    padding: 8px;
    margin: 5px 0;
    text-align: center;
    font-weight: bold;
    border: 2px solid #0066cc;
    box-shadow: 2px 2px 0 #0066cc;
    transition: all 0.2s;
}

.nav-button:hover {
    background-color: #ff6699;
    border-color: #cc3399;
    box-shadow: 2px 2px 0 #cc3399;
}

.website-stats {
    text-align: center;
}

.counter {
    margin: 10px 0;
}

.counter-label {
    display: block;
    font-weight: bold;
    color: #66ccff;
}

.counter-number {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    color: #ff6699;
    font-weight: bold;
}

.affiliates {
    text-align: center;
}

.affiliates a {
    display: block;
    margin: 5px 0;
}

/* Content Sections */
.content-section {
    margin-bottom: 20px;
    border: 1px solid #ff6699;
    background-color: rgba(25, 30, 50, 0.8);
}

.section-title {
    background-color: #ff6699;
    color: #000;
    padding: 5px;
    font-weight: bold;
    margin: 0;
}

.section-title img {
    vertical-align: middle;
    margin-right: 5px;
}

.section-content {
    padding: 15px;
}

.blink-text {
    color: #ffcc00;
    font-weight: bold;
    animation: blink 1s infinite;
    margin: 10px 0;
}

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

.guestbook-preview {
    border: 1px dashed #66ccff;
    padding: 10px;
    margin-top: 15px;
}

.guestbook-entry {
    margin: 5px 0;
    padding: 5px;
    background-color: rgba(30, 35, 55, 0.5);
    border-left: 3px solid #ff6699;
}

.animated-gif {
    margin: 10px 0;
    border: 2px solid #66ccff;
}

.view-counter {
    background-color: #000;
    color: #00ff00;
    padding: 10px;
    font-family: 'Courier New', monospace;
    margin: 10px 0;
    border: 1px solid #00ff00;
}

.counter-text {
    display: block;
}

.guestbook-link {
    display: block;
    text-align: center;
    color: #ff6699;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
}

.guestbook-link img {
    vertical-align: middle;
    margin-right: 5px;
}

/* Photo Gallery */
.photo-frame {
    border: 2px solid #66ccff;
    background-color: #000;
    padding: 5px;
    margin: 5px;
}

.photo-frame img {
    border: 1px solid #ff6699;
}

.photo-caption {
    font-weight: bold;
    color: #66ccff;
    margin: 5px 0;
}

.photo-stats {
    font-size: 12px;
    color: #ff6699;
}

.photo-stats img {
    vertical-align: middle;
    margin-right: 5px;
}

.gallery-link {
    text-align: center;
    margin-top: 15px;
}

.gallery-link a {
    color: #ff6699;
    text-decoration: none;
    font-weight: bold;
}

.gallery-link a img {
    vertical-align: middle;
    margin-right: 5px;
}

/* About Section */
.profile-frame {
    border: 2px solid #ff6699;
    padding: 5px;
    background-color: #000;
    text-align: center;
}

.profile-frame img {
    border: 1px solid #66ccff;
}

.profile-caption {
    font-weight: bold;
    color: #66ccff;
    margin-top: 5px;
}

.contact-info {
    border: 1px dashed #66ccff;
    padding: 10px;
    margin-top: 15px;
}

.contact-info h3 {
    color: #ff6699;
    margin-bottom: 5px;
}

/* Webring Section */
.webring-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.webring-nav span {
    margin: 0 10px;
    font-weight: bold;
    color: #66ccff;
}

.webring-list {
    text-align: center;
}

.webring-list a {
    color: #ff6699;
    text-decoration: none;
}

/* Sidebar Sections */
.login-form, .poll, .currently {
    padding: 10px;
}

.form-group {
    margin-bottom: 10px;
}

.form-group label {
    display: block;
    font-weight: bold;
    color: #66ccff;
    margin-bottom: 3px;
}

.form-group input {
    width: 100%;
    padding: 5px;
    background-color: #000;
    color: #00ff00;
    border: 1px solid #66ccff;
}

button {
    background-color: #ff6699;
    color: #000;
    border: none;
    padding: 5px 10px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    margin: 5px 0;
}

button:hover {
    background-color: #66ccff;
}

.form-links {
    text-align: center;
    margin-top: 5px;
}

.form-links a {
    color: #66ccff;
    font-size: 12px;
}

.poll h3 {
    color: #ff6699;
    font-size: 14px;
    margin-bottom: 10px;
}

.poll label {
    display: block;
    margin: 5px 0;
    color: #66ccff;
}

.currently p {
    margin: 5px 0;
    font-size: 14px;
}

.currently b {
    color: #ff6699;
}

/* Footer */
.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: #66ccff;
    text-decoration: none;
}

.footer-links a:hover {
    color: #ff6699;
    text-decoration: underline;
}

.copyright {
    color: #ff6699;
    font-weight: bold;
    margin-bottom: 10px;
}

.webmaster {
    color: #66ccff;
    font-size: 12px;
    margin-bottom: 10px;
}

.footer-badges {
    margin-top: 10px;
}

.footer-badges img {
    margin: 0 5px;
}



/* Music Player */
.music-player {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: #000;
    color: #00ff00;
    padding: 5px 10px;
    border: 1px solid #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 12px;
}

.music-player img {
    vertical-align: middle;
    margin-right: 5px;
}

/* Marquee Text (for potential use) */
.marquee {
    width: 100%;
    overflow: hidden;
    background-color: #000;
    color: #00ff00;
    padding: 5px;
    border: 1px solid #00ff00;
    font-family: 'Courier New', monospace;
}

/* Responsive Design (for modern browsers) */
@media (max-width: 820px) {
    .main-container {
        width: 100%;
        margin: 0;
    }
    
    .left-nav-cell, .right-sidebar-cell {
        width: 150px;
    }
}

@media (max-width: 600px) {
    body {
        overflow-x: auto;
    }
    
    .left-nav-cell, .right-sidebar-cell {
        display: none;
    }
    
    .content-cell {
        width: 100%;
    }
}