/* style/game-lobby.css */
.page-game-lobby {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light text for dark background */
    background-color: #1A2B3C; /* Primary dark background */
    line-height: 1.6;
}

.page-game-lobby__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-game-lobby__hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1A2B3C, #000000);
}

.page-game-lobby__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.4;
}

.page-game-lobby__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.page-game-lobby__hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 20px;
}

.page-game-lobby__hero-title {
    font-size: 3.5em;
    color: #FFD700; /* Gold accent */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-game-lobby__hero-description {
    font-size: 1.3em;
    color: #F0F0F0;
    margin-bottom: 30px;
}

.page-game-lobby__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

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

.page-game-lobby__btn--primary {
    background-color: #FFD700; /* Gold */
    color: #1A2B3C; /* Dark text */
    border: 2px solid #FFD700;
}

.page-game-lobby__btn--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
}

.page-game-lobby__btn--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold */
    border: 2px solid #FFD700;
}

.page-game-lobby__btn--secondary:hover {
    background-color: #FFD700;
    color: #1A2B3C;
    transform: translateY(-2px);
}

.page-game-lobby__section-title {
    font-size: 2.8em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    position: relative;
}

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

.page-game-lobby__section-subtitle {
    font-size: 1.2em;
    color: #C0C0C0;
    text-align: center;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-lobby__introduction,
.page-game-lobby__why-choose,
.page-game-lobby__faq {
    padding: 80px 0;
    background-color: #1A2B3C;
}

.page-game-lobby__text-content {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #E0E0E0;
    text-align: justify;
}

.page-game-lobby__game-categories {
    padding: 80px 0;
    background-color: #0F1A25; /* Slightly lighter dark for contrast */
}

.page-game-lobby__category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-game-lobby__category-card {
    background-color: #2A3B4C; /* Darker card background */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

.page-game-lobby__category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}

.page-game-lobby__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 4px solid #FFD700;
}

.page-game-lobby__card-title {
    font-size: 1.8em;
    color: #FFD700;
    margin: 25px 20px 15px;
    text-align: center;
}

.page-game-lobby__card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-game-lobby__card-title a:hover {
    color: #e6c200;
}

.page-game-lobby__card-description {
    font-size: 1em;
    color: #C0C0C0;
    padding: 0 20px;
    margin-bottom: 25px;
    flex-grow: 1;
    text-align: justify;
}

.page-game-lobby__card-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 0 20px;
    margin-top: auto;
}

.page-game-lobby__btn--card {
    padding: 10px 20px;
    font-size: 0.95em;
    border-radius: 6px;
    background-color: #FFD700;
    color: #1A2B3C;
    border: 2px solid #FFD700;
}

.page-game-lobby__btn--card:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.page-game-lobby__btn--outline {
    padding: 10px 20px;
    font-size: 0.95em;
    border-radius: 6px;
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-game-lobby__btn--outline:hover {
    background-color: #FFD700;
    color: #1A2B3C;
}

.page-game-lobby__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.page-game-lobby__feature-item {
    text-align: center;
    background-color: #2A3B4C;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-game-lobby__feature-item:hover {
    transform: translateY(-8px);
}

.page-game-lobby__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.page-game-lobby__feature-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-game-lobby__feature-description {
    font-size: 1em;
    color: #C0C0C0;
}

.page-game-lobby__cta-section {
    background: linear-gradient(90deg, #1A2B3C, #000000);
    padding: 100px 0;
    text-align: center;
}

.page-game-lobby__section-title--light {
    color: #FFD700;
    margin-bottom: 25px;
}

.page-game-lobby__cta-description {
    font-size: 1.3em;
    color: #F0F0F0;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-lobby__cta-actions {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-game-lobby__btn--tertiary {
    background-color: transparent;
    color: #C0C0C0;
    border: 2px solid #C0C0C0;
}

.page-game-lobby__btn--tertiary:hover {
    background-color: #C0C0C0;
    color: #1A2B3C;
    transform: translateY(-2px);
}

.page-game-lobby__faq {
    background-color: #0F1A25;
}

.page-game-lobby__faq-list {
    margin-top: 40px;
}

.page-game-lobby__faq-item {
    background-color: #2A3B4C;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-game-lobby__faq-question {
    font-size: 1.4em;
    color: #FFD700;
    padding: 20px 30px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #2A3B4C;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.page-game-lobby__faq-question::after {
    content: '+';
    font-size: 1.5em;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-game-lobby__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-game-lobby__faq-answer {
    font-size: 1.05em;
    color: #E0E0E0;
    padding: 0 30px 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-game-lobby__faq-answer.active {
    max-height: 500px; /* Adjust as needed for content */
    padding: 0 30px 30px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-game-lobby__hero-title {
        font-size: 2.8em;
    }
    .page-game-lobby__hero-description {
        font-size: 1.1em;
    }
    .page-game-lobby__section-title {
        font-size: 2.2em;
    }
    .page-game-lobby__category-card {
        padding-bottom: 15px;
    }
    .page-game-lobby__card-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-game-lobby__hero {
        height: 500px;
    }
    .page-game-lobby__hero-title {
        font-size: 2.2em;
    }
    .page-game-lobby__hero-description {
        font-size: 1em;
    }
    .page-game-lobby__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-game-lobby__btn {
        width: 80%;
        max-width: 300px;
    }
    .page-game-lobby__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
        padding-top: 40px;
    }
    .page-game-lobby__section-subtitle {
        font-size: 1em;
        margin-bottom: 40px;
    }
    .page-game-lobby__introduction,
    .page-game-lobby__game-categories,
    .page-game-lobby__why-choose,
    .page-game-lobby__faq {
        padding: 60px 0;
    }
    .page-game-lobby__category-grid {
        gap: 20px;
    }
    .page-game-lobby__cta-section {
        padding: 80px 0;
    }
    .page-game-lobby__cta-description {
        font-size: 1.1em;
    }
    .page-game-lobby__cta-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-game-lobby__faq-question {
        font-size: 1.2em;
        padding: 15px 20px;
    }
    .page-game-lobby__faq-answer {
        padding: 0 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-game-lobby__hero {
        height: 400px;
    }
    .page-game-lobby__hero-title {
        font-size: 1.8em;
    }
    .page-game-lobby__btn {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-game-lobby__section-title {
        font-size: 1.5em;
    }
    .page-game-lobby__card-title {
        font-size: 1.4em;
    }
    .page-game-lobby__btn--card,
    .page-game-lobby__btn--outline {
        font-size: 0.9em;
        padding: 8px 15px;
    }
    .page-game-lobby__feature-title {
        font-size: 1.4em;
    }
    .page-game-lobby__faq-question {
        font-size: 1em;
    }
}