/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light body background */
    background-color: #ffffff; /* Explicitly set for content area if needed, but body is already white */
}

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

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

.page-slot-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-slot-games__keyword-highlight {
    font-weight: bold;
    color: #017439; /* Highlight keywords with brand color */
}

/* Section specific styles */
.page-slot-games__dark-section {
    background-color: #017439; /* Main brand color */
    color: #ffffff; /* White text for dark background */
    padding: 60px 0;
}

.page-slot-games__dark-section .page-slot-games__section-title,
.page-slot-games__dark-section .page-slot-games__keyword-highlight,
.page-slot-games__dark-section .page-slot-games__faq-question h3,
.page-slot-games__dark-section .page-slot-games__faq-toggle,
.page-slot-games__dark-section .page-slot-games__step-title,
.page-slot-games__dark-section .page-slot-games__promo-title,
.page-slot-games__dark-section .page-slot-games__hero-title {
    color: #ffffff; /* Ensure titles and highlights are white on dark sections */
}

.page-slot-games__light-bg {
    background-color: #ffffff; /* Auxiliary color / light background */
    color: #333333; /* Dark text for light background */
    padding: 60px 0;
}

/* Hero Section */
.page-slot-games__hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-slot-games__hero-content {
    flex: 1;
    padding: 40px;
    z-index: 1;
    max-width: 50%;
    box-sizing: border-box;
}

.page-slot-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-slot-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
}

.page-slot-games__cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-slot-games__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
}

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-play {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
}

.page-slot-games__btn-primary {
    background-color: #C30808; /* Red for primary action (Register/Login/Download) */
    color: #FFFF00; /* Yellow text for contrast */
    border: 2px solid #C30808;
}

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

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: #ffffff; /* White text on dark background */
    border: 2px solid #ffffff;
}

.page-slot-games__dark-section .page-slot-games__btn-secondary {
    color: #ffffff;
    border-color: #ffffff;
}
.page-slot-games__light-bg .page-slot-games__btn-secondary {
    color: #017439; /* Brand color for text on light background */
    border-color: #017439;
}

.page-slot-games__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}
.page-slot-games__light-bg .page-slot-games__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}


.page-slot-games__btn-play {
    background-color: #017439;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
}

.page-slot-games__btn-play:hover {
    background-color: #005a2e;
}

.page-slot-games__cta-center {
    text-align: center;
    margin-top: 40px;
}
.page-slot-games__cta-center .page-slot-games__btn-primary,
.page-slot-games__cta-center .page-slot-games__btn-secondary {
    min-width: 200px; /* Ensure buttons are a decent size */
}


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

.page-slot-games__feature-card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-slot-games__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #ffffff;
}

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

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

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

.page-slot-games__game-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-slot-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

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

.page-slot-games__game-title {
    font-size: 1.3em;
    margin: 15px 0 10px;
    font-weight: bold;
}
.page-slot-games__game-title a {
    color: #017439; /* Brand color for game titles */
    text-decoration: none;
}
.page-slot-games__game-title a:hover {
    text-decoration: underline;
}

.page-slot-games__game-description {
    font-size: 0.95em;
    color: #666666;
    padding: 0 15px 15px;
}

.page-slot-games__btn-play {
    margin-bottom: 20px;
}

/* Step List (How to Play) */
.page-slot-games__step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games__step-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 5px solid #ffffff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-slot-games__step-title {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: bold;
}
.page-slot-games__step-description {
    color: #f0f0f0;
}
.page-slot-games__step-description a {
    color: #FFFF00; /* Yellow for links on dark background */
    text-decoration: none;
}
.page-slot-games__step-description a:hover {
    text-decoration: underline;
}

/* Tips List */
.page-slot-games__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games__tip-item {
    background-color: #f9f9f9;
    border-left: 5px solid #017439;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-slot-games__tip-title {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: #017439;
    font-weight: bold;
}
.page-slot-games__tip-description {
    color: #333333;
}

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

.page-slot-games__promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-slot-games__promo-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #ffffff;
}

.page-slot-games__promo-description {
    font-size: 1em;
    color: #f0f0f0;
}
.page-slot-games__promo-description a {
    color: #FFFF00; /* Yellow for links on dark background */
    text-decoration: none;
}
.page-slot-games__promo-description a:hover {
    text-decoration: underline;
}

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

.page-slot-games__safety-item {
    background-color: #f9f9f9;
    border-left: 5px solid #017439;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
}