/* style/slot-games.css */

/* Custom properties for colors */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f9f9f9;
    --background-dark: #222222; /* A dark background for contrast sections */
    --border-color: #e0e0e0;
}

.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light backgrounds */
    background-color: var(--background-light); /* Default body background is light */
    overflow-x: hidden;
}

/* Header offset to prevent content from being hidden by fixed header */
.page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
}

/* General container for content sections */
.page-slot-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
    overflow: hidden;
}

/* Section Titles */
.page-slot-games__section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
}

/* Text Blocks */
.page-slot-games__text-block {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-dark);
}

/* Card Styling */
.page-slot-games__card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-dark); /* Ensure dark text on light card background */
}

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

.page-slot-games__card-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-top: 15px;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-slot-games__card-title a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-slot-games__card-title a:hover {
    text-decoration: underline;
}

.page-slot-games__card-description {
    font-size: 1em;
    color: #555;
    line-height: 1.5;
    flex-grow: 1; /* Allows description to take up available space */
}

/* Image Styling */
.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px; /* Adjusted to fit header offset */
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light); /* Light text on dark/colorful background */
    overflow: hidden; /* To contain any potential overflow from image */
}

.page-slot-games__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Ensure content is above any background elements */
}

.page-slot-games__hero-image {
    width: 100%;
    margin-bottom: 30px;
    max-width: 1000px; /* Limit hero image width */
}

.page-slot-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-slot-games__hero-title {
    font-size: 3.5em;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-light); /* Light text on dark background */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-slot-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light); /* Light text on dark background */
}

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

.page-slot-games__cta-group--center {
    margin-top: 40px;
}

.page-slot-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box; /* Ensure padding doesn't cause overflow */
    max-width: 100%; /* Ensure button doesn't overflow container */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
}

.page-slot-games__btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.page-slot-games__btn-primary:hover {
    background: #e6c200; /* Slightly darker gold */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-slot-games__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__link-button {
    display: inline-block;
    padding: 10px 20px;
    background: var(--secondary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.95em;
    margin-top: 15px;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__link-button:hover {
    background: #6e0000; /* Slightly darker red */
}

/* Introduction Section */
.page-slot-games__introduction-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.page-slot-games__image-content-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
}

.page-slot-games__image-content-block img {
    max-width: 600px;
    width: 100%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Game Types Section */
.page-slot-games__game-types-section {
    padding: 80px 0;
    background-color: var(--background-dark); /* Dark background for this section */
    color: var(--text-light); /* Light text on dark background */
}

.page-slot-games__game-types-section .page-slot-games__section-title,
.page-slot-games__game-types-section .page-slot-games__text-block {
    color: var(--text-light);
}

.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: #333333; /* Darker card for dark section */
    color: var(--text-light); /* Light text on dark card */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__game-card .page-slot-games__card-title {
    color: var(--primary-color); /* Gold title on dark card */
}

.page-slot-games__game-card .page-slot-games__card-description {
    color: #cccccc;
}

.page-slot-games__game-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    margin-bottom: 15px;
}

/* Benefits Section */
.page-slot-games__benefits-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

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

/* How-to-Play Section */
.page-slot-games__how-to-play-section {
    padding: 80px 0;
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-slot-games__how-to-play-section .page-slot-games__section-title,
.page-slot-games__how-to-play-section .page-slot-games__text-block {
    color: var(--text-light);
}

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

.page-slot-games__step-item {
    background-color: #333333;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__step-item img {
    
    
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 0; /* No border-radius for icons */
    box-shadow: none;
}

.page-slot-games__step-item .page-slot-games__card-title {
    color: var(--primary-color);
}

.page-slot-games__step-item .page-slot-games__card-description {
    color: #cccccc;
    margin-bottom: 20px;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

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

.page-slot-games__promo-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    margin-bottom: 15px;
}

/* Security & Support Section */
.page-slot-games__security-support-section {
    padding: 80px 0;
    background-color: var(--background-dark);
    color: var(--text-light);
}