:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #ffffff;
    --bg-dark: #017439;
    --btn-register: #C30808;
    --btn-login: #C30808;
    --font-login-register: #FFFF00;
}

.page-ban-ca {
    font-family: Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

.page-ban-ca__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-ban-ca__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-ban-ca__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555555;
}

.page-ban-ca__sub-title {
    font-size: 1.8em;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-ban-ca__text-block p,
.page-ban-ca__list li {
    font-size: 1em;
    margin-bottom: 10px;
}

.page-ban-ca__dark-bg {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0;
}

.page-ban-ca__dark-bg .page-ban-ca__section-title,
.page-ban-ca__dark-bg .page-ban-ca__sub-title {
    color: var(--secondary-color);
}

.page-ban-ca__dark-bg .page-ban-ca__section-description {
    color: rgba(255, 255, 255, 0.8);
}

.page-ban-ca__light-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 60px 0;
}

/* --- Hero Section --- */
.page-ban-ca__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 10px; /* Small top margin, as body padding-top is handled by shared */
    padding-bottom: 60px; /* Added padding to separate from next section */
}

.page-ban-ca__hero-image-wrapper {
    width: 100%;
    height: auto;
    display: block;
}

.page-ban-ca__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-ban-ca__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-light);
    max-width: 90%;
    z-index: 10;
}

.page-ban-ca__main-title {
    font-size: clamp(2em, 5vw, 3.5em); /* Responsive H1 font size */
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-ban-ca__hero-description {
    font-size: clamp(1em, 2vw, 1.3em);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-ban-ca__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* --- Buttons --- */
.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* For mobile responsiveness */
    box-sizing: border-box; /* For mobile responsiveness */
    white-space: normal; /* For mobile responsiveness */
    word-wrap: break-word; /* For mobile responsiveness */
}

.page-ban-ca__btn-primary {
    background-color: var(--btn-register); /* Custom color for register */
    color: var(--font-login-register); /* Custom color for register/login font */
    border: 2px solid var(--btn-register);
}

.page-ban-ca__btn-primary:hover {
    background-color: #a30606;
    border-color: #a30606;
}

.page-ban-ca__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-ban-ca__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.page-ban-ca__cta-center {
    text-align: center;
    margin-top: 40px;
}

.page-ban-ca__btn-inline {
    margin-top: 20px;
}

/* --- Intro Game Section & Strategy Section (similar layout) --- */
.page-ban-ca__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-ban-ca__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-ban-ca__text-block {
    flex: 1;
}

.page-ban-ca__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-ban-ca__content-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

.page-ban-ca__list {
    list-style-type: disc;
    margin-left: 25px;
    padding-left: 0;
    margin-top: 20px;
}

.page-ban-ca__list li {
    margin-bottom: 10px;
}

/* --- Game Types Section --- */
.page-ban-ca__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-ban-ca__game-card {
    background-color: var(--bg-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    color: var(--text-dark);
}

.page-ban-ca__game-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency, will be auto on mobile */
    object-fit: cover;
    margin-bottom: 15px;
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

.page-ban-ca__game-card-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
    padding: 0 15px;
}

.page-ban-ca__game-card-description {
    font-size: 0.95em;
    color: #666;
    padding: 0 15px;
}

/* --- Guide Section (Five vertical team cards) --- */
.page-ban-ca__guide-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-ban-ca__guide-card {
    flex: 0 0 calc(20% - 12px); /* 5 cards per row, accounting for gap */
    max-width: calc(20% - 12px);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background-color: var(--bg-light); /* Ensure background for contrast */
}

.page-ban-ca__guide-card:hover {
    transform: translateY(-5px);
}

.page-ban-ca__guide-card img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 250 / 350; /* Fixed aspect ratio for vertical images */
    object-fit: cover;
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

/* Specific padding for guide cards to create a staggered effect */
.page-ban-ca__guide-card--pos-1, .page-ban-ca__guide-card--pos-5 {
    padding-top: 50px;
}
.page-ban-ca__guide-card--pos-2, .page-ban-ca__guide-card--pos-4 {
    padding-top: 25px;
}
.page-ban-ca__guide-card--pos-3 {
    padding-top: 0;
}

.page-ban-ca__note {
    text-align: center;
    margin-top: 30px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

/* --- Promotions Section --- */
.page-ban-ca__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-ban-ca__promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}