.page-resources-tdtc-game-strategies {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Inherit from shared.css body */
}

.page-resources-tdtc-game-strategies__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-resources-tdtc-game-strategies__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
    padding-bottom: 80px;
    background: linear-gradient(135deg, #26A9E0, #1a7bb0); /* Gradient using main color */
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* For image positioning */
    min-height: 600px;
}

.page-resources-tdtc-game-strategies__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

.page-resources-tdtc-game-strategies__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
}

.page-resources-tdtc-game-strategies__hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.page-resources-tdtc-game-strategies__btn-primary,
.page-resources-tdtc-game-strategies__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-resources-tdtc-game-strategies__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-resources-tdtc-game-strategies__btn-primary:hover {
    background-color: #d16e06;
    border-color: #d16e06;
    transform: translateY(-3px);
}

.page-resources-tdtc-game-strategies__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-resources-tdtc-game-strategies__btn-secondary:hover {
    background-color: #ffffff;
    color: #26A9E0;
    transform: translateY(-3px);
}

.page-resources-tdtc-game-strategies__hero-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%; /* Adjust as needed */
    height: auto;
    object-fit: cover;
    opacity: 0.2;
    z-index: 0;
    min-width: 200px;
    min-height: 200px;
}
.page-resources-tdtc-game-strategies__hero-section > .page-resources-tdtc-game-strategies__container {
    position: relative;
    z-index: 1;
}

/* General Section Styles */
.page-resources-tdtc-game-strategies__intro-section,
.page-resources-tdtc-game-strategies__game-strategies-section,
.page-resources-tdtc-game-strategies__advantages-section,
.page-resources-tdtc-game-strategies__cta-section {
    padding: 80px 0;
    background-color: #ffffff; /* Light background for these sections */
    color: #333333; /* Dark text for light background */
}

.page-resources-tdtc-game-strategies__principles-section,
.page-resources-tdtc-game-strategies__responsible-gambling-section,
.page-resources-tdtc-game-strategies__faq-section {
    padding: 80px 0;
    background-color: var(--dark-bg-1, #1a1a1a); /* Dark background */
    color: #ffffff; /* Light text for dark background */
}

.page-resources-tdtc-game-strategies__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 60px;
    font-weight: bold;
}
.page-resources-tdtc-game-strategies__intro-section .page-resources-tdtc-game-strategies__section-title,
.page-resources-tdtc-game-strategies__game-strategies-section .page-resources-tdtc-game-strategies__section-title,
.page-resources-tdtc-game-strategies__advantages-section .page-resources-tdtc-game-strategies__section-title,
.page-resources-tdtc-game-strategies__cta-section .page-resources-tdtc-game-strategies__section-title {
    color: #26A9E0; /* Brand color for titles on light backgrounds */
}

.page-resources-tdtc-game-strategies__text-block {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-resources-tdtc-game-strategies__image-content {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
}

/* Grid for principles */
.page-resources-tdtc-game-strategies__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-resources-tdtc-game-strategies__card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark bg */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: #ffffff; /* Text color for cards on dark background */
}

.page-resources-tdtc-game-strategies__card:hover {
    transform: translateY(-5px);
}

.page-resources-tdtc-game-strategies__card-title {
    font-size: 1.5em;
    color: #26A9E0; /* Brand color for card titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-resources-tdtc-game-strategies__card-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* Game Strategy Items */
.page-resources-tdtc-game-strategies__game-strategy-item {
    background-color: #f8f8f8; /* Slightly off-white background for light section items */
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #333333; /* Dark text for light background */
}
.page-resources-tdtc-game-strategies__game-strategy-item:last-child {
    margin-bottom: 0;
}

.page-resources-tdtc-game-strategies__item-title {
    font-size: 2em;
    color: #26A9E0;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.page-resources-tdtc-game-strategies__game-strategy-item p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #333333;
    text-align: left;
}
.page-resources-tdtc-game-strategies__game-strategy-item a {
    color: #26A9E0;
    text-decoration: underline;
}
.page-resources-tdtc-game-strategies__game-strategy-item a:hover {
    color: #1a7bb0;
}

/* Advantage List */
.page-resources-tdtc-game-strategies__advantage-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.page-resources-tdtc-game-strategies__advantage-list li {
    background-color: #f0f0f0; /* Light background for list items */
    margin-bottom: 15px;
    padding: 20px 30px;
    border-left: 5px solid #26A9E0;
    border-radius: 5px;
    font-size: 1.1em;
    color: #333333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* FAQ Section */
.page-resources-tdtc-game-strategies__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-resources-tdtc-game-strategies__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark bg */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    color: #ffffff; /* Text color for FAQ items on dark background */
}

.page-resources-tdtc-game-strategies__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: rgba(255, 255, 255, 0.15); /* Slightly darker transparent white */
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-resources-tdtc-game-strategies__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.page-resources-tdtc-game-strategies__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
    color: #26A9E0; /* Brand color for toggle icon */
}

.page-resources-tdtc-game-strategies__faq-item.active .page-resources-tdtc-game-strategies__faq-toggle {
    transform: rotate(45deg); /* Plus sign becomes cross */
}
.page-resources-tdtc-game-strategies__faq-item.active .page-resources-tdtc-game-strategies__faq-question {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-resources-tdtc-game-strategies__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-resources-tdtc-game-strategies__faq-item.active .page-resources-tdtc-game-strategies__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px 25px;
}
.page-resources-tdtc-game-strategies__faq-answer p {
    margin-bottom: 0; /* Remove default paragraph margin */
}
.page-resources-tdtc-game-strategies__faq-answer a {
    color: #26A9E0;
    text-decoration: underline;
}
.page-resources-tdtc-game-strategies__faq-answer a:hover {
    color: #1a7bb0;
}

/* Call to Action Section */
.page-resources-tdtc-game-strategies__cta-section {
    text-align: center;
    padding-bottom: 80px;
}
.page-resources-tdtc-game-strategies__cta-section .page-resources-tdtc-game-strategies__text-block {
    margin-bottom: 30px;
}
.page-resources-tdtc-game-strategies__cta-section .page-resources-tdtc-game-strategies__btn-primary {
    margin-top: 20px;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-tdtc-game-strategies__hero-title {
        font-size: 2.8em;
    }
    .page-resources-tdtc-game-strategies__section-title {
        font-size: 2em;
    }
    .page-resources-tdtc-game-strategies__hero-image {
        width: 70%;
    }
}

@media (max-width: 768px) {
    .page-resources-tdtc-game-strategies__hero-section {
        padding-bottom: 60px;
        min-height: auto;
    }
    .page-resources-tdtc-game-strategies__hero-title {
        font-size: 2.2em;
    }
    .page-resources-tdtc-game-strategies__hero-description {
        font-size: 1.1em;
    }
    .page-resources-tdtc-game-strategies__section-title {
        font-size: 1.8em;
    }
    .page-resources-tdtc-game-strategies__text-block,
    .page-resources-tdtc-game-strategies__card-text,
    .page-resources-tdtc-game-strategies__advantage-list li,
    .page-resources-tdtc-game-strategies__faq-answer p {
        font-size: 1em;
    }
    .page-resources-tdtc-game-strategies__card-title {
        font-size: 1.3em;
    }
    .page-resources-tdtc-game-strategies__item-title {
        font-size: 1.6em;
    }
    .page-resources-tdtc-game-strategies__hero-image {
        position: static;
        width: 100%;
        opacity: 1;
        margin-top: 40px;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-resources-tdtc-game-strategies__hero-section {
        flex-direction: column;
    }
    .page-resources-tdtc-game-strategies__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-tdtc-game-strategies__btn-primary,
    .page-resources-tdtc-game-strategies__btn-secondary {
        width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile image responsiveness */
    .page-resources-tdtc-game-strategies img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-resources-tdtc-game-strategies__section,
    .page-resources-tdtc-game-strategies__card,
    .page-resources-tdtc-game-strategies__container,
    .page-resources-tdtc-game-strategies__game-strategy-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-resources-tdtc-game-strategies__hero-section,
    .page-resources-tdtc-game-strategies__intro-section,
    .page-resources-tdtc-game-strategies__principles-section,
    .page-resources-tdtc-game-strategies__game-strategies-section,
    .page-resources-tdtc-game-strategies__responsible-gambling-section,
    .page-resources-tdtc-game-strategies__advantages-section,
    .page-resources-tdtc-game-strategies__faq-section,
    .page-resources-tdtc-game-strategies__cta-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-resources-tdtc-game-strategies__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    /* Button specific overrides for mobile */
    .page-resources-tdtc-game-strategies__hero-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-resources-tdtc-game-strategies__cta-buttons,
    .page-resources-tdtc-game-strategies__button-group,
    .page-resources-tdtc-game-strategies__btn-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      flex-wrap: wrap !important;
      gap: 10px;
    }
    .page-resources-tdtc-game-strategies__cta-buttons {
        display: flex;
        flex-direction: column;
    }
}