/* style/slot-games.css */

/* General Styles */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Default text color for the page */
    background: var(--bg-color); /* Body background from shared.css */
}

.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: 700;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.3;
}

.page-slot-games__text-block {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 20px;
}

.page-slot-games__text-block--light {
    color: var(--text-main); /* Lighter text for dark sections */
}

.page-slot-games__card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.page-slot-games__card-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-main);
    margin-top: 15px;
    margin-bottom: 10px;
}

.page-slot-games__card-description {
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

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

/* Hero Section */
.page-slot-games__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    background: var(--bg-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
    margin-bottom: 30px;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    max-height: 675px; /* Limit height for large screens */
    border-radius: 0;
    object-fit: cover;
}

.page-slot-games__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.page-slot-games__main-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

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

.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%; /* Prevent overflow */
    box-sizing: border-box;
}

.page-slot-games__cta-buttons--centered {
    margin-top: 40px;
}

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

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

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

.page-slot-games__btn-secondary {
    background: 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: var(--glow-color);
    color: var(--deep-green-color);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.5);
}

.page-slot-games__btn-small {
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 6px;
    background: var(--button-gradient);
    color: #ffffff;
    margin-top: 20px;
}

.page-slot-games__btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(17, 168, 78, 0.4);
}

/* Introduction Section */
.page-slot-games__introduction-section {
    padding: 60px 0;
    background: var(--bg-color);
}

.page-slot-games__dark-section {
    background: var(--deep-green-color);
    color: var(--text-main);
}

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

/* Features Section */
.page-slot-games__features-section {
    padding: 80px 0;
    background: #0D201A; /* Slightly lighter dark background */
}

.page-slot-games__features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__feature-image {
    width: 100%;
    max-width: 200px; /* Constrain feature image size */
    height: auto;
    margin-bottom: 20px;
    border-radius: 50%; /* Make it circular */
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(17, 168, 78, 0.4);
}

/* Popular Games Section */
.page-slot-games__popular-games-section {
    padding: 80px 0;
    background: var(--deep-green-color);
}

.page-slot-games__games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__game-card {
    padding: 20px;
}

.page-slot-games__game-image {
    width: 100%;
    height: 200px; /* Fixed height for game images */
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 80px 0;
    background: #0D201A; /* Slightly lighter dark background */
}

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

details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 12px; /* Larger border radius for cards */
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px; /* Increased padding */
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main);
  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: rgba(var(--primary-color), 0.1); /* Subtle hover effect */
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 18px; /* Slightly larger font size */
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}
.page-slot-games__faq-toggle {
  font-size: 28px; /* Larger toggle icon */
  font-weight: bold;
  color: var(--glow-color); /* Use glow color for toggle */
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}
details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 25px 25px; /* Increased padding */
  background: rgba(var(--deep-green-color), 0.5); /* Slightly different background for answer */
  border-radius: 0 0 12px 12px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
}
.page-slot-games__faq-answer p {
    margin: 0;
}


/* Final CTA Section */
.page-slot-games__final-cta-section {
    padding: 80px 0;
    background: var(--primary-color); /* Use primary color for final CTA */
    text-align: center;
}

.page-slot-games__container--flex {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__section-title--no-margin {
    margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: 42px;
    }
    .page-slot-games__hero-description {
        font-size: 18px;
    }
    .page-slot-games__section-title {
        font-size: 32px;
    }
    .page-slot-games__features-grid,
    .page-slot-games__games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .page-slot-games__feature-card,
    .page-slot-games__game-card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    /* Hero Section */
    .page-slot-games__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
    }
    .page-slot-games__hero-content {
        padding: 0 15px 40px;
    }
    .page-slot-games__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-slot-games__hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-small,
    .page-slot-games a[class*="button"],
    .page-slot-games a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__cta-buttons,
    .page-slot-games__button-group,
    .page-slot-games__btn-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      flex-wrap: wrap !important;
      gap: 10px;
    }

    /* General Content */
    .page-slot-games__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-slot-games__section-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    .page-slot-games__text-block {
        font-size: 16px;
        margin-bottom: 15px;
    }

    /* Images */
    .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 {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
    .page-slot-games__feature-image {
        max-width: 150px;
    }
    .page-slot-games__game-image {
        height: 150px;
    }

    /* Sections */
    .page-slot-games__introduction-section,
    .page-slot-games__features-section,
    .page-slot-games__popular-games-section,
    .page-slot-games__faq-section,
    .page-slot-games__final-cta-section {
        padding: 40px 0;
    }

    /* Grids */
    .page-slot-games__features-grid,
    .page-slot-games__games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* FAQ */
    details.page-slot-games__faq-item summary.page-slot-games__faq-question { padding: 15px; }
    .page-slot-games__faq-qtext { font-size: 15px; }
    .page-slot-games__faq-toggle { font-size: 24px; margin-left: 10px; }
    details.page-slot-games__faq-item .page-slot-games__faq-answer { padding: 0 15px 15px; }
}