/* style/slot-games.css */

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

/* Body background is handled by shared.css: body { padding-top: var(--header-offset); } */
/* The page content starts here */

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

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

.page-slot-games__section-title {
    font-size: 2.5em;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-slot-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-secondary);
    text-align: justify;
}

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

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

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 700px;
    display: block;
    filter: brightness(0.7);
}

.page-slot-games__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    max-width: 90%;
}

.page-slot-games__main-title {
    font-size: clamp(2.5em, 5vw, 3.8em);
    color: var(--gold-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.page-slot-games__description {
    font-size: clamp(1em, 2vw, 1.3em);
    color: var(--text-main);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.page-slot-games__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-slot-games__btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-slot-games__intro-section {
    padding: 60px 0;
    background-color: var(--card-bg);
    text-align: center;
}

/* Features Section */
.page-slot-games__features-section {
    padding: 60px 0;
    background-color: var(--background-color);
}

.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: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.page-slot-games__feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
}

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

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

/* Video Section */
.page-slot-games__video-section {
    padding: 60px 0;
    background-color: var(--card-bg);
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-slot-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 40px auto;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    width: 100%; /* Ensure desktop width is 100% within container */
}

.page-slot-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    cursor: pointer;
}

.page-slot-games__video-caption {
    margin-top: 20px;
    font-style: italic;
    color: var(--text-secondary);
}

.page-slot-games__btn-video-cta {
    margin-top: 30px;
}

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

.page-slot-games__game-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-slot-games__game-item {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-slot-games__game-icon {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games__game-type-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-slot-games__game-type-description {
    color: var(--text-secondary);
    font-size: 0.95em;
}

/* Guide Section */
.page-slot-games__guide-section {
    padding: 60px 0;
    background-color: var(--card-bg);
}

.page-slot-games__guide-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-slot-games__guide-item {
    background-color: var(--background-color);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
}

.page-slot-games__guide-step-title {
    font-size: 1.3em;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-slot-games__guide-step-text {
    color: var(--text-secondary);
    font-size: 1em;
}

.page-slot-games__cta-buttons-inline {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

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

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

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

.page-slot-games__tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games__tip-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 60px 0;
    background-color: var(--card-bg);
}

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

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--text-main);
    cursor: pointer;
    list-style: none;
    user-select: none;
}

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

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-left: 15px;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    content: '−';
}

.page-slot-games__faq-answer {
    padding: 0 25px 20px;
    color: var(--text-secondary);
    font-size: 1em;
    line-height: 1.6;
    border-top: 1px solid var(--divider-color);
    margin-top: 10px;
}

/* CTA Bottom Section */
.page-slot-games__cta-bottom-section {
    padding: 80px 0;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    text-align: center;
    color: #ffffff;
}

.page-slot-games__cta-bottom-section .page-slot-games__section-title {
    color: #ffffff;
}

.page-slot-games__cta-bottom-section .page-slot-games__section-title::after {
    background-color: #ffffff;
}

.page-slot-games__cta-bottom-section .page-slot-games__text-block {
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-slot-games__btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
    border-radius: 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__hero-content {
        max-width: 95%;
    }
    .page-slot-games__main-title {
        font-size: clamp(2em, 4vw, 3em);
    }
    .page-slot-games__description {
        font-size: clamp(0.9em, 1.8vw, 1.2em);
    }
}

@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-slot-games__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .page-slot-games__text-block {
        font-size: 1em;
    }

    .page-slot-games__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }
    .page-slot-games__hero-image {
        min-height: 300px;
    }
    .page-slot-games__hero-content {
        position: static;
        transform: none;
        padding: 20px;
    }
    .page-slot-games__main-title {
        font-size: 2.2em;
        margin-top: 20px;
    }
    .page-slot-games__description {
        font-size: 1em;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-slot-games__feature-grid,
    .page-slot-games__game-list,
    .page-slot-games__tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-games__feature-card,
    .page-slot-games__game-item,
    .page-slot-games__tip-card {
        padding: 20px;
    }
    .page-slot-games__feature-image,
    .page-slot-games__game-icon {
        height: auto;
        min-height: 200px;
        max-width: 100% !important;
        width: 100% !important;
        display: block !important;
    }

    .page-slot-games__video-section {
        padding: 40px 0 !important;
        padding-top: 10px !important; /* body handles --header-offset, this is small visual top padding */
    }
    .page-slot-games__video-wrapper {
        margin: 20px auto;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-slot-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-slot-games__guide-item {
        padding: 20px;
    }
    .page-slot-games__cta-buttons-inline {
        flex-direction: column;
        gap: 10px;
    }
    .page-slot-games__cta-buttons-inline .page-slot-games__btn-primary,
    .page-slot-games__cta-buttons-inline .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
    }

    .page-slot-games__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-slot-games__faq-answer {
        padding: 0 20px 15px;
    }
    
    /* Ensure all image containers are responsive */
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__feature-card,
    .page-slot-games__game-item,
    .page-slot-games__tip-card {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }

    .page-slot-games img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
}

@media (max-width: 480px) {
    .page-slot-games__main-title {
        font-size: 1.8em;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
    }
    .page-slot-games__btn-large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
}