/* style/ban-ca.css */
/* Base styles for the Bắn Cá page */
.page-ban-ca {
    background-color: #08160F; /* Background color from custom palette */
    color: #F2FFF6; /* Main text color from custom palette */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 50px; /* Add some padding at the bottom */
}

/* Hero Section */
.page-ban-ca__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding as per rule */
    padding-bottom: 40px;
    overflow: hidden;
}

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

.page-ban-ca__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Ensure image covers the area */
}

.page-ban-ca__hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
    text-align: center;
    position: relative; /* To ensure content is above the image if any layering occurs, though not overlapping */
    z-index: 1; /* Ensure text is above any potential background elements */
}

.page-ban-ca__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* H1 font size with clamp */
    color: #F2FFF6; /* Main text color */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Enhance readability */
}

.page-ban-ca__hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #A7D9B8; /* Secondary text color */
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/* CTA Buttons */
.page-ban-ca__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-ban-ca__cta-buttons--center {
    justify-content: center;
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary,
.page-ban-ca__btn-link {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-ban-ca__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button color */
    color: #F2FFF6; /* Main text color */
    border: none;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-ban-ca__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-ban-ca__btn-secondary {
    background: #F2FFF6; /* Main text color for background */
    color: #11A84E; /* Primary color for text */
    border: 2px solid #11A84E;
    box-shadow: 0 4px 15px rgba(242, 255, 246, 0.2);
}

.page-ban-ca__btn-secondary:hover {
    background: #A7D9B8; /* Secondary text color for background */
    border-color: #0A4B2C; /* Deep Green */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 255, 246, 0.4);
}

.page-ban-ca__btn-link {
    background: transparent;
    color: #57E38D; /* Glow color */
    border: 1px solid #57E38D;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
}

.page-ban-ca__btn-link:hover {
    background: rgba(87, 227, 141, 0.1);
    color: #F2FFF6;
}

/* General Section Styling */
.page-ban-ca__section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-ban-ca__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-ban-ca__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #F2FFF6; /* Main text color */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__text-block {
    font-size: 1.05rem;
    color: #A7D9B8; /* Secondary text color */
    margin-bottom: 20px;
    text-align: justify;
}

.page-ban-ca__text-block strong {
    color: #F2FFF6; /* Main text color */
}

/* Advantages Section */
.page-ban-ca__section--advantages {
    background-color: #11271B; /* Card BG color */
    border-top: 1px solid #2E7A4E; /* Border color */
    border-bottom: 1px solid #2E7A4E; /* Border color */
}

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

.page-ban-ca__card {
    background-color: #0A4B2C; /* Deep Green for card background for better contrast */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid #2E7A4E; /* Border color */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.page-ban-ca__card-image {
    width: 100%; /* Ensure image fills card width */
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure no extra space below image */
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-ban-ca__card-title {
    font-size: 1.5rem;
    color: #F2FFF6; /* Main text color */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-ban-ca__card-text {
    font-size: 1rem;
    color: #A7D9B8; /* Secondary text color */
}

/* Guide Section */
.page-ban-ca__section--guide {
    background-color: #08160F; /* Background color */
}

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

.page-ban-ca__guide-item {
    background-color: #11271B; /* Card BG color */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E; /* Border color */
}

.page-ban-ca__guide-title {
    font-size: 1.3rem;
    color: #57E38D; /* Glow color */
    margin-bottom: 15px;
    font-weight: 600;
}

/* Popular Games Section */
.page-ban-ca__section--popular-games {
    background-color: #0A4B2C; /* Deep Green */
    border-top: 1px solid #2E7A4E; /* Border color */
    border-bottom: 1px solid #2E7A4E; /* Border color */
}

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

.page-ban-ca__game-card {
    background-color: #11271B; /* Card BG color */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid #2E7A4E; /* Border color */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.page-ban-ca__game-card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}}