.page-game-guides-glossary {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
}

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

.page-game-guides-glossary__hero-section {
    background: linear-gradient(135deg, #1A2B4C 0%, #3a5078 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-game-guides-glossary__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,geometric,blue,dark]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-game-guides-glossary__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FF8C00;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.page-game-guides-glossary__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    position: relative;
    z-index: 1;
}

.page-game-guides-glossary__cta-button {
    display: inline-block;
    background-color: #FF8C00;
    color: #1A2B4C;
    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: none;
    cursor: pointer;
}

.page-game-guides-glossary__cta-button:hover {
    background-color: #e57e00;
    transform: translateY(-3px);
}

.page-game-guides-glossary__content-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.page-game-guides-glossary__section-title {
    font-size: 2.2em;
    color: #1A2B4C;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.page-game-guides-glossary__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FF8C00;
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

.page-game-guides-glossary__glossary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.page-game-guides-glossary__term-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid #1A2B4C;
}

.page-game-guides-glossary__term-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-game-guides-glossary__term-title {
    font-size: 1.6em;
    color: #1A2B4C;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 2px solid #FF8C00;
    padding-bottom: 10px;
}

.page-game-guides-glossary__term-definition {
    font-size: 1em;
    color: #555;
}

.page-game-guides-glossary__action-box {
    background-color: #1A2B4C;
    color: #fff;
    padding: 50px;
    border-radius: 10px;
    text-align: center;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.page-game-guides-glossary__action-box p {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.page-game-guides-glossary__action-box .page-game-guides-glossary__inline-link {
    color: #FF8C00;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-game-guides-glossary__action-box .page-game-guides-glossary__inline-link:hover {
    color: #fff;
}

.page-game-guides-glossary__cta-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.page-game-guides-glossary__cta-button--bottom {
    background-color: #FF8C00;
    color: #1A2B4C;
    padding: 18px 40px;
    font-size: 1.2em;
    border-radius: 8px;
}

.page-game-guides-glossary__cta-button--bottom:hover {
    background-color: #e57e00;
    transform: translateY(-5px);
}

/* Floating Ad */
.page-game-guides-glossary__floating-ad {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #FF8C00;
    color: #1A2B4C;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1000;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform: translateX(120%); /* Initially hidden */
    opacity: 0;
    max-width: 350px;
}

.page-game-guides-glossary__floating-ad.show {
    transform: translateX(0);
    opacity: 1;
}

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

.page-game-guides-glossary__floating-ad-close:hover {
    color: #fff;
}

.page-game-guides-glossary__floating-ad-text {
    margin: 0;
    font-weight: bold;
    font-size: 1.1em;
    color: #1A2B4C;
}

.page-game-guides-glossary__floating-ad-button {
    background-color: #1A2B4C;
    color: #FF8C00;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-game-guides-glossary__floating-ad-button:hover {
    background-color: #0d1729;
    color: #fff;
}

.page-game-guides-glossary__floating-ad-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-game-guides-glossary__hero-title {
        font-size: 2.8em;
    }
    .page-game-guides-glossary__section-title {
        font-size: 1.8em;
    }
    .page-game-guides-glossary__glossary-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-game-guides-glossary__floating-ad {
        bottom: 15px;
        right: 15px;
        max-width: 300px;
        padding: 12px 15px;
        gap: 10px;
    }
    .page-game-guides-glossary__floating-ad-text {
        font-size: 1em;
    }
    .page-game-guides-glossary__floating-ad-image {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .page-game-guides-glossary__hero-section {
        padding: 60px 0;
    }
    .page-game-guides-glossary__hero-title {
        font-size: 2.2em;
    }
    .page-game-guides-glossary__hero-description {
        font-size: 1em;
    }
    .page-game-guides-glossary__content-section {
        padding: 40px 0;
    }
    .page-game-guides-glossary__section-title {
        font-size: 1.6em;
    }
    .page-game-guides-glossary__glossary-grid {
        grid-template-columns: 1fr;
    }
    .page-game-guides-glossary__term-card {
        padding: 25px;
    }
    .page-game-guides-glossary__term-title {
        font-size: 1.4em;
    }
    .page-game-guides-glossary__action-box {
        padding: 30px;
    }
    .page-game-guides-glossary__action-box p {
        font-size: 1.1em;
    }
    .page-game-guides-glossary__cta-button--bottom {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-game-guides-glossary__floating-ad {
        bottom: 10px;
        right: 10px;
        max-width: 280px;
        padding: 10px 12px;
        gap: 8px;
    }
    .page-game-guides-glossary__floating-ad-text {
        font-size: 0.9em;
    }
    .page-game-guides-glossary__floating-ad-image {
        width: 40px;
        height: 40px;
    }
    .page-game-guides-glossary__floating-ad-button {
        padding: 6px 10px;
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .page-game-guides-glossary__hero-title {
        font-size: 1.8em;
    }
    .page-game-guides-glossary__hero-description {
        font-size: 0.9em;
    }
    .page-game-guides-glossary__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-game-guides-glossary__section-title {
        font-size: 1.4em;
    }
    .page-game-guides-glossary__term-title {
        font-size: 1.2em;
    }
    .page-game-guides-glossary__action-box p {
        font-size: 1em;
    }
    .page-game-guides-glossary__cta-button--bottom {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-game-guides-glossary__floating-ad {
        flex-direction: column;
        align-items: flex-start;
        max-width: calc(100% - 40px);
        left: 20px;
        right: 20px;
        bottom: 10px;
        padding: 15px;
        gap: 10px;
    }
    .page-game-guides-glossary__floating-ad-text {
        text-align: center;
        width: 100%;
    }
    .page-game-guides-glossary__floating-ad-button {
        width: 100%;
        text-align: center;
    }
    .page-game-guides-glossary__floating-ad-image {
        display: none;
    }
    .page-game-guides-glossary__floating-ad-close {
        right: 15px;
    }
}