/* style/game-lobby-lottery-rules.css */

/* Base styles for the page content, ensuring contrast and branding */
.page-game-lobby-lottery-rules {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Dark text for general content on light backgrounds */
    line-height: 1.6;
    background-color: #f8f8f8; /* Light background for readability */
}

/* Container for consistent spacing */
.page-game-lobby-lottery-rules__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-game-lobby-lottery-rules__hero {
    background: linear-gradient(135deg, #0047AB, #00287A); /* Deeper blue gradient for hero */
    color: #FFFFFF; /* White text on dark blue background */
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-game-lobby-lottery-rules__title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for main title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-lobby-lottery-rules__subtitle {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #E0E0E0; /* Light grey for subtitle */
}

/* Call to Action Buttons */
.page-game-lobby-lottery-rules__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #0047AB; /* Dark blue text on gold button */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-game-lobby-lottery-rules__cta-button:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-2px);
}

.page-game-lobby-lottery-rules__cta-button--secondary {
    background-color: #0047AB; /* Dark blue button */
    color: #FFD700; /* Gold text on dark blue button */
    border: 2px solid #FFD700;
}

.page-game-lobby-lottery-rules__cta-button--secondary:hover {
    background-color: #003a8a; /* Darker blue on hover */
    border-color: #e6c200;
}

.page-game-lobby-lottery-rules__cta-button--primary {
    background-color: #FFD700;
    color: #0047AB;
}
.page-game-lobby-lottery-rules__cta-button--primary:hover {
    background-color: #e6c200;
}


/* General Section Styling */
.page-game-lobby-lottery-rules__section {
    padding: 60px 0;
    border-bottom: 1px solid #eeeeee;
}

.page-game-lobby-lottery-rules__section:last-of-type {
    border-bottom: none;
}

.page-game-lobby-lottery-rules__section-title {
    font-size: 2.5em;
    color: #0047AB; /* Dark blue for section titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-game-lobby-lottery-rules__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Gold underline */
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-game-lobby-lottery-rules__sub-section-title {
    font-size: 1.8em;
    color: #0047AB; /* Dark blue for sub-section titles */
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 5px solid #FFD700; /* Gold left border */
    padding-left: 15px;
}

/* Text and List Styles */
.page-game-lobby-lottery-rules p {
    margin-bottom: 15px;
    color: #444444;
}

.page-game-lobby-lottery-rules__list,
.page-game-lobby-lottery-rules__ordered-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #444444;
}

.page-game-lobby-lottery-rules__ordered-list {
    list-style-type: decimal;
}

.page-game-lobby-lottery-rules__list li,
.page-game-lobby-lottery-rules__ordered-list li {
    margin-bottom: 10px;
}

.page-game-lobby-lottery-rules__list strong {
    color: #0047AB; /* Emphasize important points with primary color */
}

/* Image Styles */
.page-game-lobby-lottery-rules__image-full-width {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-game-lobby-lottery-rules__image-responsive {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Link in text */
.page-game-lobby-lottery-rules__link-text {
    color: #0047AB; /* Primary color for links */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-game-lobby-lottery-rules__link-text:hover {
    color: #FFD700; /* Gold on hover */
    text-decoration: underline;
}

/* Animation for sections */
.page-game-lobby-lottery-rules__section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.page-game-lobby-lottery-rules__section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-game-lobby-lottery-rules__title {
        font-size: 2.2em;
    }

    .page-game-lobby-lottery-rules__subtitle {
        font-size: 1em;
    }

    .page-game-lobby-lottery-rules__section-title {
        font-size: 2em;
    }

    .page-game-lobby-lottery-rules__sub-section-title {
        font-size: 1.5em;
    }

    .page-game-lobby-lottery-rules__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-game-lobby-lottery-rules__section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .page-game-lobby-lottery-rules__title {
        font-size: 1.8em;
    }

    .page-game-lobby-lottery-rules__subtitle {
        font-size: 0.9em;
    }

    .page-game-lobby-lottery-rules__section-title {
        font-size: 1.7em;
    }

    .page-game-lobby-lottery-rules__sub-section-title {
        font-size: 1.3em;
    }

    .page-game-lobby-lottery-rules__container {
        padding: 0 15px;
    }
}