/* Reset lề và font chữ cơ bản */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Định dạng nền toàn trang: Sử dụng dải màu Gradient hiện đại */
body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Khung chứa Menu (Card Design) */
.menu-container {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 450px;
}

/* Tiêu đề */
h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-size: 1.8rem;
    letter-spacing: 2px;
    border-bottom: 2px solid #764ba2;
    padding-bottom: 10px;
    display: inline-block;
    width: 100%;
}

/* Định dạng danh sách dạng số */
ol {
    list-style: none; /* Ẩn số thứ tự mặc định để tự làm đẹp */
    counter-reset: my-counter; /* Khởi tạo bộ đếm */
}

/* Từng mục bài tập */
li {
    margin-bottom: 15px;
    counter-increment: my-counter; /* Tăng bộ đếm */
    position: relative;
}

/* Tùy chỉnh số thứ tự (01, 02, 03...) */
li::before {
    content: "0" counter(my-counter);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 900;
    color: #babbc0;
    font-size: 1.2rem;
    z-index: 1;
    transition: all 0.3s ease;
}


a {
    display: block;
    padding: 15px 20px 15px 60px; 
    background-color: #f8f9fa;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}


li:hover a {
    background-color: #764ba2; 
    color: #ffffff; 
    transform: translateY(-5px); 
    box-shadow: 0 8px 20px rgba(118, 75, 162, 0.4); 
    border-color: #764ba2;
}


li:hover::before {
    color: #ffd700; 
    transform: translateY(-5px) translateY(-50%); 
}
