@import url('../download/download.css');

body.rl-page {
    display: block;
    min-height: 100vh;
    padding: 0 0 48px;
    background: #0a0f1a;
}

.rl-wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 16px;
    animation: fadeIn 0.5s ease-out;
}

.rl-header {
    text-align: center;
    margin-bottom: 36px;
    padding-top: 72px;
}

.rl-header-badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.25);
    color: #93c5fd;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rl-title {
    font-size: 32px;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 6px;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.25);
    letter-spacing: 0.5px;
}

.rl-subtitle {
    color: #94a3b8;
    font-size: 15px;
}

.rl-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}

.rl-category-card {
    background: linear-gradient(160deg, #0f172a 0%, #111f38 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 22px 20px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.rl-category-card:hover {
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(37, 99, 235, 0.12);
}

.rl-category-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.2), rgba(30, 58, 138, 0.35));
    border: 1px solid rgba(96, 165, 250, 0.25);
    color: #93c5fd;
}

.rl-category-name {
    color: #f1f5f9;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.rl-category-desc {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.55;
    margin: 0;
}

.rl-section {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(59, 130, 246, 0.12);
    border-radius: 18px;
    padding: 24px 22px 26px;
    margin-bottom: 24px;
    box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.04);
}

.rl-section-title {
    color: #e2e8f0;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 18px;
    padding-left: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rl-section-title i {
    color: #60a5fa;
}

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

.rl-rule-item {
    background: linear-gradient(160deg, #111827 0%, #0f172a 100%);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 14px;
    overflow: hidden;
}

.rl-rule-head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    color: #f1f5f9;
    transition: background 0.2s;
}

.rl-rule-head:hover {
    background: rgba(59, 130, 246, 0.06);
}

.rl-rule-head-left {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.rl-rule-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(96, 165, 250, 0.2);
    color: #93c5fd;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rl-rule-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.rl-rule-chevron {
    color: #64748b;
    font-size: 14px;
    transition: transform 0.25s;
    flex-shrink: 0;
}

.rl-rule-item.is-open .rl-rule-chevron {
    transform: rotate(180deg);
    color: #93c5fd;
}

.rl-rule-body {
    display: none;
    padding: 0 18px 18px 64px;
    color: #94a3b8;
    font-size: 13.5px;
    line-height: 1.65;
}

.rl-rule-item.is-open .rl-rule-body {
    display: block;
}

.rl-rule-body ul {
    margin: 8px 0 0;
    padding-left: 18px;
}

.rl-rule-body li {
    margin-bottom: 6px;
}

.rl-rule-body li:last-child {
    margin-bottom: 0;
}

.rl-penalty-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
    font-size: 13px;
}

.rl-penalty-table th,
.rl-penalty-table td {
    padding: 10px 12px;
    border: 1px solid rgba(148, 163, 184, 0.15);
    text-align: left;
}

.rl-penalty-table th {
    background: rgba(59, 130, 246, 0.1);
    color: #cbd5e1;
    font-weight: 600;
}

.rl-penalty-table td {
    color: #94a3b8;
}

.rl-notice {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-left: 4px solid #f59e0b;
    border-radius: 12px;
    margin-bottom: 28px;
}

.rl-notice-icon {
    color: #fbbf24;
    font-size: 22px;
    flex-shrink: 0;
    padding-top: 2px;
}

.rl-notice-body strong {
    display: block;
    color: #fbbf24;
    font-size: 14px;
    margin-bottom: 4px;
}

.rl-notice-body p {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.55;
    margin: 0;
}

.rl-footer-links {
    text-align: center;
    padding-top: 8px;
}

.rl-footer-links a {
    color: #64748b;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.rl-footer-links a:hover {
    color: #93c5fd;
}

@media (max-width: 900px) {
    .rl-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .rl-header {
        padding-top: 48px;
    }

    .rl-category-grid {
        grid-template-columns: 1fr;
    }

    .rl-title {
        font-size: 26px;
    }

    .rl-rule-body {
        padding-left: 18px;
    }
}
