:root {
    --bg-color: #1a1a2e;
    --text-color: #e94560;
    --stage-bg: #16213e;
    --accent-color: #0f3460;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.game-container, .title-screen {
    text-align: center;
    width: 80%;
    max-width: 800px;
    background: var(--stage-bg);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.title-screen h1 {
    font-size: 3.5rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.title-screen p {
    font-size: 1.5rem;
    color: #888;
    margin-bottom: 40px;
}

.start-btn {
    padding: 20px 40px;
    font-size: 1.5rem;
    cursor: pointer;
    border: none;
    border-radius: 15px;
    background-color: #4ecca3;
    color: white;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(78, 204, 163, 0.4);
}

.start-btn:hover {
    background-color: #45b791;
    transform: scale(1.1);
}

#slide-info {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 10px;
}

#timer {
    font-size: 3rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 20px;
}

.stage {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--accent-color);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    transition: all 0.5s ease;
}

.prompt {
    font-size: 5rem;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: nowrap; /* Keep elements on the same line */
}

.plus-sign {
    font-size: 3rem;
    color: #888;
    font-weight: bold;
}

.slide-img {
    max-height: 250px; /* Reduced from 400px */
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.answer {
    font-size: 2.5rem;
    font-weight: bold;
    color: #4ecca3;
    animation: fadeIn 0.5s forwards;
}

.hidden {
    display: none;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.controls button {
    padding: 15px 25px;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    border-radius: 10px;
    background-color: var(--text-color);
    color: white;
    transition: all 0.3s;
}

.controls button.secondary-btn {
    background-color: #4ecca3;
}

.controls button.secondary-btn:hover {
    background-color: #45b791;
}

.controls button:hover {
    background-color: #c62a48;
    transform: scale(1.05);
}

.placeholder-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border: 2px dashed #888;
    border-radius: 10px;
    font-size: 1.2rem;
    color: #ccc;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
