@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;700&family=Heebo:wght@300;400;700&display=swap');

:root {
    --primary: #d4af37; /* Gold */
    --bg-dark: #0a0e1a;
    --text: #ffffff;
    --glass: rgba(255, 255, 255, 0.1);
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    font-family: 'Heebo', 'Outfit', sans-serif;
    overflow: hidden;
    color: var(--text);
}

#app-container {
    position: relative;
    width: 100%;
    height: 100%;
}

#overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 14, 26, 0.7), rgba(10, 14, 26, 0.9)), url('background.png');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: opacity 0.8s ease, visibility 0.8s;
}

#overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.content {
    text-align: center;
    padding: 3rem;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 500px;
    width: 90%;
}

h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

#status-container {
    margin-bottom: 2rem;
}

#status-container.hidden {
    display: none;
}

#status-text {
    font-size: 1rem;
    margin-bottom: 10px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#progress-fill {
    height: 100%;
    width: 0%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    transition: width 0.3s ease;
}

#start-btn {
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: #000;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

#start-btn.hidden {
    display: none;
}

#start-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.6);
}

#jsdos-container {
    width: 100%;
    height: 100%;
}

canvas {
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
}
