:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --card-bg: #10233F;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy: #08162B; /* Body background color */
}

.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Light text for dark body background */
    background-color: var(--deep-navy);
}

.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: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
    background-color: var(--deep-navy);
}

.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;
}

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

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

.page-slot-games__main-title {
    color: var(--gold-color);
    font-size: clamp(2em, 5vw, 3.2em);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-slot-games__hero-description {
    font-size: 1.1em;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-slot-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

.page-slot-games__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-games__section {
    padding: 60px 20px;
    background-color: var(--deep-navy);
    border-bottom: 1px solid var(--divider-color);
}

.page-slot-games__section:last-of-type {
    border-bottom: none;
}

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

.page-slot-games__section-title {
    font-size: clamp(1.8em, 4vw, 2.8em);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-slot-games__text-block {
    font-size: 1.05em;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-slot-games__card-title {
    font-size: 1.5em;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-slot-games__card-text {
    font-size: 0.95em;
    color: var(--text-secondary);
    line-height: 1.7;
}

.page-slot-games__card-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-top: 20px;
    object-fit: cover;
}

.page-slot-games__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    margin-top: 50px;
    object-fit: cover;
}

.page-slot-games__benefit-list, .page-slot-games__guide-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
}

.page-slot-games__benefit-item, .page-slot-games__guide-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-slot-games__benefit-item:last-child, .page-slot-games__guide-item:last-child {
    margin-bottom: 0;
}

.page-slot-games__benefit-title, .page-slot-games__guide-title {
    font-size: 1.4em;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-slot-games__benefit-description, .page-slot-games__guide-text {
    font-size: 1em;
    color: var(--text-secondary);
    line-height: 1.7;
}

.page-slot-games__btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

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

.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: var(--gold-color);
    text-decoration: none;
    border: 2px solid var(--gold-color);
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-slot-games__btn-secondary:hover {
    background-color: rgba(242, 193, 78, 0.1);
    color: var(--gold-color);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(242, 193, 78, 0.2);
}

.page-slot-games__section--promotions .page-slot-games__btn-secondary {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

/* FAQ Styles */
details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  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: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main);
}
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(29, 95, 209, 0.1);
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--gold-color);
}
.page-slot-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}
details.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    transform: rotate(45deg);
}
details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 25px 25px;
  background: var(--card-bg);
  border-radius: 0 0 12px 12px;
  color: var(--text-secondary);
  font-size: 0.95em;
}

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

/* Responsive design */
@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games__hero-image img {
        border-radius: 8px;
    }

    .page-slot-games__main-title {
        font-size: clamp(2em, 8vw, 2.5em);
        margin-bottom: 10px;
    }

    .page-slot-games__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-slot-games__cta-button {
        padding: 12px 30px;
        font-size: 1em;
        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 15px;
    }

    .page-slot-games__section-title {
        font-size: clamp(1.5em, 6vw, 2em);
        margin-bottom: 30px;
    }

    .page-slot-games__text-block {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-slot-games__grid, .page-slot-games__promo-grid, .page-slot-games__safety-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__card {
        padding: 20px;
    }

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

    .page-slot-games__card-text {
        font-size: 0.9em;
    }

    .page-slot-games__benefit-item, .page-slot-games__guide-item {
        padding: 20px;
    }

    .page-slot-games__benefit-title, .page-slot-games__guide-title {
        font-size: 1.2em;
    }

    .page-slot-games__benefit-description, .page-slot-games__guide-text {
        font-size: 0.9em;
    }

    .page-slot-games__btn-primary, .page-slot-games__btn-secondary {
        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__faq-item summary.page-slot-games__faq-question {
        padding: 15px 20px;
    }

    .page-slot-games__faq-qtext {
        font-size: 1em;
    }

    .page-slot-games__faq-toggle {
        font-size: 24px;
        width: 25px;
    }

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

    /* Ensure all images are responsive on mobile */
    .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__promo-grid,
    .page-slot-games__safety-grid {
        flex-wrap: wrap !important;
        gap: 10px;
    }
}