/* Custom styles for KidEnglish app */
.iphone-frame {
    width: 410px;
    height: 860px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Animation for interactive elements */
.bounce-animation {
    transition: transform 0.2s;
}

.bounce-animation:active {
    transform: scale(0.95);
}

/* Custom colors for our kid-friendly app */
:root {
    --primary-color: #FF6B6B;
    --secondary-color: #4ECDC4;
    --accent-color: #FFD166;
    --text-primary: #2F4858;
    --bg-light: #F9F7F7;
}

/* Rounded corners for kid-friendly UI */
.kid-card {
    border-radius: 24px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Progress bar styling */
.progress-bar {
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

/* Star rating animation */
@keyframes star-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.star-icon {
    color: var(--accent-color);
    animation: star-pulse 1s infinite;
}

/* Custom scrollbar for content areas */
.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

/* Character animations */
.character-bounce {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
} 