:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-dark: #121212;
    --bg-light: #f5f5f5;
    --border-color: #e0e0e0;
}

/* Reset & Base Styles */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Dark body background #121212, so use light text */
    background-color: var(--bg-dark);
    padding-top: 120px; /* Adjust for fixed header on desktop */
}

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

.page-slot-games__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-slot-games__section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-slot-games__hero-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #330000 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-slot-games__hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-slot-games__main-title {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.page-slot-games__hero-description {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games__cta-button {
    display: inline-block;
    padding: 15px 35px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-slot-games__cta-button--primary {
    background: var(--primary-color);
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
}

.page-slot-games__cta-button--primary:hover {
    background: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

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

.page-slot-games__cta-button--secondary:hover {
    background: var(--primary-color);
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Content Sections */
.page-slot-games__about-slots-section, 
.page-slot-games__game-categories-section, 
.page-slot-games__guide-section, 
.page-slot-games__strategy-section, 
.page-slot-games__promotions-section, 
.page-slot-games__security-section, 
.page-slot-games__mobile-app-section, 
.page-slot-games__faq-section, 
.page-slot-games__final-cta-section {
    padding: 60px 0;
    background-color: var(--bg-dark);
}

.page-slot-games__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-slot-games__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-slot-games__text-block {
    flex: 1;
    font-size: 17px;
    color: var(--text-light);
}

.page-slot-games__text-block p {
    margin-bottom: 15px;
}

.page-slot-games__image-block {
    flex: 1;
    text-align: center;
}

.page-slot-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    display: block;
    margin: 0 auto;
}

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

.page-slot-games__game-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-slot-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-slot-games__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__card-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__card-description {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 25px;
}

.page-slot-games__card-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-slot-games__card-button:hover {
    background: #e6c200;
    transform: translateY(-2px);
}

/* Guide Section */
.page-slot-games__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games__guide-item {
    background: rgba(255, 255, 255, 0.08);
    border-left: 5px solid var(--primary-color);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__guide-item-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__guide-item p {
    font-size: 16px;
    color: var(--text-light);
}

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

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

.page-slot-games__strategy-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-slot-games__strategy-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
}

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

.page-slot-games__strategy-item-title {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

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

.page-slot-games__promo-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-slot-games__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-slot-games__promo-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-slot-games__promo-card h3, .page-slot-games__promo-card p, .page-slot-games__promo-card a {
    padding: 0 25px;
}

.page-slot-games__promo-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__promo-description {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.page-slot-games__promo-button {
    display: block;
    width: calc(100% - 50px);
    margin: 0 25px 25px;
    padding: 12px 0;
    background: var(--primary-color);
    color: var(--text-dark);
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-slot-games__promo-button:hover {
    background: #e6c200;
    transform: translateY(-2px);
}

/* Mobile App Section */
.page-slot-games__cta-buttons--left {
    justify-content: flex-start;
    margin-top: 30px;
}

/* FAQ Section */
.page-slot-games__faq-section {
    background-color: var(--bg-dark);
}

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

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-slot-games__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-color);
}

.page-slot-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color);
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-slot-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  transform: rotate(45deg);
  color: var(--text-light);
}

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to accommodate content */
  padding: 20px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 5px 5px;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.page-slot-games__faq-answer p {
    color: var(--text-light);
    font-size: 16px;
    margin: 0;
}

/* Final CTA Section */
.page-slot-games__final-cta-section {
    background: linear-gradient(45deg, var(--secondary-color) 0%, #330000 100%);
    text-align: center;
    padding: 80px 0;
}

.page-slot-games__final-cta-section .page-slot-games__section-title {
    color: var(--primary-color);
}

.page-slot-games__final-cta-section .page-slot-games__section-subtitle {
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: 40px;
    }
    .page-slot-games__section-title {
        font-size: 30px;
    }
    .page-slot-games__hero-description, .page-slot-games__section-subtitle {
        font-size: 18px;
    }
    .page-slot-games__content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .page-slot-games__content-wrapper--reverse {
        flex-direction: column-reverse;
    }
    .page-slot-games__image-block {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .page-slot-games {
        padding-top: 100px !important; /* Adjust for fixed header on mobile */
        font-size: 16px;
        line-height: 1.6;
    }
    .page-slot-games__container {
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-slot-games__hero-section {
        padding: 60px 0;
    }
    .page-slot-games__main-title {
        font-size: 32px;
    }
    .page-slot-games__hero-description {
        font-size: 16px;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    .page-slot-games__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 16px !important;
    }
    .page-slot-games__section-title {
        font-size: 24px;
    }
    .page-slot-games__section-subtitle {
        font-size: 15px;
        margin-bottom: 20px;
    }
    .page-slot-games__text-block {
        font-size: 15px;
    }
    .page-slot-games__image {
        max-width: 100% !important;
        height: auto !important;
        border-radius: 8px;
    }
    .page-slot-games__game-grid, .page-slot-games__strategy-grid, .page-slot-games__promo-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-games__card-image {
        height: 180px;
    }
    .page-slot-games__card-title {
        font-size: 20px;
    }
    .page-slot-games__guide-item {
        padding: 20px;
    }
    .page-slot-games__guide-item-title {
        font-size: 18px;
    }
    .page-slot-games__strategy-icon {
        width: 60px;
        height: 60px;
    }
    .page-slot-games__strategy-item-title {
        font-size: 18px;
    }
    .page-slot-games__promo-image {
        height: 180px;
    }
    .page-slot-games__promo-title {
        font-size: 20px;
    }
    .page-slot-games__promo-button {
        width: calc(100% - 30px) !important;
        margin: 0 15px 15px;
        padding: 10px 0 !important;
        font-size: 15px !important;
    }

    /* FAQ Mobile */
    .page-slot-games__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-slot-games__faq-question h3 {
        font-size: 16px;
        width: calc(100% - 40px);
    }
    
    .page-slot-games__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 22px;
    }
    
    .page-slot-games__faq-answer {
        padding: 0 15px;
    }
    
    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 15px !important;
    }
    .page-slot-games__faq-answer p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .page-slot-games__main-title {
        font-size: 28px;
    }
    .page-slot-games__hero-description {
        font-size: 15px;
    }
    .page-slot-games__section-title {
        font-size: 22px;
    }
}