/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

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

/* Section common styles */
.page-slot-games__hero-section,
.page-slot-games__intro-section,
.page-slot-games__video-section,
.page-slot-games__why-choose-section,
.page-slot-games__game-types-section,
.page-slot-games__guide-section,
.page-slot-games__strategy-section,
.page-slot-games__promotions-section,
.page-slot-games__faq-section {
    padding: 60px 0;
    position: relative;
    overflow: hidden; /* Prevent content overflow */
}

/* Dark section styles */
.page-slot-games__dark-section {
    background-color: #1a1a1a; /* Slightly lighter than body bg for subtle contrast */
    color: #ffffff;
}

/* Text colors for light backgrounds within sections */
.page-slot-games__intro-section,
.page-slot-games__game-types-section,
.page-slot-games__strategy-section,
.page-slot-games__faq-section {
    background-color: #ffffff;
    color: #333333;
}

/* Titles */
.page-slot-games__hero-title {
    font-size: 3.5em;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
}

.page-slot-games__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #26A9E0; /* Brand color for main section titles */
}

.page-slot-games__dark-section .page-slot-games__section-title {
    color: #ffffff;
}

.page-slot-games__card-title,
.page-slot-games__step-title,
.page-slot-games__promo-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #26A9E0; /* Brand color for card/step titles */
}

.page-slot-games__dark-section .page-slot-games__card-title,
.page-slot-games__dark-section .page-slot-games__step-title,
.page-slot-games__dark-section .page-slot-games__promo-title {
    color: #ffffff;
}

/* Paragraphs and lists */
.page-slot-games__text-block,
.page-slot-games__hero-description,
.page-slot-games__card-text,
.page-slot-games__step-text,
.page-slot-games__promo-description,
.page-slot-games p,
.page-slot-games li {
    font-size: 1.1em;
    margin-bottom: 15px;
}

/* Links within text */
.page-slot-games a {
    color: #26A9E0;
    text-decoration: none;
}

.page-slot-games a:hover {
    text-decoration: underline;
}

.page-slot-games__dark-section a {
    color: #ffffff;
}

/* Hero Section */
.page-slot-games__hero-section {
    background: linear-gradient(135deg, #26A9E0, #1a1a1a);
    color: #ffffff;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    position: relative;
}

.page-slot-games__hero-section .page-slot-games__container {
    position: relative;
    z-index: 2;
}

.page-slot-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 1;
}

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-primary {
    background-color: #EA7C07; /* Login color */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-slot-games__btn-primary:hover {
    background-color: #d46c00;
    border-color: #d46c00;
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-slot-games__btn-secondary:hover {
    background-color: #ffffff;
    color: #26A9E0;
    border-color: #ffffff;
}

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

.page-slot-games__btn-primary--center,
.page-slot-games__btn-secondary--center {
    margin: 0 auto;
    display: block; /* Make them block to center with margin auto */
    max-width: 300px; /* Limit width for centering */
}

/* Image common styles */
.page-slot-games__image-full {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Video Section */
.page-slot-games__video-section {
    background-color: #1a1a1a; /* Dark background for video */
    color: #ffffff;
    padding-bottom: 80px;
}
.page-slot-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 10px;
    margin: 0 auto 30px auto;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.page-slot-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
}

.page-slot-games__text-block--center {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

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

.page-slot-games__feature-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark section */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.page-slot-games__feature-card:hover {
    transform: translateY(-5px);
}

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

.page-slot-games__game-type-card {
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease;
    color: #333333; /* Ensure text is dark on light background */
}

.page-slot-games__game-type-card:hover {
    transform: translateY(-5px);
}

.page-slot-games__game-type-card .page-slot-games__card-title {
    color: #26A9E0;
}

.page-slot-games__game-type-card .page-slot-games__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 10px 10px 0 0;
}

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

.page-slot-games__guide-step-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

.page-slot-games__strategy-card {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    color: #333333;
    transition: transform 0.3s ease;
}

.page-slot-games__strategy-card:hover {
    transform: translateY(-5px);
}

.page-slot-games__strategy-card .page-slot-games__card-title {
    color: #26A9E0;
}

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

.page-slot-games__promo-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* FAQ Section */
.page-slot-games__faq-list {
    margin-top: 40px;
}

.page-slot-games__faq-item {
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #333333;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #f0f0f0;
    color: #333333;
}

.page-slot-games__faq-question:hover {
    background-color: #e5e5e5;
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

/* Details element specific styling */
.page-slot-games__faq-item[open] > .page-slot-games__faq-question .page-slot-games__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
}
.page-slot-games__faq-item[open] > .page-slot-games__faq-question {
    background-color: #e5e5e5;
}

.page-slot-games__faq-item summary {
    list-style: none; /* Remove default marker */
}
.page-slot-games__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for webkit browsers */
}

.page-slot-games__faq-answer {
    padding: 20px;
    padding-top: 0;
    font-size: 1.1em;
    color: #555555;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 3em;
    }
}