/* style/online-casino-games-types.css */
:root {
    --primary-color: #1A2A44;
    --secondary-color: #FFCC00;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --bg-light-gray: #f1f3f5;
    --border-color: #e0e0e0;
}

.page-online-casino-games-types {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-light); /* Default to light text for dark body background */
    background-color: var(--dark-bg-1);
}

.page-online-casino-games-types__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-online-casino-games-types__main-title,
.page-online-casino-games-types__section-title,
.page-online-casino-games-types__cta-title {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.2;
}

.page-online-casino-games-types__main-title {
    font-size: 3.2em;
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--text-color-light);
}

.page-online-casino-games-types__section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-top: 50px;
}

.page-online-casino-games-types__description,
.page-online-casino-games-types__section-intro,
.page-online-casino-games-types__cta-description {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-color-light);
}

.page-online-casino-games-types a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-online-casino-games-types a:hover {
    color: #ffd700;
    text-decoration: underline;
}

/* Intro Section */
.page-online-casino-games-types__intro-section {
    padding-top: 180px; /* Adjust for fixed header */
    padding-bottom: 60px;
    background: var(--primary-color);
}

.page-online-casino-games-types__intro-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 30px auto 0 auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Game Types Section */
.page-online-casino-games-types__game-types-section {
    padding: 60px 0;
    background-color: var(--dark-bg-1);
}

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

.page-online-casino-games-types__game-card {
    background: var(--primary-color);
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--text-color-light);
}

.page-online-casino-games-types__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-online-casino-games-types__game-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    display: block;
}

.page-online-casino-games-types__game-card-title {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-online-casino-games-types__game-card-link {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-online-casino-games-types__game-card-link:hover {
    color: #ffd700;
    text-decoration: underline;
}

.page-online-casino-games-types__game-card-description {
    font-size: 1em;
    margin-bottom: 25px;
    flex-grow: 1;
    color: #cccccc;
}

.page-online-casino-games-types__game-card-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-online-casino-games-types__game-card-button:hover {
    background-color: #ffd700;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Tips Section */
.page-online-casino-games-types__tips-section {
    padding: 60px 0;
    background-color: var(--primary-color);
}

.page-online-casino-games-types__tips-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    margin: 30px auto 40px auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-online-casino-games-types__tips-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1em;
    color: #cccccc;
}

.page-online-casino-games-types__tips-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-online-casino-games-types__tips-list li {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    padding: 20px;
    border-left: 5px solid var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    color: var(--text-color-light);
}

.page-online-casino-games-types__list-highlight {
    color: var(--secondary-color);
    font-weight: bold;
}

/* Why Play Section */
.page-online-casino-games-types__why-play-section {
    padding: 60px 0;
    background-color: var(--dark-bg-1);
}

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

.page-online-casino-games-types__why-play-item {
    background: var(--primary-color);
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-color-light);
}

.page-online-casino-games-types__why-play-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-online-casino-games-types__why-play-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-online-casino-games-types__why-play-title {
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-online-casino-games-types__why-play-description {
    font-size: 1em;
    color: #cccccc;
}

/* FAQ Section */
.page-online-casino-games-types__faq-section {
    padding: 60px 0;
    background-color: var(--primary-color);
}

.page-online-casino-games-types__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-online-casino-games-types__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    background: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-online-casino-games-types__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 20px;
    opacity: 0;
}

.page-online-casino-games-types__faq-item.active .page-online-casino-games-types__faq-answer {
    max-height: 2000px !important;
    padding: 20px !important;
    opacity: 1;
    background: #101c2e;
    border-radius: 0 0 5px 5px;
    color: #cccccc;
}

.page-online-casino-games-types__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-online-casino-games-types__faq-question:hover {
    background: #2a3a5a;
    border-color: rgba(255, 255, 255, 0.2);
}

.page-online-casino-games-types__faq-question:active {
    background: #3a4a6a;
}

.page-online-casino-games-types__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--text-color-light);
}

.page-online-casino-games-types__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: var(--secondary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-online-casino-games-types__faq-item.active .page-online-casino-games-types__faq-toggle {
    color: #ffd700;
    transform: rotate(45deg);
}

/* CTA Section */
.page-online-casino-games-types__cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-bg-1));
    text-align: center;
}

.page-online-casino-games-types__cta-title {
    font-size: 2.8em;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.page-online-casino-games-types__cta-description {
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.2em;
    color: #e0e0e0;
}

.page-online-casino-games-types__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.3em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-online-casino-games-types__cta-button:hover {
    background-color: #ffd700;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-online-casino-games-types__main-title {
        font-size: 2.8em;
    }
    .page-online-casino-games-types__section-title {
        font-size: 2em;
    }
    .page-online-casino-games-types__cta-title {
        font-size: 2.2em;
    }
    .page-online-casino-games-types__game-card-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-online-casino-games-types {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-online-casino-games-types__intro-section {
        padding-top: 160px !important; /* Mobile fixed header adjustment */
        padding-bottom: 40px;
    }
    .page-online-casino-games-types__container {
        padding: 0 15px !important;
    }
    .page-online-casino-games-types__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-online-casino-games-types__description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-online-casino-games-types__section-title {
        font-size: 1.8em;
        margin-top: 40px;
        margin-bottom: 20px;
    }
    .page-online-casino-games-types__game-card {
        padding: 20px;
    }
    .page-online-casino-games-types__game-card-image {
        height: 180px;
        margin-bottom: 15px;
    }
    .page-online-casino-games-types__game-card-title {
        font-size: 1.5em;
        margin-bottom: 10px;
    }
    .page-online-casino-games-types__game-card-description {
        font-size: 0.95em;
        margin-bottom: 20px;
    }
    .page-online-casino-games-types__game-card-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-online-casino-games-types__tips-content, 
    .page-online-casino-games-types__why-play-description {
        font-size: 1em;
    }
    .page-online-casino-games-types__tips-list li {
        padding: 15px;
        margin-bottom: 10px;
    }
    .page-online-casino-games-types__why-play-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }
    .page-online-casino-games-types__why-play-title {
        font-size: 1.4em;
    }
    .page-online-casino-games-types__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-online-casino-games-types__faq-question h3 {
        font-size: 1em;
        width: calc(100% - 40px);
    }
    .page-online-casino-games-types__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-online-casino-games-types__faq-answer {
        padding: 0 15px;
    }
    .page-online-casino-games-types__faq-item.active .page-online-casino-games-types__faq-answer {
        padding: 15px !important;
    }
    .page-online-casino-games-types__cta-section {
        padding: 60px 0;
    }
    .page-online-casino-games-types__cta-title {
        font-size: 2em;
    }
    .page-online-casino-games-types__cta-description {
        font-size: 1.1em;
        margin-bottom: 30px;
    }
    .page-online-casino-games-types__cta-button {
        padding: 15px 35px;
        font-size: 1.1em;
    }

    /* Ensure all images are responsive and do not cause horizontal scroll */
    .page-online-casino-games-types img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
    
    .page-online-casino-games-types__section,
    .page-online-casino-games-types__card,
    .page-online-casino-games-types__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-online-casino-games-types__main-title {
        font-size: 1.8em;
    }
    .page-online-casino-games-types__section-title {
        font-size: 1.6em;
    }
    .page-online-casino-games-types__game-card-grid {
        grid-template-columns: 1fr;
    }
    .page-online-casino-games-types__cta-title {
        font-size: 1.8em;
    }
    .page-online-casino-games-types__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
}