/* style/slot-games.css */

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

/* Base styles for the page content */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--page-slot-games-text-main); /* Default text color for dark background */
    background-color: var(--page-slot-games-deep-navy-color); /* Matches shared body background */
}

/* General container for content sections */
.page-slot-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section styling */
.page-slot-games__hero-section,
.page-slot-games__intro-section,
.page-slot-games__game-showcase,
.page-slot-games__guide-section,
.page-slot-games__promotions-section,
.page-slot-games__tips-section,
.page-slot-games__faq-section,
.page-slot-games__cta-banner {
    padding: 60px 0;
    text-align: center;
}

/* Dark background sections */
.page-slot-games__dark-section {
    background-color: var(--page-slot-games-primary-color);
    color: var(--page-slot-games-text-main);
}

/* Light background sections */
.page-slot-games__light-bg {
    background-color: var(--page-slot-games-text-main); /* Using a very light background for contrast */
    color: #333333; /* Dark text for light background */
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding-top: 10px; /* Small top padding */
    overflow: hidden;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: cover;
    display: block;
    margin-bottom: 30px; /* Space between image and content */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-slot-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    color: var(--page-slot-games-gold-color);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
}

.page-slot-games__description {
    font-size: 1.15rem;
    color: var(--page-slot-games-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Titles */
.page-slot-games__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--page-slot-games-gold-color);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.page-slot-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--page-slot-games-gold-color);
    border-radius: 2px;
}

.page-slot-games__light-bg .page-slot-games__section-title {
    color: var(--page-slot-games-primary-color);
}
.page-slot-games__light-bg .page-slot-games__section-title::after {
    background: var(--page-slot-games-primary-color);
}

.page-slot-games__text-block {
    font-size: 1.05rem;
    color: var(--page-slot-games-text-secondary);
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.page-slot-games__light-bg .page-slot-games__text-block {
    color: #555555;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-play,
.page-slot-games__btn-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-slot-games__btn-primary {
    background: var(--page-slot-games-button-gradient);
    color: var(--page-slot-games-text-main);
    border: 2px solid transparent;
}

.page-slot-games__btn-primary:hover {
    background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__btn-secondary:hover {
    background: var(--page-slot-games-gold-color);
    color: var(--page-slot-games-primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-play {
    background: var(--page-slot-games-gold-color);
    color: var(--page-slot-games-primary-color);
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    margin-top: 15px;
}

.page-slot-games__btn-play:hover {
    background: var(--page-slot-games-glow-color);
    color: #ffffff;
    transform: translateY(-2px);
}

.page-slot-games__btn-link {
    background: none;
    color: var(--page-slot-games-secondary-color);
    border: none;
    padding: 0;
    font-size: 1rem;
    text-decoration: underline;
    display: block;
    margin-top: 10px;
}
.page-slot-games__btn-link:hover {
    color: var(--page-slot-games-glow-color);
}

/* Features Grid */
.page-slot-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-slot-games__feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333; /* Dark text for light background */
}

.page-slot-games__feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-slot-games__feature-icon {
    width: 200px; /* Minimum 200px */
    height: 200px; /* Minimum 200px */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

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

.page-slot-games__feature-description {
    font-size: 1rem;
    color: #666666;
}

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

.page-slot-games__game-card {
    background-color: var(--page-slot-games-card-bg);
    border: 1px solid var(--page-slot-games-border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 20px;
}

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

.page-slot-games__game-thumbnail {
    width: 100%;
    height: 200px; /* Fixed height for consistency, min 200px */
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-slot-games__game-title {
    font-size: 1.4rem;
    color: var(--page-slot-games-gold-color);
    margin-bottom: 8px;
    padding: 0 15px;
}

.page-slot-games__game-provider {
    font-size: 0.9rem;
    color: var(--page-slot-games-text-secondary);
    margin-bottom: 15px;
    padding: 0 15px;
}

.page-slot-games__more-games-cta {
    margin-top: 50px;
}

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

.page-slot-games__step-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    color: #333333;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-slot-games__step-title {
    font-size: 1.4rem;
    color: var(--page-slot-games-primary-color);
    margin-bottom: 15px;
    position: relative;
    padding-left: 35px;
}

.page-slot-games__step-title::before {
    content: attr(data-step-number); /* Use custom attribute for step number */
    position: absolute;
    left: 0;
    top: 0;
    background: var(--page-slot-games-gold-color);
    color: var(--page-slot-games-primary-color);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
}

.page-slot-games__step-card:nth-child(1) .page-slot-games__step-title::before { content: '1'; }
.page-slot-games__step-card:nth-child(2) .page-slot-games__step-title::before { content: '2'; }
.page-slot-games__step-card:nth-child(3) .page-slot-games__step-title::before { content: '3'; }
.page-slot-games__step-card:nth-child(4) .page-slot-games__step-title::before { content: '4'; }

.page-slot-games__step-description {
    font-size: 1rem;
    color: #666666;
    margin-bottom: 15px;
    flex-grow: 1;
}


/* Promotions Section */
.page-slot-games__promo-list {
    list-style: none;
    padding: 0;
    margin: 50px auto 0 auto;
    max-width: 900px;
}

.page-slot-games__promo-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    background-color: var(--page-slot-games-card-bg);
    border: 1px solid var(--page-slot-games-border-color);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    text-align: left;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__promo-icon {
    width: 200px; /* Min size */
    height: 200px; /* Min size */
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 8px;
}

.page-slot-games__promo-title {
    font-size: 1.4rem;
    color: var(--page-slot-games-gold-color);
    margin-bottom: 10px;
}

.page-slot-games__promo-description {
    font-size: 1rem;
    color: var(--page-slot-games-text-secondary);
}

.page-slot-games__more-promo-cta {
    margin-top: 50px;
}

/* Tips Section */
.page-slot-games__tips-list {
    list-style: none;
    padding: 0;
    margin: 50px auto 0 auto;
    max-width: 900px;
    text-align: left;
}

.page-slot-games__tip-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-slot-games__tip-title {
    font-size: 1.3rem;
    color: var(--page-slot-games-primary-color);
    margin-bottom: 10px;
}

.page-slot-games__tip-description {
    font-size: 1rem;
    color: #666666;
}

.page-slot-games__learn-more-cta {
    margin-top: 50px;
}

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

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--page-slot-games-gold-color);
    cursor: pointer;
    background-color: rgba(29, 95, 209, 0.1); /* Slight background for question */
    border-bottom: 1px solid var(--page-slot-games-divider-color);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}
/* Hide default details marker */
.page-slot-games__faq-item summary::-webkit-details-marker,
.page-slot-games__faq-item summary::marker {
    display: none;
    content: "";
}


.page-slot-games__faq-item[open] .page-slot-games__faq-question {
    background-color: rgba(29, 95, 209, 0.2);
    border-bottom: 1px solid var(--page-slot-games-gold-color);
}

.page-slot-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--page-slot-games-gold-color);
    transition: transform 0.3s ease;
}