.regolamento-page {
    width: 100%;
    min-height: calc(100vh - 90px);
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.regolamento-container {
    max-width: 900px;
    width: 100%;
}

.regolamento-header {
    text-align: center;
    margin-bottom: 50px;
}

.regolamento-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(128, 12, 12, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.regolamento-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.premessa {
    font-size: 0.95rem;
    color: #b0b0c0;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 25px;
    background: rgba(128, 12, 12, 0.08);
    border-left: 3px solid #800c0c;
    border-radius: 0 8px 8px 0;
    text-align: left;
}

.sezione {
    margin-bottom: 45px;
}

.sezione-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(128, 12, 12, 0.4);
}

.sezione-numero {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #800c0c;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    flex-shrink: 0;
}

.sezione-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.regola {
    background: #110505;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 22px 25px;
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
}

.regola:hover {
    border-color: rgba(128, 12, 12, 0.3);
    background: #170707;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.regola-content {
    flex: 1;
}

.regola-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.regola-content p {
    font-size: 0.9rem;
    color: #a0a0a0;
    line-height: 1.6;
}

.regola-content ul {
    list-style: none;
    padding: 0;
    margin-top: 6px;
}

.regola-content ul li {
    font-size: 0.88rem;
    color: #a0a0a0;
    line-height: 1.7;
    padding-left: 18px;
    position: relative;
}

.regola-content ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #800c0c;
    font-weight: 700;
}

.regola-content ul li strong {
    color: #ff6b6b;
}

.sanzione {
    flex-shrink: 0;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
    min-width: 140px;
    max-width: 200px;
    letter-spacing: 0.3px;
}

.sanzione.mute {
    background: rgba(255, 165, 0, 0.12);
    border: 1px solid rgba(255, 165, 0, 0.3);
    color: #ffa500;
}

.sanzione.ban {
    background: rgba(230, 0, 0, 0.12);
    border: 1px solid rgba(230, 0, 0, 0.3);
    color: #ff4444;
}

.sanzione.permanente {
    background: rgba(128, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.4);
    color: #ff6666;
}

footer {
    width: 100%;
    background: linear-gradient(180deg, #0d0202, #1a0505);
    border-top: 3px solid #800c0c;
    padding: 50px 40px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 2px;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #ff2e2e;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a,
.footer-social a {
    display: block;
    color: #b0b0c0;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-social a:hover {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(128, 12, 12, 0.3);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #666;
}

.footer-bottom strong {
    color: #800c0c;
}

@media (max-width: 768px) {
    .regolamento-page {
        padding: 40px 15px;
    }

    .regolamento-header h1 {
        font-size: 1.4rem;
    }

    .premessa {
        font-size: 0.85rem;
        padding: 15px 18px;
    }

    .sezione-header h2 {
        font-size: 1.2rem;
    }

    .regola {
        flex-direction: column;
        gap: 12px;
        padding: 18px 18px;
    }

    .sanzione {
        align-self: flex-start;
        min-width: auto;
        max-width: 100%;
        width: auto;
        font-size: 0.78rem;
    }

    .regola-content h3 {
        font-size: 0.95rem;
    }

    .regola-content p,
    .regola-content ul li {
        font-size: 0.85rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-links a,
    .footer-social a {
        display: inline-block;
        margin: 0 10px;
    }
}
