/* قوانین صفحه */
.rules-hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.603), rgba(10, 10, 14, 0.9)), 
    url('https://assets.originrealms.com/cdn-cgi/image/format=webp,quality=90,fit=scale-down,width=1920/2020/07/Enchanting.jpg') no-repeat center center;
    background-size: cover;
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(10, 10, 10, 0.2);
}

.rules-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.rules-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.rules-hero p {
    font-size: 1.1rem;
    color: var(--light);
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 30px;
}

.rules-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat-box {
    background: rgba(45, 45, 58, 0.5);
    border: 1px solid rgba(255, 186, 0, 0.2);
    border-radius: 8px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 186, 0, 0.1);
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(255, 186, 0, 0.2);
}

.stat-box i {
    color: var(--primary);
    font-size: 1.2rem;
}

.stat-box span {
    font-size: 0.9rem;
    color: var(--light);
}

/* تب‌های افقی */
.rules-tabs {
    margin: 40px 0 30px;
    border-bottom: 1px solid rgba(255, 187, 0, 0.2);
}

.rules-tabs ul {
    display: flex;
    list-style: none;
    gap: 5px;
}

.rules-tabs li {
    flex: 1;
    text-align: center;
}

.tab-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 10px;
    color: var(--light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-link i {
    font-size: 1.2rem;
}

.tab-link:hover {
    color: var(--primary-light);
}

.tab-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}

/* محتوای اصلی */
.rules-content {
    margin-top: 20px;
}

.rules-section {
    display: none;
}

.rules-section.active-section {
    display: block;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header i {
    font-size: 1.4rem;
}

.section-badge {
    background: var(--primary);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-right: auto;
}

/* استایل قوانین */
.rule-article {
    margin-bottom: 35px;
}

.rule-main-title {
    font-size: 1.4rem;
    color: var(--primary-light);
    margin-bottom: 15px;
    font-weight: 600;
}

.rule-content {
    padding-right: 20px;
}

.rule-text {
    font-size: 1rem;
    color: var(--light);
    line-height: 1.8;
    margin-bottom: 12px;
}

/* رسپانسیو */
@media (max-width: 768px) {
    .rules-tabs ul {
        flex-wrap: wrap;
    }
    
    .rules-tabs li {
        flex: 1 0 48%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .rules-tabs li {
        flex: 1 0 100%;
    }
    
    .tab-link {
        flex-direction: row;
        justify-content: flex-start;
        padding: 12px 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--light);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* تب‌های افقی */
.rules-tabs {
    margin: 40px 0 30px;
    border-bottom: 1px solid rgba(255, 187, 0, 0.2);
}

.rules-tabs ul {
    display: flex;
    list-style: none;
    gap: 5px;
    justify-content: space-between;
}

.rules-tabs li {
    flex: 1;
    text-align: center;
}

.tab-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 10px;
    color: var(--light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-link i {
    font-size: 1.2rem;
}

.tab-link:hover {
    color: var(--primary-light);
}

.tab-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}

/* محتوای اصلی */
.rules-content {
    margin-top: 20px;
}

.rules-section {
    display: none;
}

.rules-section.active-section {
    display: block;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header i {
    font-size: 1.4rem;
}

.section-badge {
    background: var(--primary);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-right: auto;
}

/* استایل قوانین */
.rule-article {
    margin-bottom: 35px;
}

.rule-main-title {
    font-size: 1.4rem;
    color: var(--primary-light);
    margin-bottom: 15px;
    font-weight: 600;
}

.rule-content {
    padding-right: 20px;
}

.rule-text {
    position: relative;
    font-size: 1rem;
    color: var(--light);
    line-height: 1.8;
    margin-bottom: 12px;
    padding-right: 25px;
}

.custom-bullet {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: var(--primary);
    border-radius: 2px;
    margin-left: 10px;
    position: absolute;
    right: 0;
    top: 8px;
}

 