/* Base styles for the slot-games page */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--color-text-main, #F2FFF6); /* Main text color on dark background */
    background-color: var(--color-background-default, #08160F); /* Page background from custom colors */
}

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

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

.page-slot-games__section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--color-text-main, #F2FFF6);
    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: linear-gradient(90deg, #2AD16F 0%, #13994A 100%); /* Use button gradient for underline */
    border-radius: 2px;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, assuming body has padding-top from shared.css */
    background-color: var(--color-background-default, #08160F);
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for desktop */
    overflow: hidden;
}

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

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    padding: 40px 20px 60px;
    max-width: 900px;
    margin-top: -100px; /* Overlap image slightly, but text is below image in DOM */
    background: rgba(17, 39, 27, 0.9); /* Card BG with slight transparency */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border, #2E7A4E);
}

.page-slot-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    color: var(--color-gold, #F2C14E); /* Gold for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 800;
}

.page-slot-games__intro-description {
    font-size: 18px;
    color: var(--color-text-secondary, #A7D9B8);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word;
}

.page-slot-games__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button gradient */
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-slot-games__btn-secondary {
    background: var(--color-card-bg, #11271B); /* Card BG for secondary button */
    color: var(--color-text-main, #F2FFF6);
    border: 2px solid var(--color-glow, #57E38D); /* Glow color for border */
}

.page-slot-games__btn-secondary:hover {
    transform: translateY(-3px);
    background: var(--color-deep-green, #0A4B2C); /* Deep green on hover */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__benefit-card {
    background: var(--color-card-bg, #11271B); /* Custom card background */
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    border: 1px solid var(--color-border, #2E7A4E);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards have equal height */
    display: flex;
    flex-direction: column;
}

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

.page-slot-games__benefit-icon {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    display: block;
}

.page-slot-games__card-title {
    font-size: 24px;
    color: var(--color-gold, #F2C14E); /* Gold for card titles */
    margin-bottom: 15px;
    font-weight: 700;
}

.page-slot-games__card-text {
    font-size: 16px;
    color: var(--color-text-secondary, #A7D9B8);
    flex-grow: 1; /* Allow text to grow */
}

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

.page-slot-games__game-type-card {
    background: var(--color-card-bg, #11271B);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    border: 1px solid var(--color-border, #2E7A4E);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.page-slot-games__game-type-image {
    width: 100%;
    height: 180px; /* Fixed height for game type images */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    display: block;
}

/* Guide Section */
.page-slot-games__guide-steps {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.page-slot-games__guide-item {
    background: var(--color-card-bg, #11271B);
    border-radius: 15px;
    padding: 30px;
    text-align: left;
    border: 1px solid var(--color-border, #2E7A4E);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__guide-title {
    font-size: 26px;
    color: var(--color-gold, #F2C14E);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-slot-games__guide-text {
    font-size: 17px;
    color: var(--color-text-secondary, #A7D9B8);
    margin-bottom: 20px;
}

.page-slot-games__cta-buttons--inline {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
}

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

.page-slot-games__strategy-item {
    background: var(--color-card-bg, #11271B);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    border: 1px solid var(--color-border, #2E7A4E);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

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

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

.page-slot-games__promo-item {
    background: var(--color-card-bg, #11271B);
    border-radius: 15px;
    padding: 30px;
    text-align: left;
    border: 1px solid var(--color-border, #2E7A4E);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-slot-games__promo-title {
    font-size: 24px;
    color: var(--color-gold, #F2C14E);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-slot-games__promo-description {
    font-size: 16px;
    color: var(--color-text-secondary, #A7D9B8);
    flex-grow: 1;
}

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

.page-slot-games__btn-large {
    padding: 18px 40px;
    font-size: 20px;
}

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

details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--color-border, #2E7A4E);
  overflow: hidden;
  background: var(--color-card-bg, #11271B); /* Use card BG for FAQ item */
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--color-text-main, #F2FFF6); /* Main text color for question */
  font-weight: 600;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question:hover {
  background: var(--color-deep-green, #0A4B2C); /* Deep green on hover */
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 17px;
  line-height: 1.5;
  text-align: left;
  color: var(--color-text-main, #F2FFF6); /* Main text color */
}
.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--color-glow, #57E38D); /* Glow color for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 20px 20px;
  background: var(--color-deep-green, #0A4B2C); /* Deep green for answer background */
  border-radius: 0 0 5px 5px;
  color: var(--color-text-secondary, #A7D9B8); /* Secondary text color for answer */
  font-size: 16px;
  text-align: left;
}
.page-slot-games__faq-answer p {
    margin: 0;
}

/* Conclusion Section */
.page-slot-games__conclusion-text {
    font-size: 18px;
    color: var(--color-text-secondary, #A7D9B8);
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}


/* General image responsiveness */
.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Responsive Styles --- */

/* Tablet and smaller desktops */
@media (max-width: 1024px) {
    .page-slot-games__hero-content {
        margin-top: -80px;
        padding: 30px 20px 50px;
    }
    .page-slot-games__main-title {
        font-size: clamp(2.2rem, 4.5vw, 3rem);
    }
    .page-slot-games__intro-description {
        font-size: 17px;
    }
    .page-slot-games__section-title {
        font-size: 32px;
    }
    .page-slot-games__benefits-grid,
    .page-slot-games__game-types-grid,
    .page-slot-games__strategy-grid,
    .page-slot-games__promotions-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    .page-slot-games__benefit-card,
    .page-slot-games__game-type-card,
    .page-slot-games__strategy-item,
    .page-slot-games__promo-item {
        padding: 25px;
    }
    .page-slot-games__card-title,
    .page-slot-games__promo-title {
        font-size: 22px;
    }
    .page-slot-games__guide-title {
        font-size: 24px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-slot-games__btn-large {
        padding: 15px 35px;
        font-size: 18px;
    }
}

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

    /* HERO Main Image Area */
    .page-slot-games__hero-image {
        object-fit: contain !important; /* Prevent cropping on mobile */
        aspect-ratio: unset !important; /* Allow natural aspect ratio */
        height: auto !important; /* Ensure height is auto */
    }
    .page-slot-games__hero-section {
        padding-top: 10px;
    }
    .page-slot-games__hero-content {
        margin-top: -60px;
        padding: 25px 15px 40px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem); /* Smaller on mobile */
        margin-bottom: 15px;
    }
    .page-slot-games__intro-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }
}