/* style/huong-dan-choi.css */

/* Variables from custom color scheme */
:root {
    --page-huong-dan-choi-primary-color: #113B7A;
    --page-huong-dan-choi-secondary-color: #1D5FD1;
    --page-huong-dan-choi-button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --page-huong-dan-choi-card-bg: #10233F;
    --page-huong-dan-choi-text-main: #F3F8FF;
    --page-huong-dan-choi-text-secondary: #AFC4E8;
    --page-huong-dan-choi-border-color: #244D84;
    --page-huong-dan-choi-glow-color: #4FA8FF;
    --page-huong-dan-choi-gold-color: #F2C14E;
    --page-huong-dan-choi-divider-color: #1B3357;
    --page-huong-dan-choi-deep-navy: #08162B; /* This is the body background from shared.css */
}

/* Base styles for the page content */
.page-huong-dan-choi {
    background-color: var(--page-huong-dan-choi-deep-navy); /* Match body background for seamless look */
    color: var(--page-huong-dan-choi-text-main); /* Light text on dark background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Ensure space above footer */
}

/* Fixed header spacing (only if shared.css doesn't handle body padding-top) */
/* Assuming shared.css handles body padding-top, so this section's top padding is minimal */
.page-huong-dan-choi__hero-section {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding-top: 10px; /* Small top padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden; /* Ensure no overflow */
}

.page-huong-dan-choi__hero-image {
    width: 100%;
    max-width: 1920px; /* Max width for the hero image container */
    overflow: hidden;
}

.page-huong-dan-choi__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-huong-dan-choi__hero-content {
    max-width: 900px;
    padding: 20px;
    margin-top: -80px; /* Overlap image slightly for visual effect, but content is below image in DOM */
    z-index: 1;
    position: relative; /* To allow z-index */
    background: rgba(17, 59, 122, 0.7); /* Semi-transparent background for readability */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.page-huong-dan-choi__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    color: var(--page-huong-dan-choi-gold-color);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-huong-dan-choi__description {
    font-size: 1.1rem;
    color: var(--page-huong-dan-choi-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-huong-dan-choi__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    width: 100%;
    max-width: 600px; /* Limit max width for button group */
    margin: 0 auto 30px auto;
}

.page-huong-dan-choi__btn-primary,
.page-huong-dan-choi__btn-secondary,
.page-huong-dan-choi__btn-link,
.page-huong-dan-choi__btn-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
    box-sizing: border-box;
    max-width: 100%;
}

.page-huong-dan-choi__btn-primary {
    background: var(--page-huong-dan-choi-button-gradient);
    color: #ffffff;
    border: 2px solid #2B73F6;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-huong-dan-choi__btn-primary:hover {
    background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.page-huong-dan-choi__btn-secondary {
    background: transparent;
    color: var(--page-huong-dan-choi-glow-color);
    border: 2px solid var(--page-huong-dan-choi-glow-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-huong-dan-choi__btn-secondary:hover {
    background: var(--page-huong-dan-choi-glow-color);
    color: var(--page-huong-dan-choi-deep-navy);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.page-huong-dan-choi__guide-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--page-huong-dan-choi-divider-color);
}

.page-huong-dan-choi__guide-section:last-of-type {
    border-bottom: none;
}

.page-huong-dan-choi__dark-section {
    background-color: var(--page-huong-dan-choi-primary-color); /* Dark section background */
    color: var(--page-huong-dan-choi-text-main);
}

.page-huong-dan-choi__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-huong-dan-choi__section-title {
    font-size: 2.5rem;
    color: var(--page-huong-dan-choi-gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.page-huong-dan-choi__text-block {
    font-size: 1.05rem;
    margin-bottom: 25px;
    color: var(--page-huong-dan-choi-text-secondary);
}

.page-huong-dan-choi__step-block {
    margin-bottom: 40px;
    padding: 25px;
    background-color: var(--page-huong-dan-choi-card-bg);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-huong-dan-choi-border-color);
}

.page-huong-dan-choi__step-title,
.page-huong-dan-choi__tip-title,
.page-huong-dan-choi__game-title {
    font-size: 1.8rem;
    color: var(--page-huong-dan-choi-glow-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-huong-dan-choi__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-huong-dan-choi__list,
.page-huong-dan-choi__ordered-list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--page-huong-dan-choi-text-secondary);
}

.page-huong-dan-choi__ordered-list {
    list-style-type: decimal;
}

.page-huong-dan-choi__list li,
.page-huong-dan-choi__ordered-list li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.page-huong-dan-choi__list strong {
    color: var(--page-huong-dan-choi-gold-color);
}

.page-huong-dan-choi__game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-huong-dan-choi__game-card {
    background-color: var(--page-huong-dan-choi-card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    text-align: center;
    padding: 25px;
    border: 1px solid var(--page-huong-dan-choi-border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-huong-dan-choi__game-card img {
    width: 100%;
    height: 200px; /* Fixed height for cards */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-huong-dan-choi__game-card p {
    font-size: 0.95rem;
    color: var(--page-huong-dan-choi-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}