:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --bg-color: #0D0E12;
    --card-bg-color: #17191F;
    --text-main-color: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange-color: #D96800;
    --header-offset: 0; /* Will be set by shared.css */
}

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

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

/* 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: 10px; /* Small top padding, body handles header offset */
    background: linear-gradient(180deg, var(--bg-color) 0%, #1a0a00 100%);
    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;
    position: relative;
    z-index: 1;
}

.page-slot-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 900px;
    padding: 0 15px;
}

.page-slot-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 700;
    color: var(--text-main-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.page-slot-games__subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 243, 230, 0.9);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-slot-games__cta-button:hover {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--deep-orange-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-primary {
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
    color: #ffffff;
    border: none;
}

.page-slot-games__btn-primary:hover {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--deep-orange-color) 100%);
}

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

.page-slot-games__btn-secondary:hover {
    background: var(--secondary-color);
    color: #ffffff;
}

/* General Section Styling */
.page-slot-games__section {
    padding: 60px 0;
    position: relative;
}

.page-slot-games__section--intro,
.page-slot-games__section--promotions,
.page-slot-games__section--support {
    background-color: var(--bg-color);
}

.page-slot-games__section--features,
.page-slot-games__section--types,
.page-slot-games__section--security,
.page-slot-games__section--faq,
.page-slot-games__section--cta-final {
    background-color: var(--card-bg-color);
}

.page-slot-games__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-main-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.page-slot-games__text-block {
    font-size: 1.1rem;
    color: rgba(255, 243, 230, 0.8);
    text-align: justify;
    margin-bottom: 25px;
    line-height: 1.7;
}

.page-slot-games__image-wrapper {
    margin: 30px 0;
    text-align: center;
}

.page-slot-games__image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
}

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

.page-slot-games__card {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    color: var(--text-main-color);
}

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

.page-slot-games__card-title {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-slot-games__card p {
    font-size: 1rem;
    color: rgba(255, 243, 230, 0.7);
    line-height: 1.6;
}

/* Promo Card Specific */
.page-slot-games__promo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__promo-card .page-slot-games__btn-primary {
    margin-top: 20px;
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    font-size: 1rem;
}

/* Lists */
.page-slot-games__ordered-list,
.page-slot-games__unordered-list {
    list-style-type: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.page-slot-games__ordered-list li,
.page-slot-games__unordered-list li {
    font-size: 1.1rem;
    color: rgba(255, 243, 230, 0.8);
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.page-slot-games__ordered-list li:last-child,
.page-slot-games__unordered-list li:last-child {
    margin-bottom: 0;
}

.page-slot-games__ordered-list li::before {
    content: counter(list-item) ". ";
    counter-increment: list-item;
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.page-slot-games__unordered-list li::before {
    content: "\2022"; /* Bullet point */
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5em;
    line-height: 1;
}

.page-slot-games__support-list li {
    font-size: 1.1rem;
    color: rgba(255, 243, 230, 0.8);
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.page-slot-games__support-list li::before {
    content: "\2022"; /* Bullet point */
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5em;
    line-height: 1;
}

/* FAQ Section */
details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
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 0.3s ease;
  color: var(--text-main-color);
}
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(255, 140, 26, 0.1);
  color: var(--secondary-color);
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-slot-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--secondary-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: rgba(23, 25, 31, 0.8);
  border-radius: 0 0 10px 10px;
  color: rgba(255, 243, 230, 0.75);
  font-size: 1rem;
}

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

    .page-slot-games__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games__main-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .page-slot-games__subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }

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

    .page-slot-games__cta-button,
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .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: 12px 20px;
        font-size: 16px;
    }

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

    .page-slot-games__section {
        padding: 40px 0;
    }

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

    .page-slot-games__text-block {
        font-size: 1rem;
        text-align: left;
    }

    .page-slot-games__image-wrapper img,
    .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-grid,
    .page-slot-games__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

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

    .page-slot-games__ordered-list li,
    .page-slot-games__unordered-list li,
    .page-slot-games__support-list li {
        font-size: 1rem;
        padding-left: 25px;
    }

    details.page-slot-games__faq-item summary.page-slot-games__faq-question {
        padding: 15px 20px;
    }

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

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

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