body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f5f5f5;
    font-family: Arial, sans-serif;
}

#game-container {
    width: 90%;
    max-width: 900px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 20px;
    background-color: white;
}

h1 {
    color: #333;
    margin-bottom: 10px;
}

p {
    color: #666;
    margin-bottom: 20px;
}

/* Scene styling */
.scene-background {
    position: relative;
    height: 400px;
    background: linear-gradient(to bottom, #87CEEB, #e6f7ff);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.sun {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(#ffff00, #ff9900);
    box-shadow: 0 0 40px #ffff00;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.shadow-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 0; /* Remove spacing between elements */
}

/* Shadow styling */
.shadow {
    background-color: rgba(0, 0, 0, 0.3);
    border: 2px dashed rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    transition: all 0.3s ease;
    margin: 0; /* Remove any margins */
    display: flex;
    justify-content: center;
    align-items: center;
}

.tree-shadow {
    width: 150px;
    height: 200px;
}

.mahavir-shadow {
    width: 150px; /* Changed from 180px to match image max-width */
    height: 240px;
    border-radius: 0;
}

/* Make shadows adapt to content once filled */
.shadow img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Update shadow borders to create a seamless look */
.tree-shadow.left {
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.tree-shadow.right {
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Draggables container */
.draggables-container {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    flex-wrap: wrap;
}

.draggable {
    cursor: grab;
    transition: transform 0.2s;
    margin: 10px;
    position: relative;
    z-index: 10;
}

.draggable:active {
    cursor: grabbing;
    transform: scale(1.05);
}

/* Making images appropriate size */
.draggable img {
    max-width: 150px;
    max-height: 200px;
    object-fit: contain;
}

#image3 img {
    max-height: 240px; /* Slightly taller for Mahavir */
}

/* Feedback styling */
.correct {
    border: 3px solid rgba(0, 255, 0, 0.5);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.incorrect {
    border: 3px solid rgba(255, 0, 0, 0.5);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.drag-over {
    background-color: rgba(255, 255, 255, 0.2);
}

#message {
    margin-top: 20px;
    padding: 10px;
    font-weight: bold;
    height: 30px;
    color: #2c9e29;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .scene-background {
        height: 300px;
    }
    
    .tree-shadow {
        width: 100px;
        height: 150px;
    }
    
    .mahavir-shadow {
        width: 130px;
        height: 180px;
    }
    
    .draggable img {
        max-width: 100px;
        max-height: 150px;
    }
    
    #image3 img {
        max-height: 180px;
    }
}