:root {
    --primary-color: #F2C14E; /* Black Gold - Main */
    --secondary-color: #FFD36B; /* Black Gold - Auxiliary */
    --card-bg: #111111; /* Custom Card BG */
    --page-bg: #0A0A0A; /* Custom Background */
    --text-main: #FFF6D6; /* Custom Text Main */
    --border-color: #3A2A12; /* Custom Border */
    --glow-color: #FFD36B; /* Custom Glow */
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --header-offset: 120px; /* Default desktop header height */
}

/* Base styles for the page content */
.page-live-dealer-games-introduction {
    background-color: var(--page-bg);
    color: var(--text-main); /* Ensure text is visible on dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 50px; /* Space for footer */
}

.page-live-dealer-games-introduction__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-live-dealer-games-introduction__hero-section {
    position: relative;
    padding-top: var(--header-offset); /* Fixed header spacing for desktop */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background: var(--page-bg); /* Dark background */
}

.page-live-dealer-games-introduction__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Max height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-live-dealer-games-introduction__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 0; /* Hero image usually full width, no border-radius */
}

.page-live-dealer-games-introduction__hero-content {
    position: relative;
    z-index: 10;
    padding: 40px 20px;
    max-width: 900px;
    margin-bottom: 20px; /* Space between content and image */
}

.page-live-dealer-games-introduction__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.05em;
}

.page-live-dealer-games-introduction__hero-description {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Call to Action Buttons */
.page-live-dealer-games-introduction__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%; /* Ensure container takes full width for responsive buttons */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-live-dealer-games-introduction__cta-buttons--center {
    margin-top: 40px;
}

.page-live-dealer-games-introduction__btn-primary,
.page-live-dealer-games-introduction__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Ensure buttons adapt to container width */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-live-dealer-games-introduction__btn-primary {
    background: var(--button-gradient);
    color: #ffffff; /* White text on gradient button */
    border: none;
    box-shadow: 0 5px 15px rgba(255, 211, 107, 0.3);
}

.page-live-dealer-games-introduction__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 211, 107, 0.4);
}

.page-live-dealer-games-introduction__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-live-dealer-games-introduction__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--page-bg); /* Dark background for hover */
    transform: translateY(-2px);
}

/* General Section Styles */
.page-live-dealer-games-introduction__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-live-dealer-games-introduction__section:last-of-type {
    border-bottom: none;
}

.page-live-dealer-games-introduction__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

.page-live-dealer-games-introduction__text-block {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 20px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-live-dealer-games-introduction__text-block a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-live-dealer-games-introduction__text-block a:hover {
    color: var(--secondary-color);
}

/* Grid Layouts */
.page-live-dealer-games-introduction__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Card Styles */
.page-live-dealer-games-introduction__card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--text-main); /* Default text color for cards */
}

.page-live-dealer-games-introduction__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-live-dealer-games-introduction__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistent card image display */
    object-fit: cover;
    display: block;
    border-radius: 8px 8px 0 0; /* Rounded top corners for images in cards */
}

.page-live-dealer-games-introduction__card-title {
    font-size: 1.4rem;
    color: var(--secondary-color);
    padding: 20px 20px 10px;
    font-weight: 600;
}

.page-live-dealer-games-introduction__card-text {
    font-size: 1rem;
    color: var(--text-main);
    padding: 0 20px 20px;
    flex-grow: 1; /* Make text block take available space */
}

/* Specific Card Backgrounds for Contrast */
.page-live-dealer-games-introduction__dark-bg {
    background-color: var(--card-bg);
    color: var(--text-main);
}

.page-live-dealer-games-introduction__light-bg {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter transparent background */
    color: var(--text-main);
    border: 1px solid var(--border-color);
}
.page-live-dealer-games-introduction__light-bg .page-live-dealer-games-introduction__btn-primary {
    margin: 0 20px 20px; /* Adjust button margin within light cards */
}


/* Game Categories */
.page-live-dealer-games-introduction__game-categories {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Smaller cards for game categories */
}

.page-live-dealer-games-introduction__game-card {
    text-align: center;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-live-dealer-games-introduction__game-card:hover {
    transform: translateY(-5px);
}

.page-live-dealer-games-introduction__game-icon {
    width: 48px; /* Display width for icons */
    height: 48px; /* Display height for icons */
    object-fit: contain;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 5px rgba(255, 211, 107, 0.5)); /* Subtle glow for icons */
    min-width: initial; /* Override general image min-width for icons */
    min-height: initial; /* Override general image min-height for icons */
    border-radius: 0; /* Icons typically don't have border-radius */
}

.page-live-dealer-games-introduction__game-title {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-live-dealer-games-introduction__game-description {
    font-size: 0.95rem;
    color: var(--text-main);
}

/* Steps List */
.page-live-dealer-games-introduction__steps-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 900px;
}

.page-live-dealer-games-introduction__step-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--text-main);
}

.page-live-dealer-games-introduction__step-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-live-dealer-games-introduction__step-description {
    font-size: 1rem;
    color: var(--text-main);
}

.page-live-dealer-games-introduction__step-description a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-live-dealer-games-introduction__step-description a:hover {
    color: var(--primary-color);
}

/* FAQ Section */
.page-live-dealer-games-introduction__faq-list {
    max-width: 900px;
    margin: 40px auto;
}

.page-live-dealer-games-introduction__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-live-dealer-games-introduction__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.page-live-dealer-games-introduction__faq-question:hover {
    background-color: rgba(255, 211, 107, 0.05); /* Subtle hover effect */
}

.page-live-dealer-games-introduction__faq-question h3 {
    margin: 0;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.page-live-dealer-games-introduction__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.page-live-dealer-games-introduction__faq-item.active .page-live-dealer-games-introduction__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' or 'minus' effect */
}

.page-live-dealer-games-introduction__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-main);
    font-size: 1rem;
}

.page-live-dealer-games-introduction__faq-item.active .page-live-dealer-games-introduction__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px;
}

.page-live-dealer-games-introduction__faq-answer p {
    margin-bottom: 0;
    color: var(--text-main);
}

.page-live-dealer-games-introduction__faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-live-dealer-games-introduction__hero-content {
        padding: 30px 15px;
    }
    .page-live-dealer-games-introduction__section {
        padding: 40px 0;
    }
    .page-live-dealer-games-introduction__container {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-offset: 100px; /* Adjust for mobile header height */
    }
}