/* ============================================
   تنسيقات الصفحة الرئيسية
   ============================================ */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(44,24,16,0.95), rgba(139,69,19,0.95)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="chess" x="0" y="0" width="80" height="80" patternUnits="userSpaceOnUse"><rect fill="%23b58863" width="40" height="40"/><rect fill="%23b58863" x="40" y="40" width="40" height="40"/></pattern></defs><rect fill="url(%23chess)" width="1200" height="600" opacity="0.2"/></svg>');
    background-size: cover;
    background-position: center;
    padding: 120px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Katibeh', cursive;
    font-size: 5em;
    margin-bottom: 15px;
    text-shadow: 3px 3px 10px rgba(0,0,0,0.5);
    animation: slideDown 1s ease-out;
    line-height: 1.3;
}

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

.hero-subtitle {
    font-size: 2em;
    margin-bottom: 10px;
    color: var(--accent);
    animation: slideUp 1s ease-out 0.3s both;
    font-weight: 600;
}

.hero-edition {
    font-size: 1.5em;
    margin-bottom: 50px;
    opacity: 0.9;
    animation: slideUp 1s ease-out 0.5s both;
}

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.stat-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 15px;
    border: 2px solid rgba(212,175,55,0.3);
    transition: all 0.3s;
    animation: fadeIn 1s ease-out 0.8s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 10px 40px rgba(212,175,55,0.3);
}

.stat-number {
    font-size: 3.5em;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 1.2em;
    opacity: 0.95;
}

/* قطع الشطرنج المتحركة */
.chess-piece {
    font-size: 4em;
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.piece-1 { top: 10%; left: 10%; animation-delay: 0s; }
.piece-2 { top: 20%; right: 15%; animation-delay: 1s; }
.piece-3 { bottom: 15%; left: 20%; animation-delay: 2s; }
.piece-4 { bottom: 10%; right: 10%; animation-delay: 1.5s; }

/* صندوق الترحيب */
.welcome-box {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 20px;
    margin-top: 60px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(212,175,55,0.3);
}

.welcome-box h3 {
    font-size: 2em;
    margin-bottom: 20px;
}

.welcome-box p {
    font-size: 1.3em;
    margin-bottom: 30px;
}

/* التصميم المتجاوب */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3em;
    }
    
    .hero-subtitle {
        font-size: 1.5em;
    }
    
    .hero-edition {
        font-size: 1.2em;
    }
    
    .stat-number {
        font-size: 2.5em;
    }
}
