/* --- RESET & GLOBAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Albert Sans', sans-serif;
    background-color: #ffffff;
    color: #000000;
    -webkit-font-smoothing: antialiased;
}

/* --- HEADER & HERO --- */
.hero-header-container {
    width: 100%;
    height: 504px;
    background: url('../images/bg_header_rules.png') no-repeat center/cover;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 80px;
    height: 151px;
}

.main-logo {
    width: 372px;
    height: auto;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.nav-link {
    text-decoration: none;
    color: #3E3E3E;
    font-size: 18px;
    font-weight: 900;
}

.nav-link.active { color: #A31F34; }

/* Nút Sign Up và hiệu ứng Hover */
.btn-signup {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 145px;
    height: 50px;
    border: 2px solid #A31F34;
    border-radius: 30px;
    color: #A31F34;
    font-size: 18px;
    font-weight: 900;
    text-decoration: none;
    transition: all 0.3s ease; /* Chuyển màu mượt mà */
}

.btn-signup:hover {
    background-color: #A31F34; /* Nền đỏ */
    color: #ffffff; /* Chữ trắng */
}

.hero-text-content {
    padding-left: 80px;
    margin-top: 40px;
}

.rules-heading {
    font-size: 120px;
    font-weight: 900;
    color: #A31F34;
    letter-spacing: -0.05em;
}

/* --- MAIN CONTENT --- */
.rules-detail-section {
    padding: 100px 0;
}

.rules-container {
    width: 100%;
    max-width: 1230px;
    margin: 0 auto;
    padding-left: 254px; /* X: 254 từ Figma */
}

.rules-group {
    margin-bottom: 80px;
}

.section-title {
    font-size: 40px;
    font-weight: 900;
    color: #363535;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.rules-content ul {
    list-style-type: none;
    padding-left: 20px;
}

.rules-content li {
    position: relative;
    margin-bottom: 15px;
    font-weight: 200;
}

.rules-content li::before {
    content: "•";
    position: absolute;
    left: -20px;
    font-weight: 900;
}

/* --- FOOTER SECTION (TINH CHỈNH) --- */
.footer-wrapper {
    width: 100%;
    height: 274px; /* Chiều cao nền theo Figma */
    background: url('../images/bg_footer.png') no-repeat center/cover;
    display: flex;
    align-items: center;
}

.footer-container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding-left: 80px; /* Lề trái 80px theo Figma */
}

.footer-content-img {
    width: 800px; /* GIẢM KÍCH THƯỚC: Bạn có thể chỉnh lại số này cho đến khi thấy vừa mắt */
    height: auto;
    display: block;
}

@media (max-width: 1200px) {
    .rules-container { padding-left: 40px; padding-right: 40px; }
    .footer-container { padding-left: 40px; }
    .footer-content-img { width: 100%; max-width: 800px; }
}
