:root {
    --bg: #000;
    --text: #e0e0e0;
    --accent: #f5a623;
    --fade: #555;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    text-align: center;
}

.container {
    max-width: 400px;
    width: 100%;
}

.title {
    font-size: 3rem;
    letter-spacing: 0.3em;
    margin-bottom: 2rem;
    font-weight: 400;
}

.subtitle {
    color: var(--fade);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hours {
    color: var(--fade);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 1px solid var(--text);
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s;
    margin: 0.5rem;
    cursor: pointer;
    background: transparent;
    font-family: inherit;
    font-size: 1rem;
}

.btn:hover {
    background: var(--text);
    color: var(--bg);
}

.btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.btn-block {
    display: block;
    width: 100%;
    margin: 1rem 0;
}

.footer {
    margin-top: 3rem;
    color: var(--fade);
    font-size: 0.8rem;
    border-top: 1px solid #222;
    padding-top: 1.5rem;
}

.footer a {
    color: var(--fade);
    text-decoration: none;
}

.footer a:hover {
    color: var(--text);
}

/* 深夜对话页样式 */
.mirror-container {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.waveform {
    width: 60px;
    height: 60px;
    border: 1px solid var(--fade);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.5; }
}

.user-speech {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    min-height: 3rem;
    word-break: break-word;
}

.mirror-reflection {
    color: var(--fade);
    font-style: italic;
    min-height: 3rem;
    margin-bottom: 2rem;
}

.controls {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.status-text {
    color: var(--fade);
    font-size: 0.8rem;
}

/* 黎明页样式 */
.poem-box {
    margin: 2rem 0;
    padding: 2rem;
    border: 1px solid #333;
    font-style: italic;
    line-height: 2;
    white-space: pre-line;
}

.dawn-message {
    color: var(--fade);
    margin-bottom: 2rem;
}

/* 诗廊样式 */
.gallery-list {
    list-style: none;
    text-align: left;
}

.gallery-item {
    border-bottom: 1px solid #222;
    padding: 1rem 0;
}

.gallery-item p {
    font-style: italic;
}