/* GENERAL STYLES */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 80%;
    max-width: 1200px;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* HEADER STYLES */
header {
    padding: 20px;
    position: relative;
    z-index: 10;
}

.logo {
    animation: pulse 2s infinite;
    text-align: center;
    margin-bottom: 20px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

#logoImage {
    max-width: 150px;
    /* Cố định kích thước logo */
    height: auto;
    transition: transform 0.3s ease;
}

#logoImage:hover {
    transform: translateY(-3px);
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin: 60px auto;
    max-width: 600px;
    width: 90%;
    border-top: 5px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.main-menu {
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.main-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.main-menu li {
    margin: 0 15px;
    position: relative;
}

.main-menu li a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    padding: 10px 15px;
    display: block;
    transition: color 0.3s ease;
}

.main-menu li a:hover {
    color: #D4AF37;
}

.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 11;
    min-width: 200px;
}

.main-menu li:hover>.sub-menu {
    display: block;
    animation: fadeIn 0.3s ease forwards;
}

.sub-menu li {
    margin: 0;
}

.sub-menu li a {
    padding: 10px;
    font-size: 0.9rem;
}

.sub-menu .sub-menu {
    top: 0;
    left: 100%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SECTION STYLES */
section {
    padding: 40px 20px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #D4AF37;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background-color: #D4AF37;
    z-index: -1;
}

.content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.text-content {
    flex: 1;
    text-align: left;
}

.text-content p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.image-content {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-content img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.section-p-love {
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 20px;
    margin: 25px 0;
    padding: 10px;
    background-color: #d4af373b;
    border: 1px solid #d4af37;
    border-radius: 5px;
}

.section-p-love strong {
    color: #D4AF37;
}

/* SECTION-SPECIFIC STYLES */
.section-1 {
    background-color: #f8f8f8;
}

.section-1 .text-content {
    animation: slideInLeft 1s ease forwards;
}

.section-1 .image-content {
    animation: slideInRight 1s ease forwards;
}

.section-2 {
    background-color: #fafafa;
}

.section-2 .content-wrapper {
    flex-direction: row-reverse;
}

.section-2 .text-content {
    animation: slideInRight 1s ease forwards;
}

.section-2 .image-content {
    animation: slideInLeft 1s ease forwards;
}

.section-3 {
    background-color: #f8f8f8;
}

.section-3 .text-content {
    animation: fadeIn 1s ease forwards;
}

.section-3 .image-content {
    animation: zoomIn 1s ease forwards;
}

.section-4 {
    background-color: #fafafa;
}

.section-4 .content-wrapper {
    flex-direction: row-reverse;
}

.section-4 .text-content {
    animation: slideInRight 1s ease forwards;
}

.section-4 .image-content {
    animation: slideInLeft 1s ease forwards;
}

.section-5 {
    background-color: #f8f8f8;
}

.section-5 .text-content {
    animation: fadeIn 1s ease forwards;
}

.section-5 .image-content {
    animation: zoomIn 1s ease forwards;
}

.section-6 {
    background-color: #fafafa;
}

.section-6 .content-wrapper {
    flex-direction: row-reverse;
}

.section-6 .text-content {
    animation: slideInRight 1s ease forwards;
}

.section-6 .image-content {
    animation: slideInLeft 1s ease forwards;
}

/* ANIMATION KEYFRAMES */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* CONTACT FORM STYLES */
.contact-form {
    text-align: left;
    padding: 40px 20px;
    margin-bottom: 30px;
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    color: #D4AF37;
    margin-bottom: 20px;
    text-align: center;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 0.9rem;
    transition: box-shadow 0.3s ease;
}

.contact-form textarea {
    min-height: 150px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    box-shadow: 0 0 5px #D4AF37;
}

.contact-form button {
    background-color: #D4AF37;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1rem;
}

.contact-form button:hover {
    background-color: #B76E79;
    transform: translateY(-2px);
}

/* FOOTER STYLES */
footer {
    text-align: center;
    padding: 20px;
    background-color: #f0f0f0;
    border-top: 1px solid #e0e0e0;
}

footer p {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 10px;
}

footer a {
    color: #D4AF37;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #B76E79;
    text-decoration: underline;
}

.image-content img.lazyload {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.image-content img.lazyload[src] {
    opacity: 1;
}

/* HEADER DESKTOP 1-ROW REFACTOR */
@media (min-width: 769px) {
    header {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: nowrap;
        padding: 15px 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .logo {
        margin: 0 40px 0 0;
        flex-shrink: 0;
        text-align: left;
    }

    .main-menu {
        flex-grow: 1;
        display: flex;
        justify-content: flex-start;
    }

    .main-menu ul {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        white-space: nowrap;
        padding: 0;
        margin: 0;
        gap: 20px;
    }

    .main-menu ul li {
        display: inline-block;
    }
}

@media (max-width: 768px) {
    header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }

    .logo {
        margin-bottom: 15px;
    }

    .main-menu {
        width: 100%;
        overflow: hidden;
    }

    .main-menu ul {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        justify-content: flex-start;
    }

    .main-menu ul::-webkit-scrollbar {
        display: none;
    }
}

/* SPONSOR SECTION MACROS */
.section-sponsor {
    margin: 40px auto;
    max-width: 1200px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-sizing: border-box;
    width: calc(100% - 40px);
}

.sponsor-icon {
    position: absolute;
    top: 25px;
    right: 25px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #fff;
    font-weight: bold;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: help;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.5);
    font-family: sans-serif;
    transition: transform 0.3s ease;
}

.sponsor-icon:hover {
    transform: scale(1.1);
}

.sponsor-logo-box {
    text-align: center;
    margin-bottom: 35px;
}

.sponsor-logo {
    height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.sponsor-text-box {
    text-align: center;
    margin-bottom: 40px;
}

.sponsor-title {
    font-size: 2em;
    color: #1a252f;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.sponsor-desc {
    font-size: 1.15em;
    color: #444;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.sponsor-desc a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.sponsor-card {
    display: block;
    padding: 25px;
    background: #ffffff;
    border-radius: 16px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sponsor-card strong {
    display: block;
    font-size: 1.25em;
    margin-bottom: 8px;
}

.sponsor-card:hover {
    transform: translateY(-5px);
}

/* Individual colors inside sponsor-card */
.sp-fb {
    border-left: 5px solid #1877F2;
}

.sp-fb strong {
    color: #1877F2;
}

.sp-fb:hover {
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.2);
}

.sp-ig {
    border-left: 5px solid #E1306C;
}

.sp-ig strong {
    color: #E1306C;
}

.sp-ig:hover {
    box-shadow: 0 10px 25px rgba(225, 48, 108, 0.2);
}

.sp-tk {
    border-left: 5px solid #000000;
}

.sp-tk strong {
    color: #000000;
}

.sp-tk:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.sp-tw {
    border-left: 5px solid #1DA1F2;
}

.sp-tw strong {
    color: #1DA1F2;
}

.sp-tw:hover {
    box-shadow: 0 10px 25px rgba(29, 161, 242, 0.2);
}

.sp-yt {
    border-left: 5px solid #FF0000;
}

.sp-yt strong {
    color: #FF0000;
}

.sp-yt:hover {
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.2);
}

.sp-th {
    border-left: 5px solid #000000;
}

.sp-th strong {
    color: #000000;
}

.sp-th:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.sp-tl {
    border-left: 5px solid #0088cc;
}

.sp-tl strong {
    color: #0088cc;
}

.sp-tl:hover {
    box-shadow: 0 10px 25px rgba(0, 136, 204, 0.2);
}

.sp-sh {
    border-left: 5px solid #EE4D2D;
}

.sp-sh strong {
    color: #EE4D2D;
}

.sp-sh:hover {
    box-shadow: 0 10px 25px rgba(238, 77, 45, 0.2);
}

.sp-lz {
    border-left: 5px solid #0F136D;
}

.sp-lz strong {
    color: #0F136D;
}

.sp-lz:hover {
    box-shadow: 0 10px 25px rgba(15, 19, 109, 0.2);
}

.sp-viplike {
    border-left: 5px solid #8e44ad;
}

.sp-viplike strong {
    color: #8e44ad;
}

.sp-viplike:hover {
    box-shadow: 0 10px 25px rgba(142, 68, 173, 0.2);
}

.sp-fb-act {
    border-left: 5px solid #e74c3c;
}

.sp-fb-act strong {
    color: #e74c3c;
}

.sp-fb-act:hover {
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.2);
}

/* DOFOLLOW CSS */
.seo-dofollow {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.seo-dofollow:hover {
    color: #e44d26;
    text-decoration: underline;
}

.footer-seo {
    margin-top: 10px;
    line-height: 1.6;
    color: #666;
    font-size: 0.9em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}