/* ============================================
   ScrapNode - Regles Page Styles
   ============================================ */

/* Intro Box */
.intro-box {
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 0 40px;
}

.intro-content {
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.15), rgba(211, 84, 0, 0.1));
    border: 2px solid rgba(230, 126, 34, 0.3);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
}

.intro-content p {
    color: #BDC3C7;
    font-size: 1.15rem;
    line-height: 1.8;
}

.intro-content strong {
    color: #E67E22;
}

/* Rules Section */
.rules-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Rule Cards */
.rule-card {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.6), rgba(52, 73, 94, 0.4));
    border: 2px solid rgba(52, 73, 94, 0.5);
    border-radius: 25px;
    padding: 40px;
    margin-bottom: 25px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.rule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    transition: all 0.3s;
}

.rule-card:hover {
    transform: translateX(5px);
    border-color: rgba(230, 126, 34, 0.5);
}

/* Rule Card Color Variants */
.rule-card.respect::before { background: linear-gradient(180deg, #3498DB, #2980B9); }
.rule-card.cheat::before { background: linear-gradient(180deg, #E74C3C, #C0392B); }
.rule-card.pub::before { background: linear-gradient(180deg, #9B59B6, #8E44AD); }
.rule-card.staff::before { background: linear-gradient(180deg, #E67E22, #D35400); }
.rule-card.sel::before { background: linear-gradient(180deg, #2ECC71, #27AE60); }

/* Rule Header */
.rule-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.rule-number {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.rule-card.respect .rule-number { background: linear-gradient(135deg, #3498DB, #2980B9); }
.rule-card.cheat .rule-number { background: linear-gradient(135deg, #E74C3C, #C0392B); }
.rule-card.pub .rule-number { background: linear-gradient(135deg, #9B59B6, #8E44AD); }
.rule-card.staff .rule-number { background: linear-gradient(135deg, #E67E22, #D35400); }
.rule-card.sel .rule-number { background: linear-gradient(135deg, #2ECC71, #27AE60); }

/* Rule Title */
.rule-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #ECF0F1;
}

.rule-card.respect .rule-title { color: #3498DB; }
.rule-card.cheat .rule-title { color: #E74C3C; }
.rule-card.pub .rule-title { color: #9B59B6; }
.rule-card.staff .rule-title { color: #E67E22; }
.rule-card.sel .rule-title { color: #2ECC71; }

/* Rule Description */
.rule-description {
    color: #BDC3C7;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Rule Details */
.rule-details {
    background: rgba(15, 20, 25, 0.4);
    border-radius: 15px;
    padding: 20px 25px;
}

.rule-details h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #95A5A6;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.rule-details ul {
    list-style: none;
}

.rule-details ul li {
    color: #BDC3C7;
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.rule-details ul li::before {
    content: '\2717';
    position: absolute;
    left: 0;
    color: #E74C3C;
    font-weight: bold;
}

.rule-details ul.allowed li::before {
    content: '\2713';
    color: #2ECC71;
}

/* Sanctions Section */
.sanctions-section {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 40px;
}

.sanctions-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #ECF0F1;
    text-align: center;
    margin-bottom: 40px;
}

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

/* Sanction Cards */
.sanction-card {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.6), rgba(52, 73, 94, 0.4));
    border: 1px solid rgba(52, 73, 94, 0.5);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
}

.sanction-card:hover {
    transform: translateY(-5px);
    border-color: rgba(231, 76, 60, 0.5);
}

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

.sanction-card.warn .sanction-icon {
    background: linear-gradient(135deg, #F39C12, #E67E22);
}

.sanction-card.mute .sanction-icon {
    background: linear-gradient(135deg, #9B59B6, #8E44AD);
}

.sanction-card.kick .sanction-icon {
    background: linear-gradient(135deg, #E74C3C, #C0392B);
}

.sanction-card.ban .sanction-icon {
    background: linear-gradient(135deg, #1A1A2E, #16213E);
    border: 2px solid #E74C3C;
}

.sanction-card h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ECF0F1;
    margin-bottom: 10px;
}

.sanction-card p {
    color: #95A5A6;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Important Notice */
.notice-box {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 40px;
}

.notice-content {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(192, 57, 43, 0.1));
    border: 2px solid rgba(231, 76, 60, 0.3);
    border-radius: 20px;
    padding: 35px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.notice-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #E74C3C, #C0392B);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.notice-text h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #E74C3C;
    margin-bottom: 10px;
}

.notice-text p {
    color: #BDC3C7;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    max-width: 900px;
    margin: 80px auto;
    padding: 60px 40px;
    text-align: center;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.15), rgba(39, 174, 96, 0.1));
    border: 2px solid rgba(46, 204, 113, 0.3);
    border-radius: 30px;
}

.cta-section h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #2ECC71;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.2rem;
    color: #BDC3C7;
    margin-bottom: 30px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #2ECC71, #27AE60);
    color: white;
    padding: 18px 45px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(46, 204, 113, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #ECF0F1;
    padding: 18px 45px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid #34495E;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: #2ECC71;
    color: #2ECC71;
    transform: translateY(-3px);
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

/* ============================================
   Responsive - Page Specific
   ============================================ */
@media (max-width: 768px) {
    .rule-header {
        flex-direction: column;
        text-align: center;
    }

    .notice-content {
        flex-direction: column;
        text-align: center;
    }

    .sanctions-grid {
        grid-template-columns: 1fr;
    }
}
