body {
    background:
        radial-gradient(circle at 18% 18%, rgba(90, 12, 16, 0.18), transparent 28%),
        radial-gradient(circle at 82% 20%, rgba(45, 61, 98, 0.08), transparent 24%),
        linear-gradient(180deg, #0b0f14 0%, #0d1117 100%);
}

.rules-hero {
    padding: 170px 0 80px;
    text-align: center;
}

.rules-hero__container {
    max-width: 900px;
}

.rules-hero__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(179, 18, 23, 0.12);
    border: 1px solid rgba(179, 18, 23, 0.24);
    color: #d85a5d;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rules-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.rules-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: #aeb7c2;
    font-size: 1.04rem;
    line-height: 1.9;
}

.rules-hero__meta {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.rules-meta-card {
    padding: 22px 18px;
    border-radius: 20px;
    background: rgba(17, 22, 29, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.rules-meta-card strong {
    display: block;
    margin-bottom: 8px;
    color: #f5f7fa;
    font-size: 1rem;
    font-weight: 900;
}

.rules-meta-card span {
    color: #97a3b2;
    font-size: 0.9rem;
    font-weight: 700;
}

.rules-section {
    padding: 0 0 120px;
}

.rules-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.rules-sidebar {
    position: sticky;
    top: 110px;
}

.rules-sidebar__box {
    padding: 24px;
    border-radius: 22px;
    background: rgba(17, 22, 29, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.rules-sidebar__box h2 {
    margin-bottom: 18px;
    font-size: 1rem;
    font-weight: 900;
}

.rules-sidebar__box ul {
    display: grid;
    gap: 10px;
}

.rules-sidebar__box a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    color: #aeb7c2;
    font-size: 0.95rem;
    font-weight: 700;
    transition: 0.25s ease;
}

.rules-sidebar__box a:hover {
    background: rgba(179, 18, 23, 0.12);
    color: #ffffff;
}

.rules-content {
    display: grid;
    gap: 22px;
}

.rules-card {
    padding: 28px;
    border-radius: 24px;
    background: rgba(17, 22, 29, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.rules-card__head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
}

.rules-card__icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(179, 18, 23, 0.14);
    color: #d85a5d;
    font-size: 1.1rem;
}

.rules-card__head h2 {
    margin-bottom: 8px;
    font-size: 1.3rem;
    line-height: 1.2;
    font-weight: 900;
}

.rules-card__head p {
    color: #97a3b2;
    font-size: 0.95rem;
    line-height: 1.7;
}

.rules-list {
    display: grid;
    gap: 14px;
}

.rules-list li {
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(12, 17, 23, 0.72);
    color: #b3bcc7;
    font-size: 0.97rem;
    line-height: 1.8;
}

.rules-list strong {
    color: #ffffff;
    font-weight: 900;
    margin-right: 8px;
}

.rules-list span {
    color: #ff7b7f;
    font-weight: 800;
}

.rules-card--notes .rules-card__icon {
    background: rgba(59, 130, 246, 0.14);
    color: #79a8ff;
}

.rules-card--updates .rules-card__icon {
    background: rgba(34, 197, 94, 0.14);
    color: #65da90;
}

.update-block {
    padding: 20px 22px;
    border-radius: 18px;
    background: rgba(12, 17, 23, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.update-block + .update-block {
    margin-top: 14px;
}

.update-block__date {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(179, 18, 23, 0.12);
    color: #d85a5d;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.update-block h3 {
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 900;
}

.update-block p,
.update-block li {
    color: #aeb7c2;
    font-size: 0.96rem;
    line-height: 1.8;
}

.update-block ul {
    display: grid;
    gap: 8px;
}

.update-block span {
    color: #ff7b7f;
    font-weight: 800;
}

@media (max-width: 1100px) {
    .rules-layout {
        grid-template-columns: 1fr;
    }

    .rules-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .rules-hero {
        padding: 145px 0 70px;
    }

    .rules-hero__meta {
        grid-template-columns: 1fr;
    }

    .rules-card,
    .rules-sidebar__box,
    .rules-meta-card {
        border-radius: 18px;
    }

    .rules-card {
        padding: 22px;
    }

    .rules-card__head {
        flex-direction: column;
    }
}