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

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000000; /* Pure Black */
    /* System fonts, clean sans-serif */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

#overlay {
    position: absolute;
    bottom: 12%;
    width: 100%;
    text-align: center;
    z-index: 2;
    pointer-events: none;
}

#text-container {
    color: #ffffff;
    font-size: 20px; /* Reduced for elegance */
    font-weight: 200; /* Ultra thin */
    letter-spacing: 3px;
    opacity: 0;
    transition: opacity 1s ease; /* Faster transition */
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    font-family: -apple-system, sans-serif; /* Enforce sans-serif */
}

#text-container.visible {
    opacity: 0.9;
}

/* Screens Common */
#start-screen, #end-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.start-content, .end-content {
    text-align: center;
    color: #fff;
    animation: fadeIn 2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.main-title {
    font-size: 8rem; 
    font-weight: 100; 
    letter-spacing: -2px;
    margin-bottom: 0.5rem;
    color: #ffffff;
    line-height: 1;
}

.sub-title {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 4px; /* Reduced from 6px for Chinese */
    margin-bottom: 4rem;
    color: rgba(255, 255, 255, 0.6);
    /* text-transform: uppercase; Removed for Chinese */
}

.end-quote {
    font-size: 1.5rem;
    font-weight: 200;
    letter-spacing: 2px;
    margin-bottom: 3rem;
    color: #ffffff;
    font-style: normal; /* Italic doesn't look good in Chinese usually */
}

button {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 36px; /* Slightly adjusted */
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 4px; /* Increased for 2-char buttons */
    border-radius: 30px; 
    cursor: pointer;
    transition: all 0.4s ease;
    outline: none;
    font-family: inherit;
}

button:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.hidden {
    opacity: 0 !important;
    pointer-events: none !important;
}