/* General body and theme adjustments */
body {
    background-color: var(--dt-primary, #0a0e17);
    color: var(--dt-text, #fff);
}

.section {
    padding: 3rem 1rem;
}

/* Hero section styling for the calculator page */
.hero-content.blackjack {
    text-align: center;
    padding: 2rem 1rem;
    margin: 0 auto 2rem auto;
    max-width: 900px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.hero-content.blackjack .hero-title {
    font-size: clamp(2.8rem, 5.5vw, 4rem);
    color: var(--dt-accent);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.hero-content.blackjack .hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    max-width: 800px;
    margin: 1rem auto 0;
    color: var(--dt-accent-light, #f0e6c2);
    line-height: 1.7;
}

/* Calculator specific tweaks */
.calculator-wrapper {
    margin-top: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}

.content-section {
    max-width: 1100px;
    margin: 0 auto;
}

/* How to use & Why use section */
#how-to-use .features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    #how-to-use .features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

#how-to-use .feature-card {
    background: var(--dt-secondary);
    border-radius: var(--dt-radius);
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: var(--dt-shadow);
    display: flex;
    flex-direction: column;
}

#how-to-use .section-title {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--dt-accent);
    text-align: left;
    margin-top: 0;
}

#how-to-use ol, #how-to-use ul {
    padding-left: 20px;
    margin-top: 1rem;
}

#how-to-use li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: #ccc;
}

#how-to-use strong {
    color: var(--dt-accent-light);
}

#how-to-use p {
    color: #ccc;
    line-height: 1.6;
}

/* FAQ Section Styling */
#faq {
    padding-bottom: 4rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--dt-secondary);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: background-color 0.3s ease;
}

.faq-item[open] {
    background: #1f2847;
}


.faq-item summary {
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none; /* Remove default marker */
    position: relative;
    color: var(--dt-accent-light);
    transition: color 0.2s ease;
}
.faq-item summary:hover {
    color: var(--dt-accent);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '\f078'; /* Font Awesome down arrow */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-item .faq-content {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    line-height: 1.7;
    color: #ccc;
}

.faq-item a {
    color: var(--dt-accent);
    text-decoration: none;
    border-bottom: 1px dotted var(--dt-accent);
}
.faq-item a:hover {
    color: var(--dt-accent-light);
     border-bottom: 1px solid var(--dt-accent-light);
}

/* CTA Section improvements */
.cta-section {
    background: linear-gradient(rgba(10, 14, 23, 0.9), rgba(10, 14, 23, 0.9)), url('../img/BlackJackAPPSimulator.png') no-repeat center center/cover;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.cta-section .cta-button {
    background-color: var(--dt-accent);
    color: var(--dt-primary);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* Override for Google Auth button to match header style */
.cta-section .google-auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 999px; /* Makes it round */
    background: #ffffff;
    color: #333;
    border: 1px solid #dcdcdc;
    font-family: 'Lato', 'Segoe UI', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-section .google-auth-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0,0,0,0.15);
    background: #f7f7f7;
    border-color: #cccccc;
}

.cta-section .google-auth-btn img {
    width: 22px;
    height: 22px;
}

.cta-section .google-auth-btn i {
    transition: transform 0.3s ease;
    font-size: 1rem;
    margin-left: 4px;
}

.cta-section .google-auth-btn:hover i {
    transform: translateX(4px);
}

/* General Responsiveness */
@media (max-width: 768px) {
    .section {
        padding: 2rem 1rem;
    }
    #how-to-use .feature-card {
        padding: 1.5rem;
    }
    .faq-item summary {
        padding: 1rem;
        font-size: 1.1rem;
    }
    .faq-item summary::after {
        right: 1rem;
    }
    .faq-item .faq-content {
        padding: 0 1rem 1rem;
    }
} 