/* style/online-gambling-basics.css */

/* Variables for colors */
:root {
    --mcw-primary: #CC0000;
    --mcw-primary-dark: #990000;
    --mcw-primary-light: #e06666;
    --mcw-accent: #FFD700;
    --mcw-accent-dark: #b39700;
    --mcw-accent-light: #ffe64d;
    --mcw-dark-bg: #1a1a1a;
    --mcw-text-light: #ffffff;
    --mcw-text-dark: #333333;
    --mcw-text-gray: #cccccc;
}

.page-online-gambling-basics {
    font-family: 'Arial', sans-serif;
    color: var(--mcw-text-light);
    background-color: var(--mcw-dark-bg);
    line-height: 1.6;
}

.page-online-gambling-basics__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.page-online-gambling-basics__hero {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, var(--mcw-primary-dark) 0%, var(--mcw-primary) 100%);
    color: var(--mcw-text-light);
    text-align: center;
    overflow: hidden;
}

.page-online-gambling-basics__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15;
}

.page-online-gambling-basics__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.page-online-gambling-basics__hero > .page-online-gambling-basics__container {
    position: relative;
    z-index: 1;
}

.page-online-gambling-basics__title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--mcw-accent);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-online-gambling-basics__subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: var(--mcw-text-light);
}

/* Buttons */
.page-online-gambling-basics__btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1.1em;
}

.page-online-gambling-basics__btn--primary {
    background-color: var(--mcw-accent);
    color: var(--mcw-dark-bg);
}

.page-online-gambling-basics__btn--primary:hover {
    background-color: var(--mcw-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-online-gambling-basics__btn--secondary {
    background-color: var(--mcw-primary);
    color: var(--mcw-text-light);
    border: 2px solid var(--mcw-accent);
}

.page-online-gambling-basics__btn--secondary:hover {
    background-color: var(--mcw-primary-dark);
    border-color: var(--mcw-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(204, 0, 0, 0.4);
}

.page-online-gambling-basics__btn--small {
    padding: 8px 20px;
    font-size: 0.9em;
    margin-top: 15px;
}

.page-online-gambling-basics__btn--large {
    padding: 18px 40px;
    font-size: 1.3em;
}

/* Sections */
.page-online-gambling-basics__section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-online-gambling-basics__section:last-of-type {
    border-bottom: none;
}

.page-online-gambling-basics__heading {
    font-size: 2.5em;
    color: var(--mcw-primary);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-online-gambling-basics__heading::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--mcw-accent);
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

.page-online-gambling-basics__sub-heading {
    font-size: 1.8em;
    color: var(--mcw-accent);
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 5px solid var(--mcw-primary);
    padding-left: 15px;
}

.page-online-gambling-basics__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--mcw-text-gray);
}

.page-online-gambling-basics__list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-online-gambling-basics__list-item-strong {
    color: var(--mcw-accent);
    margin-right: 10px;
}

.page-online-gambling-basics__list li {
    background-color: #2a2a2a;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.page-online-gambling-basics__list li:hover {
    background-color: #3a3a3a;
}

.page-online-gambling-basics__list li::before {
    content: '✔';
    color: var(--mcw-primary);
    font-weight: bold;
    margin-right: 15px;
    font-size: 1.2em;
}

/* Game Grid */
.page-online-gambling-basics__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-online-gambling-basics__game-card {
    background-color: #222222;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-online-gambling-basics__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-online-gambling-basics__game-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 3px solid var(--mcw-primary);
}

.page-online-gambling-basics__game-title {
    font-size: 1.5em;
    color: var(--mcw-accent);
    margin: 20px 0 10px;
}

.page-online-gambling-basics__game-description {
    color: var(--mcw-text-gray);
    padding: 0 20px 20px;
    font-size: 0.95em;
}

.page-online-gambling-basics__game-link {
    display: inline-block;
    background-color: var(--mcw-primary);
    color: var(--mcw-text-light);
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.page-online-gambling-basics__game-link:hover {
    background-color: var(--mcw-primary-dark);
}

/* Definition List */
.page-online-gambling-basics__definition-list {
    margin-top: 30px;
}

.page-online-gambling-basics__term {
    font-size: 1.3em;
    color: var(--mcw-accent);
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: bold;
    border-bottom: 1px dashed var(--mcw-primary-light);
    padding-bottom: 5px;
}

.page-online-gambling-basics__definition {
    margin-left: 20px;
    color: var(--mcw-text-gray);
    font-size: 1.05em;
}

/* Steps Grid */
.page-online-gambling-basics__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-online-gambling-basics__step-card {
    background-color: #222222;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-top: 5px solid var(--mcw-accent);
}

.page-online-gambling-basics__step-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px var(--mcw-accent-dark));
}

.page-online-gambling-basics__step-title {
    font-size: 1.6em;
    color: var(--mcw-primary);
    margin-bottom: 15px;
}

.page-online-gambling-basics__step-description {
    color: var(--mcw-text-gray);
    font-size: 0.95em;
}

/* FAQ Section */
.page-online-gambling-basics__faq-item {
    background-color: #222222;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 20px 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-online-gambling-basics__faq-question {
    font-size: 1.3em;
    color: var(--mcw-accent);
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-online-gambling-basics__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    color: var(--mcw-primary);
    transition: transform 0.3s ease;
}

.page-online-gambling-basics__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-online-gambling-basics__faq-answer {
    color: var(--mcw-text-gray);
    font-size: 1.05em;
    display: none; /* Hidden by default */
    padding-top: 10px;
    border-top: 1px dashed rgba(255, 215, 0, 0.1);
    margin-top: 10px;
}

.page-online-gambling-basics__faq-answer.active {
    display: block; /* Shown when active */
}

.page-online-gambling-basics__inline-link {
    color: var(--mcw-accent);
    text-decoration: none;
    font-weight: bold;
}

.page-online-gambling-basics__inline-link:hover {
    text-decoration: underline;
}

/* Call to Action Section */
.page-online-gambling-basics__cta {
    background: linear-gradient(90deg, var(--mcw-primary) 0%, var(--mcw-primary-dark) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

.page-online-gambling-basics__cta-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.1;
}

.page-online-gambling-basics__cta-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.page-online-gambling-basics__cta > .page-online-gambling-basics__container {
    position: relative;
    z-index: 1;
}

.page-online-gambling-basics__cta-title {
    font-size: 2.8em;
    color: var(--mcw-accent);
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-online-gambling-basics__cta-description {
    font-size: 1.3em;
    color: var(--mcw-text-light);
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-online-gambling-basics__title {
        font-size: 2.5em;
    }

    .page-online-gambling-basics__subtitle {
        font-size: 1.2em;
    }

    .page-online-gambling-basics__heading {
        font-size: 2em;
    }

    .page-online-gambling-basics__sub-heading {
        font-size: 1.5em;
    }

    .page-online-gambling-basics__game-grid, .page-online-gambling-basics__steps-grid {
        grid-template-columns: 1fr;
    }

    .page-online-gambling-basics__list li {
        padding: 10px 15px;
    }

    .page-online-gambling-basics__cta-title {
        font-size: 2em;
    }

    .page-online-gambling-basics__cta-description {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-online-gambling-basics__hero {
        padding: 80px 0;
    }

    .page-online-gambling-basics__title {
        font-size: 2em;
    }

    .page-online-gambling-basics__subtitle {
        font-size: 1em;
    }

    .page-online-gambling-basics__btn {
        padding: 10px 20px;
        font-size: 1em;
    }

    .page-online-gambling-basics__section {
        padding: 40px 0;
    }

    .page-online-gambling-basics__heading {
        font-size: 1.8em;
    }

    .page-online-gambling-basics__sub-heading {
        font-size: 1.3em;
    }

    .page-online-gambling-basics__paragraph, .page-online-gambling-basics__definition, .page-online-gambling-basics__faq-answer {
        font-size: 0.95em;
    }

    .page-online-gambling-basics__game-title, .page-online-gambling-basics__step-title, .page-online-gambling-basics__faq-question {
        font-size: 1.2em;
    }

    .page-online-gambling-basics__cta-title {
        font-size: 1.8em;
    }

    .page-online-gambling-basics__cta-description {
        font-size: 0.9em;
    }
}