/* style/slot-games.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text color for dark body background */
    background-color: #0a0a0a; /* Ensure consistency with body background from shared.css */
}

/* Container for general content, ensures max-width and centering */
.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;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-slot-games__hero-link-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: block;
}

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-slot-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.page-slot-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-slot-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-slot-games__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Ensure buttons wrap on small screens */
}

/* General Section Styles */
.page-slot-games__section {
    padding: 60px 0;
    background-color: #0d0d0d; /* Slightly lighter dark background for sections */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__section:last-of-type {
    border-bottom: none;
}

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

.page-slot-games__section-text {
    font-size: 1.1em;
    color: #e0e0e0; /* Lighter grey for paragraph text */
    margin-bottom: 20px;
    text-align: justify;
}

/* Feature Cards (Why Choose Section) */
.page-slot-games__why-choose {
    background-color: #1a1a1a; /* Darker background for distinction */
}

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

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

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

.page-slot-games__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px; /* Slightly rounded corners for images */
}

.page-slot-games__feature-title {
    font-size: 1.5em;
    color: #017439; /* Brand color for feature titles */
    margin-bottom: 15px;
}

.page-slot-games__feature-description {
    color: #cccccc;
    font-size: 1em;
}

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

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

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

.page-slot-games__game-image {
    width: 100%;
    height: 180px; /* Fixed height for game images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

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

.page-slot-games__game-link {
    color: #017439; /* Brand color for game titles/links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games__game-link:hover {
    color: #02a353; /* Lighter shade on hover */
    text-decoration: underline;
}

.page-slot-games__game-description {
    color: #cccccc;
    font-size: 0.95em;
}

/* How to Play Section */
.page-slot-games__how-to-play {
    background-color: #0d0d0d;
}

.page-slot-games__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games__step-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.page-slot-games__step-title {
    font-size: 1.6em;
    color: #017439;
    margin-bottom: 10px;
}

.page-slot-games__step-description {
    color: #cccccc;
    font-size: 1em;
}

/* Promotions Section */
.page-slot-games__promotions {
    background-color: #1a1a1a;
}

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

.page-slot-games__promo-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__promo-title {
    font-size: 1.6em;
    color: #017439;
    margin-bottom: 10px;
}

.page-slot-games__promo-description {
    color: #cccccc;
    font-size: 1em;
}

/* FAQ Section */
.page-slot-games__faq {
    background-color: #0d0d0d;
}

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

.page-slot-games__faq-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    color: #017439; /* Brand color for FAQ questions */
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    list-style: none; /* Remove default marker */
    -webkit-tap-highlight-color: transparent; /* Prevent tap highlight on mobile */
}

/* For details tag, hide default arrow */
.page-slot-games__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-slot-games__faq-item summary {
    list-style: none;
}

.page-slot-games__faq-qtext {
    flex-grow: 1;
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #ffffff;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-slot-games__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: #cccccc;
    background: rgba(255, 255, 255, 0.03);
}

.page-slot-games__faq-answer p {
    margin-bottom: 10px;
}
.page-slot-games__faq-answer p:last-child {
    margin-bottom: 0;
}


/* CTA Final Section */
.page-slot-games__cta-final {
    background-color: #017439; /* Brand primary color for final CTA */
    text-align: center;
    padding: 80px 0;
}

.page-slot-games__cta-final .page-slot-games__section-title {
    color: #ffffff; /* White text on brand color background */
}

.page-slot-games__cta-final .page-slot-games__section-text {
    color: #f0f0f0;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
}

.page-slot-games__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}