/* Rules Page Styles */
.page-header {
    background: linear-gradient(rgba(13, 17, 23, 0.9), rgba(13, 17, 23, 0.9)), url('../img/rules-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.page-header p {
    font-size: 1.2rem;
    color: #ccc;
}

.rules-content {
    padding: 80px 0;
}

.rules-intro {
    margin-bottom: 50px;
}

.warning-box {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.warning-box i {
    font-size: 1.5rem;
}

.rule-category {
    margin-bottom: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.rule-category h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 1.5rem;
    color: var(--primary);
}

.rule-category h2 i {
    width: 30px;
}

.rule-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.rule-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 20px;
    border-left: 4px solid var(--primary);
}

.rule-item h3 {
    color: var(--secondary);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.rule-item p, .rule-item ul {
    margin-bottom: 15px;
    color: #ccc;
}

.rule-item ul {
    padding-left: 20px;
}

.rule-item li {
    margin-bottom: 5px;
}

.rule-penalty {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.penalty-level {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.penalty-level.low {
    background: #f39c12;
    color: white;
}

.penalty-level.medium {
    background: #e74c3c;
    color: white;
}

.penalty-level.high {
    background: #c0392b;
    color: white;
}

.penalty-level.critical {
    background: #7d3c98;
    color: white;
}

/* Penalty System */
.penalty-system {
    margin: 80px 0;
}

.penalty-system h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.penalty-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.penalty-level-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
}

.penalty-level-item:hover {
    transform: translateY(-5px);
}

.level-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

.level-icon.low {
    background: #f39c12;
}

.level-icon.medium {
    background: #e74c3c;
}

.level-icon.high {
    background: #c0392b;
}

.level-icon.critical {
    background: #7d3c98;
}

.penalty-level-item h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.penalty-level-item p {
    color: #ccc;
    margin-bottom: 15px;
}

.penalty-level-item ul {
    text-align: left;
    color: #ccc;
    font-size: 0.9rem;
}

.penalty-level-item li {
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
}

.penalty-level-item li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary);
}

/* Rules Notes */
.rules-notes {
    margin-top: 50px;
}

.note-box {
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid var(--primary);
    border-radius: 10px;
    padding: 25px;
}

.note-box h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--primary);
}

.note-box ul {
    color: #ccc;
    padding-left: 20px;
}

.note-box li {
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .rule-category {
        padding: 20px;
    }
    
    .penalty-levels {
        grid-template-columns: 1fr;
    }
    
    .warning-box {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .rule-item {
        padding: 15px;
    }
}