﻿/* Leaderboard Cards Hover */
.leaderboard-card {
    background: var(--card-bg, rgba(255,255,255,0.05));
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: var(--card-backdrop, blur(5px));
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

    /* حركة البطاقة عند المرور */
    .leaderboard-card:hover {
        transform: translateY(-10px) scale(1.03);
        box-shadow: 0 15px 25px rgba(0,0,0,0.2);
    }

    /* لو عندك أي صورة داخل البطاقة */
    .leaderboard-card img,
    .leaderboard-card .leaderboard-header {
        transition: transform 0.3s ease;
    }

    .leaderboard-card:hover img,
    .leaderboard-card:hover .leaderboard-header {
        transform: scale(1.05);
    }

    /* تدرج الألوان للنصوص أو العناوين عند المرور */
    .leaderboard-card .leaderboard-title {
        transition: color 0.3s ease;
    }

    .leaderboard-card:hover .leaderboard-title {
        color: var(--primary-color);
    }


.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    position: relative;
    color: var(--title-color);
}

    .section-title:after {
        content: '';
        position: absolute;
        width: 80px;
        height: 3px;
        background: var(--primary-color, #007bff); /* خط تحت العنوان */
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 2px;
    }

.leaderboard-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 10px;
    flex-wrap: wrap;
}

.leaderboard-tab {
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    color: var(--text-color, #000);
}

    .leaderboard-tab.active, .leaderboard-tab:hover {
        background: linear-gradient(to right, var(--primary-color, #007bff), var(--secondary-color, #00c6ff));
        color: #fff;
    }

.leaderboard-content {
    display: none;
}

    .leaderboard-content.active {
        display: block;
    }

.leaderboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/*.leaderboard-card {
    background: var(--card-bg, rgba(255,255,255,0.05));
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: var(--card-backdrop, blur(5px));
}*/

.leaderboard-header {
    padding: 15px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color, #007bff), var(--secondary-color, #00c6ff));
    color: #fff;
}

.leaderboard-title {
    font-size: 1.2rem;
    margin: 0;
}

.leaderboard-icon {
    font-size: 1.5rem;
    display: inline-block;
    margin-left: 5px;
}

.leaderboard-list {
    padding: 15px;
    list-style: none;
    margin: 0;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    gap: 15px;
}

    .leaderboard-item:last-child {
        border-bottom: none;
    }

.leaderboard-rank {
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-left: 10px;
}



.leaderboard-item:nth-child(1) .leaderboard-rank {
    background: linear-gradient(to right, #00FFFF, #1E90FF);
    color: #000;
}



.leaderboard-item:nth-child(2) .leaderboard-rank {
    background: linear-gradient(to right, #E5E4E2, #B0C4DE);
    color: #000;
}



.leaderboard-item:nth-child(3) .leaderboard-rank {
    background: linear-gradient(to right, #FFD700, #FFA500);
    color: #000;
}


.leaderboard-item:nth-child(4) .leaderboard-rank {
    background: linear-gradient(to right, #C0C0C0, #A9A9A9);
    color: #000;
}


.leaderboard-item:nth-child(5) .leaderboard-rank {
    background: linear-gradient(to right, #CD7F32, #8C6B46);
    color: #000;
}




.leaderboard-info {
    flex: 1;
}

.leaderboard-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.leaderboard-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted, #aaa);
}

.leaderboard-points {
    font-weight: bold;
    color: var(--secondary-color, #00c6ff);
}

.leaderboard-more {
    text-align: center;
    margin-top: 20px;
}

    .leaderboard-more .btn {
        padding: 10px 20px;
        background: linear-gradient(to right, var(--primary-color, #007bff), var(--secondary-color, #00c6ff));
        color: #fff;
        border-radius: 20px;
        text-decoration: none;
        display: inline-block;
    }

@media (max-width: 768px) 
{
    .leaderboard-grid {
        grid-template-columns: 1fr;
    }

    .leaderboard-tab {
        width: 90%;
        text-align: center;
    }

    .leaderboard-more .btn {
        width: 80%;
        margin: 10px auto;
    }
}

.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
}

.hero h1 {
    font-size: 4rem; /* كبرناها أكتر */
    margin-bottom: 20px;
    font-weight: bold;
}

.hero-content p[data-i18n="heroDesc"] {
    color: #6c5ce7;
    font-size: 1rem; /* تكبير الوصف */
    line-height: 1.6; /* يخلي السطور مرتاحة أكتر */
    font-weight: bold;
}
.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero .btn {
    margin: 5px;

}

.hero-content a.btn[data-i18n="getStarted"] {
    background-color: #6c5ce7; 
    color: #fff; 
    border: none;
}

    .hero-content a.btn[data-i18n="getStarted"]:hover {
        background-color: #6c5ce7; 
    }
.hero-content a.btn.btn-accent[data-i18n="viewGames"] {
    background-color: #fff; 
    color: #6c5ce7; 
    
}

    .hero-content a.btn.btn-accent[data-i18n="viewGames"]:hover {
        background-color: #f5f5f5;
    }
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .hero .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}
.leaderboard-tab {
    background: linear-gradient(135deg, #a29bfe, #b388ff); /* Gradient كامل */
    color: #f5f5f5; /* نص أبيض */
    border: none;
    padding: 8px 20px; /* تقليل الحشو */
    border-radius: 50px; /* كيرف كامل */
    cursor: pointer;
    font-weight: bold;
    font-size: 0.85rem; /* تصغير الخط */
    box-shadow: 0 3px 8px rgba(162, 155, 254, 0.3); /* تصغير الظل */
    transition: all 0.3s ease;
}

    .leaderboard-tab:hover {
        background: linear-gradient(135deg, #6c5ce7, #8c7ae6);
        color: #fff;
        transform: translateY(-3px) scale(1.03);
        box-shadow: 0 5px 12px rgba(108, 92, 231, 0.35);
    }

    .leaderboard-tab.active {
        background: linear-gradient(135deg, #6c5ce7, #6c5ce7);
        color: #fff;
        box-shadow: 0 5px 12px rgba(108, 92, 231, 0.4);
        transform: scale(1.02);
    }

/* Dark Theme Overrides */
[data-theme="dark"] .leaderboard-tab {
    background: linear-gradient(135deg, #a29bfe, #a29bfe);
    color: #f8f9fa;
    box-shadow: 0 3px 8px rgba(0,0,0,0.5);
}

    [data-theme="dark"] .leaderboard-tab:hover {
        background: linear-gradient(135deg, #6c5ce7, #8c7ae6);
    }

    [data-theme="dark"] .leaderboard-tab.active {
        background: linear-gradient(135deg, #6c5ce7, #6c5ce7);
    }
