/* Y2K OASIS Style - Main CSS */
@font-face {
    font-family: 'VT323';
    src: url('../fonts/VT323-Regular.ttf') format('truetype');
}

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

body {
    font-family: 'VT323', 'Courier New', monospace;
    background-color: #000000;
    color: #33ff00;
    text-align: center;
    overflow-x: hidden;
    cursor: url('../images/cursor.cur'), auto;
}

/* Stars Background Animation */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.stars, .twinkling, .clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.stars {
    background: #000 url('../images/stars.png') repeat top center;
    z-index: -3;
}

.twinkling {
    background: transparent url('../images/twinkling.png') repeat top center;
    z-index: -2;
    animation: move-twinkle 200s linear infinite;
}

.clouds {
    background: transparent url('../images/clouds.png') repeat top center;
    z-index: -1;
    opacity: 0.4;
    animation: move-clouds 150s linear infinite;
}

@keyframes move-twinkle {
    from {background-position: 0 0;}
    to {background-position: -10000px 5000px;}
}

@keyframes move-clouds {
    from {background-position: 0 0;}
    to {background-position: 10000px 0;}
}

/* Loading Screen Animation */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000022;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease;
}

.loading-content {
    background-color: #000;
    border: 3px solid #00ffff;
    border-radius: 10px;
    padding: 20px;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 0 30px #00ffff;
}

.loading-content h2 {
    color: #00ffff;
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-shadow: 0 0 10px #00ffff;
    animation: blink 1s infinite;
}

.progress-bar {
    height: 25px;
    border: 2px solid #00ffff;
    border-radius: 5px;
    margin: 20px 0;
    padding: 2px;
    background-color: #000033;
}

.progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, #00ffff, #0000ff, #00ffff);
    border-radius: 3px;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px #00ffff;
}

.loading-text {
    color: #ffffff;
    margin-top: 10px;
    font-size: 1.2em;
}

/* Y2K Alert Box */
.y2k-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #000033;
    border: 3px solid #ff00ff;
    border-radius: 8px;
    width: 400px;
    z-index: 9999;
    box-shadow: 0 0 20px #ff00ff;
    transition: opacity 0.3s ease;
}

.alert-header {
    background: linear-gradient(to right, #000099, #9900cc);
    color: white;
    padding: 8px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    cursor: grab;
}

.alert-title {
    font-weight: bold;
    letter-spacing: 1px;
}

.alert-close {
    font-size: 1.5em;
    cursor: pointer;
}

.alert-body {
    padding: 20px;
    background-color: #000033;
    color: #ffffff;
    font-size: 1.1em;
    line-height: 1.4;
}

.alert-footer {
    padding: 15px;
    display: flex;
    justify-content: center;
    background-color: #000022;
    border-top: 1px solid #3333cc;
}

.alert-button {
    background: linear-gradient(to bottom, #0066cc, #003399);
    border: 2px outset #0066cc;
    color: white;
    padding: 5px 20px;
    border-radius: 3px;
    cursor: pointer;
    font-family: 'VT323', monospace;
    font-size: 1em;
    min-width: 100px;
}

.alert-button:active {
    border-style: inset;
    background: linear-gradient(to bottom, #003399, #0066cc);
}

/* Easter Egg Style */
.easter-egg {
    animation: colorCycle 5s linear;
}

@keyframes colorCycle {
    0% { background-color: #000000; }
    20% { background-color: #330033; }
    40% { background-color: #003333; }
    60% { background-color: #333300; }
    80% { background-color: #330000; }
    100% { background-color: #000000; }
}

/* Main Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    border: 3px solid #33ff00;
    border-radius: 15px;
    box-shadow: 0 0 20px #33ff00;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Header Styles */
header {
    padding: 15px;
    border-bottom: 2px solid #33ff00;
    margin-bottom: 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.logo {
    width: 200px;
    margin-bottom: 10px;
}

.title {
    font-size: 2.5em;
    text-shadow: 0 0 10px #33ff00;
    letter-spacing: 3px;
}

.gradient-text {
    background: linear-gradient(to right, #33ff00, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    font-weight: bold;
}

.under-construction {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.under-construction img {
    width: 80px;
}

/* Main Content */
main {
    padding: 10px;
}

.intro-box {
    display: flex;
    background-color: #000033;
    border: 2px solid #3333ff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 30px;
    box-shadow: 0 0 10px #3333ff;
}

.intro-content {
    flex: 3;
    text-align: left;
    padding-right: 15px;
}

.intro-content h2 {
    color: #00ffff;
    margin-bottom: 10px;
    text-shadow: 0 0 5px #00ffff;
}

.intro-content p {
    line-height: 1.4;
    margin-bottom: 15px;
}

.counter-box {
    background-color: #000000;
    border: 2px solid #ff00ff;
    border-radius: 5px;
    padding: 10px;
    display: inline-block;
    margin-top: 10px;
}

.counter {
    font-family: 'Digital', monospace;
    background-color: #000;
    color: #ff00ff;
    padding: 5px 10px;
    border: 1px solid #ff00ff;
    display: inline-block;
    margin-top: 5px;
    font-size: 1.2em;
    box-shadow: 0 0 5px #ff00ff;
}

.mascot {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mascot img {
    max-width: 100px;
    border: 2px solid #ff9900;
    border-radius: 50%;
    box-shadow: 0 0 15px #ff9900;
}

/* User Panel */
.user-panel {
    background-color: #000033;
    border: 2px solid #ff00ff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 30px;
    box-shadow: 0 0 15px #ff00ff;
}

.user-panel h3 {
    color: #ff00ff;
    margin-bottom: 15px;
    text-shadow: 0 0 8px #ff00ff;
    font-size: 1.4em;
}

.user-actions {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 10px;
}

.action-btn {
    padding: 8px 15px;
    border-radius: 5px;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 150px;
    transition: all 0.3s;
    border: 2px outset;
}

.login-btn {
    background: linear-gradient(to bottom, #0066cc, #003399);
    border-color: #0066cc;
    box-shadow: 0 0 10px #0066cc;
}

.login-btn:hover {
    background: linear-gradient(to bottom, #0099ff, #0066cc);
    box-shadow: 0 0 15px #0099ff;
}

.register-btn {
    background: linear-gradient(to bottom, #33cc33, #009900);
    border-color: #33cc33;
    box-shadow: 0 0 10px #33cc33;
}

.register-btn:hover {
    background: linear-gradient(to bottom, #33ff33, #33cc33);
    box-shadow: 0 0 15px #33ff33;
}

.leaderboard-btn {
    background: linear-gradient(to bottom, #9900cc, #660099);
    border-color: #9900cc;
    box-shadow: 0 0 10px #9900cc;
}

.leaderboard-btn:hover {
    background: linear-gradient(to bottom, #cc00ff, #9900cc);
    box-shadow: 0 0 15px #cc00ff;
}

/* Universe Map */
.universe-map {
    background-color: #000022;
    border: 2px solid #9900ff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 0 15px #9900ff;
}

.universe-map h3 {
    color: #9900ff;
    margin-bottom: 20px;
    text-shadow: 0 0 5px #9900ff;
}

.galaxy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.galaxy-link {
    text-decoration: none;
    color: #ffffff;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.galaxy-link:hover {
    transform: scale(1.05);
}

.galaxy-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: 0 0 10px;
}

.galaxy-icon.ludus {
    border: 2px solid #ff3300;
    box-shadow: 0 0 10px #ff3300;
}

.galaxy-icon.basement {
    border: 2px solid #33cc33;
    box-shadow: 0 0 10px #33cc33;
}

.galaxy-icon.globe {
    border: 2px solid #00ccff;
    box-shadow: 0 0 10px #00ccff;
}

.galaxy-icon.journals {
    border: 2px solid #ffcc00;
    box-shadow: 0 0 10px #ffcc00;
}

.galaxy-icon img {
    max-width: 80px;
    max-height: 80px;
}

.galaxy-link span {
    font-size: 1.2em;
    text-shadow: 0 0 5px;
}

/* News Ticker */
.news-ticker {
    background-color: #000033;
    border: 2px solid #00ffff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 30px;
    box-shadow: 0 0 15px #00ffff;
}

.news-ticker h3 {
    color: #00ffff;
    margin-bottom: 15px;
    text-shadow: 0 0 8px #00ffff;
    font-size: 1.4em;
}

.ticker-container {
    overflow: hidden;
    background-color: #000022;
    padding: 10px;
    border: 1px solid #00ffff;
    border-radius: 5px;
}

.ticker-content {
    white-space: nowrap;
    animation: ticker 30s linear infinite;
    color: #ffffff;
    font-size: 1.1em;
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Footer */
footer {
    padding-top: 20px;
    border-top: 2px solid #33ff00;
}

.footer-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.footer-nav a {
    margin: 0 15px;
    color: #33ff00;
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid #33ff00;
    border-radius: 5px;
    transition: all 0.3s;
}

.footer-nav a:hover {
    background-color: #33ff00;
    color: #000;
    box-shadow: 0 0 10px #33ff00;
}

.browser-note {
    margin: 15px 0;
}

.browser-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 5px;
}

.browser-icons img {
    height: 30px;
}

.copyright {
    margin: 15px 0;
    font-size: 0.9em;
    color: #999;
}

.webring {
    margin-top: 10px;
}

.webring img {
    height: 40px;
}

/* Music Controls */
.music-controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
}

#toggleMusic {
    background-color: #000;
    color: #33ff00;
    border: 2px solid #33ff00;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    font-family: 'VT323', monospace;
    box-shadow: 0 0 10px #33ff00;
}

#toggleMusic:hover {
    background-color: #33ff00;
    color: #000;
}

/* Y2K Media Queries */
@media (max-width: 800px) {
    .container {
        border-radius: 0;
        margin-top: 0;
        margin-bottom: 0;
    }
    
    .intro-box {
        flex-direction: column;
    }
    
    .mascot {
        margin-top: 15px;
    }
    
    .galaxy-grid {
        grid-template-columns: 1fr;
    }
    
    .user-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 100%;
        max-width: 250px;
        margin-bottom: 10px;
    }
}

/* Animation for flashy Y2K elements */
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.title, .counter {
    animation: blink 2s infinite;
} 