/* General styles for the slot games page */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #0a0a0a; /* Body background color */
}

.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: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

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

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

/* Color schemes based on background */
.page-slot-games__dark-bg {
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
    padding: 60px 0;
}

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-link,
.page-slot-games__btn-promo {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
}

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

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

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

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

.page-slot-games__btn-link {
    background-color: #017439;
    color: #ffffff;
    border: 1px solid #017439;
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-slot-games__btn-link:hover {
    background-color: #02944b;
    border-color: #02944b;
}

.page-slot-games__btn-promo {
    background-color: #C30808;
    color: #FFFF00;
    border: 1px solid #C30808;
    padding: 10px 20px;
    margin-top: 15px;
}

.page-slot-games__btn-promo:hover {
    background-color: #e02020;
    border-color: #e02020;
}

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

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

.page-slot-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFF00; /* Custom font color for titles in hero */
    line-height: 1.2;
}

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

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

.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;
    opacity: 0.3; /* Darken image for better text contrast */
    filter: none; /* Ensure no filters are applied */
}

/* About Section */
.page-slot-games__about-section .page-slot-games__section-title {
    color: #017439;
}
.page-slot-games__about-section .page-slot-games__text-block {
    color: #333333;
}


/* Games Section */
.page-slot-games__games-section .page-slot-games__text-block {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

.page-slot-games__game-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__game-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
    filter: none; /* Ensure no filters are applied */
}

.page-slot-games__game-title {
    font-size: 1.5em;
    color: #FFFF00;
    margin-bottom: 10px;
}

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

/* How-to-play Section */
.page-slot-games__how-to-play-section .page-slot-games__section-title {
    color: #017439;
}
.page-slot-games__how-to-play-section .page-slot-games__text-block {
    color: #333333;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

.page-slot-games__step-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333333;
}

.page-slot-games__step-image {
    width: 100%;
    height: auto;
    max-width: 300px;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
    filter: none; /* Ensure no filters are applied */
}

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

.page-slot-games__step-description {
    font-size: 0.95em;
}

/* Promotions Section */
.page-slot-games__promotions-section .page-slot-games__text-block {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

.page-slot-games__promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__promo-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
    filter: none; /* Ensure no filters are applied */
}

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

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

/* Strategy Section */
.page-slot-games__strategy-section .page-slot-games__section-title {
    color: #017439;
}
.page-slot-games__strategy-section .page-slot-games__text-block {
    color: #333333;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

.page-slot-games__strategy-item {
    background-color: #f9f9f9;
    border-left: 5px solid #017439;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-slot-games__strategy-subtitle {
    font-size: 1.3em;
    color: #017439;
    margin-bottom: 10px;
}

.page-slot-games__strategy-description {
    font-size: 1em;
}

/* Video Section */
.page-slot-games__video-section {
    padding: 60px 0;
}

.page-slot-games__video-section .page-slot-games__text-block {
    text-align: center;
    margin-top: 20px;
}

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

.page-slot-games__video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    filter: none; /* Ensure no filters are applied */
}

.page-slot-games__video-link {
    display: block; /* Make the whole video wrapper clickable */
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10; /* Ensure link is above video controls */
}