/* style/slot-games.css */

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

/* Header offset */
.page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px); /* Apply header offset */
    position: relative;
    overflow: hidden; /* Ensure content doesn't spill */
}

.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: #26A9E0; /* 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;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    color: #ffffff;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px;
    background-color: #26A9E0; /* Dark background for hero for contrast with overlay */
}

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

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background */
    display: block;
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    border-radius: 10px;
}

.page-slot-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

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

.page-slot-games__hero-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: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Crucial for responsiveness */
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
}

.page-slot-games__btn-primary {
    background-color: #EA7C07; /* Login color */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

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

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

.page-slot-games__btn-secondary:hover {
    background-color: #ffffff;
    color: #26A9E0;
}

/* Sections */
.page-slot-games__introduction,
.page-slot-games__why-choose-us,
.page-slot-games__how-to-play,
.page-slot-games__strategy,
.page-slot-games__conclusion {
    padding: 80px 0;
}

.page-slot-games__game-types,
.page-slot-games__promotions,
.page-slot-games__faq {
    padding: 80px 0;
    background-color: #26A9E0; /* Brand color background */
    color: #ffffff;
}

.page-slot-games__game-types .page-slot-games__section-title,
.page-slot-games__promotions .page-slot-games__section-title,
.page-slot-games__faq .page-slot-games__section-title {
    color: #ffffff;
}

.page-slot-games__game-types .page-slot-games__text-block,
.page-slot-games__promotions .page-slot-games__text-block,
.page-slot-games__faq .page-slot-games__text-block {
    color: #f0f0f0;
}

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

.page-slot-games__card,
.page-slot-games__feature-item,
.page-slot-games__promo-card {
    background-color: #ffffff;
    color: #333333;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
    overflow: hidden; /* Ensure images don't overflow */
}

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

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

/* Enforce min-size on feature icons */
.page-slot-games__feature-icon {
    width: 100px; /* Example: smaller display for icon */
    height: 100px;
    object-fit: contain; /* Icons might need to contain */
    min-width: 200px; /* Still enforce the minimum actual size */
    min-height: 200px; /* Still enforce the minimum actual size */
}