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

body {
    font-family: '微軟正黑體', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    max-width: 800px;
    width: 90%;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
}

.game-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.bottle-container {
    width: 200px;
    height: 200px;
    position: relative;
    margin: 2rem 0;
}

.bottle {
    width: 100%;
    height: 100%;
    transition: transform 3s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

.controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 400px;
}

button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

button:active {
    transform: translateY(0);
}

#spinButton {
    background-color: #4CAF50;
    color: white;
    width: 100%;
}

.mode-select {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

#truthButton, #dareButton {
    flex: 1;
}

#truthButton {
    background-color: #2196F3;
    color: white;
}

#dareButton {
    background-color: #f44336;
    color: white;
}

.question-box {
    margin-top: 2rem;
    padding: 1rem;
    border-radius: 8px;
    background-color: #f5f5f5;
    min-height: 80px;
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
