* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Sans MS', 'Nunito', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: #f8f9fa;
    overflow-x: hidden;
}

body[dir="rtl"] {
    direction: rtl;
}

/* Playful scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #e8f4f8;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #4ecdc4, #44a08d);
    border-radius: 10px;
    border: 2px solid #e8f4f8;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #3db8b0, #358f7d);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: -0.01em;
}

/* Game card style */
.game-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(78, 205, 196, 0.15);
    border: 3px solid #e8f4f8;
    position: relative;
}

.game-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #4ecdc4, #44a08d, #ffe66d, #ff6b6b);
    border-radius: 24px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover::before {
    opacity: 0.3;
}

/* Colorful button */
.btn-playful {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 12px 32px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
    cursor: pointer;
}

.btn-playful:hover {
    background: linear-gradient(135deg, #3db8b0 0%, #358f7d 100%);
    box-shadow: 0 6px 16px rgba(78, 205, 196, 0.4);
    transform: translateY(-2px);
}

/* Decorative elements */
.decorative-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffe66d, #ff6b6b);
    opacity: 0.1;
    position: absolute;
}

.decorative-star {
    font-size: 2rem;
    color: #ffe66d;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* Age badge */
.age-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #ffe66d, #ffd93d);
    color: #2c3e50;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(255, 230, 109, 0.3);
}

/* Category tag */
.category-tag {
    display: inline-block;
    padding: 6px 14px;
    background: #e8f4f8;
    color: #44a08d;
    border-radius: 16px;
    font-weight: 600;
    font-size: 13px;
    margin: 4px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
}

/* Input styling */
input[type="text"],
input[type="email"],
input[type="number"],
textarea,
select {
    border: 2px solid #e8f4f8;
    border-radius: 16px;
    padding: 12px 16px;
    font-size: 16px;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #4ecdc4;
    box-shadow: 0 0 0 4px rgba(78, 205, 196, 0.1);
}

/* Section backgrounds */
.section-bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
}

.section-bg-colorful {
    background: linear-gradient(135deg, #e8f4f8 0%, #fff5e6 50%, #ffe6e6 100%);
}

