/* style/slot-games.css */

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

.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: var(--color-text-main); /* Default text color for main content on dark background */
    background-color: var(--color-background); /* Body background handled by shared.css */
}

/* General Section Styling */
.page-slot-games__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--color-text-main);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-slot-games__section-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

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

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

.page-slot-games__card {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--color-text-main);
    display: flex;
    flex-direction: column;
}

.page-slot-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 15px var(--color-glow);
}

.page-slot-games__card-title {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--color-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-slot-games__card-title a {
    color: var(--color-gold);
    text-decoration: none;
}

.page-slot-games__card-title a:hover {
    text-decoration: underline;
}

.page-slot-games__card-text {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

.page-slot-games__cta-button {
    display: inline-block;
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 10px var(--color-glow);
    opacity: 0.9;
}

.page-slot-games__cta-button--small {
    padding: 10px 20px;
    font-size: 1rem;
    margin-top: 15px;
}

.page-slot-games__cta-button--large {
    padding: 16px 32px;
    font-size: 1.2rem;
    margin-top: 30px;
}

/* HERO Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding for visual separation */
    background-color: var(--color-background);
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

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

.page-slot-games__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 40px 20px 60px;
    position: relative;
    z-index: 2;
}

.page-slot-games__hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-gold);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 0 15px rgba(87, 227, 141, 0.7);
}

.page-slot-games__hero-description {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    color: var(--color-text-main);
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Intro Section */
.page-slot-games__intro-section {
    padding: 80px 0;
}

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

.page-slot-games__intro-text {
    flex: 1;
    line-height: 1.8;
    font-size: 1.05rem;
    color: var(--color-text-secondary);
}

.page-slot-games__intro-text p {
    margin-bottom: 15px;
}

.page-slot-games__intro-image-wrapper {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 2px solid var(--color-border);
}

.page-slot-games__intro-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Game Types Section */
.page-slot-games__game-types-section {
    padding: 80px 0;
    background-color: var(--color-deep-green);
}

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

.page-slot-games__game-type-card {
    text-align: center;
}

.page-slot-games__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--color-border);
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 80px 0;
}

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

.page-slot-games__promo-image-wrapper {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 2px solid var(--color-border);
}

.page-slot-games__promo-image {
    width: 100%;
    height: auto;
    display: block;
}

.page-slot-games__promo-content {
    flex: 1;
    line-height: 1.8;
    font-size: 1.05rem;
    color: var(--color-text-secondary);
}

.page-slot-games__promo-content p {
    margin-bottom: 15px;
}

.page-slot-games__promo-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-slot-games__promo-list li {
    background: var(--color-deep-green);
    padding: 12px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 5px solid var(--color-primary);
    color: var(--color-text-main);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__promo-list li strong {
    color: var(--color-gold);
}

/* Why Choose Section */
.page-slot-games__why-choose-section {
    padding: 80px 0;
    background-color: var(--color-deep-green);
}

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

.page-slot-games__benefit-card .page-slot-games__card-title {
    color: var(--color-primary);
}

.page-slot-games__why-choose-image-wrapper {
    max-width: 800px;
    margin: 40px auto 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 2px solid var(--color-border);
}

.page-slot-games__why-choose-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Guide Section */
.page-slot-games__guide-section {
    padding: 80px 0;
}

.page-slot-games__guide-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.page-slot-games__guide-steps {
    flex: 1;
}

.page-slot-games__step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    position: relative;
    padding-left: 60px;
}

.page-slot-games__step-number {
    background: var(--color-primary);
    color: #ffffff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.3rem;
    position: absolute;
    left: 0;
    top: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-slot-games__step-title {
    font-size: 1.4rem;
    color: var(--color-gold);
    margin-bottom: 10px;
    font-weight: 600;
    margin-top: 0;
}

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

.page-slot-games__guide-image-wrapper {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 2px solid var(--color-border);
}

.page-slot-games__guide-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Tips Section */
.page-slot-games__tips-section {
    padding: 80px 0;
    background-color: var(--color-deep-green);
}

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

.page-slot-games__tip-item .page-slot-games__card-title {
    color: var(--color-primary);
}

.page-slot-games__tips-image-wrapper {
    max-width: 800px;
    margin: 40px auto 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 2px solid var(--color-border);
}

.page-slot-games__tips-image {
    width: 100%;
    height: auto;
    display: block;
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 80px 0;
}

.page-slot-games__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

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

.page-slot-games__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--color-gold);
    background-color: var(--color-deep-green);
    border-bottom: 1px solid var(--color-divider);
}

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

.page-slot-games__faq-qtext {
    flex-grow: 1;
}

.page-slot-games__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--color-primary);
    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: 20px 25px;
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

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

.page-slot-games__faq-answer a {
    color: var(--color-primary);
    text-decoration: none;
}

.page-slot-games__faq-answer a:hover {
    text-decoration: underline;
}

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

.page-slot-games__conclusion-section .page-slot-games__section-description {
    margin-bottom: 40px;
}

.page-slot-games__cta-button--final {
    margin-top: 40px;
    padding: 18px 40px;
    font-size: 1.3rem;
    background: linear-gradient(180deg, var(--color-gold) 0%, #E6B03F 100%);
    color: var(--color-background);
    text-shadow: none;
}

.page-slot-games__cta-button--final:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--color-gold);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__intro-grid,
    .page-slot-games__promotions-grid,
    .page-slot-games__guide-grid {
        flex-direction: column;
        text-align: center;
    }

    .page-slot-games__intro-image-wrapper,
    .page-slot-games__promo-image-wrapper,
    .page-slot-games__guide-image-wrapper {
        order: -1; /* Image above text on smaller screens */
        margin-bottom: 30px;
    }
    
    .page-slot-games__intro-text,
    .page-slot-games__promo-content,
    .page-slot-games__guide-steps {
        flex: none;
        width: 100%;
    }

    .page-slot-games__step-item {
        padding-left: 0;
        flex-direction: column;
        align-items: center;
    }

    .page-slot-games__step-number {
        position: static;
        margin-bottom: 15px;
    }

    .page-slot-games__step-title,
    .page-slot-games__step-text {
        text-align: center;
    }

    .page-slot-games__cta-button--small {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-content {
        padding: 30px 15px 40px;
    }

    .page-slot-games__section-title {
        font-size: 2rem;
    }

    .page-slot-games__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .page-slot-games__cta-button {
        font-size: 1rem;
        padding: 12px 24px;
    }

    .page-slot-games__hero-title {
        font-size: 2.2rem;
    }

    .page-slot-games__hero-description {
        font-size: 1rem;
    }

    .page-slot-games__intro-section,
    .page-slot-games__game-types-section,
    .page-slot-games__promotions-section,
    .page-slot-games__why-choose-section,
    .page-slot-games__guide-section,
    .page-slot-games__tips-section,
    .page-slot-games__faq-section,
    .page-slot-games__conclusion-section {
        padding: 50px 0;
    }

    .page-slot-games__game-type-grid,
    .page-slot-games__benefits-grid,
    .page-slot-games__tips-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile image responsive adaptations */
    .page-slot-games img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-slot-games__hero-image-wrapper,
    .page-slot-games__intro-image-wrapper,
    .page-slot-games__promo-image-wrapper,
    .page-slot-games__why-choose-image-wrapper,
    .page-slot-games__guide-image-wrapper,
    .page-slot-games__tips-image-wrapper,
    .page-slot-games__game-type-card,
    .page-slot-games__benefit-card,
    .page-slot-games__tip-item,
    .page-slot-games__faq-item,
    .page-slot-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden;
    }

    /* Mobile button responsive adaptations */
    .page-slot-games__cta-button,
    .page-slot-games a[class*="button"],
    .page-slot-games a[class*="btn"] {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      white-space: normal !important;
      word-wrap: break-word !important;
      padding-left: 15px;
      padding-right: 15px;
    }
    
    .page-slot-games__hero-content .page-slot-games__cta-button,
    .page-slot-games__intro-text .page-slot-games__cta-button,
    .page-slot-games__promo-content .page-slot-games__cta-button,
    .page-slot-games__guide-section .page-slot-games__cta-button,
    .page-slot-games__conclusion-section .page-slot-games__cta-button {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .page-slot-games__faq-item summary {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-slot-games__faq-answer {
        padding: 15px 20px;
    }

    .page-slot-games__hero-section {
        padding-top: 10px !important;
    }
}

@media (max-width: 480px) {
    .page-slot-games__hero-title {
        font-size: 1.8rem;
    }

    .page-slot-games__hero-description {
        font-size: 0.9rem;
    }

    .page-slot-games__section-title {
        font-size: 1.6rem;
    }

    .page-slot-games__cta-button--large {
        font-size: 1.1rem;
        padding: 14px 28px;
    }
}