/* style/slot-games.css */

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

/* Base styles for the page content */
.page-slot-games {
    background-color: var(--cwin-background); /* Body background handled by shared.css, this is for main content sections if needed */
    color: var(--cwin-text-main); /* Default text color for the page */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Container for centralizing content */
.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;
    text-align: center;
}

.page-slot-games__section-title {
    font-size: 2.5em;
    color: var(--cwin-gold);
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-slot-games__text-block {
    font-size: 1.1em;
    color: var(--cwin-text-secondary);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__keyword {
    color: var(--cwin-gold);
    font-weight: bold;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    background-color: var(--cwin-deep-green); /* Fallback/base for hero */
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 30px; /* Space between image and content */
    border-radius: 10px;
}

.page-slot-games__hero-content {
    max-width: 900px;
    padding: 0 20px;
    text-align: center;
}

.page-slot-games__hero-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* H1 with clamp, no fixed large size */
    color: var(--cwin-gold);
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

.page-slot-games__hero-description {
    font-size: 1.3em;
    color: var(--cwin-text-main);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-tertiary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box; /* Crucial for responsive buttons */
}

.page-slot-games__btn-primary {
    background: var(--cwin-button-gradient);
    color: #ffffff; /* White text on dark gradient */
    border: none;
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

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

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

.page-slot-games__btn-tertiary {
    background-color: var(--cwin-secondary);
    color: var(--cwin-text-main);
    border: none;
    padding: 10px 20px;
    font-size: 1em;
}

.page-slot-games__btn-tertiary:hover {
    background-color: var(--cwin-primary);
    transform: translateY(-2px);
}

.page-slot-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

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

/* Dark section for better contrast */
.page-slot-games__dark-section {
    background-color: var(--cwin-deep-green);
    color: var(--cwin-text-main);
}

.page-slot-games__dark-section .page-slot-games__section-title {
    color: var(--cwin-gold);
}

.page-slot-games__dark-section .page-slot-games__text-block {
    color: var(--cwin-text-secondary);
}

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

.page-slot-games__feature-card {
    background-color: var(--cwin-card-bg); /* Custom card background */
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--cwin-border);
    transition: transform 0.3s ease;
}

.page-slot-games__feature-card:hover {
    transform: translateY(-5px);
}

.page-slot-games__feature-title {
    font-size: 1.5em;
    color: var(--cwin-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

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

/* Game Types Grid */
.page-slot-games__game-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

.page-slot-games__game-type-card:hover {
    transform: translateY(-5px);
}

.page-slot-games__game-type-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--cwin-divider);
}

.page-slot-games__game-type-title {
    font-size: 1.3em;
    color: var(--cwin-gold);
    margin: 20px 15px 10px;
    font-weight: bold;
}

.page-slot-games__game-type-description {
    color: var(--cwin-text-secondary);
    font-size: 0.95em;
    padding: 0 15px 20px;
}

/* How to Start Steps */
.page-slot-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__step-card {
    background-color: var(--cwin-card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--cwin-border);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__step-number {
    font-size: 2.5em;
    color: var(--cwin-gold);
    font-weight: bold;
    background-color: var(--cwin-deep-green);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    border: 2px solid var(--cwin-border);
}

.page-slot-games__step-title {
    font-size: 1.4em;
    color: var(--cwin-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__step-description {
    color: var(--cwin-text-secondary);
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1; /* Push button to bottom */
}

/* Tips List */
.page-slot-games__tips-list {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 800px;
    margin: 40px auto;
}

.page-slot-games__list-item {
    background-color: var(--cwin-card-bg);
    color: var(--cwin-text-secondary);
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--cwin-border);
    font-size: 1.05em;
}

.page-slot-games__list-item strong {
    color: var(--cwin-gold);
    font-weight: bold;
}

.page-slot-games__list-item a {
    color: var(--cwin-secondary);
    text-decoration: underline;
}

.page-slot-games__list-item a:hover {
    color: var(--cwin-primary);
}

/* Promotions Grid */
.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 {
    background-color: var(--cwin-card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--cwin-border);
}

.page-slot-games__promo-title {
    font-size: 1.4em;
    color: var(--cwin-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__promo-description {
    color: var(--cwin-text-secondary);
    font-size: 1em;
}

/* FAQ Section */
.page-slot-games__faq-list {
    max-width: 800px;
    margin: 40px auto 0;
    text-align: left;
}

.page-slot-games__faq-item {
    background-color: var(--cwin-card-bg);
    border: 1px solid var(--cwin-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--cwin-gold);
    cursor: pointer;
    background-color: var(--cwin-deep-green);
    border-bottom: 1px solid var(--cwin-divider);
    list-style: none; /* For <summary> tag */
}

/* Hide default marker for <summary> */
.page-slot-games__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-slot-games__faq-item summary::marker {
    display: none;
}


.page-slot-games__faq-qtext {
    flex-grow: 1;
    color: var(--cwin-gold);
}