* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #a8e6cf 0%, #81c784 50%, #4db6ac 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

.header {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 25px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.flower-icon {
    font-size: 40px;
}

.header h1 {
    font-size: 32px;
    color: #2e7d32;
}

.header-right {
    text-align: right;
}

.score-label {
    font-size: 14px;
    color: #666;
}

.score-value {
    font-size: 36px;
    font-weight: bold;
    color: #4caf50;
}

.screen {
    transition: opacity 0.3s;
}

.hidden {
    display: none !important;
}

.card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 30px;
}

/* Instructions */
.instructions-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.info-icon {
    font-size: 40px;
}

.instructions-header h2 {
    font-size: 28px;
    color: #333;
}

.instruction-steps {
    margin-bottom: 30px;
}

.instruction-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.step-number {
    width: 35px;
    height: 35px;
    background: #4caf50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.instruction-item p {
    color: #555;
    line-height: 1.6;
    font-size: 16px;
}

.green {
    color: #4caf50;
    font-weight: bold;
}

.red {
    color: #f44336;
    font-weight: bold;
}

/* Buttons */
.btn-start, .btn-check, .btn-proceed, .btn-play-again, .btn-exit {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-start {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: white;
}

.btn-start:hover {
    background: linear-gradient(135deg, #388e3c, #4caf50);
    transform: translateY(-2px);
}

.btn-check {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: white;
    margin-top: 20px;
}

.btn-check:hover {
    background: linear-gradient(135deg, #388e3c, #4caf50);
}

.btn-proceed {
    background: linear-gradient(135deg, #9c27b0, #ba68c8);
    color: white;
    margin-top: 20px;
}

.btn-proceed:hover {
    background: linear-gradient(135deg, #7b1fa2, #9c27b0);
}

/* Game Screen */
.card h2 {
    font-size: 26px;
    color: #333;
    margin-bottom: 10px;
}

.subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
}

.available-section, .dropzone-section {
    margin-bottom: 25px;
}

.available-section h3, .dropzone-section h3 {
    font-size: 18px;
    color: #555;
    margin-bottom: 15px;
}

.available-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.source-card {
    padding: 15px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border: 2px solid #42a5f5;
    border-radius: 10px;
    cursor: move;
    transition: all 0.2s;
}

.source-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.source-card.dragging {
    opacity: 0.5;
}

.drop-zones {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.drop-zone {
    padding: 15px;
    min-height: 70px;
    border: 2px dashed #bbb;
    border-radius: 10px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.2s;
}

.drop-zone.drag-over {
    background: #e8f5e9;
    border-color: #4caf50;
}

.drop-zone.filled {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border: 2px solid #4caf50;
}

.zone-number {
    width: 35px;
    height: 35px;
    background: #4caf50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.drop-zone p {
    color: #333;
    font-weight: 500;
}

.drop-zone.empty p {
    color: #999;
    font-style: italic;
}

/* Result Screen */
.animation {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.flower-big {
    font-size: 80px;
    display: inline-block;
    animation: bounce 1s infinite;
}

.trophy {
    font-size: 50px;
    position: absolute;
    top: -10px;
    right: 40%;
    animation: pulse 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.result-text {
    font-size: 18px;
    color: #666;
    margin: 15px 0;
}

.result-text span {
    font-weight: bold;
    color: #4caf50;
}

.result-score {
    font-size: 42px;
    font-weight: bold;
    color: #4caf50;
    margin: 20px 0;
}

/* True/False Screen */
.tf-header {
    font-size: 22px;
    color: #9c27b0;
    margin-bottom: 20px;
}

.tf-question {
    font-size: 20px;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.6;
}

.tf-buttons {
    display: flex;
    gap: 15px;
}

.tf-buttons button {
    flex: 1;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-true {
    background: #4caf50;
    color: white;
}

.btn-true:hover {
    background: #388e3c;
}

.btn-false {
    background: #f44336;
    color: white;
}

.btn-false:hover {
    background: #d32f2f;
}

.feedback {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

.feedback.correct {
    background: #c8e6c9;
    color: #2e7d32;
}

.feedback.incorrect {
    background: #ffcdd2;
    color: #c62828;
}

/* Final Screen */
.final-card {
    text-align: center;
}

.trophy-big {
    font-size: 100px;
    animation: bounce 2s infinite;
}

.final-card h2 {
    font-size: 36px;
    color: #333;
    margin: 20px 0;
}

.final-score-box {
    background: #e8f5e9;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
}

.final-label {
    font-size: 18px;
    color: #666;
    margin-bottom: 10px;
}

.final-value {
    font-size: 60px;
    font-weight: bold;
    color: #4caf50;
}

.final-buttons {
    display: flex;
    gap: 15px;
}

.btn-play-again {
    flex: 1;
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-play-again:hover {
    background: linear-gradient(135deg, #388e3c, #4caf50);
    transform: translateY(-2px);
}

.btn-exit {
    flex: 1;
    background: linear-gradient(135deg, #f44336, #e57373);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-exit:hover {
    background: linear-gradient(135deg, #d32f2f, #f44336);
    transform: translateY(-2px);
}