.rules-page {
    padding-top: 120px;
}

.rules-intro {
    text-align: center;
    color: #ddd;
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.rules-notice {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 30px;
}

.rules-notice p {
    color: #eee;
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.rules-notice p:last-child {
    margin-bottom: 0;
}

.rules-notice a {
    color: #FFDAB9;
    text-decoration: underline;
}

.rules-block {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 20px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.rules-block:hover {
    transform: translateY(-3px);
    border-color: #FFDAB922;
    box-shadow: 0 8px 30px rgba(255, 218, 185, 0.04);
}

.rules-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FFDAB9;
    margin-bottom: 10px;
}

.rules-desc {
    color: #ccc;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.rules-list-full {
    list-style: none;
}

.rules-list-full li {
    padding: 10px 0;
    color: #eee;
    font-size: 0.95rem;
    line-height: 1.5;
    border-bottom: 1px solid #ffffff08;
}

.rules-list-full li:last-child {
    border-bottom: none;
}

.rule-num {
    color: #FFDAB9;
    font-weight: 700;
    margin-right: 8px;
}

.rule-allowed {
    color: #4ade80 !important;
    padding-left: 24px !important;
}

.rule-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: #e0e0e0;
    margin: 20px 0 10px;
}

.rule-subtitle:first-of-type {
    margin-top: 15px;
}

.rule-warning {
    background: rgba(248, 113, 113, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-left: 3px solid #f87171;
    padding: 14px 18px;
    border-radius: 10px;
    margin: 12px 0;
    color: #ddd;
    font-size: 0.9rem;
    line-height: 1.5;
}

.rule-warning strong {
    color: #f87171;
}

.rules-footer-note {
    text-align: center;
    padding: 30px;
    font-size: 1.1rem;
    color: #eee;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.rules-footer-note strong {
    color: #f87171;
}

.nav-links a.active {
    color: #FFDAB9;
}