/* 90s Retro MUD Website Theme */

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

body {
    font-family: 'Comic Sans MS', 'Courier New', monospace;
    background: #000;
    color: #00ff00;
    overflow-x: hidden;
    min-height: 100vh;
}

#starfield {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    background: #000;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #000080, #4B0082, #8B008B);
    border: 3px solid #00ffff;
    padding: 30px;
    box-shadow: 0 0 20px #00ffff, inset 0 0 20px rgba(0, 255, 255, 0.3);
    border-radius: 10px;
}

.header h1 {
    font-size: 4em;
    margin: 0;
    text-shadow: 
        0 0 10px #00ff00,
        0 0 20px #00ff00,
        0 0 30px #00ff00,
        2px 2px 0px #ff00ff,
        4px 4px 0px #ffff00;
    animation: colorCycle 3s infinite;
}

@keyframes colorCycle {
    0%, 100% { color: #00ffff; }
    33% { color: #ff00ff; }
    66% { color: #ffff00; }
}

.header h1 span {
    display: inline-block;
    animation: bounce 2s infinite;
}

.header h1 span:nth-child(2) { animation-delay: 0.1s; }
.header h1 span:nth-child(3) { animation-delay: 0.2s; }
.header h1 span:nth-child(4) { animation-delay: 0.3s; }
.header h1 span:nth-child(5) { animation-delay: 0.4s; }
.header h1 span:nth-child(6) { animation-delay: 0.5s; }
.header h1 span:nth-child(7) { animation-delay: 0.6s; }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.subtitle {
    color: #ffff00;
    font-size: 1.5em;
    margin-top: 10px;
    text-shadow: 2px 2px 0px #ff00ff;
}

.tagline {
    color: #00ffff;
    font-size: 1.1em;
    margin-top: 5px;
    font-style: italic;
}

/* Marquee */
.marquee {
    background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);
    color: #fff;
    padding: 10px;
    font-size: 1.2em;
    font-weight: bold;
    text-shadow: 2px 2px 0px #000;
    border: 2px solid #fff;
    margin: 20px 0;
}

/* Content Boxes */
.content-box {
    background: linear-gradient(135deg, #001a33, #003366);
    border: 3px solid #00ff00;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 0 15px #00ff00;
    border-radius: 5px;
}

.content-box h2 {
    color: #ffff00;
    text-align: center;
    font-size: 2em;
    text-shadow: 2px 2px 0px #ff00ff, 0 0 10px #ffff00;
    margin-bottom: 20px;
}

.content-box p {
    color: #00ffff;
    line-height: 1.6;
    font-size: 1.1em;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #ff00ff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 0 10px #ff00ff;
}

.feature h3 {
    color: #ff00ff;
    margin-bottom: 10px;
    text-shadow: 1px 1px 0px #00ffff;
}

.feature ul {
    list-style: none;
    padding-left: 0;
}

.feature li {
    color: #00ff00;
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.feature li:before {
    content: "⚡";
    position: absolute;
    left: 0;
    color: #ffff00;
}

/* Connect Box */
.connect-box {
    background: linear-gradient(135deg, #330000, #660033);
    border-color: #ff0000;
    box-shadow: 0 0 15px #ff0000;
}

.connect-info {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border: 2px dashed #00ff00;
    border-radius: 5px;
}

.server-info {
    font-size: 1.4em;
    text-align: center;
    margin: 15px 0;
    color: #ffff00;
}

.highlight {
    color: #ff00ff;
    font-weight: bold;
    background: rgba(255, 0, 255, 0.2);
    padding: 2px 8px;
    border-radius: 3px;
}

.connect-info ul {
    color: #00ffff;
    margin: 15px 0;
    padding-left: 40px;
}

.connect-info ul li {
    margin: 8px 0;
}

.connect-info a {
    color: #ff00ff;
    text-decoration: none;
    border-bottom: 2px dotted #ff00ff;
}

.connect-info a:hover {
    color: #ffff00;
    border-bottom-color: #ffff00;
    text-shadow: 0 0 5px #ffff00;
}

/* Who's Online Section */
.online-container {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border: 2px solid #00ff00;
    border-radius: 5px;
}

#whoFrame {
    width: 100%;
    height: 400px;
    border: 2px inset #00ffff;
    background: #000;
    display: block;
    margin-bottom: 10px;
}

.refresh-note {
    text-align: center;
    color: #00ffff;
}

.retro-button {
    background: linear-gradient(180deg, #0080ff, #0040ff);
    color: #fff;
    border: 3px outset #00ffff;
    padding: 10px 20px;
    font-family: 'Comic Sans MS', sans-serif;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    text-shadow: 1px 1px 0px #000;
    border-radius: 5px;
    margin: 10px;
}

.retro-button:hover {
    background: linear-gradient(180deg, #00a0ff, #0060ff);
    box-shadow: 0 0 10px #00ffff;
}

.retro-button:active {
    border-style: inset;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    border-top: 3px double #00ff00;
    color: #888;
    font-size: 0.9em;
}

.footer p {
    margin: 10px 0;
    color: #666;
}

.copyright {
    color: #999 !important;
}

/* Blink effect (because 90s!) */
@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.blink {
    animation: blink 1s infinite;
}

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

::-webkit-scrollbar-track {
    background: #000;
    border: 1px solid #00ff00;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00ff00, #00aa00);
    border: 1px solid #00ff00;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00ffff, #00aaaa);
}

/* Responsive */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5em;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .marquee {
        font-size: 1em;
    }
}

/* Under construction GIF vibe */
.construction {
    text-align: center;
    margin: 20px 0;
}

.construction img {
    image-rendering: pixelated;
}

