/* style/slot-games.css */

/* Base Styles for the page */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #FFFFFF; /* Default body background */
}

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

/* Section Titles and Descriptions */
.page-slot-games__section-title {
    font-size: 2.5rem;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-slot-games__section-description {
    font-size: 1.1rem;
    color: #555555;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Highlighted text */
.page-slot-games__highlight {
    color: #EA7C07; /* Login color for highlight, ensuring contrast */
    font-weight: bold;
}

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

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

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

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

.page-slot-games__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1a7fb4;
    border-color: #1a7fb4;
}

.page-slot-games__btn-large {
    padding: 15px 30px;
    font-size: 1.2rem;
}

.page-slot-games__center-align {
    text-align: center;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    padding: 100px 20px;
    text-align: center;
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-slot-games__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
    z-index: 1;
}

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

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

.page-slot-games__hero-description {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: #f0f0f0;
}

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

/* Video Section */
.page-slot-games__video-section {
    padding: 60px 20px;
    background-color: #f8f8f8;
    text-align: center;
}

.page-slot-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

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

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

/* Introduction Section */
.page-slot-games__introduction-section {
    padding: 80px 20px;
    background-color: #FFFFFF;
}

.page-slot-games__content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.page-slot-games__text-content p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #333333;
}

.page-slot-games__image-wrapper {
    text-align: center;
}

.page-slot-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

/* Why Choose Section */
.page-slot-games__why-choose-section {
    padding: 80px 20px;
    background-color: #26A9E0; /* Dark background */
    color: #FFFFFF; /* Light text */
}

.page-slot-games__why-choose-section .page-slot-games__section-title {
    color: #FFFFFF;
}

.page-slot-games__why-choose-section .page-slot-games__section-description {
    color: #f0f0f0;
}

.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-color: #FFFFFF;
    color: #333333;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.page-slot-games__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size for actual content images */
    min-height: 200px; /* Enforce min size for actual content images */
    max-width: 100%; /* Ensure responsiveness */
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain; /* To prevent distortion if image is larger but container is small */
}

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

/* Game Types Section */
.page-slot-games__game-types-section {
    padding: 80px 20px;
    background-color: #FFFFFF;
}

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

.page-slot-games__game-type-card {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-slot-games__game-type-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-slot-games__game-type-title {
    font-size: 1.6rem;
    color: #26A9E0;
    margin-bottom: 10px;
}

/* How To Play Section */
.page-slot-games__how-to-play-section {
    padding: 80px 20px;
    background-color: #26A9E0; /* Dark background */
    color: #FFFFFF; /* Light text */
}