/* style/slot-games.css */

/* Custom Colors */
:root {
    --page-slot-games-bg: #08160F;
    --page-slot-games-card-bg: #11271B;
    --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-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

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

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

.page-slot-games__dark-bg {
    background-color: var(--page-slot-games-bg);
    color: var(--page-slot-games-text-main);
}

.page-slot-games__deep-green-bg {
    background-color: var(--page-slot-games-deep-green);
    color: var(--page-slot-games-text-main);
}

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

.page-slot-games__text-center {
    text-align: center;
}

.page-slot-games__mt-40 {
    margin-top: 40px;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 0;
    padding-top: 10px; /* Small top padding as body handles header offset */
    overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Max height for 16:9 aspect ratio of 1200x675 */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px; /* Space between image and content */
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-slot-games__hero-content {
    max-width: 800px;
    text-align: center;
    padding: 0 20px;
    z-index: 1;
}

.page-slot-games__main-title {
    color: var(--page-slot-games-gold);
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.page-slot-games__hero-description {
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--page-slot-games-text-secondary);
    margin-bottom: 30px;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05em;
    transition: all 0.3s ease;
    white-space: nowrap; /* Prevent text wrapping on desktop */
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    word-wrap: break-word; /* Allow text to wrap if necessary on smaller screens */
}

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

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

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

.page-slot-games__btn-secondary:hover {
    background-color: rgba(87, 227, 141, 0.1);
    color: var(--page-slot-games-text-main);
    transform: translateY(-2px);
}

/* General Section Styles */
.page-slot-games__introduction-section,
.page-slot-games__types-section,
.page-slot-games__guide-section,
.page-slot-games__faq-section,
.page-slot-games__cta-section {
    padding: 60px 0;
}

.page-slot-games__benefits-section,
.page-slot-games__tips-section {
    padding: 60px 0;
}

.page-slot-games__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
    color: var(--page-slot-games-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.3;
}

.page-slot-games__text-block {
    font-size: 1.05em;
    line-height: 1.7;
    color: var(--page-slot-games-text-secondary);
    margin-bottom: 20px;
}

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

.page-slot-games__card {
    background-color: var(--page-slot-games-card-bg);
    border: 1px solid var(--page-slot-games-border);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

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

.page-slot-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure it behaves as a block element */
}

.page-slot-games__card-title {
    font-size: 1.5em;
    color: var(--page-slot-games-gold);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__card-text {
    font-size: 0.95em;
    color: var(--page-slot-games-text-secondary);
    line-height: 1.6;
}

/* Benefits Section */
.page-slot-games__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-slot-games__benefit-item {
    background-color: var(--page-slot-games-card-bg);
    border: 1px solid var(--page-slot-games-border);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-sizing: border-box;
}

.page-slot-games__benefit-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50%; /* If icons are circular */
    object-fit: cover;
}

.page-slot-games__benefit-title {
    font-size: 1.4em;
    color: var(--page-slot-games-gold);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__benefit-text {
    font-size: 0.95em;
    color: var(--page-slot-games-text-secondary);
    line-height: 1.6;
}

/* Guide Section */
.page-slot-games__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-slot-games__guide-step {
    background-color: var(--page-slot-games-card-bg);
    border: 1px solid var(--page-slot-games-border);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-sizing: border-box;
    position: relative;
}

.page-slot-games__step-number {
    background: var(--page-slot-games-button-gradient);
    color: var(--page-slot-games-text-main);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    font-weight: bold;
    margin: -50px auto 20px auto; /* Position slightly above the card */
    border: 3px solid var(--page-slot-games-bg);
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

.page-slot-games__step-text {
    font-size: 0.95em;
    color: var(--page-slot-games-text-secondary);
    line-height: 1.6;
}

/* Tips Section */
.page-slot-games__tip-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-slot-games__tip-item {
    background-color: var(--page-slot-games-card-bg);
    border: 1px solid var(--page-slot-games-border);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.page-slot-games__tip-item:last-child {
    margin-bottom: 0;
}

.page-slot-games__tip-title {
    font-size: 1.4em;
    color: var(--page-slot-games-gold);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__tip-text {
    font-size: 0.95em;
    color: var(--page-slot-games-text-secondary);
    line-height: 1.6;
}

/* FAQ Section */
.page-slot-games__faq-list {
    margin-top: 30px;
}

.page-slot-games__faq-item {
    background-color: var(--page-slot-games-card-bg);
    border: 1px solid var(--page-slot-games-border);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-sizing: border-box;
}

.page-slot-games__faq-item:last-child {
    margin-bottom: 0;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--page-slot-games-text-main);
    background-color: var(--page-slot-games-card-bg);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-slot-games__faq-question::-webkit-details-marker {
    display: none;
}

.page-slot-games__faq-question:hover {
    background-color: rgba(var(--page-slot-games-glow), 0.05);
}

.page-slot-games__faq-qtext {
    flex-grow: 1;
    color: var(--page-slot-games-text-main);
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: var(--page-slot-games-glow);
    transition: transform 0.3s ease;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    transform: rotate(45deg);
}

.page-slot-games__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    line-height: 1.7;
    color: var(--page-slot-games-text-secondary);
}

.page-slot-games__faq-answer p {
    margin-bottom: 10px;
}

.page-slot-games__faq-answer p:last-child {
    margin-bottom: 0;
}

.page-slot-games__faq-answer a {
    color: var(--page-slot-games-glow);
    text-decoration: underline;
}

.page-slot-games__faq-answer a:hover {
    color: var(--page-slot-games-gold);
}

/* CTA Section */
.page-slot-games__cta-section {
    background-color: var(--page-slot-games-deep-green);
    padding: 80px 0;
    text-align: center;
}

.page-slot-games__cta-section .page-slot-games__section-title {
    color: var(--page-slot-games-gold);
    margin-bottom: 25px;
}

.page-slot-games__cta-section .page-slot-games__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-image-wrapper {
        max-height: 500px;
    }
    .page-slot-games__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-slot-games__section-title {
        font-size: clamp(1.6em, 4vw, 2.2em);
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding: 40px 0;
        padding-top: 10px !important;
    }
    .page-slot-games__hero-image-wrapper {
        max-height: 400px;
        margin-bottom: 30px;
    }
    .page-slot-games__hero-content,
    .page-slot-games__introduction-section .page-slot-games__container,
    .page-slot-games__types-section .page-slot-games__container,
    .page-slot-games__benefits-section .page-slot-games__container,
    .page-slot-games__guide-section .page-slot-games__container,
    .page-slot-games__tips-section .page-slot-games__container,
    .page-slot-games__faq-section .page-slot-games__container,
    .page-slot-games__cta-section .page-slot-games__container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-slot-games__grid,
    .page-slot-games__benefits-grid,
    .page-slot-games__guide-steps {
        grid-template-columns: 1fr;
    }
    .page-slot-games__card-image {
        height: 180px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-slot-games__benefit-icon {
        max-width: 80px !important;
        width: 80px !important;
        height: auto !important;
    }
    .page-slot-games__guide-step {
        padding-top: 50px;
    }
    .page-slot-games__step-number {
        margin-top: -30px;
    }
    .page-slot-games img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-slot-games__section,
    .page-slot-games__card,
.page-slot-games__container,
    .page-slot-games__hero-image-wrapper,
    .page-slot-games__cta-buttons,
    .page-slot-games__button-group,
    .page-slot-games__btn-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      overflow: hidden !important; /* Ensure content does not overflow */
    }
    .page-slot-games__video-section {
        padding-top: 10px !important;
    }
}

@media (max-width: 480px) {
    .page-slot-games__hero-section {
        padding: 30px 0;
        padding-top: 10px !important;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }
    .page-slot-games__section-title {
        font-size: clamp(1.4em, 5vw, 2em);
    }
    .page-slot-games__hero-image-wrapper {
        max-height: 250px;
    }
}