/* style/responsible-gaming.css */

/* Base styles for the responsible gaming page */
.page-responsible-gaming {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

.page-responsible-gaming__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.page-responsible-gaming__hero {
    background: linear-gradient(135deg, #003366 0%, #004488 100%);
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-responsible-gaming__hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 204, 0, 0.1);
    transform: rotate(45deg);
    z-index: 0;
    opacity: 0.1;
}

.page-responsible-gaming__title {
    font-size: 3.5em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #FFCC00; /* Auxiliary color for highlight */
    position: relative;
    z-index: 1;
}

.page-responsible-gaming__subtitle {
    font-size: 1.4em;
    margin-bottom: 30px;
    color: #e0e0e0;
    position: relative;
    z-index: 1;
}

.page-responsible-gaming__cta-button {
    display: inline-block;
    background-color: #FFCC00; /* Auxiliary color */
    color: #003366; /* Main color for contrast */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    position: relative;
    z-index: 1;
    border: 2px solid #FFCC00;
}

.page-responsible-gaming__cta-button:hover {
    background-color: #e6b800;
    transform: translateY(-3px);
}

.page-responsible-gaming__cta-button--secondary {
    background-color: transparent;
    color: #FFCC00;
    border: 2px solid #FFCC00;
}

.page-responsible-gaming__cta-button--secondary:hover {
    background-color: #FFCC00;
    color: #003366;
}

/* General Section Styling */
.page-responsible-gaming__intro, 
.page-responsible-gaming__principles, 
.page-responsible-gaming__tools, 
.page-responsible-gaming__problem-gambling, 
.page-responsible-gaming__underage, 
.page-responsible-gaming__sub-pages {
    padding: 60px 0;
    background-color: #ffffff;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-responsible-gaming__intro {
    background-color: #f0f5fa;
}

.page-responsible-gaming__section-title {
    font-size: 2.2em;
    color: #003366;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.page-responsible-gaming__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFCC00;
    border-radius: 2px;
}

.page-responsible-gaming p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #555;
    text-align: justify;
}

.page-responsible-gaming ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #555;
}

.page-responsible-gaming ul li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-responsible-gaming ul li strong {
    color: #003366;
}

.page-responsible-gaming__image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-responsible-gaming__image--small {
    max-width: 80%;
}

.page-responsible-gaming__link {
    color: #003366;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-responsible-gaming__link:hover {
    color: #FFCC00;
    text-decoration: underline;
}

.page-responsible-gaming__link--highlight {
    color: #FFCC00;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-responsible-gaming__link--highlight:hover {
    color: #e6b800;
    text-decoration: underline;
}

/* Principles Section Grid */
.page-responsible-gaming__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-responsible-gaming__grid-item {
    background-color: #fdfdfd;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid #003366;
}

.page-responsible-gaming__grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-responsible-gaming__item-title {
    font-size: 1.5em;
    color: #003366;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-responsible-gaming__grid-item p {
    font-size: 1em;
    color: #666;
}

/* Sub-pages List */
.page-responsible-gaming__sub-page-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-responsible-gaming__sub-page-item {
    background-color: #fdfdfd;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #FFCC00;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-responsible-gaming__sub-page-title {
    font-size: 1.4em;
    color: #003366;
    margin-bottom: 10px;
}

.page-responsible-gaming__sub-page-title a {
    color: #003366;
    text-decoration: none;
}

.page-responsible-gaming__sub-page-title a:hover {
    color: #FFCC00;
    text-decoration: underline;
}

.page-responsible-gaming__sub-page-description {
    font-size: 1em;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-responsible-gaming__btn-detail {
    display: inline-block;
    background-color: #003366;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
}

.page-responsible-gaming__btn-detail:hover {
    background-color: #004488;
    transform: translateY(-2px);
}

.page-responsible-gaming__final-cta {
    text-align: center;
    font-size: 1.2em;
    margin-top: 50px;
    color: #003366;
    font-weight: bold;
}

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

    .page-responsible-gaming__subtitle {
        font-size: 1.2em;
    }

    .page-responsible-gaming__section-title {
        font-size: 1.8em;
    }

    .page-responsible-gaming__grid,
    .page-responsible-gaming__sub-page-list {
        grid-template-columns: 1fr;
    }

    .page-responsible-gaming__grid-item, .page-responsible-gaming__sub-page-item {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .page-responsible-gaming__title {
        font-size: 2em;
    }

    .page-responsible-gaming__subtitle {
        font-size: 1em;
    }

    .page-responsible-gaming__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-responsible-gaming__section-title {
        font-size: 1.5em;
    }

    .page-responsible-gaming p,
    .page-responsible-gaming ul li {
        font-size: 0.95em;
    }
    
    .page-responsible-gaming__image--small {
        max-width: 100%;
    }
}