/* style/slot-games.css */

/* Root variables if needed, but mostly relying on shared.css for colors and body padding */
:root {
    --primary-color: #113B7A; /* Deep Blue */
    --secondary-color: #1D5FD1; /* Lighter Blue */
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --card-bg: #10233F; /* Very Dark Blue */
    --text-main: #F3F8FF; /* Lightest Blue/White */
    --text-secondary: #AFC4E8; /* Light Blue */
    --border-color: #244D84; /* Medium Blue */
    --glow-color: #4FA8FF; /* Bright Blue */
    --gold-color: #F2C14E; /* Gold */
    --divider-color: #1B3357; /* Dark Blue */
    --deep-navy: #08162B; /* Very Dark Blue - Body background */
}

/* Base styles for the page content */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color for the page, light for dark body background */
    background-color: var(--deep-navy); /* Ensure consistency, though body handles this */
}

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

.page-slot-games__section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--deep-navy); /* Default section background */
}

.page-slot-games__section-title {
    font-size: clamp(28px, 4vw, 42px); /* Responsive font size */
    font-weight: bold;
    margin-bottom: 40px;
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(79, 168, 255, 0.5); /* Subtle glow */
}

.page-slot-games__text-block {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure full width on desktop for flex item */
}

.page-slot-games__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-slot-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid var(--border-color);
    box-shadow: 0 0 20px rgba(79, 168, 255, 0.3);
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
}

.page-slot-games__hero-title {
    font-size: clamp(32px, 5vw, 56px); /* Use clamp for H1 font size */
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--gold-color);
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

.page-slot-games__hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* CTA Button - General Style */
.page-slot-games__cta-button,
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    max-width: 100%; /* Ensure responsive behavior */
    box-sizing: border-box; /* Include padding/border in width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
}

.page-slot-games__cta-button {
    background: var(--button-gradient);
    color: var(--text-main);
    box-shadow: 0 5px 15px rgba(43, 115, 246, 0.4);
}

.page-slot-games__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(43, 115, 246, 0.6);
}

/* Button Group for multiple buttons */
.page-slot-games__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
}

.page-slot-games__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    box-shadow: 0 5px 15px rgba(43, 115, 246, 0.4);
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(43, 115, 246, 0.6);
}

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

.page-slot-games__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--text-main);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(29, 95, 209, 0.4);
}

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

.page-slot-games__card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    box-sizing: border-box;
}

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

.page-slot-games__card img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    border: 1px solid var(--divider-color);
    min-height: 200px; /* Min image size */
}

.page-slot-games__card-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-main);
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-slot-games__card-description {
    font-size: 16px;
    color: var(--text-secondary);
    flex-grow: 1; /* Allow description to take available space */
}

/* How-to-play steps */
.page-slot-games__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-slot-games__step-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    position: relative;
    padding-top: 60px;
    min-height: 250px; /* Ensure minimum height */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-slot-games__step-number {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--button-gradient);
    color: var(--text-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(43, 115, 246, 0.4);
}

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

.page-slot-games__step-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Tips Section */
.page-slot-games__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
    text-align: left;
}

.page-slot-games__text-column {
    flex: 1;
}

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

.page-slot-games__image-column img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    min-width: 200px;
    min-height: 200px;
}

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

.page-slot-games__list-item {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    font-size: 17px;
    color: var(--text-secondary);
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

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

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

.page-slot-games__list-item:hover {
    transform: translateX(5px);
}

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

.page-slot-games__promotion-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
}

.page-slot-games__promotion-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 25px var(--glow-color);
}

.page-slot-games__promotion-card img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    border: 1px solid var(--divider-color);
    min-height: 200px; /* Min image size */
}

.page-slot-games__promotion-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-slot-games__promotion-description {
    font-size: 16px;
    color: var(--text-secondary);
    flex-grow: 1;
}

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

.page-slot-games__security-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    text-align: left;
    min-height: 180px; /* Ensure consistent height */
    display: flex;
    flex-direction: column;
}

.page-slot-games__security-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-slot-games__security-description {
    font-size: 16px;
    color: var(--text-secondary);
    flex-grow: 1;
}

/* FAQ Section */
.page-slot-games__faq-list {
    margin-top: 40px;
    text-align: left;
}

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

details.page-slot-games__faq-item summary.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--text-main);
}

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

details.page-slot-games__faq-item summary.page-slot-games__faq-question:hover {
    background: var(--divider-color);
}

.page-slot-games__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--gold-color);
}

.page-slot-games__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--glow-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}

details.page-slot-games__faq-item .page-slot-games__faq-answer {
    padding: 0 25px 20px;
    background: var(--divider-color);
    border-radius: 0 0 8px 8px;
}

.page-slot-games__faq-answer p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

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

.page-slot-games__blog-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
    box-sizing: border-box;
}

.page-slot-games__blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 25px var(--glow-color);
}

.page-slot-games__blog-card img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    border: 1px solid var(--divider-color);
    min-height: 200px; /* Min image size */
}

.page-slot-games__blog-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-slot-games__blog-excerpt {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-slot-games__blog-date {
    font-size: 14px;
    color: var(--text-secondary);
    opacity: 0.8;
}

/* Responsive design */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: clamp(30px, 4.5vw, 50px);
    }
    .page-slot-games__hero-description {
        font-size: 18px;
    }
    .page-slot-games__content-grid {
        flex-direction: column;
    }
    .page-slot-games__text-column,
    .page-slot-games__image-column {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding-top: 10px !important; /* body padding from shared.css, this is just small section padding */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__hero-image img {
        border-radius: 4px;
    }
    .page-slot-games__hero-title {
        font-size: clamp(28px, 6vw, 40px);
    }
    .page-slot-games__hero-description {
        font-size: 16px;
    }
    .page-slot-games__cta-button,
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .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;
        margin-top: 15px; /* Adjust margin for stacked buttons */
    }

    .page-slot-games__button-group {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games__section {
        padding: 40px 0;
    }
    .page-slot-games__section-title {
        font-size: clamp(24px, 5vw, 36px);
        margin-bottom: 30px;
    }
    .page-slot-games__text-block {
        font-size: 16px;
    }

    .page-slot-games__container {
        padding: 0 15px;
    }

    /* Images */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* FAQ */
    details.page-slot-games__faq-item summary.page-slot-games__faq-question {
        padding: 15px;
    }
    .page-slot-games__faq-qtext {
        font-size: 16px;
    }
    .page-slot-games__faq-answer {
        padding: 0 15px 15px;
    }
    .page-slot-games__faq-answer p {
        font-size: 15px;
    }
    .page-slot-games__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    
    /* Ensure content area images are at least 200px (this is a general rule, not specific to mobile) */
    /* All img elements within .page-slot-games that are not logo/icons/etc should respect this */
    .page-slot-games__grid img,
    .page-slot-games__image-column img,
    .page-slot-games__promotions-grid img,
    .page-slot-games__blog-grid img {
        min-width: 200px !important;
        min-height: 200px !important;
    }
}