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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #e8e8e8;
    overflow: hidden;
}

#start-screen {
    text-align: center;
    padding: 2rem;
    z-index: 10;
}

#start-screen h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    background: linear-gradient(45deg, #ffd700, #fff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

#start-screen p {
    font-size: 1.2rem;
    color: #b8b8b8;
    margin-bottom: 2rem;
}

#start-screen .instructions {
    margin-top: 2rem;
    font-style: italic;
    font-size: 0.9rem;
    opacity: 0.7;
}

#button-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.choice-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 3rem;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 220px;
}

.choice-btn .btn-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.choice-btn .btn-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.choice-btn .btn-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Heroes of the Lance Button */
.choice-btn.heroes {
    background: linear-gradient(135deg, #2c5364 0%, #203a43 50%, #0f2027 100%);
    color: #ffd700;
    border: 2px solid #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3),
                inset 0 0 20px rgba(255, 215, 0, 0.1);
}

.choice-btn.heroes:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.5),
                inset 0 0 30px rgba(255, 215, 0, 0.2);
}

/* Dragon Queen Button */
.choice-btn.dragon {
    background: linear-gradient(135deg, #1a0000 0%, #3d0000 50%, #5c0000 100%);
    color: #ff4444;
    border: 2px solid #ff4444;
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.3),
                inset 0 0 20px rgba(255, 68, 68, 0.1);
}

.choice-btn.dragon:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 40px rgba(255, 68, 68, 0.5),
                inset 0 0 30px rgba(255, 68, 68, 0.2);
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#canvas-container canvas {
    display: block;
}

#back-btn-container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
}

#back-btn {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Georgia', serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#back-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Theme info display */
#theme-info {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    text-align: center;
    padding: 15px 30px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
}

#theme-info h2 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

#theme-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive design */
@media (max-width: 600px) {
    #start-screen h1 {
        font-size: 2rem;
    }

    #button-container {
        flex-direction: column;
        gap: 1rem;
    }

    .choice-btn {
        min-width: 200px;
        padding: 1.5rem 2rem;
    }
}
