/* style/ban-ca.css */

/* General styles for the page-ban-ca scope */
.page-ban-ca {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF3E6; /* Text Main */
    background-color: #0D0E12; /* Background */
    /* Ensure body padding-top is handled by shared.css */
}

.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;
    color: #FF8C1A; /* Main color */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.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: #FFF3E6;
}

/* Card styles */
.page-ban-ca__card {
    background-color: #17191F; /* Card BG */
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #A84F0C; /* Border color */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-ban-ca__card img {
    border-radius: 4px;
    margin-bottom: 15px;
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px; /* Min size */
    min-height: 200px; /* Min size */
}

/* Button styles */
.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary,
.page-ban-ca__btn-play,
.page-ban-ca__btn-step,
.page-ban-ca__btn-promo {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsiveness */
    max-width: 100%; /* Crucial for responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-play,
.page-ban-ca__btn-step,
.page-ban-ca__btn-promo {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
    color: #ffffff;
    border: none;
    box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-ban-ca__btn-primary:hover,
.page-ban-ca__btn-play:hover,
.page-ban-ca__btn-step:hover,
.page-ban-ca__btn-promo:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 140, 26, 0.6);
}

.page-ban-ca__btn-secondary {
    background: transparent;
    color: #FF8C1A; /* Main color */
    border: 2px solid #FF8C1A; /* Border color */
}

.page-ban-ca__btn-secondary:hover {
    background: #FF8C1A;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

/* Hero Section */
.page-ban-ca__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
    background-color: #0D0E12; /* Ensure background matches body for seamless look */
}

.page-ban-ca__hero-image-wrapper {
    width: 100%;
    position: relative;
    z-index: 1; /* Ensure image is below content overlay if any, but we avoid overlaying text */
    margin-bottom: 30px; /* Space between image and content */
}

.page-ban-ca__hero-image {
    width: 100%;
    height: auto;
    display: block;
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

.page-ban-ca__hero-content {
    position: relative; /* Not absolute, to flow below image */
    z-index: 2;
    text-align: center;
    padding: 0 20px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.page-ban-ca__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Use clamp for H1 */
    color: #FFB04D; /* Glow color for main title */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 176, 77, 0.5);
}

.page-ban-ca__intro-text {
    font-size: 1.2em;
    color: #FFF3E6;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-ban-ca__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    max-width: 600px; /* Limit button group width */
    margin: 0 auto;
}

/* Features Section */
.page-ban-ca__features-section {
    padding: 60px 0;
    margin-bottom: 50px;
}

.page-ban-ca__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-ban-ca__feature-item {
    background-color: #17191F; /* Card BG */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #A84F0C;
}

.page-ban-ca__feature-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-ban-ca__feature-title {
    font-size: 1.5em;
    color: #FFA53A; /* Auxiliary color */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-ban-ca__feature-text {
    font-size: 1em;
    color: #FFF3E6;
}

/* Games Section */
.page-ban-ca__games-section {
    padding: 60px 0;
    margin-bottom: 50px;
    background-color: #0D0E12;
}

.page-ban-ca__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-ban-ca__game-card {
    background-color: #17191F; /* Card BG */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #A84F0C;
}

.page-ban-ca__game-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px;
    min-height: 200px;
}

.page-ban-ca__game-title {
    font-size: 1.4em;
    color: #FFB04D; /* Glow color */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-ban-ca__game-text {
    font-size: 0.95em;
    color: #FFF3E6;
    margin-bottom: 20px;
    flex-grow: 1; /* Push button to bottom */
}

.page-ban-ca__button-center {
    text-align: center;
}

/* Guide Section */
.page-ban-ca__guide-section {
    padding: 60px 0;
    margin-bottom: 50px;
}

.page-ban-ca__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}