/* style/slot-games.css */

/* Custom Properties based on provided palette */
:root {
    --page-slot-games-primary-color: #11A84E; /* Main color */
    --page-slot-games-secondary-color: #22C768; /* Auxiliary color */
    --page-slot-games-button-gradient-start: #2AD16F;
    --page-slot-games-button-gradient-end: #13994A;
    --page-slot-games-card-bg: #11271B;
    --page-slot-games-background: #08160F;
    --page-slot-games-text-main: #F2FFF6;
    --page-slot-games-text-secondary: #A7D9B8;
    --page-slot-games-border: #2E7A4E;
    --page-slot-games-glow: #57E38D;
    --page-slot-games-gold: #F2C14E;
    --page-slot-games-divider: #1E3A2A;
    --page-slot-games-deep-green: #0A4B2C;
}

.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: var(--page-slot-games-text-main); /* Default text color for dark background */
    background-color: var(--page-slot-games-background); /* Overall page background */
    line-height: 1.6;
    font-size: 16px;
}

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

.page-slot-games__section-title {
    font-size: 2.5em;
    color: var(--page-slot-games-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-slot-games__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
    color: var(--page-slot-games-text-main);
}

.page-slot-games__text-secondary {
    color: var(--page-slot-games-text-secondary);
}

/* General button styles */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__game-play-btn,
.page-slot-games__read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons adapt to container */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
}

.page-slot-games__btn-primary {
    background: var(--page-slot-games-button-gradient-start); /* Fallback */
    background: linear-gradient(180deg, var(--page-slot-games-button-gradient-start) 0%, var(--page-slot-games-button-gradient-end) 100%);
    color: var(--page-slot-games-text-main);
    border: 2px solid var(--page-slot-games-primary-color);
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-slot-games__btn-secondary {
    background: transparent;
    color: var(--page-slot-games-primary-color);
    border: 2px solid var(--page-slot-games-primary-color);
    box-shadow: 0 2px 10px rgba(17, 168, 78, 0.2);
}

.page-slot-games__btn-secondary:hover {
    background: rgba(17, 168, 78, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.3);
}

.page-slot-games__btn-center {
    display: block;
    margin: 40px auto 20px auto;
    width: fit-content;
    min-width: 200px;
}

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

/* Card General Styles */
.page-slot-games__card {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-slot-games-border);
    color: var(--page-slot-games-text-main);
}

/* Image general styles */
.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* Consistent with overall design */
}

/* HERO Section */
.page-slot-games__hero-section {
    position: relative;
    background-color: var(--page-slot-games-background);
    padding-top: 10px; /* Small top padding, assuming body has header offset */
    padding-bottom: 60px;
    display: flex;
    flex-direction: column; /* Ensure image is above text */
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for desktop hero */
    overflow: hidden;
    margin-bottom: 40px;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover; /* Cover for desktop */
    border-radius: 0; /* Hero image typically full width, no border radius */
}

.page-slot-games__hero-content {
    max-width: 900px;
    padding: 0 15px;
}

.page-slot-games__hero-title {
    font-size: clamp(2.5em, 4vw, 3.5em); /* Responsive font size */
    color: var(--page-slot-games-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

.page-slot-games__hero-description {
    font-size: 1.2em;
    color: var(--page-slot-games-text-secondary);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Introduction Section */
.page-slot-games__introduction-section {
    background-color: var(--page-slot-games-background); /* Using dark background for contrast */
    padding: 60px 0;
    color: var(--page-slot-games-text-main);
}

/* Game Collection Section */
.page-slot-games__game-collection-section {
    background-color: var(--page-slot-games-deep-green);
    padding: 60px 0;
}

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

.page-slot-games__game-tile {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    border: 1px solid var(--page-slot-games-border);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-slot-games__game-tile img {
    width: 100%;
    height: 250px; /* Fixed height for desktop tiles */
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 12px 12px 0 0;
}

.page-slot-games__game-title {
    font-size: 1.3em;
    color: var(--page-slot-games-gold);
    margin-bottom: 15px;
    padding: 0 10px;
}

.page-slot-games__game-play-btn {
    background: var(--page-slot-games-button-gradient-start); /* Fallback */
    background: linear-gradient(180deg, var(--page-slot-games-button-gradient-start) 0%, var(--page-slot-games-button-gradient-end) 100%);
    color: var(--page-slot-games-text-main);
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 1em;
    margin: 0 auto;
    display: block;
    width: fit-content;
}

.page-slot-games__game-play-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(17, 168, 78, 0.5);
}

/* Benefits Section */
.page-slot-games__benefits-section {
    background-color: var(--page-slot-games-background); /* Using dark background for contrast */
    padding: 60px 0;
    color: var(--page-slot-games-text-main);
}

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

.page-slot-games__benefit-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__benefit-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 0; /* Icons typically not rounded */
}