/* style/gambling-glossary.css */
.page-gambling-glossary {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

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

.page-gambling-glossary__hero-section {
    background: linear-gradient(135deg, #0A2463 0%, #0A2463 60%, #FFD700 100%); /* Adjusted gradient for better contrast */
    color: #fff;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.page-gambling-glossary__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Overlay for text readability */
    z-index: 1;
}

.page-gambling-glossary__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.page-gambling-glossary__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFD700; /* Gold for main title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gambling-glossary__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.page-gambling-glossary__cta-button {
    display: inline-block;
    background-color: #FFD700;
    color: #0A2463;
    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;
    border: none;
    cursor: pointer;
}

.page-gambling-glossary__cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-gambling-glossary__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-gambling-glossary__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.page-gambling-glossary__introduction-section,
.page-gambling-glossary__terms-list-section,
.page-gambling-glossary__content-section {
    padding: 60px 0;
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.page-gambling-glossary__section-title {
    font-size: 2.5em;
    color: #0A2463;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-gambling-glossary__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #444;
}

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

.page-gambling-glossary__feature-item {
    text-align: center;
    padding: 25px;
    background-color: #f0f4f7;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.page-gambling-glossary__feature-item:hover {
    transform: translateY(-5px);
}

.page-gambling-glossary__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
}

.page-gambling-glossary__feature-title {
    font-size: 1.5em;
    color: #0A2463;
    margin-bottom: 10px;
}

.page-gambling-glossary__feature-description {
    font-size: 1em;
    color: #666;
}

.page-gambling-glossary__detail-pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gambling-glossary__detail-card {
    background-color: #f0f4f7;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gambling-glossary__detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.page-gambling-glossary__detail-card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
}

.page-gambling-glossary__detail-card-title a {
    color: #0A2463;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-gambling-glossary__detail-card-title a:hover {
    color: #FFD700;
}

.page-gambling-glossary__detail-card-description {
    color: #555;
    margin-bottom: 25px;
    min-height: 90px; /* Ensure consistent card height */
}

.page-gambling-glossary__detail-card-button {
    display: inline-block;
    background-color: #0A2463;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-gambling-glossary__detail-card-button:hover {
    background-color: #071a4f;
}

.page-gambling-glossary__term-article {
    background-color: #fdfdfd;
    border-left: 5px solid #FFD700;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-gambling-glossary__term-title {
    font-size: 1.8em;
    color: #0A2463;
    margin-bottom: 15px;
}

.page-gambling-glossary__inline-cta-button {
    display: inline-block;
    background-color: #FFD700;
    color: #0A2463;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.page-gambling-glossary__inline-cta-button:hover {
    background-color: #e6c200;
}

.page-gambling-glossary__article-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-gambling-glossary__benefits-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-gambling-glossary__benefits-list li {
    background-color: #e6f0f7;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 5px;
    border-left: 4px solid #0A2463;
}

.page-gambling-glossary__benefits-list li p {
    margin: 0;
    color: #333;
    font-size: 1.05em;
}

.page-gambling-glossary__benefits-list li p strong {
    color: #0A2463;
}

.page-gambling-glossary__cta-button--bottom {
    margin-top: 40px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* Floating Ad Menu */
.page-gambling-glossary__floating-ad-menu {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #0A2463;
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 20px;
    max-width: 300px;
    z-index: 1000;
    display: none; /* Hidden by default, shown by JS */
    animation: page-gambling-glossary-slideIn 0.5s forwards;
}

@keyframes page-gambling-glossary-slideIn {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-gambling-glossary__floating-ad-content {
    text-align: center;
}

.page-gambling-glossary__floating-ad-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-gambling-glossary__floating-ad-text {
    font-size: 1em;
    margin-bottom: 15px;
}

.page-gambling-glossary__floating-ad-button {
    display: inline-block;
    background-color: #FFD700;
    color: #0A2463;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-gambling-glossary__floating-ad-button:hover {
    background-color: #e6c200;
}

.page-gambling-glossary__floating-ad-close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5em;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.page-gambling-glossary__floating-ad-close-button:hover {
    color: #FFD700;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-gambling-glossary__main-title {
        font-size: 2.8em;
    }
    .page-gambling-glossary__hero-description {
        font-size: 1.1em;
    }
    .page-gambling-glossary__section-title {
        font-size: 2em;
    }
    .page-gambling-glossary__feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-gambling-glossary__detail-pages-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-gambling-glossary__hero-section {
        padding: 60px 0;
    }
    .page-gambling-glossary__main-title {
        font-size: 2.2em;
    }
    .page-gambling-glossary__hero-description {
        font-size: 1em;
    }
    .page-gambling-glossary__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-gambling-glossary__introduction-section,
    .page-gambling-glossary__terms-list-section,
    .page-gambling-glossary__content-section {
        padding: 40px 0;
    }
    .page-gambling-glossary__section-title {
        font-size: 1.8em;
    }
    .page-gambling-glossary__paragraph {
        font-size: 0.95em;
    }
    .page-gambling-glossary__term-title {
        font-size: 1.5em;
    }
    .page-gambling-glossary__floating-ad-menu {
        right: 10px;
        bottom: 10px;
        max-width: 280px;
        padding: 15px;
    }
    .page-gambling-glossary__floating-ad-title {
        font-size: 1.4em;
    }
}

@media (max-width: 480px) {
    .page-gambling-glossary__main-title {
        font-size: 1.8em;
    }
    .page-gambling-glossary__hero-description {
        font-size: 0.9em;
    }
    .page-gambling-glossary__cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-gambling-glossary__section-title {
        font-size: 1.5em;
    }
    .page-gambling-glossary__term-title {
        font-size: 1.3em;
    }
    .page-gambling-glossary__floating-ad-menu {
        max-width: 90%;
        left: 5%;
        right: 5%;
        bottom: 10px;
    }
}