:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f9f9f9;
    --button-register: #C30808;
    --button-login: #C30808;
    --button-font-register-login: #FFFFFF; /* Changed from #FFFF00 for contrast */
}

.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--background-light);
}

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

.page-slot-games__section {
    padding: 60px 0;
    text-align: center;
}

.page-slot-games__section-title {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-slot-games__text-block {
    font-size: 17px;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
    background: linear-gradient(135deg, var(--primary-color) 0%, #00994d 100%); /* Slightly darker green gradient */
    color: var(--text-light);
    overflow: hidden;
}

.page-slot-games__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-slot-games__hero-image {
    width: 100%;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.page-slot-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-slot-games__main-title {
    font-size: 52px;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--secondary-color);
}

.page-slot-games__hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.page-slot-games__cta-button {
    display: inline-block;
    padding: 16px 45px;
    background: var(--button-register); /* Using specific red for CTA */
    color: var(--button-font-register-login); /* White for contrast */
    text-decoration: none;
    border-radius: 50px;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-slot-games__cta-button:hover {
    background: #a50707; /* Slightly darker red on hover */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.page-slot-games__introduction .page-slot-games__section-title {
    color: var(--primary-color);
}

/* Game Types Grid */
.page-slot-games__game-types {
    background-color: var(--secondary-color);
}

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

.page-slot-games__card {
    background: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid #e0e0e0;
}

.page-slot-games__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.page-slot-games__card-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-slot-games__card p {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.page-slot-games__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Guide Section (Dark) */
.page-slot-games__dark-section {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-slot-games__dark-section .page-slot-games__section-title {
    color: var(--secondary-color);
}

.page-slot-games__dark-section .page-slot-games__text-block {
    color: var(--secondary-color);
}

.page-slot-games__dark-section .page-slot-games__list li {
    color: var(--secondary-color);
}

.page-slot-games__dark-section a {
    color: #FFFF00; /* Yellow for links on dark green */
    text-decoration: underline;
}

.page-slot-games__dark-section a:hover {
    color: #fff;
}

.page-slot-games__list {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    max-width: 800px;
    text-align: left;
}

.page-slot-games__list li {
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 17px;
    color: var(--secondary-color);
    position: relative;
    padding-left: 45px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-slot-games__list li strong {
    color: #FFFF00; /* Highlight steps */
}

.page-slot-games__list li::before {
    content: attr(data-step);
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: #FFFF00;
    color: var(--primary-color);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 15px;
}

.page-slot-games__list-styled {
    list-style-type: disc;
    text-align: left;
    max-width: 900px;
    margin: 30px auto;
    padding-left: 40px;
}

.page-slot-games__list-styled li {
    font-size: 17px;
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-dark);
}

.page-slot-games__btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-slot-games__btn-primary:hover {
    background: #005a2e; /* Darker green on hover */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__feature-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: var(--secondary-color);
}

.page-slot-games__feature-item:hover {
    transform: translateY(-5px);
}

.page-slot-games__feature-item img {
    
    
    margin-bottom: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Makes icons white on dark background */
    max-width: 100%; /* Ensure responsiveness */
}

.page-slot-games__feature-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.page-slot-games__feature-item p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

/* FAQ Section */
.page-slot-games__faq-section {
    background-color: var(--background-light);
}

.page-slot-games__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: left;
}

.page-slot-games__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 20px;
    opacity: 0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 2000px !important;
    padding: 20px !important;
    opacity: 1;
    background: var(--secondary-color);
    border-radius: 0 0 8px 8px;
    border-top: 1px solid #e0e0e0;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--secondary-color);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-slot-games__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-slot-games__faq-question:active {
    background: #eeeeee;
}

.page-slot-games__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--primary-color);
}

.page-slot-games__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg); /* Change to X or rotate + */
}

/* Latest News Section */
.page-slot-games__latest-news {
    background-color: var(--background-light);
}

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

.page-slot-games__news-card {
    background: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.page-slot-games__news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games__news-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #e0e0e0;
}

.page-slot-games__news-card h3 {
    padding: 20px 25px 10px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.page-slot-games__news-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games__news-card h3 a:hover {
    color: #005a2e;
}

.page-slot-games__news-excerpt {
    padding: 0 25px 15px;
    font-size: 16px;
    color: var(--text-dark);
}

.page-slot-games__read-more {
    display: inline-block;
    padding: 10px 25px 20px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
}

.page-slot-games__read-more:hover {
    color: #005a2e;
    text-decoration: underline;
}

.page-slot-games__view-all-news {
    margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: 44px;
    }
    .page-slot-games__hero-description {
        font-size: 18px;
    }
    .page-slot-games__section-title {
        font-size: 32px;
    }
    .page-slot-games__text-block, .page-slot-games__list li, .page-slot-games__list-styled li, .page-slot-games__faq-answer p {
        font-size: 16px;
    }
    .page-slot-games__card-title {
        font-size: 22px;
    }
    .page-slot-games__news-card h3 {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__main-title {
        font-size: 34px;
        margin-bottom: 15px;
    }
    .page-slot-games__hero-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-slot-games__cta-button {
        padding: 14px 35px;
        font-size: 18px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-slot-games__section {
        padding: 40px 0;
    }
    .page-slot-games__section-title {
        font-size: 28px;
    }
    .page-slot-games__text-block {
        text-align: left;
    }
    .page-slot-games__image {
        margin: 20px auto;
    }
    .page-slot-games__card {
        padding: 20px;
    }
    .page-slot-games__card-image {
        height: 180px;
    }
    .page-slot-games__btn-secondary {
        padding: 10px 20px;
        font-size: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-slot-games__btn-primary {
        padding: 14px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-slot-games__list li {
        padding: 12px 20px 12px 40px;
        font-size: 15px;
    }
    .page-slot-games__list li::before {
        width: 24px;
        height: 24px;
        font-size: 13px;
        left: 10px;
    }
    .page-slot-games__list-styled {
        padding-left: 20px;
    }
    .page-slot-games__feature-item img {
        
        
    }
    .page-slot-games__feature-item h3 {
        font-size: 20px;
    }
    .page-slot-games__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-slot-games__faq-question h3 {
        font-size: 16px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-slot-games__faq-toggle {
        margin-left: 10px;
        width: 28px;
        height: 28px;
        font-size: 24px;
    }
    .page-slot-games__faq-answer {
        padding: 0 15px;
    }
    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 15px !important;
    }
    .page-slot-games__news-image {
        height: 180px;
    }
    .page-slot-games__news-card h3 {
        padding: 15px 20px 8px;
        font-size: 17px;
    }
    .page-slot-games__news-excerpt {
        padding: 0 20px 12px;
        font-size: 15px;
    }
    .page-slot-games__read-more {
        padding: 8px 20px 15px;
        font-size: 14px;
    }
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-slot-games__section, .page-slot-games__card, .page-slot-games__container, .page-slot-games__feature-item, .page-slot-games__news-card, .page-slot-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__view-all-news {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: 15px;
        margin-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-slot-games__main-title {
        font-size: 28px;
    }
    .page-slot-games__section-title {
        font-size: 24px;
    }
    .page-slot-games__hero-image img {
        border-radius: 8px;
    }
    .page-slot-games__card-title {
        font-size: 20px;
    }
    .page-slot-games__news-card h3 {
        font-size: 16px;
    }
}