/* style/bn-c.css */
:root {
    --primary-color: #CC0000; /* Đỏ mạnh */
    --secondary-color: #FFD700; /* Vàng kim loại */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f4f4f4;
    --bg-dark: #222222;
    --border-color: #e0e0e0;
}

.page-bn-c {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.page-bn-c .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-bn-c section {
    padding: 60px 0;
    text-align: center;
}

.page-bn-c section:nth-of-type(even) {
    background-color: #ffffff;
}

.page-bn-c h1, .page-bn-c h2, .page-bn-c h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-bn-c h1 {
    font-size: 3.2em;
    color: var(--text-light);
}

.page-bn-c h2 {
    font-size: 2.5em;
}

.page-bn-c h3 {
    font-size: 1.8em;
}

.page-bn-c p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.page-bn-c .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-bn-c .cta-button:hover {
    background: var(--secondary-color);
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-bn-c .button-link {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.page-bn-c .button-link:hover {
    background: var(--secondary-color);
    color: var(--text-dark);
    transform: translateY(-2px);
}

/* Hero Section */
.page-bn-c .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #CC0000 0%, #FFD700 100%); /* Enhanced gradient for visual impact */
    color: var(--text-light);
}

.page-bn-c .hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-bn-c .hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-bn-c .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-bn-c .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-bn-c .hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-bn-c .hero-content p {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

/* Section Intro - Features Grid */
.page-bn-c .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-bn-c .feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-bn-c .feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-bn-c .feature-icon {
    width: 200px; /* Enforced minimum size */
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-bn-c .feature-item h3 {
    color: var(--primary-color);
    margin-top: 0;
}

/* Section Games - Game Cards */
.page-bn-c .game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-bn-c .game-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.page-bn-c .game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-bn-c .card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.page-bn-c .card-content {
    padding: 25px;
}

.page-bn-c .card-content h3 {
    margin-top: 0;
    font-size: 1.5em;
}

.page-bn-c .card-content p {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
}

.page-bn-c .card-button {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s ease;
}

.page-bn-c .card-button:hover {
    background: var(--secondary-color);
    color: var(--text-dark);
}

/* Section Guide */
.page-bn-c .section-guide ol {
    list-style: none;
    counter-reset: guide-counter;
    padding: 0;
    margin-top: 40px;
}

.page-bn-c .section-guide li {
    text-align: left;
    background-color: #ffffff;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    padding-left: 80px;
}

.page-bn-c .section-guide li::before {
    counter-increment: guide-counter;
    content: counter(guide-counter);
    position: absolute;
    left: 25px;
    top: 30px;
    background-color: var(--primary-color);
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
}

.page-bn-c .section-guide li h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-bn-c .section-guide li p {
    margin-bottom: 10px;
}

/* Section Promotions */
.page-bn-c .section-promotions ul {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-bn-c .section-promotions li {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.page-bn-c .section-promotions li h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.page-bn-c .section-promotions li p {
    color: #666;
}

/* Section Security & Support */
.page-bn-c .security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-bn-c .security-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-bn-c .security-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-bn-c .security-icon {
    width: 200px; /* Enforced minimum size */
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-bn-c .security-item h3 {
    color: var(--primary-color);
    margin-top: 0;
}

/* FAQ Section */
.page-bn-c .faq-list {
    margin-top: 40px;
    text-align: left;
}

.page-bn-c .faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.page-bn-c .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-bn-c .faq-question:hover {
    background: #f5f5f5;
}

.page-bn-c .faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--text-dark);
}

.page-bn-c .faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    line-height: 1;
}

.page-bn-c .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--secondary-color);
}

.page-bn-c .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background: #f9f9f9;
    padding: 0 25px;
}

.page-bn-c .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 25px;
    border-top: 1px solid var(--border-color);
}

.page-bn-c .faq-answer p {
    margin: 0;
    color: #555;
    font-size: 1em;
}

/* Section CTA Final */
.page-bn-c .section-cta-final {
    background: linear-gradient(135deg, #CC0000, #FFD700);
    color: var(--text-light);
    padding: 80px 20px;
}

.page-bn-c .section-cta-final h2 {
    color: var(--text-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-bn-c .section-cta-final p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-bn-c h1 {
        font-size: 2.8em;
    }
    .page-bn-c h2 {
        font-size: 2em;
    }
    .page-bn-c .hero-content p {
        font-size: 1.1em;
    }
    .page-bn-c .features-grid, .page-bn-c .game-cards, .page-bn-c .security-grid, .page-bn-c .section-promotions ul {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-bn-c section {
        padding: 40px 0;
    }
    .page-bn-c .hero-section {
        padding: 60px 15px;
    }
    .page-bn-c .hero-image img {
        border-radius: 8px;
    }
    .page-bn-c .hero-content h1 {
        font-size: 2.2em;
    }
    .page-bn-c .hero-content p {
        font-size: 1em;
    }
    .page-bn-c .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-bn-c h2 {
        font-size: 1.8em;
    }
    .page-bn-c h3 {
        font-size: 1.4em;
    }
    .page-bn-c .section-guide li {
        padding: 25px 20px 25px 70px;
    }
    .page-bn-c .section-guide li::before {
        left: 20px;
        top: 25px;
        width: 35px;
        height: 35px;
        font-size: 1.2em;
    }
    .page-bn-c .faq-question {
        padding: 15px 20px;
    }
    .page-bn-c .faq-question h3 {
        font-size: 1.1em;
    }
    .page-bn-c .faq-toggle {
        font-size: 1.5em;
    }
    .page-bn-c .faq-answer {
        padding: 0 20px;
    }
    .page-bn-c .faq-item.active .faq-answer {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .page-bn-c h1 {
        font-size: 1.8em;
    }
    .page-bn-c h2 {
        font-size: 1.5em;
    }
    .page-bn-c h3 {
        font-size: 1.2em;
    }
    .page-bn-c p {
        font-size: 0.95em;
    }
    .page-bn-c .cta-button {
        width: 100%;
        box-sizing: border-box;
    }
    .page-bn-c .features-grid, .page-bn-c .game-cards, .page-bn-c .security-grid, .page-bn-c .section-promotions ul {
        grid-template-columns: 1fr;
    }
}