:root {
    --primary-color: #E44D26;
    --secondary-color: #333333;
    --text-color-light: #ffffff;
    --text-color-dark: #333333;
    --background-dark: #121212;
    --card-bg-dark: rgba(255, 255, 255, 0.08);
    --border-color-dark: rgba(255, 255, 255, 0.15);
}

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

/* General Section Styling */
.page-slot-games__section {
    padding: 60px 20px;
    text-align: center;
}

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

.page-slot-games h1,
.page-slot-games h2,
.page-slot-games h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-slot-games h1 {
    font-size: 3.2em;
    font-weight: 700;
    color: var(--text-color-light);
}

.page-slot-games h2 {
    font-size: 2.5em;
    font-weight: 600;
    color: var(--primary-color);
}

.page-slot-games h3 {
    font-size: 1.8em;
    font-weight: 500;
    color: var(--text-color-light);
}

.page-slot-games p {
    font-size: 1.1em;
    color: var(--text-color-light);
    margin-bottom: 1em;
}

.page-slot-games a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games a:hover {
    color: #FFD700; /* Gold color for hover */
}

/* CTA Buttons */
.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-slot-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.page-slot-games__btn-primary {
    background: var(--primary-color);
    color: var(--text-color-light);
}

.page-slot-games__btn-primary:hover {
    background: #c23e1e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-secondary {
    background: var(--secondary-color);
    color: var(--text-color-light);
    border: 1px solid var(--primary-color);
}

.page-slot-games__btn-secondary:hover {
    background: #555555;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Video Section */
.page-slot-games__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background: var(--background-dark);
}

.page-slot-games__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-slot-games__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-games__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-slot-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  object-fit: cover;
  pointer-events: none; /* Prevent video controls from blocking click */
}

.page-slot-games__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-slot-games__video-link:hover .page-slot-games__video-overlay {
  opacity: 1;
}

.page-slot-games__video-click-hint {
  color: #ffffff;
  font-size: 1.5em;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  padding: 15px 30px;
  background: rgba(228, 77, 38, 0.8);
  border-radius: 10px;
  white-space: nowrap;
}

.page-slot-games__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-slot-games__play-now-button {
  display: inline-block;
  padding: 18px 50px;
  background: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 1.4em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}

.page-slot-games__play-now-button:hover {
  background: #c23e1e;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Hero Section */
.page-slot-games__hero-section {
    padding: 80px 20px;
    text-align: center;
    background: var(--background-dark);
}

.page-slot-games__hero-description {
    font-size: 1.25em;
    max-width: 900px;
    margin: 20px auto 0;
    color: rgba(255, 255, 255, 0.85);
}

/* Features Section */
.page-slot-games__features-section {
    padding: 80px 20px;
    background: var(--secondary-color);
    color: var(--text-color-light);
}

.page-slot-games__features-title {
    color: var(--primary-color);
    margin-bottom: 50px;
}

.page-slot-games__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-slot-games__feature-item {
    background: var(--card-bg-dark);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__feature-item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px;
}

.page-slot-games__feature-item-title {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-slot-games__feature-item-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1em;
}

/* Popular Games Section */
.page-slot-games__popular-games-section {
    padding: 80px 20px;
    background: var(--background-dark);
}

.page-slot-games__popular-games-title {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-slot-games__popular-games-description {
    font-size: 1.15em;
    max-width: 800px;
    margin: 0 auto 50px;
    color: rgba(255, 255, 255, 0.85);
}

.page-slot-games__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.page-slot-games__game-card {
    background: var(--card-bg-dark);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

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

.page-slot-games__game-card img {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px;
}

.page-slot-games__game-card-title {
    font-size: 1.6em;
    margin: 20px 20px 10px;
}

.page-slot-games__game-card-title a {
    color: var(--primary-color);
}

.page-slot-games__game-card-title a:hover {
    color: #FFD700;
}

.page-slot-games__game-card-text {
    color: rgba(255, 255, 255, 0.7);
    padding: 0 20px 20px;
    font-size: 0.95em;
}

.page-slot-games__view-all-cta {
    margin-top: 40px;
}

/* Strategy Section */
.page-slot-games__strategy-section {
    padding: 80px 20px;
    background: var(--secondary-color);
}

.page-slot-games__strategy-title {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-slot-games__strategy-description {
    font-size: 1.15em;
    max-width: 800px;
    margin: 0 auto 50px;
    color: rgba(255, 255, 255, 0.85);
}

.page-slot-games__strategy-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.page-slot-games__strategy-item {
    background: var(--card-bg-dark);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color-dark);
}

.page-slot-games__strategy-item h3 {
    color: var(--primary-color);
    font-size: 1.4em;
    margin-bottom: 10px;
}

.page-slot-games__strategy-item p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1em;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 80px 20px;
    background: var(--background-dark);
}

.page-slot-games__promotions-title {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-slot-games__promotions-description {
    font-size: 1.15em;
    max-width: 800px;
    margin: 0 auto 50px;
    color: rgba(255, 255, 255, 0.85);
}

.page-slot-games__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-slot-games__promo-card {
    background: var(--card-bg-dark);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

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

.page-slot-games__promo-card img {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games__promo-card-title {
    font-size: 1.6em;
    margin: 20px 20px 10px;
}

.page-slot-games__promo-card-title a {
    color: var(--primary-color);
}

.page-slot-games__promo-card-title a:hover {
    color: #FFD700;
}

.page-slot-games__promo-card-text {
    color: rgba(255, 255, 255, 0.7);
    padding: 0 20px 20px;
    font-size: 0.95em;
}

.page-slot-games__promo-button {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 12px 0;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    white-space: normal;
    word-wrap: break-word;
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 80px 20px;
    background: var(--secondary-color);
}

.page-slot-games__faq-title {
    color: var(--primary-color);
    margin-bottom: 50px;
}

.page-slot-games__faq-list {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--card-bg-dark);
  border: 1px solid var(--border-color-dark);
}

.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;
  color: rgba(255, 255, 255, 0.75);
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--card-bg-dark);
  border-radius: 10px;
  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);
}

.page-slot-games__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

.page-slot-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-color-light);
  pointer-events: none;
}

.page-slot-games__faq-toggle {
  font-size: 2em;
  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;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  color: #FFD700;
  transform: rotate(45deg);
}

/* Brand Intro Section */
.page-slot-games__brand-intro-section {
    padding: 80px 20px;
    background: var(--background-dark);
}

.page-slot-games__brand-intro-title {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-slot-games__brand-intro-description {
    font-size: 1.15em;
    max-width: 900px;
    margin: 0 auto 50px;
    color: rgba(255, 255, 255, 0.85);
}

.page-slot-games__brand-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.page-slot-games__value-item {
    background: var(--card-bg-dark);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__value-title {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-slot-games__value-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1em;
}

.page-slot-games__brand-cta {
    margin-top: 40px;
}

/* Blog Section */
.page-slot-games__blog-section {
    padding: 80px 20px;
    background: var(--secondary-color);
}

.page-slot-games__blog-title {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-slot-games__blog-description {
    font-size: 1.15em;
    max-width: 800px;
    margin: 0 auto 50px;
    color: rgba(255, 255, 255, 0.85);
}

.page-slot-games__blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.page-slot-games__blog-item {
    background: var(--card-bg-dark);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

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

.page-slot-games__blog-item img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games__blog-item-content {
    padding: 20px;
}

.page-slot-games__blog-item-title {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.page-slot-games__blog-item-title a {
    color: var(--text-color-light);
}

.page-slot-games__blog-item-title a:hover {
    color: var(--primary-color);
}

.page-slot-games__blog-item-excerpt {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95em;
    margin-bottom: 15px;
}

.page-slot-games__blog-item-date {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.5);
}

.page-slot-games__view-all-news-cta {
    margin-top: 40px;
}

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

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .page-slot-games {
        font-size: 15px;
        line-height: 1.5;
    }

    .page-slot-games h1 {
        font-size: 2.2em;
    }

    .page-slot-games h2 {
        font-size: 1.8em;
    }

    .page-slot-games h3 {
        font-size: 1.4em;
    }

    .page-slot-games__video-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 30px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .page-slot-games__video-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden !important;
    }
    
    .page-slot-games__video-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .page-slot-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 8px;
        overflow: hidden !important;
    }
    
    .page-slot-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 8px;
        object-fit: contain; /* Ensure video is fully visible */
    }

    .page-slot-games__video-click-hint {
        font-size: 1.1em;
        padding: 10px 20px;
    }

    .page-slot-games__video-cta {
        margin-top: 20px;
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .page-slot-games__play-now-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 15px 30px !important;
        font-size: 1.2em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-slot-games__hero-section,
    .page-slot-games__features-section,
    .page-slot-games__popular-games-section,
    .page-slot-games__strategy-section,
    .page-slot-games__promotions-section,
    .page-slot-games__faq-section,
    .page-slot-games__brand-intro-section,
    .page-slot-games__blog-section {
        padding: 40px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }

    .page-slot-games__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 25px;
        font-size: 1.1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-slot-games__feature-item,
    .page-slot-games__game-card,
    .page-slot-games__promo-card,
    .page-slot-games__value-item,
    .page-slot-games__blog-item {
        margin-bottom: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .page-slot-games__feature-item img,
    .page-slot-games__game-card img,
    .page-slot-games__promo-card img,
    .page-slot-games__blog-item img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-slot-games__game-card-title,
    .page-slot-games__promo-card-title {
        font-size: 1.4em;
        margin: 15px 15px 10px;
    }

    .page-slot-games__game-card-text,
    .page-slot-games__promo-card-text {
        padding: 0 15px 15px;
        font-size: 0.9em;
    }

    .page-slot-games__promo-button {
        width: calc(100% - 30px);
        margin: 0 15px 15px;
        padding: 10px 0;
        font-size: 1em;
    }

    .page-slot-games__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-slot-games__faq-question h3 {
        font-size: 1.1em;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-slot-games__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 1.8em;
    }
    
    .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__blog-item-content {
        padding: 15px;
    }

    .page-slot-games__blog-item-title {
        font-size: 1.2em;
    }

    .page-slot-games__blog-item-excerpt {
        font-size: 0.85em;
    }

    .page-slot-games__view-all-cta,
    .page-slot-games__view-all-news-cta,
    .page-slot-games__brand-cta {
        margin-top: 30px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}