/* style/slots.css */

/* General page styling */
.page-slots {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Default text color for the page */
    background-color: var(--deep-navy); /* Body background handled by shared.css */
    line-height: 1.6;
}

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

.page-slots__container--center {
    text-align: center;
}

.page-slots__section-title {
    font-size: 2.5rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.page-slots__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.page-slots__text-block--small {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 30px;
}

.page-slots a {
    color: var(--glow); /* Links in content */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slots a:hover {
    color: var(--text-main);
}

/* Hero Section */
.page-slots__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding, body handles header offset */
    overflow: hidden; /* Ensure image doesn't overflow */
    background-color: var(--deep-navy);
}

.page-slots__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 675px; /* Limit height for aesthetic */
    filter: brightness(0.6); /* Darken image for text contrast */
}

.page-slots__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
    max-width: 900px;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-slots__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 */
    color: var(--text-main);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slots__subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.page-slots__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-slots__btn-primary,
.page-slots__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    min-width: 180px;
    text-align: center;
    box-sizing: border-box;
}

.page-slots__btn-primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: var(--text-main);
    border: none;
}

.page-slots__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

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

.page-slots__btn-secondary:hover {
    background-color: var(--glow);
    color: var(--deep-navy);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Section styling */
.page-slots__introduction-section,
.page-slots__guide-section,
.page-slots__benefits-section,
.page-slots__call-to-action {
    padding: 60px 0;
    background-color: var(--deep-navy); /* Default background */
}

.page-slots__game-types-section,
.page-slots__strategy-section,
.page-slots__faq-section {
    padding: 60px 0;
    background-color: var(--card-bg); /* Slightly different background */
}

.page-slots__dark-section {
    background-color: var(--deep-navy);
    color: var(--text-main);
}
.page-slots__dark-section .page-slots__text-block {
    color: var(--text-secondary);
}

/* Grid layout for game types */
.page-slots__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slots__card {
    background-color: var(--card-bg);
    border: 1px solid var(--divider);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slots__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-slots__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-slots__card-title {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slots__card-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
    flex-grow: 1; /* Allow text to grow */
}

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

.page-slots__step-card {
    background-color: var(--card-bg);
    border: 1px solid var(--divider);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.page-slots__step-title {
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.page-slots__step-text {
    font-size: 1rem;
    color: var(--text-secondary);
}

.page-slots__image-full-width {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

/* List styling */
.page-slots__list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slots__list li {
    background-color: var(--card-bg);
    border: 1px solid var(--divider);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-slots__list-item-title {
    font-size: 1.3rem;
    color: var(--glow);
    margin-bottom: 10px;
}

.page-slots__list-item-text {
    font-size: 1rem;
    color: var(--text-secondary);
}

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

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

.page-slots__benefit-title {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slots__benefit-text {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* FAQ Section */
.page-slots__faq-list {
    margin-top: 40px;
}

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

.page-slots__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-main);
    background-color: var(--card-bg);
    transition: background-color 0.3s ease;
}

.page-slots__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for Webkit */
}

.page-slots__faq-item summary:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.page-slots__faq-qtext {
    flex-grow: 1;
}

.page-slots__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold);
}

.page-slots__faq-item[open] .page-slots__faq-toggle {
    content: "−";
}

.page-slots__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Call to Action Section */
.page-slots__call-to-action {
    text-align: center;
    padding: 80px 0;
}

/* Color variables from prompt */
:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --btn-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border-color: #244D84;
    --glow: #4FA8FF;
    --gold: #F2C14E;
    --divider: #1B3357;
    --deep-navy: #08162B;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-slots__hero-content {
        max-width: 700px;
    }
    .page-slots__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-slots__subtitle {
        font-size: clamp(1rem, 1.8vw, 1.2rem);
    }
    .page-slots__section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .page-slots__hero-section {
        padding-bottom: 40px;
    }
    .page-slots__hero-content {
        top: auto;
        bottom: 20px; /* Position content at bottom on mobile */
        transform: translate(-50%, 0);
        padding: 0 15px;
    }
    .page-slots__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-slots__subtitle {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        margin-bottom: 30px;
    }
    .page-slots__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px; /* Constrain button width */
        margin: 0 auto;
    }
    .page-slots__btn-primary,
    .page-slots__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slots__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .page-slots__text-block {
        font-size: 1rem;
    }
    .page-slots__card,
    .page-slots__step-card,
    .page-slots__benefit-item,
    .page-slots__faq-item {
        padding: 20px;
    }
    .page-slots__card-title,
    .page-slots__step-title,
    .page-slots__benefit-title {
        font-size: 1.3rem;
    }
    .page-slots__faq-item summary {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    .page-slots__faq-answer {
        padding: 0 20px 15px 20px;
    }
    .page-slots__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-slots__introduction-section,
    .page-slots__game-types-section,
    .page-slots__guide-section,
    .page-slots__strategy-section,
    .page-slots__benefits-section,
    .page-slots__faq-section,
    .page-slots__call-to-action {
        padding: 40px 0;
    }

    /* Images and Videos Responsive */
    .page-slots img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slots__image-full-width {
        margin-top: 30px;
        margin-bottom: 15px;
    }
    .page-slots video,
    .page-slots__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slots__video-section,
    .page-slots__video-container,
    .page-slots__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-slots__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    .page-slots__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-slots__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-slots__cta-buttons {
        display: flex;
        flex-direction: column;
    }
}