/* style/slot-games.css */

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

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

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

/* Section descriptions */
.page-slot-games__section-description {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 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;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-slot-games__btn-primary {
    background-color: #26A9E0; /* Main brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-slot-games__btn-primary:hover {
    background-color: #1e87c0;
    border-color: #1e87c0;
    transform: translateY(-2px);
}

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

.page-slot-games__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px;
    padding: 80px 20px;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for better text contrast */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

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

.page-slot-games__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

/* Video Section */
.page-slot-games__video-section {
    background-color: #1a1a1a; /* Darker background for video section */
    padding: 60px 0;
    text-align: center;
}

.page-slot-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto 30px auto;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

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

.page-slot-games__video-cta {
    margin-top: 20px;
}

/* Features Section */
.page-slot-games__features-section {
    padding: 80px 0;
    background-color: #0a0a0a;
}

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

.page-slot-games__feature-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff; /* Light text for card content */
}

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

.page-slot-games__feature-icon {
    width: 200px; /* Min size 200px */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    max-width: 100%;
    display: block;
}

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

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

/* Providers Section (dark background) */
.page-slot-games__providers-section {
    padding: 80px 0;
    background-color: #26A9E0; /* Brand color as background */
    color: #ffffff; /* White text for brand color background */
}

.page-slot-games__providers-section .page-slot-games__section-title,
.page-slot-games__providers-section .page-slot-games__section-description {
    color: #ffffff;
}

.page-slot-games__provider-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.page-slot-games__provider-card {
    background-color: rgba(0, 0, 0, 0.2); /* Dark overlay for contrast */
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-slot-games__provider-logo {
    width: 200px; /* Min size 200px */
    height: auto;
    margin-bottom: 15px;
    object-fit: contain;
    max-width: 100%;
    display: block;
    border-radius: 5px;
}

.page-slot-games__provider-name {
    font-size: 1.4em;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-slot-games__provider-description {
    font-size: 0.95em;
    color: #f0f0f0;
}

/* How-to-play Section */
.page-slot-games__how-to-play-section {
    padding: 80px 0;
    background-color: #0a0a0a;
}

.page-slot-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.page-slot-games__step-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__step-number {
    width: 60px;
    height: 60px;
    background-color: #26A9E0;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-slot-games__step-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__step-text {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-slot-games__step-image {
    width: 100%;
    max-width: 400px; /* Recommended size */
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    margin-top: auto;
}

/* Tips Section (light background - forced contrast for this section) */
.page-slot-games__tips-section {
    padding: 80px 0;
    background-color: #f0f0f0; /* Light background for this section */
    color: #333333; /* Dark text for light background */
}

.page-slot-games__tips-section .page-slot-games__section-title {
    color: #26A9E0;
}
.page-slot-games__tips-section .page-slot-games__section-description {
    color: #333333;
}

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

.page-slot-games__tip-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333; /* Dark text for light card background */
}

.page-slot-games__tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

.page-slot-games__tip-text {
    font-size: 1em;
    color: #555555;
}

/* Promotions Section (dark background) */
.page-slot-games__promotions-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.page-slot-games__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}