/* Custom Colors */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-background-dark: #08160F;
    --color-card-bg: #11271B;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* Base styles for the page content area */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: var(--color-text-main); /* Assuming dark body background, use light text */
    background-color: var(--color-background-dark); /* Ensure consistency if body bg is not directly this */
    line-height: 1.6;
    padding-bottom: 50px;
}

/* Container for consistent content width */
.page-slot-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section styling */
.page-slot-games__section {
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.page-slot-games__section:nth-of-type(even) {
    background-color: var(--color-card-bg);
}

/* Titles */
.page-slot-games__section-title {
    font-size: clamp(28px, 4vw, 38px);
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}

.page-slot-games__main-title {
    font-size: clamp(36px, 5vw, 56px); /* Use clamp for H1 */
    color: var(--color-gold);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-slot-games__description {
    font-size: 18px;
    color: var(--color-text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
}

.page-slot-games__description-text {
    font-size: 17px;
    color: var(--color-text-secondary);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
}

/* Text blocks */
.page-slot-games__text-block {
    font-size: 17px;
    color: var(--color-text-main);
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__text-block p {
    margin-bottom: 15px;
}

.page-slot-games__text-block strong {
    color: var(--color-gold);
}

.page-slot-games__list {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
    color: var(--color-text-main);
}

.page-slot-games__list li {
    margin-bottom: 10px;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-play,
.page-slot-games__btn-promo,
.page-slot-games__btn-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    max-width: 100%; /* Base responsive */
    box-sizing: border-box; /* Base responsive */
    white-space: normal; /* Base responsive */
    word-wrap: break-word; /* Base responsive */
}

.page-slot-games__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: var(--color-glow);
    border: 2px solid var(--color-glow);
    margin-left: 20px;
    box-shadow: 0 0 10px rgba(87, 227, 141, 0.3);
}

.page-slot-games__btn-secondary:hover {
    background-color: var(--color-glow);
    color: var(--color-background-dark);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.6);
}

.page-slot-games__btn-play {
    background: var(--button-gradient);
    color: #ffffff;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 15px;
}

.page-slot-games__btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(42, 209, 111, 0.4);
}

.page-slot-games__btn-promo {
    background: var(--color-deep-green);
    color: var(--color-glow);
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 15px;
    border: 1px solid var(--color-glow);
}

.page-slot-games__btn-promo:hover {
    background: var(--color-glow);
    color: var(--color-deep-green);
    transform: translateY(-2px);
}

.page-slot-games__btn-text {
    background: none;
    color: var(--color-glow);
    text-decoration: underline;
    font-size: 16px;
    padding: 5px 0;
    margin-top: 10px;
}

.page-slot-games__btn-text:hover {
    color: var(--color-gold);
}

/* Button groups */
.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    width: 100%; /* Base responsive */
    max-width: 100%; /* Base responsive */
    overflow: hidden; /* Base responsive */
    box-sizing: border-box; /* Base responsive */
}

.page-slot-games__cta-center {
    text-align: center;
    margin-top: 50px;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding */
    padding-bottom: 60px;
    background-color: var(--color-background-dark);
    overflow: hidden;
}

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

.page-slot-games__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Cover the area, allow cropping */
    max-height: 600px;
}

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

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

.page-slot-games__game-card {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-border);
}

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

.page-slot-games__game-card img {
    width: 100%;
    height: 200px; /* Fixed height for cards */
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-slot-games__game-title {
    font-size: 24px;
    color: var(--color-gold);
    margin: 10px 15px;
    font-weight: 600;
}