/* style/resources-online-betting-safety-guide.css */

/* Global styles for the page content, ensuring light text on dark body background */
.page-resources-online-betting-safety-guide {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text for dark body background */
    background-color: #1a1a2e; /* Inherited from shared, but for safety */
    padding-top: var(--header-offset, 120px); /* Account for fixed header */
}

.page-resources-online-betting-safety-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-resources-online-betting-safety-guide__section {
    padding: 60px 0;
    text-align: center;
}

.page-resources-online-betting-safety-guide__section:nth-of-type(even) {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for alternating sections */
}

.page-resources-online-betting-safety-guide__main-title,
.page-resources-online-betting-safety-guide__section-title {
    color: #E3B23C; /* Secondary color for main titles */
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-online-betting-safety-guide__section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
}

.page-resources-online-betting-safety-guide h3 {
    color: #E3B23C; /* Secondary color for sub-titles */
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-resources-online-betting-safety-guide p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-resources-online-betting-safety-guide a {
    color: #E3B23C;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources-online-betting-safety-guide a:hover {
    color: #ffda6a;
    text-decoration: underline;
}

/* Hero Section */
.page-resources-online-betting-safety-guide__hero-section {
    position: relative;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    overflow: hidden;
    background-color: #0A2463; /* Primary color background */
    color: #ffffff;
}

.page-resources-online-betting-safety-guide__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-bottom: 40px;
}

.page-resources-online-betting-safety-guide__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #E3B23C;
}

.page-resources-online-betting-safety-guide__description {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-resources-online-betting-safety-guide__cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: #E3B23C; /* Secondary color for CTA */
    color: #0A2463; /* Dark text for light button */
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

.page-resources-online-betting-safety-guide__cta-button:hover {
    background-color: #ffc400;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-resources-online-betting-safety-guide__cta-button--large {
    padding: 18px 45px;
    font-size: 1.4em;
    margin-top: 30px;
}

.page-resources-online-betting-safety-guide__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-resources-online-betting-safety-guide__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    filter: none; /* Ensure no color filters */
}

/* Risk Benefits Section */
.page-resources-online-betting-safety-guide__risk-benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-resources-online-betting-safety-guide__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    flex: 1;
    min-width: 300px;
    max-width: 48%;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-resources-online-betting-safety-guide__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-online-betting-safety-guide__card-title {
    color: #E3B23C;
    font-size: 1.6em;
    margin-bottom: 20px;
}

.page-resources-online-betting-safety-guide__card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-resources-online-betting-safety-guide__card li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #f0f0f0;
    font-size: 1em;
}

.page-resources-online-betting-safety-guide__card li::before {
    content: '✅'; /* Checkmark icon */
    position: absolute;
    left: 0;
    color: #E3B23C;
    font-weight: bold;
}

/* Platform Choice Section */
.page-resources-online-betting-safety-guide__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-online-betting-safety-guide__feature-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-online-betting-safety-guide__feature-title {
    color: #E3B23C;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-resources-online-betting-safety-guide__feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    filter: none; /* Ensure no color filters */
}

/* Account Protection & Responsible Gambling Checklists */
.page-resources-online-betting-safety-guide__checklist {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
}

.page-resources-online-betting-safety-guide__checklist li {
    background-color: rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #E3B23C;
}

.page-resources-online-betting-safety-guide__checklist-title {
    color: #E3B23C;
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-resources-online-betting-safety-guide__checklist li p {
    color: #f0f0f0;
    font-size: 1em;
}

/* Finance Management Section */
.page-resources-online-betting-safety-guide__content-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-resources-online-betting-safety-guide__image-left {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    filter: none; /* Ensure no color filters */
}

.page-resources-online-betting-safety-guide__text-right {
    flex: 2;
    text-align: left;
}

.page-resources-online-betting-safety-guide__text-right h3 {
    color: #E3B23C;
    font-size: 1.6em;
    margin-top: 0;
}

/* Tech Safety Section */
.page-resources-online-betting-safety-guide__tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-online-betting-safety-guide__tech-item {
    background-color: rgba(10, 36, 99, 0.7); /* Primary color, slightly transparent */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-online-betting-safety-guide__tech-title {
    color: #E3B23C;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-resources-online-betting-safety-guide__tech-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    filter: none; /* Ensure no color filters */
}

/* Privacy Terms Section */
.page-resources-online-betting-safety-guide__info-blocks {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-resources-online-betting-safety-guide__info-block {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    flex: 1;
    min-width: 300px;
    max-width: 30%;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-resources-online-betting-safety-guide__info-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-online-betting-safety-guide__info-title {
    color: #E3B23C;
    font-size: 1.6em;
    margin-bottom: 20px;
}

.page-resources-online-betting-safety-guide__link-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #0A2463; /* Primary color */
    color: #ffffff;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 1px solid #0A2463;
}

.page-resources-online-betting-safety-guide__link-button:hover {
    background-color: #0d3680;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Conclusion Section */
.page-resources-online-betting-safety-guide__conclusion {
    padding-bottom: 80px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-resources-online-betting-safety-guide__main-title {
        font-size: 3em;
    }
    .page-resources-online-betting-safety-guide__section-title {
        font-size: 2em;
    }
    .page-resources-online-betting-safety-guide h3 {
        font-size: 1.6em;
    }
    .page-resources-online-betting-safety-guide__card,
    .page-resources-online-betting-safety-guide__info-block {
        max-width: 45%;
    }
    .page-resources-online-betting-safety-guide__image-left {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .page-resources-online-betting-safety-guide {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
        font-size: 16px;
        line-height: 1.6;
    }
    .page-resources-online-betting-safety-guide__container {
        padding: 0 15px;
    }
    .page-resources-online-betting-safety-guide__section {
        padding: 40px 0;
    }
    .page-resources-online-betting-safety-guide__hero-section {
        padding: 60px 0;
    }
    .page-resources-online-betting-safety-guide__hero-content {
        margin-bottom: 20px;
    }
    .page-resources-online-betting-safety-guide__main-title {
        font-size: 2.2em;
    }
    .page-resources-online-betting-safety-guide__description {
        font-size: 1em;
    }
    .page-resources-online-betting-safety-guide__section-title {
        font-size: 1.8em;
    }
    .page-resources-online-betting-safety-guide h3 {
        font-size: 1.4em;
    }

    .page-resources-online-betting-safety-guide__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 25px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: auto;
        margin-right: auto;
    }
    .page-resources-online-betting-safety-guide__cta-button--large {
        padding: 15px 30px !important;
        font-size: 1.2em !important;
    }

    .page-resources-online-betting-safety-guide__risk-benefits,
    .page-resources-online-betting-safety-guide__features-grid,
    .page-resources-online-betting-safety-guide__content-block,
    .page-resources-online-betting-safety-guide__tech-grid,
    .page-resources-online-betting-safety-guide__info-blocks {
        flex-direction: column;
        gap: 20px;
    }

    .page-resources-online-betting-safety-guide__card,
    .page-resources-online-betting-safety-guide__feature-item,
    .page-resources-online-betting-safety-guide__tech-item,
    .page-resources-online-betting-safety-guide__info-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 20px;
    }

    .page-resources-online-betting-safety-guide__image-left {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        order: -1; /* Image appears above text on mobile */
    }

    .page-resources-online-betting-safety-guide__text-right {
        text-align: center;
    }
    .page-resources-online-betting-safety-guide__text-right h3 {
        margin-top: 20px;
    }

    /* Image responsive rules */
    .page-resources-online-betting-safety-guide img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-resources-online-betting-safety-guide__hero-image-wrapper,
    .page-resources-online-betting-safety-guide__content-block,
    .page-resources-online-betting-safety-guide__tech-grid {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      overflow: hidden !important;
    }
    .page-resources-online-betting-safety-guide__hero-image {
        height: 100%; /* Maintain height for hero overlay */
        object-fit: cover;
    }
}

/* Ensure no filter on images */
.page-resources-online-betting-safety-guide img {
    filter: none;
}