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

.page-game-lobby-lottery {
    font-family: 'Arial', sans-serif;
    color: #333; /* Dark gray for general text */
    line-height: 1.6;
    background-color: #f8f8f8; /* Light background for readability */
}

.page-game-lobby-lottery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Hero Section */
.page-game-lobby-lottery-hero {
    background: linear-gradient(135deg, #0A2463, #3B5998); /* Dark blue gradient */
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 450px; /* Ensure a decent height */
}

.page-game-lobby-lottery-hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15; /* Subtle background image */
}

.page-game-lobby-lottery-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-game-lobby-lottery-hero .page-game-lobby-lottery-container {
    position: relative;
    z-index: 1;
}

.page-game-lobby-lottery-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #E0B143; /* Accent gold for title */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-lobby-lottery-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

/* General Buttons */
.page-game-lobby-lottery-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1.1em;
    text-align: center;
}

.page-game-lobby-lottery-btn-primary {
    background-color: #E0B143; /* Gold accent */
    color: #0A2463; /* Dark blue text */
    border: 2px solid #E0B143;
}

.page-game-lobby-lottery-btn-primary:hover {
    background-color: #f5c76f;
    border-color: #f5c76f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-game-lobby-lottery-btn-secondary {
    background-color: #0A2463; /* Dark blue */
    color: #E0B143; /* Gold text */
    border: 2px solid #E0B143;
    margin-top: 20px;
}

.page-game-lobby-lottery-btn-secondary:hover {
    background-color: #1a3a7c;
    border-color: #f5c76f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-game-lobby-lottery-btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
}

.page-game-lobby-lottery-btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
    margin-top: 30px;
}

.page-game-lobby-lottery-btn-xl {
    padding: 20px 40px;
    font-size: 1.3em;
    margin: 20px 10px;
    min-width: 250px;
}

.page-game-lobby-lottery-btn-outline {
    background-color: transparent;
    color: #E0B143;
    border: 2px solid #E0B143;
}

.page-game-lobby-lottery-btn-outline:hover {
    background-color: #E0B143;
    color: #0A2463;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Sections */
.page-game-lobby-lottery-section {
    padding: 60px 0;
    text-align: center;
}

.page-game-lobby-lottery-section:nth-of-type(even) {
    background-color: #f0f0f0; /* Light gray for alternating sections */
}

.page-game-lobby-lottery-section-title {
    font-size: 2.5em;
    color: #0A2463;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-game-lobby-lottery-section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #E0B143;
    border-radius: 2px;
}

.page-game-lobby-lottery-paragraph {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 20px auto;
    color: #555;
}

.page-game-lobby-lottery-text-center {
    text-align: center;
}

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

.page-game-lobby-lottery-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease;
    border-top: 5px solid #E0B143;
}

.page-game-lobby-lottery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-game-lobby-lottery-card-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-game-lobby-lottery-card-title {
    font-size: 1.6em;
    color: #0A2463;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-game-lobby-lottery-card-text {
    color: #666;
    margin-bottom: 15px;
}

.page-game-lobby-lottery-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-game-lobby-lottery-list li {
    margin-bottom: 8px;
    color: #555;
    font-size: 0.95em;
    position: relative;
    padding-left: 25px;
}

.page-game-lobby-lottery-list li::before {
    content: '✔️'; /* Checkmark icon */
    position: absolute;
    left: 0;
    color: #E0B143;
    font-weight: bold;
}

/* Guide Steps */
.page-game-lobby-lottery-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-game-lobby-lottery-step-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    position: relative;
    border-bottom: 5px solid #0A2463;
}

.page-game-lobby-lottery-step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #E0B143;
    color: #0A2463;
    border-radius: 50%;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    border: 3px solid #0A2463;
}

.page-game-lobby-lottery-step-title {
    font-size: 1.5em;
    color: #0A2463;
    margin-bottom: 15px;
}

.page-game-lobby-lottery-step-text {
    color: #666;
}

/* Tips Section */
.page-game-lobby-lottery-grid-2-col {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.page-game-lobby-lottery-tip-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.page-game-lobby-lottery-tip-card:hover {
    border-color: #E0B143;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-game-lobby-lottery-tip-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.page-game-lobby-lottery-tip-title {
    font-size: 1.4em;
    color: #0A2463;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-game-lobby-lottery-tip-text {
    color: #666;
    font-size: 1em;
}

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

.page-game-lobby-lottery-promo-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.page-game-lobby-lottery-promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-game-lobby-lottery-promo-image {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-game-lobby-lottery-promo-title {
    font-size: 1.5em;
    color: #0A2463;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-game-lobby-lottery-promo-text {
    color: #666;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-game-lobby-lottery-faq-items {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-game-lobby-lottery-faq-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    padding: 25px 30px;
    border-left: 5px solid #E0B143;
}

.page-game-lobby-lottery-faq-question {
    font-size: 1.3em;
    color: #0A2463;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-game-lobby-lottery-faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #E0B143;
    transition: transform 0.3s ease;
}

.page-game-lobby-lottery-faq-question.active::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-game-lobby-lottery-faq-answer {
    color: #555;
    font-size: 1em;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding-top: 0;
}

.page-game-lobby-lottery-faq-answer.active {
    max-height: 500px; /* Adjust based on max content */
    padding-top: 15px;
}

/* CTA Section */
.page-game-lobby-lottery-cta {
    background: linear-gradient(45deg, #0A2463, #1c4a9a);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.page-game-lobby-lottery-cta-title {
    color: #E0B143;
    font-size: 2.8em;
    margin-bottom: 20px;
}

.page-game-lobby-lottery-cta-text {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-game-lobby-lottery-title {
        font-size: 2.8em;
    }
    .page-game-lobby-lottery-subtitle {
        font-size: 1.2em;
    }
    .page-game-lobby-lottery-section-title {
        font-size: 2em;
    }
    .page-game-lobby-lottery-grid-2-col {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    .page-game-lobby-lottery-cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-game-lobby-lottery-hero {
        padding: 80px 0;
    }
    .page-game-lobby-lottery-title {
        font-size: 2.2em;
    }
    .page-game-lobby-lottery-subtitle {
        font-size: 1em;
    }
    .page-game-lobby-lottery-btn-xl {
        min-width: unset;
        width: 90%;
        margin: 10px auto;
        display: block;
    }
    .page-game-lobby-lottery-section {
        padding: 40px 0;
    }
    .page-game-lobby-lottery-section-title {
        font-size: 1.8em;
    }
    .page-game-lobby-lottery-grid,
    .page-game-lobby-lottery-steps,
    .page-game-lobby-lottery-promo-grid {
        grid-template-columns: 1fr;
    }
    .page-game-lobby-lottery-card,
    .page-game-lobby-lottery-step-item,
    .page-game-lobby-lottery-tip-card,
    .page-game-lobby-lottery-promo-card,
    .page-game-lobby-lottery-faq-item {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .page-game-lobby-lottery-title {
        font-size: 1.8em;
    }
    .page-game-lobby-lottery-subtitle {
        font-size: 0.9em;
    }
    .page-game-lobby-lottery-section-title {
        font-size: 1.6em;
    }
    .page-game-lobby-lottery-btn {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-game-lobby-lottery-btn-large {
        padding: 15px 25px;
        font-size: 1.1em;
    }
    .page-game-lobby-lottery-cta-title {
        font-size: 1.8em;
    }
    .page-game-lobby-lottery-cta-text {
        font-size: 1em;
    }
}