/* قسم الهيرو */
.hero-section {
    background: url('../images/hero-bg.jpg') no-repeat center center;
    background-size: cover;
}

/* أنيميشن الهيرو */
.animate-fade-in-down {
    animation: fadeInDown 1s ease-out forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* بطاقات المميزات */
.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: #a0aec0;
}

/* بطاقات الغرف */
.room-card {
    background: rgba(26, 32, 44, 0.8);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.room-card:hover {
    transform: scale(1.05);
    border-color: rgba(102, 126, 234, 0.5);
}

.room-card .flag {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.room-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.online-count {
    color: #48bb78;
    font-size: 0.875rem;
}

/* معاينة الدردشة */
.chat-preview-container {
    position: relative;
    height: 400px;
}

.chat-preview {
    background: #2d3748;
    border-radius: 1rem;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* العدادات */
.animate-stats {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
}

.counter {
    font-family: 'Cairo', sans-serif;
}
/* إضافة تأثيرات hover للروابط */
a:hover svg {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* تأثير hover للنص */
a:hover span {
    text-decoration: underline;
}

/* تحسين المظهر على الشاشات الصغيرة */
@media (max-width: 480px) {
}
