/* Используем тот же стиль, что и в style.css */
body { 
    background: #e9e9e9; 
    color: #111;
    font-family: 'Courier New', Courier, monospace;
    margin: 0; 
    padding: 50px;
    display: flex;
    justify-content: center;
}

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

h1 { 
    font-size: 3rem; 
    border-bottom: 3px solid #000; 
    padding-bottom: 20px; 
    text-transform: uppercase;
}

.rules-content ul {
    list-style-type: none;
    padding: 0;
}

.rules-content li {
    background: #e0e0e0;
    padding: 20px;
    margin-bottom: 15px;
    border: 2px solid #000;
    /* Тот самый "кривой" стиль из style.css */
    border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
}

.btn { 
    display: inline-block;
    padding: 15px 30px; 
    text-decoration: none; 
    color: #000;
    font-weight: 800; 
    background: #ccc;
    border: 2px solid #000; 
    border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
    transition: 0.2s;
}

.btn:hover { 
    background: #000; 
    color: #fff; 
}

/* Теперь h1 выглядит как карточка с "кривой" рамкой */
.page-rules h1 {
    font-size: 2.5rem;
    text-align: center;
    text-transform: uppercase;
    
    /* Добавляем тот самый стиль рамки */
    background: #e0e0e0;
    padding: 30px;
    border: 2px solid #000;
    border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
    
    margin-bottom: 40px;
}