* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #8bc34a 0%, #689f38 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-x: hidden;
}

.container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 1000px;
    width: 100%;
    position: relative;
}

h1 {
    color: #333;
    text-align: center;
    margin-bottom: 25px;
    font-size: 32px;
}

/* Story Box */
.story-box {
    background: linear-gradient(135deg, #fff9c4 0%, #fff59d 100%);
    border-left: 5px solid #f57f17;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.story-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.icon {
    font-size: 50px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.header-text strong {
    color: #f57f17;
    font-size: 20px;
    display: block;
}

.header-text p {
    color: #666;
    font-size: 14px;
    margin-top: 3px;
}

.story-text {
    color: #333;
    line-height: 1.8;
    font-size: 18px;
    text-align: center;
}

/* Garden Section */
.garden-section {
    margin: 40px 0;
    display: flex;
    justify-content: center;
}

.garden-svg {
    width: 100%;
    max-width: 700px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    border-radius: 15px;
}

.sector-area {
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.flower {
    animation: sway 2.5s ease-in-out infinite;
    transform-origin: center bottom;
}

.flower1 { animation-delay: 0s; }
.flower2 { animation-delay: 0.3s; }
.flower3 { animation-delay: 0.6s; }
.flower4 { animation-delay: 0.9s; }

@keyframes sway {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(3deg); }
    75% { transform: rotate(-3deg); }
}

/* Info Section */
.info-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.info-box {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border: 3px solid #4caf50;
    border-radius: 15px;
    padding: 20px;
}

.info-label {
    font-size: 18px;
    font-weight: bold;
    color: #2e7d32;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4caf50;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-item {
    font-size: 16px;
    color: #333;
}

.value {
    color: #d84315;
    font-weight: bold;
    font-size: 18px;
}

.formula-text {
    font-family: 'Courier New', monospace;
    font-size: 16px;
    color: #1565c0;
    font-weight: bold;
}

/* Question Section */
.question-section {
    margin: 30px 0;
}

.question-label {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-radius: 10px;
    border-left: 5px solid #ff6f00;
}

.question-text {
    font-size: 18px;
    color: #555;
    text-align: center;
    margin-bottom: 25px;
}

/* Drop Zone */
.drop-zone {
    margin: 30px auto;
    padding: 40px;
    border: 4px dashed #8bc34a;
    border-radius: 15px;
    background: linear-gradient(135deg, #f1f8e9 0%, #dcedc8 100%);
    text-align: center;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    max-width: 500px;
}

.drop-zone.drag-over {
    border-color: #689f38;
    background: linear-gradient(135deg, #dcedc8 0%, #c5e1a5 100%);
    transform: scale(1.02);
}

.drop-placeholder {
    color: #9e9e9e;
    font-size: 20px;
    font-style: italic;
}

.dropped-answer {
    font-size: 24px;
    font-weight: bold;
    color: #2e7d32;
    display: none;
}

.drop-zone.has-answer .drop-placeholder {
    display: none;
}

.drop-zone.has-answer .dropped-answer {
    display: block;
}

/* Blink Animations */
.drop-zone.blink-green {
    animation: blinkGreen 1.8s ease-in-out;
}

.drop-zone.blink-red {
    animation: blinkRed 1.8s ease-in-out;
}

@keyframes blinkGreen {
    0%, 100% { 
        background: linear-gradient(135deg, #f1f8e9 0%, #dcedc8 100%);
        border-color: #8bc34a;
    }
    16.67%, 50%, 83.33% { 
        background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
        border-color: #4caf50;
    }
    33.33%, 66.67% { 
        background: linear-gradient(135deg, #f1f8e9 0%, #dcedc8 100%);
        border-color: #8bc34a;
    }
}

@keyframes blinkRed {
    0%, 100% { 
        background: linear-gradient(135deg, #f1f8e9 0%, #dcedc8 100%);
        border-color: #8bc34a;
    }
    16.67%, 50%, 83.33% { 
        background: linear-gradient(135deg, #ffcdd2 0%, #ef9a9a 100%);
        border-color: #f44336;
    }
    33.33%, 66.67% { 
        background: linear-gradient(135deg, #f1f8e9 0%, #dcedc8 100%);
        border-color: #8bc34a;
    }
}

/* Options Container */
.options-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.option-card {
    background: white;
    border: 3px solid #ffc107;
    border-radius: 12px;
    padding: 25px;
    cursor: grab;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    color: #333;
}

.option-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 193, 7, 0.3);
    border-color: #ff9800;
}

.option-card:active {
    cursor: grabbing;
}

.option-card.dragging {
    opacity: 0.5;
    transform: scale(0.95);
}

.option-card.hidden {
    display: none;
}

/* Feedback */
.feedback {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    min-height: 30px;
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
}

.feedback.success {
    color: #4caf50;
    background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
}

.feedback.error {
    color: #f44336;
    background: linear-gradient(135deg, #ffcdd2 0%, #ef9a9a 100%);
}

/* Reset Button */
.reset-btn {
    display: block;
    margin: 20px auto;
    background: #4caf50;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reset-btn:hover {
    background: #388e3c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.reset-btn:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 968px) {
    .info-section {
        grid-template-columns: 1fr;
    }

    .options-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 25px;
    }

    h1 {
        font-size: 26px;
    }

    .garden-svg {
        max-width: 600px;
    }

    .question-label {
        font-size: 18px;
    }

    .option-card {
        font-size: 20px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 22px;
    }

    .story-text {
        font-size: 16px;
    }

    .garden-svg {
        max-width: 400px;
    }

    .question-label {
        font-size: 16px;
    }

    .option-card {
        font-size: 18px;
        padding: 15px;
    }

    .feedback {
        font-size: 18px;
    }
}
