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

/* Ensure body background is consistent */
body {
    background-color: var(--background);
}

.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--background);
}

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

.page-slot-games__container--narrow {
    max-width: 800px;
}

/* Hero Section */
.page-slot-games__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px; /* Small top padding, then generous bottom padding */
    position: relative;
    overflow: hidden;
    background-color: var(--card-bg); /* Darker background for hero */
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-games__hero-content {
    text-align: center;
    padding: 40px 20px 0;
    max-width: 900px;
    margin-top: -80px; /* Overlap slightly with the image for visual flow */
    position: relative;
    z-index: 2;
    background-color: transparent; /* Text is not on the image */
}

.page-slot-games__hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 size */
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.page-slot-games__hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* General Sections */
.page-slot-games__section {
    padding: 80px 0;
    background-color: var(--background);
    color: var(--text-main);
}

.page-slot-games__dark-section {
    background-color: var(--deep-green); /* Deeper green background for contrast */
}

.page-slot-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.page-slot-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--button-gradient);
    border-radius: 2px;
}

.page-slot-games__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-slot-games__text-block {
    flex: 1;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.page-slot-games__text-block--center {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-slot-games__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-slot-games__cta-buttons--center {
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
}

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

.page-slot-games__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 8px 20px rgba(42, 209, 111, 0.4);
    transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--border);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-secondary:hover {
    background: rgba(46, 122, 78, 0.2);
    color: #ffffff;
    border-color: #2AD16F;
    transform: translateY(-2px);
}

.page-slot-games__btn-primary--small,
.page-slot-games__btn-secondary--small {
    padding: 10px 20px;
    font-size: 0.95rem;
}

/* Highlight text */
.page-slot-games__highlight {
    color: var(--gold);
    font-weight: 700;
}

/* Feature Grid (Why Choose) */
.page-slot-games__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-slot-games__feature-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid var(--border);
}

.page-slot-games__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-games__feature-icon {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin: 0 auto 20px;
    display: block;
}

.page-slot-games__feature-title {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 15px;
}

.page-slot-games__feature-description {
    font-size: 1rem;
    color: var(--text-secondary);
}