html {
    height: 100%;
    box-sizing: border-box;
    font-size: 16px; /* Base font size for scalability */
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    position: relative;
    height: 100%;
    margin: 0;
    background: linear-gradient(#242625 25%, #303133 50%, #303133 50%, #242625 100%);
    color: #a4a8a4;
    font-size: 1rem; /* Relative unit */
    font-family: "Inter", sans-serif;
    line-height: 1.4;
    overflow-x: hidden;
}

a {
    color: #b1b4b1;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover, a:focus {
    color: #cbcdcb;
    outline: none; /* For modern browsers */
    text-decoration: underline;
}

strong {
    font-weight: 600;
    color: #00acc1;
}

.container {
    max-width: 56rem; /* Flexible container size */
    margin: 0 auto;
    padding: 1rem;
    width: 100%;
}

.content {
    position: relative;
    width: 100%;
}

.content .header {
    padding: 4rem 1rem 0.5rem;
    text-align: center;
    z-index: 1;
}

.content .header p {
    font-size: 1.2rem;
    font-weight: 500;
    color: #e5e5e5;
    margin-top: 0.5rem;
}

.content .main {
    position: relative;
    margin: 1rem auto;
    z-index: 1;
    background: #1e201f;
    border-radius: 0.7rem;
    padding: 2rem;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 3px 3px rgba(0, 0, 0, 0.5);
}

.content .main ul.m-list {
    margin: 1rem 0;
    padding: 0;
    list-style: none;
}

.content .main ul.m-list li {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #242625;
    padding: 0.8rem 1rem;
    margin: 0.5rem 0;
    border-radius: 0.4rem;
    border: 1px solid #3e403f;
    color: #777b77;
    transition: background 0.3s, border-color 0.3s;
}

.content .main ul.m-list li span:first-child {
    font-weight: 600;
    color: #e5e5e5;
    font-size: 1.1rem;
}

.content .main ul.m-list li span:last-child {
    display: inline-flex;
    align-items: center;
    color: #c62828;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.content .main ul.m-list li span:last-child:before {
    content: "";
    display: inline-block;
    background: #c62828;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.content .main ul.m-list li:hover {
    background: #003a42;
    border-color: #00acc1;
}

.content .main ul.m-list li:hover span:last-child {
    color: #e5e5e5;
}

.content .main .notice {
    background: #131514;
    padding: 1.5rem 1rem;
    border-radius: 0.5rem;
    display: flex;
    gap: 1rem;
}

.content .main .notice .start i {
    font-size: 1.5rem;
    color: #e5e5e5;
}

.content .main .notice .stop {
    margin-top: 0.2rem;
    font-size: 1rem;
    color: #e5e5e5;
}

.content .main .notice .stop .twitter {
    background: #00acc1;
    border-radius: 0.3rem;
    padding: 0.4rem 0.6rem;
    display: inline-block;
    color: #131514;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

.content .main .notice .stop .twitter:hover {
    background: #00d9f4;
}

.content .footer {
    text-align: center;
    margin: 2rem 0;
}

.faq img {
    display: block;
    margin: 1rem auto;
    max-width: 100%;
    height: auto;
}

@media (max-width: 700px) {
    body {
        font-size: 0.9rem;
    }

    .content .header p {
        font-size: 1rem;
    }

    .content .main ul.m-list li {
        padding: 0.6rem 0.8rem;
    }
}

h1, h2 {
    color: #ffffff; /* Màu trắng */
}
h3 {
    color: #e5e5e5; /* Màu trắng nhạt */
}
p {
    line-height: 1.2; /* Giảm line-height xuống 1.2 thay vì 1.4 */
       margin-bottom: 0.5em; /* Giảm khoảng cách bottom margin của p */
}

h1, h2, h3 {
    line-height: 1.1; /* Giảm khoảng cách giữa các dòng cho tiêu đề */
}

.bntl {
    background-color: #ff5722; /* Màu cam đậm, nổi bật */
    color: white; /* Chữ trắng để tương phản */
    font-weight: bold; /* Tăng độ dày chữ */
    padding: 10px 20px; /* Tăng khoảng cách giữa chữ và viền */
    margin: 5px 0; /* Khoảng cách giữa các mục */
    border-radius: 8px; /* Làm bo góc để trông mềm mại hơn */
    cursor: pointer; /* Thêm biểu tượng chuột chỉ tay */
    text-align: center; /* Căn giữa nội dung */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Đổ bóng để thêm chiều sâu */
    transition: transform 0.2s, background-color 0.2s; /* Hiệu ứng khi hover */
}
.content .main ul.m-list li.bntl:hover {
    background-color: #f57c00; /* Cam dịu cho hiệu ứng hover */
       transform: scale(1.05); /* Phóng to nhẹ khi hover */
}
.content .main ul.m-list li.bntl {
    background-color: #4a4a4a; /* Cam sáng, dịu mắt */
}

/* Add this CSS to ensure responsive images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* Optional: Center the image */
}
h1, h2, h3, p {
    margin: 0.5em 0; /* Giảm khoảng cách dọc giữa các thẻ */
}
