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

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

.error-container {
    max-width: 800px;
    width: 100%;
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.error-message {
    text-align: center;
    margin-bottom: 30px;
}

.error-message h1 {
    color: #f39c12;
    font-size: 24px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.error-message p {
    color: #666;
    font-size: 16px;
}

.error-tips {
    background-color: #fff3e0;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 2px dashed #f39c12;
}

.error-tips h2 {
    color: #e67e22;
    font-size: 18px;
    margin-bottom: 15px;
}

.error-tips ul {
    list-style-position: inside;
    color: #666;
}

.error-tips li {
    margin-bottom: 8px;
    line-height: 1.4;
    position: relative;
    padding-left: 20px;
}

.error-tips li::before {
    content: '🔨';
    position: absolute;
    left: 0;
    top: 0;
}

.game-container {
    position: relative;
    width: 100%;
    height: 300px;
    background-color: #f7f7f7;
    overflow: hidden;
    border: 2px solid #333;
    border-radius: 8px;
    margin-bottom: 20px;
    background-image: linear-gradient(to bottom, #87CEEB, #E0F6FF);
}

.dino {
    position: absolute;
    width: 60px;
    height: 60px;
    bottom: 0;
    left: 50px;
    background-color: transparent;
}

/* Rabbit body */
.dino::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    border-radius: 50% 50% 45% 45%;
    transform: rotate(-5deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Rabbit head */
.dino::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 35px;
    background-color: #f5f5f5;
    top: 5px;
    right: -15px;
    border-radius: 50% 50% 45% 45%;
    transform: rotate(15deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Rabbit ear */
.dino .ear {
    position: absolute;
    width: 15px;
    height: 30px;
    background-color: #f5f5f5;
    top: -25px;
    right: 5px;
    border-radius: 50% 50% 0 0;
    transform: rotate(-5deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dino .ear::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 30px;
    background-color: #f5f5f5;
    top: 0;
    right: 20px;
    border-radius: 50% 50% 0 0;
    transform: rotate(5deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Rabbit inner ear */
.dino .ear::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 20px;
    background-color: #ffb6c1;
    top: 5px;
    left: 3px;
    border-radius: 50% 50% 0 0;
    opacity: 0.7;
}

/* Rabbit eye */
.dino .eye {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #333;
    border-radius: 50%;
    top: 15px;
    right: 5px;
    z-index: 1;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

/* Rabbit eye shine */
.dino .eye::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    background-color: white;
    border-radius: 50%;
    top: 1px;
    left: 1px;
}

/* Rabbit nose */
.dino .nose {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #ff9999;
    border-radius: 50%;
    top: 20px;
    right: -5px;
    z-index: 1;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

/* Rabbit whiskers */
.dino .whiskers {
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #f5f5f5;
    top: 22px;
    right: -20px;
    transform: rotate(5deg);
}

.dino .whiskers::before,
.dino .whiskers::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #f5f5f5;
    top: -5px;
    right: 0;
}

.dino .whiskers::after {
    top: 5px;
}

.cactus {
    position: absolute;
    width: 20px;
    height: 40px;
    bottom: 0;
    right: 0;
    background-color: #ff6b00;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: rotate(-5deg);
}

/* Carrot top */
.cactus::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 15px;
    background-color: #2ecc71;
    top: -10px;
    left: 0;
    border-radius: 50% 50% 0 0;
    transform: rotate(180deg);
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

/* Carrot leaves */
.cactus::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 15px;
    background-color: #2ecc71;
    top: -15px;
    left: 5px;
    border-radius: 50% 50% 0 0;
    transform: rotate(45deg);
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

/* Carrot texture */
.cactus .texture {
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 5px,
        rgba(255, 107, 0, 0.2) 5px,
        rgba(255, 107, 0, 0.2) 10px
    );
    border-radius: 4px;
}

/* Carrot shine */
.cactus .shine {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.2) 45%,
        transparent 55%
    );
    border-radius: 4px;
}

.ground {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #333;
}

.grass {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(to bottom, #4CAF50, #388E3C);
    border-top: 2px solid #2E7D32;
}

.score, .high-score {
    position: absolute;
    top: 20px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.score {
    right: 20px;
}

.high-score {
    right: 150px;
}

.game-over {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: bold;
    color: #e74c3c;
    text-align: center;
}

.hidden {
    display: none;
}

.game-instructions {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 15px;
}

@keyframes jump {
    0% {
        bottom: 0;
        transform: rotate(0deg);
    }
    50% {
        bottom: 150px;
        transform: rotate(-5deg);
    }
    100% {
        bottom: 0;
        transform: rotate(0deg);
    }
}

.jump {
    animation: jump 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 600px) {
    .error-container {
        padding: 15px;
    }
    
    .error-message h1 {
        font-size: 20px;
    }
    
    .error-tips {
        padding: 15px;
    }
    
    .game-container {
        height: 250px;
    }
}

.survey-section h3 {
    color: #e67e22;
    font-size: 16px;
    margin-bottom: 15px;
}

.survey-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    color: #666;
    font-size: 14px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    resize: none;
    padding: 8px 12px;
    border: 2px solid #f39c12;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e67e22;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group select {
    padding: 8px 12px;
    border: 2px solid #f39c12;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    background-color: white;
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: #e67e22;
}

.form-group select:hover {
    border-color: #e67e22;
}

.submit-btn {
    background-color: #f39c12;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #e67e22;
}

/* Score animation */
@keyframes scorePop {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.score-pop {
    animation: scorePop 0.3s ease-out;
} 