/* style/slot-games.css */

/* Base Styles */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

.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;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

/* Color Contrast Handling */
.page-slot-games__dark-bg {
    background-color: #017439; /* Main brand color */
    color: #ffffff;
}

.page-slot-games__light-bg {
    background-color: #1a1a1a; /* A slightly lighter dark for contrast with body #121212 */
    color: #ffffff;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-link {
    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 text breaking */
}

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

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

.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;
    transform: translateY(-2px);
}

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

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px; /* Ensure hero section has a decent height */
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Apply header offset */
}

.page-slot-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.7;
}

.page-slot-games__hero-section > .page-slot-games__container {
    position: relative;
    z-index: 1;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    padding: 40px;
    border-radius: 15px;
}

.page-slot-games__hero-title {
    font-size: 3.8em;
    color: #FFFF00; /* Highlighted title for hero */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-slot-games__hero-description {
    font-size: 1.3em;
    color: #ffffff;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

/* Intro Section */
.page-slot-games__intro-section {
    padding: 80px 0;
    text-align: center;
}

.page-slot-games__intro-section .page-slot-games__section-title {
    color: #ffffff;
}

.page-slot-games__intro-section .page-slot-games__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

/* Game Types Section */
.page-slot-games__game-types-section {
    padding: 80px 0;
}

.page-slot-games__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 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 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
}

.page-slot-games__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-slot-games__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-slot-games__card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #FFFF00; /* Highlight card titles */
}

.page-slot-games__card-text {
    font-size: 1em;
    color: #e0e0e0;
}

.page-slot-games__game-types-cta {
    margin-top: 50px;
}

/* Benefits Section */
.page-slot-games__benefits-section {
    padding: 80px 0;
    text-align: center;
}

.page-slot-games__benefits-section .page-slot-games__section-title {
    color: #ffffff;
}

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

.page-slot-games__benefit-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-slot-games__benefit-item:hover {
    transform: translateY(-8px);
}

.page-slot-games__benefit-icon {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-slot-games__benefit-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #FFFF00;
}

.page-slot-games__benefit-text {
    font-size: 1em;
    color: #e0e0e0;
}

/* Guide Section */
.page-slot-games__guide-section {
    padding: 80px 0;
}

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

.page-slot-games__guide-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.page-slot-games__guide-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #FFFF00;
}

.page-slot-games__guide-text {
    font-size: 1em;
    margin-bottom: 15px;
    color: #e0e0e0;
}

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

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

.page-slot-games__video-caption {
    text-align: center;
    margin-top: 20px;
    font-style: italic;
    color: #e0e0e0;
    font-size: 0.9em;
}

/* Tips Section */
.page-slot-games__tips-section {
    padding: 80px 0;
    text-align: center;
}

.page-slot-games__tips-section .page-slot-games__section-title {
    color: #ffffff;
}

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