:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --btn-register-bg: #C30808;
    --btn-login-bg: #C30808;
    --btn-font-color: #FFFF00;
    --background-color: #FFFFFF;
}

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

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

.page-slot-games__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-slot-games__section-title--light {
    color: var(--text-light);
}

.page-slot-games__section-title--light::after {
    background-color: var(--text-light);
}

/* 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);
    background-color: var(--primary-color); /* Dark green background for hero */
    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;
    width: 100%;
}

.page-slot-games__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.page-slot-games__hero-image img:hover {
    transform: scale(1.03);
}

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

.page-slot-games__hero-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--btn-font-color); /* Yellow for hero title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.page-slot-games__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-slot-games__btn-register,
.page-slot-games__btn-download {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-register {
    background: var(--btn-register-bg);
    color: var(--btn-font-color);
    border: 2px solid var(--btn-font-color);
}

.page-slot-games__btn-register:hover {
    background: #a30606; /* Slightly darker red */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-download {
    background: var(--btn-login-bg);
    color: var(--btn-font-color);
    border: 2px solid var(--btn-font-color);
}

.page-slot-games__btn-download:hover {
    background: #a30606; /* Slightly darker red */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-slot-games__intro-section,
.page-slot-games__advantages-section,
.page-slot-games__how-to-play-section,
.page-slot-games__promotions-section,
.page-slot-games__support-section,
.page-slot-games__faq-section,
.page-slot-games__news-section {
    padding: 80px 0;
}

.page-slot-games__light-bg {
    background-color: var(--background-color);
    color: var(--text-dark);
}

.page-slot-games__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

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

.page-slot-games__advantage-item {
    background-color: 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, box-shadow 0.3s ease;
}

.page-slot-games__advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-slot-games__advantage-item img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-slot-games__advantage-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--btn-font-color); /* Yellow for advantage titles */
    margin-bottom: 15px;
}

.page-slot-games__advantage-item p {
    font-size: 16px;
    color: var(--text-light);
}

/* How To Play Section */
.page-slot-games__steps-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.page-slot-games__steps-list li {
    margin-bottom: 30px;
    padding: 25px 30px;
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    padding-left: 80px;
    transition: all 0.3s ease;
}

.page-slot-games__steps-list li:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.page-slot-games__steps-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: var(--text-light);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-slot-games__step-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-slot-games__steps-list p {
    font-size: 16px;
    color: var(--text-dark);
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-slot-games__btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.page-slot-games__btn-primary:hover {
    background: #005c2d; /* Slightly darker primary green */
    border-color: #005c2d;
}

.page-slot-games__btn-secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-slot-games__btn-secondary:hover {
    background: #e6ffe6; /* Lighter background for secondary hover */
    color: #005c2d;
}

.page-slot-games__btn-register--small,
.page-slot-games__btn-download--small,
.page-slot-games__btn-primary--small {
    padding: 10px 20px;
    font-size: 15px;
    margin-top: 15px;
}

/* Promotions Section */
.page-slot-games__promotions-intro {
    text-align: center;
    font-size: 18px;
    margin-bottom: 50px;
    color: var(--text-light);
}

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

.page-slot-games__promotion-card {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-light);
}

.page-slot-games__promotion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-slot-games__promotion-card img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-slot-games__promotion-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--btn-font-color); /* Yellow for promotion titles */
    margin-bottom: 15px;
}

.page-slot-games__promotion-card p {
    font-size: 16px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-slot-games__cta-center {
    text-align: center;
    margin-top: 60px;
}

.page-slot-games__btn-primary--large {
    padding: 18px 45px;
    font-size: 18px;
    border-radius: 8px;
}

/* Support Section */
.page-slot-games__support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.page-slot-games__support-content p {
    margin-bottom: 20px;
    font-size: 17px;
}

.page-slot-games__support-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

/* FAQ Section */
.page-slot-games__faq-list {
    margin-top: 40px;
}

.page-slot-games__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.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 15px;
    opacity: 0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f0f0f0; /* Light background for FAQ answer */
    border-radius: 0 0 5px 5px;
    color: var(--text-dark);
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer p {
    color: var(--text-dark);
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--text-light);
}

.page-slot-games__faq-question:hover {
    background: #006030; /* Slightly darker primary green */
    border-color: rgba(255, 255, 255, 0.3);
}

.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(--text-light);
}

.page-slot-games__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: var(--btn-font-color); /* Yellow for toggle icon */
    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: 28px;
    height: 28px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    color: var(--btn-font-color);
    transform: rotate(45deg); /* Optional: rotate for 'x' effect */
}

.page-slot-games__faq-app-download-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

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