:root {
    --page-bg: #08160F;
    --card-bg: #11271B;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
    --primary-color: #11A84E;
    --secondary-color: #22C768;
}

.page-slot-games {
    background-color: var(--page-bg);
    color: var(--text-main);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page-slot-games__hero-section,
.page-slot-games__introduction-section,
.page-slot-games__game-types-section,
.page-slot-games__how-to-play-section,
.page-slot-games__tips-section,
.page-slot-games__promotions-section,
.page-slot-games__why-choose-section,
.page-slot-games__faq-section,
.page-slot-games__cta-bottom-section {
    padding: 60px 20px;
}

.page-slot-games__hero-section {
    padding-top: 10px; /* Small top padding for the first section */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-slot-games__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 2;
    padding: 0 15px;
}

.page-slot-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-slot-games__hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-tertiary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-block;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-slot-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: var(--glow-color);
    border: 2px solid var(--glow-color);
    box-shadow: 0 0 10px rgba(87, 227, 141, 0.3);
}

.page-slot-games__btn-secondary:hover {
    background-color: var(--glow-color);
    color: var(--page-bg);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.6);
}

.page-slot-games__btn-tertiary {
    background-color: var(--deep-green);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.page-slot-games__btn-tertiary:hover {
    background-color: var(--border-color);
    color: var(--text-main);
}

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

.page-slot-games__section-title {
    font-size: 2.5rem;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

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

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

.page-slot-games__game-types-grid,
.page-slot-games__tips-grid,
.page-slot-games__promotions-grid,
.page-slot-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-slot-games__game-type-card,
.page-slot-games__tip-card,
.page-slot-games__promotion-card,
.page-slot-games__feature-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding-bottom: 20px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__game-type-card:hover,
.page-slot-games__tip-card:hover,
.page-slot-games__promotion-card:hover,
.page-slot-games__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-slot-games__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.page-slot-games__card-title {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-slot-games__card-description {
    font-size: 1rem;
    color: var(--text-secondary);
    padding: 0 15px;
    margin-bottom: 20px;
}

.page-slot-games__feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
}

.page-slot-games__feature-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-slot-games__feature-title {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.page-slot-games__ordered-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.page-slot-games__ordered-list li {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
}

.page-slot-games__ordered-list li:before {
    content: counter(list-item);
    counter-increment: list-item;
    background-color: var(--glow-color);
    color: var(--page-bg);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.page-slot-games__list-strong {
    color: var(--text-main);
}

.page-slot-games__promotions-grid .page-slot-games__promotion-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-slot-games__promotions-grid .page-slot-games__btn-tertiary {
    margin: 0 15px 15px;
}

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

.page-slot-games__faq-list {
    margin-top: 30px;
}

.page-slot-games__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    color: var(--text-main);
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
    background-color: var(--deep-green);
}

.page-slot-games__faq-qtext {
    flex-grow: 1;
}

.page-slot-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--glow-color);
}

.page-slot-games__faq-answer {
    padding: 0 25px 20px;
    color: var(--text-secondary);
    font-size: 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-answer {
    max-height: 1000px;
    padding-top: 10px;
}

.page-slot-games__faq-item summary {
    list-style: none;
}
.page-slot-games__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-slot-games__cta-bottom-section {
    background-color: var(--deep-green);
    padding: 80px 20px;
    text-align: center;
}

.page-slot-games__cta-box {
    max-width: 900px;
}

.page-slot-games__cta-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
  filter: none !important; /* Ensure no CSS filter changes image color */
}

@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-slot-games__hero-section,
    .page-slot-games__introduction-section,
    .page-slot-games__game-types-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__tips-section,
    .page-slot-games__promotions-section,
    .page-slot-games__why-choose-section,
    .page-slot-games__faq-section,
    .page-slot-games__cta-bottom-section {
        padding: 40px 15px;
    }

    .page-slot-games__hero-content,
    .page-slot-games__container,
    .page-slot-games__cta-buttons,
    .page-slot-games__game-type-card,
    .page-slot-games__tip-card,
    .page-slot-games__promotion-card,
    .page-slot-games__feature-item {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-slot-games__main-title {
        font-size: 2rem;
    }

    .page-slot-games__hero-description {
        font-size: 1rem;
    }

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-tertiary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-slot-games__section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .page-slot-games__game-types-grid,
    .page-slot-games__tips-grid,
    .page-slot-games__promotions-grid,
    .page-slot-games__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__card-image {
        height: 180px;
    }

    .page-slot-games__card-title {
        font-size: 1.3rem;
    }

    .page-slot-games__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-slot-games__faq-answer {
        padding: 0 20px 15px;
    }

    .page-slot-games img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-slot-games video,
    .page-slot-games__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-slot-games__video-section,
    .page-slot-games__video-container,
    .page-slot-games__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    
    .page-slot-games__video-section {
      padding-top: 10px !important;
    }
    
    .page-slot-games__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
    }
}