/* style/card-games-blackjack.css */
.page-card-games-blackjack {
    font-family: 'Arial', sans-serif;
    color: #f5e6d0; /* Light text for dark background */
    background-color: #0A192F; /* Main dark background */
}

.page-card-games-blackjack .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-card-games-blackjack .section-title {
    font-size: 2.8em;
    color: #FFD700; /* Accent color for titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-card-games-blackjack .subsection-title {
    font-size: 2em;
    color: #FFD700;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-card-games-blackjack p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 1em;
    color: #e0e0e0;
}

.page-card-games-blackjack .text-link {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-card-games-blackjack .text-link:hover {
    color: #FFF;
    text-decoration: underline;
}

.page-card-games-blackjack .btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.page-card-games-blackjack .btn-primary {
    background-color: #FFD700;
    color: #0A192F;
    border: 2px solid #FFD700;
}

.page-card-games-blackjack .btn-primary:hover {
    background-color: #e6c200;
    color: #000;
    border-color: #e6c200;
    transform: translateY(-2px);
}

.page-card-games-blackjack .btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    margin-left: 20px;
}

.page-card-games-blackjack .btn-secondary:hover {
    background-color: #FFD700;
    color: #0A192F;
    transform: translateY(-2px);
}

.page-card-games-blackjack .btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* Hero Section */
.page-card-games-blackjack .hero-section {
    background: linear-gradient(135deg, #0A192F, #1e3a5f);
    padding: 100px 0 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-card-games-blackjack .hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.page-card-games-blackjack .hero-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.page-card-games-blackjack .hero-title {
    font-size: 3.8em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 800;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
}

.page-card-games-blackjack .hero-subtitle {
    font-size: 1.4em;
    color: #f0f0f0;
    margin-bottom: 40px;
    line-height: 1.6;
}

.page-card-games-blackjack .hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-card-games-blackjack .hero-image-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-card-games-blackjack .hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    animation: floatImage 3s ease-in-out infinite;
}

@keyframes floatImage {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* About Blackjack Section */
.page-card-games-blackjack .about-blackjack-section {
    padding: 80px 0;
    background-color: #0f2038;
}

.page-card-games-blackjack .content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-card-games-blackjack .grid-item {
    background-color: #1a2e47;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-card-games-blackjack .grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.page-card-games-blackjack .grid-item h3 {
    color: #FFD700;
    font-size: 1.6em;
    margin-top: 20px;
    margin-bottom: 15px;
}

.page-card-games-blackjack .grid-item p {
    color: #d0d0d0;
    font-size: 1em;
}

.page-card-games-blackjack .feature-image {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* How to Play Section */
.page-card-games-blackjack .how-to-play-section {
    padding: 80px 0;
    background-color: #0A192F;
}

.page-card-games-blackjack .steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-card-games-blackjack .steps-list li {
    background-color: #1a2e47;
    margin-bottom: 20px;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.page-card-games-blackjack .steps-list li:before {
    content: counter(step-counter);
    counter-increment: step-counter;
    background-color: #FFD700;
    color: #0A192F;
    font-size: 1.5em;
    font-weight: bold;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: -20px;
    top: 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.page-card-games-blackjack .steps-list li h3 {
    color: #FFD700;
    font-size: 1.8em;
    margin-left: 40px;
    margin-bottom: 10px;
}

.page-card-games-blackjack .steps-list li p {
    margin-left: 40px;
    color: #e0e0e0;
}

.page-card-games-blackjack .call-to-action-bottom {
    text-align: center;
    margin-top: 50px;
}

/* Strategy Guide Section */
.page-card-games-blackjack .strategy-guide-section {
    padding: 80px 0;
    background-color: #0f2038;
}

.page-card-games-blackjack .strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.page-card-games-blackjack .strategy-list li {
    background-color: #1a2e47;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-card-games-blackjack .strategy-list li h4 {
    color: #FFD700;
    font-size: 1.4em;
    margin-bottom: 10px;
}

.page-card-games-blackjack .strategy-list li p {
    color: #d0d0d0;
    font-size: 1em;
}

.page-card-games-blackjack .guide-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-card-games-blackjack .financial-tips {
    list-style: disc;
    margin-left: 20px;
    color: #e0e0e0;
    font-size: 1.1em;
}

.page-card-games-blackjack .financial-tips li {
    margin-bottom: 10px;
}

/* Advanced Tips Section */
.page-card-games-blackjack .advanced-tips-section {
    padding: 80px 0;
    background-color: #0A192F;
}

.page-card-games-blackjack .benefits-list,
.page-card-games-blackjack .responsible-gambling-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-card-games-blackjack .benefits-list li,
.page-card-games-blackjack .responsible-gambling-list li {
    background-color: #1a2e47;
    padding: 20px;
    border-left: 5px solid #FFD700;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    color: #e0e0e0;
    font-size: 1.1em;
    line-height: 1.6;
}

.page-card-games-blackjack .benefits-list li:before,
.page-card-games-blackjack .responsible-gambling-list li:before {
    content: '✓ ';
    color: #FFD700;
    font-weight: bold;
    margin-right: 10px;
}

.page-card-games-blackjack .benefits-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* FAQ Section */
.page-card-games-blackjack .faq-section {
    padding: 80px 0;
    background-color: #0f2038;
}

.page-card-games-blackjack .faq-item {
    background-color: #1a2e47;
    margin-bottom: 20px;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-card-games-blackjack .faq-item h3 {
    color: #FFD700;
    font-size: 1.6em;
    margin-bottom: 15px;
}

.page-card-games-blackjack .faq-item p {
    color: #d0d0d0;
    font-size: 1em;
}

/* Final CTA Section */
.page-card-games-blackjack .cta-final-section {
    background: linear-gradient(45deg, #1e3a5f, #0A192F);
    padding: 80px 0;
    text-align: center;
}

.page-card-games-blackjack .cta-final-section .section-title {
    color: #FFD700;
    margin-bottom: 25px;
}

.page-card-games-blackjack .cta-final-section p {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 40px;
}

.page-card-games-blackjack .cta-final-actions {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.page-card-games-blackjack .disclaimer {
    font-size: 0.9em;
    color: #999;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-card-games-blackjack .hero-title {
        font-size: 3em;
    }
    .page-card-games-blackjack .hero-subtitle {
        font-size: 1.2em;
    }
    .page-card-games-blackjack .hero-section .container {
        flex-direction: column-reverse;
        text-align: center;
    }
    .page-card-games-blackjack .hero-content {
        text-align: center;
    }
    .page-card-games-blackjack .hero-actions {
        justify-content: center;
    }
    .page-card-games-blackjack .section-title {
        font-size: 2.2em;
    }
    .page-card-games-blackjack .subsection-title {
        font-size: 1.8em;
    }
    .page-card-games-blackjack .steps-list li:before {
        position: static;
        margin-right: 15px;
        margin-bottom: 15px;
    }
    .page-card-games-blackjack .steps-list li h3,
    .page-card-games-blackjack .steps-list li p {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .page-card-games-blackjack .hero-title {
        font-size: 2.5em;
    }
    .page-card-games-blackjack .hero-subtitle {
        font-size: 1.1em;
    }
    .page-card-games-blackjack .section-title {
        font-size: 1.8em;
    }
    .page-card-games-blackjack .subsection-title {
        font-size: 1.5em;
    }
    .page-card-games-blackjack .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
    }
    .page-card-games-blackjack .cta-final-actions {
        flex-direction: column;
    }
    .page-card-games-blackjack .btn-large {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-card-games-blackjack .hero-title {
        font-size: 2em;
    }
    .page-card-games-blackjack .hero-subtitle {
        font-size: 1em;
    }
    .page-card-games-blackjack .section-title {
        font-size: 1.5em;
    }
    .page-card-games-blackjack .grid-item,
    .page-card-games-blackjack .strategy-list li {
        padding: 20px;
    }
    .page-card-games-blackjack .steps-list li {
        padding: 20px 15px;
    }
    .page-card-games-blackjack .steps-list li:before {
        width: 35px;
        height: 35px;
        font-size: 1.2em;
    }
    .page-card-games-blackjack .steps-list li h3 {
        font-size: 1.5em;
    }
}