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

body {
    background-color: #000000;
    color: #666666;
    font-family: Georgia, 'Times New Roman', serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

#visualizer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in;
}

#visualizer.visible {
    opacity: 1;
}

#content-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 600px;
    padding: 0 20px;
}

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

#description {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.95em;
    line-height: 1.6;
    color: #888888;
    text-align: center;
    letter-spacing: 0.03em;
}

#description a {
    color: #c9a55a;
    text-decoration: none;
    border-bottom: 1px solid #6b4423;
    transition: all 0.3s;
}

#description a:hover {
    color: #e0c080;
    border-bottom-color: #8b5a2b;
}

#message {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.2em;
    letter-spacing: 0.15em;
    padding: 20px 40px;
    background-color: #3d2817;
    color: #c9a55a;
    border: 2px solid #6b4423;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

#message:hover {
    background-color: #4d3520;
    color: #e0c080;
    border-color: #8b5a2b;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.8);
}

#version {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8em;
    color: #666666;
    text-align: center;
    letter-spacing: 0.05em;
}

.playing {
    opacity: 0 !important;
    transition: opacity 1s ease-out;
}

/* Loading screen */
#loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #000000;
    z-index: 10;
    transition: opacity 0.8s ease-out;
}

#loading-container.hidden {
    opacity: 0;
    pointer-events: none;
}

#loading-text {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.2em;
    letter-spacing: 0.15em;
    color: #c9a55a;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

#progress-bar-container {
    width: 400px;
    height: 8px;
    background-color: #1a0f08;
    border: 2px solid #6b4423;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

#progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #6b4423, #c9a55a, #e0c080);
    transition: width 0.4s ease-out;
    box-shadow: 0 0 10px rgba(201, 165, 90, 0.5);
}
