/* style/games-introduction-lottery.css */

/* Base styles for the page content wrapper */
.page-games-introduction-lottery {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Dark text for light backgrounds */
    line-height: 1.6;
    background-color: #f8f8f8; /* Light background for overall page */
}

/* Helper class for text highlighting */
.page-games-introduction-lottery .highlight-text {
    color: #FFD700; /* Secondary color for emphasis */
}

/* Container for responsive layout */
.page-games-introduction-lottery__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section styling */
.page-games-introduction-lottery__section {
    padding: 60px 0;
    text-align: center;
}

.page-games-introduction-lottery__section:nth-of-type(even) {
    background-color: #e9eef3; /* Slightly darker background for alternating sections */
}

.page-games-introduction-lottery__section-title {
    font-size: 2.8em;
    color: #1A2E47; /* Primary color for main titles */
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-games-introduction-lottery__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Secondary color underline */
    border-radius: 2px;
}

/* Hero Section */
.page-games-introduction-lottery__hero-section {
    background: linear-gradient(135deg, #1A2E47, #3a5c88); /* Gradient using primary and a lighter shade */
    color: #ffffff; /* Light text for dark background */
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-games-introduction-lottery__hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-games-introduction-lottery__hero-description {
    font-size: 1.5em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* Buttons */
.page-games-introduction-lottery__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-games-introduction-lottery__btn--primary {
    background-color: #FFD700; /* Secondary color for primary CTA */
    color: #1A2E47; /* Dark text for secondary color background */
}

.page-games-introduction-lottery__btn--primary:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-games-introduction-lottery__btn--secondary {
    background-color: #1A2E47; /* Primary color for secondary CTA */
    color: #FFD700; /* Secondary color text for primary color background */
    border: 2px solid #FFD700;
}

.page-games-introduction-lottery__btn--secondary:hover {
    background-color: #2e4a70; /* Slightly lighter primary on hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-games-introduction-lottery__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: 20px;
}

/* Feature Cards (Why b29 club) */
.page-games-introduction-lottery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-games-introduction-lottery__feature-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.page-games-introduction-lottery__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-games-introduction-lottery__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(26, 46, 71, 0.3)); /* Shadow for icons */
}

.page-games-introduction-lottery__feature-title {
    font-size: 1.6em;
    color: #1A2E47;
    margin-bottom: 15px;
}

.page-games-introduction-lottery__feature-text {
    font-size: 1em;
    color: #555555;
}

/* Game Type Cards */
.page-games-introduction-lottery__game-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
    overflow: hidden;
    text-align: left;
}

.page-games-introduction-lottery__game-card--reverse {
    flex-direction: column-reverse; /* For alternating image/text layout on mobile */
}

.page-games-introduction-lottery__game-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.page-games-introduction-lottery__game-content {
    padding: 30px;
}

.page-games-introduction-lottery__game-title {
    font-size: 2em;
    color: #1A2E47;
    margin-bottom: 15px;
}

.page-games-introduction-lottery__game-description {
    font-size: 1.1em;
    color: #444444;
    margin-bottom: 20px;
}

.page-games-introduction-lottery__game-subtitle {
    font-size: 1.4em;
    color: #1A2E47;
    margin-top: 25px;
    margin-bottom: 10px;
}

.page-games-introduction-lottery__game-rules {
    list-style: disc inside;
    margin-left: 20px;
    color: #555555;
    margin-bottom: 20px;
}

.page-games-introduction-lottery__game-rules li {
    margin-bottom: 8px;
}

.page-games-introduction-lottery__link-inline {
    color: #1A2E47;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-games-introduction-lottery__link-inline:hover {
    color: #FFD700;
}

/* Winning Tips Section */
.page-games-introduction-lottery__grid--tips {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-top: 40px;
}

.page-games-introduction-lottery__tip-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    border-left: 5px solid #FFD700;
}

.page-games-introduction-lottery__tip-title {
    font-size: 1.5em;
    color: #1A2E47;
    margin-bottom: 15px;
}

.page-games-introduction-lottery__tip-text {
    font-size: 1em;
    color: #555555;
}

.page-games-introduction-lottery__cta-text {
    font-size: 1.2em;
    color: #1A2E47;
    margin-top: 40px;
    font-weight: bold;
}

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

.page-games-introduction-lottery__step-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    padding-top: 80px; /* Space for icon */
}

.page-games-introduction-lottery__step-icon {
    width: 70px;
    height: 70px;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FFD700;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-games-introduction-lottery__step-title {
    font-size: 1.6em;
    color: #1A2E47;
    margin-bottom: 10px;
}

.page-games-introduction-lottery__step-text {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

.page-games-introduction-lottery__final-cta {
    font-size: 1.3em;
    color: #1A2E47;
    margin-top: 50px;
    font-weight: bold;
}

/* FAQ Section */
.page-games-introduction-lottery__faq {
    background-color: #f8f8f8;
}

.page-games-introduction-lottery__faq-item {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-games-introduction-lottery__faq-question {
    font-size: 1.5em;
    color: #1A2E47;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
}

.page-games-introduction-lottery__faq-answer {
    display: none; /* Hidden by default for accordion */
    font-size: 1.1em;
    color: #444444;
    padding-top: 10px;
    border-top: 1px solid #eeeeee;
    margin-top: 15px;
    transition: all 0.3s ease-in-out;
}

.page-games-introduction-lottery__faq-question.active + .page-games-introduction-lottery__faq-answer {
    display: block;
}

.page-games-introduction-lottery__faq-question::after {
    content: '+';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-games-introduction-lottery__faq-question.active::after {
    content: '-';
    transform: translateY(-50%) rotate(0deg); /* No rotation for '-' */
}

/* Floating Promotion */
.page-games-introduction-lottery__floating-promo {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.page-games-introduction-lottery__floating-btn {
    display: flex;
    align-items: center;
    background-color: #FFD700;
    color: #1A2E47;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.page-games-introduction-lottery__floating-btn:hover {
    background-color: #e6c200;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-games-introduction-lottery__floating-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .page-games-introduction-lottery__game-card {
        flex-direction: row;
    }

    .page-games-introduction-lottery__game-card--reverse {
        flex-direction: row-reverse;
    }

    .page-games-introduction-lottery__game-image {
        width: 40%;
        height: auto;
    }

    .page-games-introduction-lottery__game-content {
        width: 60%;
        padding: 40px;
    }
}

@media (max-width: 767px) {
    .page-games-introduction-lottery__hero-title {
        font-size: 2.5em;
    }

    .page-games-introduction-lottery__hero-description {
        font-size: 1.2em;
    }

    .page-games-introduction-lottery__section-title {
        font-size: 2em;
    }

    .page-games-introduction-lottery__btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-games-introduction-lottery__feature-title,
    .page-games-introduction-lottery__game-title,
    .page-games-introduction-lottery__tip-title,
    .page-games-introduction-lottery__step-title,
    .page-games-introduction-lottery__faq-question {
        font-size: 1.4em;
    }

    .page-games-introduction-lottery__floating-promo {
        bottom: 20px;
        right: 20px;
    }

    .page-games-introduction-lottery__floating-btn {
        padding: 12px 20px;
        font-size: 0.95em;
    }

    .page-games-introduction-lottery__floating-icon {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 480px) {
    .page-games-introduction-lottery__hero-title {
        font-size: 2em;
    }

    .page-games-introduction-lottery__hero-description {
        font-size: 1em;
    }

    .page-games-introduction-lottery__section-title {
        font-size: 1.8em;
    }

    .page-games-introduction-lottery__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .page-games-introduction-lottery__floating-promo {
        bottom: 15px;
        right: 15px;
    }

    .page-games-introduction-lottery__floating-btn {
        padding: 10px 15px;
        font-size: 0.85em;
    }
    .page-games-introduction-lottery__floating-btn span {
        display: none; /* Hide text on very small screens */
    }
    .page-games-introduction-lottery__floating-icon {
        margin-right: 0; /* Remove margin when text is hidden */
    }
}