/* Base styles */
.page-kinh-nghiem-da-ga {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main, #FFF1E8); /* Default text color from custom scheme */
    background: var(--bg-color, #140C0C); /* Default background color from custom scheme */
}

/* Container for main content width */
.page-kinh-nghiem-da-ga__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
    box-sizing: border-box;
}

/* Hero Section */
.page-kinh-nghiem-da-ga__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding as per instruction */
    background-color: var(--bg-color, #140C0C); /* Ensure background for text */
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-kinh-nghiem-da-ga__hero-image {
    width: 100%;
    max-height: 675px; /* Limit height for large hero images */
    object-fit: cover;
    display: block;
}

.page-kinh-nghiem-da-ga__hero-content {
    padding: 30px 15px;
    max-width: 900px;
    margin-top: 20px;
    z-index: 1;
    color: var(--text-main, #FFF1E8);
}

.page-kinh-nghiem-da-ga__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* H1 font size with clamp */
    font-weight: bold;
    color: var(--gold, #F3C54D); /* Gold color for main title */
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-kinh-nghiem-da-ga__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Section titles */
.page-kinh-nghiem-da-ga__section-title {
    font-size: 2.5em;
    color: var(--gold, #F3C54D);
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
    font-weight: bold;
    line-height: 1.3;
}

/* General paragraph styles */
.page-kinh-nghiem-da-ga p {
    margin-bottom: 1em;
    font-size: 1.1em;
    color: var(--text-main, #FFF1E8);
}

/* Images in content */
.page-kinh-nghiem-da-ga__content-image,
.page-kinh-nghiem-da-ga__card-image,
.page-kinh-nghiem-da-ga__step-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* CTA Buttons */
.page-kinh-nghiem-da-ga__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-kinh-nghiem-da-ga__btn-primary,
.page-kinh-nghiem-da-ga__btn-secondary,
.page-kinh-nghiem-da-ga__btn-outline {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%; /* Ensure buttons don't overflow */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Ensure text breaks within button */
}

.page-kinh-nghiem-da-ga__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color from custom scheme */
    color: #FFF1E8;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-kinh-nghiem-da-ga__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-kinh-nghiem-da-ga__btn-secondary {
    background: var(--deep-red, #7E0D0D); /* Deep Red from custom scheme */
    color: #FFF1E8;
    border: 2px solid var(--border, #6A1E1E); /* Border from custom scheme */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-kinh-nghiem-da-ga__btn-secondary:hover {
    background: var(--main-color, #C61F1F);
    border-color: var(--main-color, #C61F1F);
    transform: translateY(-2px);
}

.page-kinh-nghiem-da-ga__btn-outline {
    background: transparent;
    color: var(--gold, #F3C54D);
    border: 2px solid var(--gold, #F3C54D);
}

.page-kinh-nghiem-da-ga__btn-outline:hover {
    background: var(--gold, #F3C54D);
    color: var(--bg-color, #140C0C);
}

/* Card styles */
.page-kinh-nghiem-da-ga__card {
    background: var(--card-bg, #2A1212); /* Card BG from custom scheme */
    border: 1px solid var(--border, #6A1E1E); /* Border from custom scheme */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: var(--text-main, #FFF1E8);
    height: 100%; /* Ensure cards in a grid have equal height */
    display: flex;
    flex-direction: column;
}

.page-kinh-nghiem-da-ga__card-title {
    font-size: 1.5em;
    color: var(--gold, #F3C54D);
    margin-bottom: 15px;
    font-weight: bold;
}

/* Bet cards grid */
.page-kinh-nghiem-da-ga__bet-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Steps section */
.page-kinh-nghiem-da-ga__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-kinh-nghiem-da-ga__step-item {
    background: var(--card-bg, #2A1212);
    border: 1px solid var(--border, #6A1E1E);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: var(--text-main, #FFF1E8);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-kinh-nghiem-da-ga__step-title {
    font-size: 1.6em;
    color: var(--gold, #F3C54D);
    margin-bottom: 15px;
    font-weight: bold;
}

/* Winning tips grid */
.page-kinh-nghiem-da-ga__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Promotions list */
.page-kinh-nghiem-da-ga__promotion-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: left;
}

.page-kinh-nghiem-da-ga__promotion-list li {
    background: var(--card-bg, #2A1212);
    border: 1px solid var(--border, #6A1E1E);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--text-main, #FFF1E8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-kinh-nghiem-da-ga__promotion-list li strong {
    color: var(--gold, #F3C54D);
}

/* FAQ Section */
.page-kinh-nghiem-da-ga__faq-list {
    margin-top: 30px;
    margin-bottom: 40px;
    text-align: left;
}

.page-kinh-nghiem-da-ga__faq-item {
    background: var(--card-bg, #2A1212);
    border: 1px solid var(--border, #6A1E1E);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-kinh-nghiem-da-ga__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--gold, #F3C54D);
    cursor: pointer;
    list-style: none; /* Hide default marker for summary */
}

.page-kinh-nghiem-da-ga__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-kinh-nghiem-da-ga__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-kinh-nghiem-da-ga__faq-item[open] .page-kinh-nghiem-da-ga__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to become cross */
}

.page-kinh-nghiem-da-ga__faq-answer {
    padding: 0 20px 15px;
    font-size: 1.1em;
    color: var(--text-main, #FFF1E8);
}

/* Conclusion Section */
.page-kinh-nghiem-da-ga__conclusion p {
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-kinh-nghiem-da-ga__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-kinh-nghiem-da-ga__section-title {
        font-size: 2em;
    }
    .page-kinh-nghiem-da-ga__bet-cards,
    .page-kinh-nghiem-da-ga__steps,
    .page-kinh-nghiem-da-ga__tips-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    /* General mobile adjustments */
    .page-kinh-nghiem-da-ga {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-kinh-nghiem-da-ga__container {
        padding: 15px 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* HERO Section */
    .page-kinh-nghiem-da-ga__hero-section {
        padding-top: 10px; /* Consistent small top padding */
    }
    .page-kinh-nghiem-da-ga__hero-image {
        max-height: 400px; /* Adjust hero image height for mobile */
    }
    .page-kinh-nghiem-da-ga__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem); /* Smaller H1 for mobile */
        margin-bottom: 10px;
    }
    .page-kinh-nghiem-da-ga__description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-kinh-nghiem-da-ga__section-title {
        font-size: 1.8em;
        margin-top: 40px;
        margin-bottom: 30px;
    }
}