/* style/game-lobby.css */
.page-game-lobby {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light grey for general text on dark background */
    background-color: #000080; /* Dark blue main background */
}

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

.page-game-lobby__hero {
    background: linear-gradient(135deg, #FFD700, #000080);
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #000080; /* Dark blue text on gold/blue gradient */
    position: relative;
    overflow: hidden;
}

.page-game-lobby__hero-content {
    z-index: 1;
    max-width: 800px;
}

.page-game-lobby__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #000080; /* Dark blue on gold for high contrast */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-game-lobby__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #333333; /* Darker grey for better contrast on gold */
}

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

.page-game-lobby__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    z-index: 0;
}

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

.page-game-lobby__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

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

.page-game-lobby__btn--primary:hover {
    background-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: #000080;
    transform: translateY(-2px);
}

.page-game-lobby__btn--small {
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-game-lobby__btn--large {
    padding: 15px 30px;
    font-size: 1.1em;
}

.page-game-lobby__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

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

.page-game-lobby__text-content--centered {
    text-align: center;
}

.page-game-lobby__about-13win, .page-game-lobby__game-categories, .page-game-lobby__getting-started, .page-game-lobby__tips, .page-game-lobby__support, .page-game-lobby__conclusion {
    padding: 60px 0;
    background-color: #000080; /* Dark blue */
}

.page-game-lobby__about-13win {
    background-color: #0d0d82; /* Slightly lighter dark blue for distinction */
}

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

.page-game-lobby__feature-item {
    background-color: #1a1a90; /* Even lighter dark blue */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

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

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

.page-game-lobby__category-card {
    background-color: #1a1a90;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-game-lobby__category-card:hover {
    transform: translateY(-5px);
}

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

.page-game-lobby__category-title {
    font-size: 1.6em;
    color: #FFD700;
    margin: 20px 15px 10px;
}

.page-game-lobby__category-description {
    padding: 0 20px 15px;
    flex-grow: 1;
    color: #cccccc;
}

.page-game-lobby__btn--view-detail, .page-game-lobby__btn--play-now {
    margin: 0 10px 20px;
    padding: 10px 20px;
}

.page-game-lobby__btn--view-detail {
    background-color: #FFD700;
    color: #000080;
}

.page-game-lobby__btn--view-detail:hover {
    background-color: #e6c200;
}

.page-game-lobby__btn--play-now {
    background-color: #000080;
    color: #FFD700;
    border: 1px solid #FFD700;
}

.page-game-lobby__btn--play-now:hover {
    background-color: #FFD700;
    color: #000080;
}

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

.page-game-lobby__step-item {
    background-color: #1a1a90;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-game-lobby__step-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

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

.page-game-lobby__list {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    max-width: 800px;
}

.page-game-lobby__list li {
    background-color: #1a1a90;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    color: #f0f0f0;
}

.page-game-lobby__list li::before {
    content: '✔️';
    margin-right: 15px;
    color: #FFD700;
    font-size: 1.2em;
}

.page-game-lobby__support-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.page-game-lobby__support-info p {
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-game-lobby__support-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-game-lobby__call-to-action {
    text-align: center;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-game-lobby__hero-title {
        font-size: 2.5em;
    }

    .page-game-lobby__hero-description {
        font-size: 1.1em;
    }

    .page-game-lobby__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-game-lobby__section-title {
        font-size: 2em;
    }

    .page-game-lobby__features-grid, .page-game-lobby__category-list, .page-game-lobby__steps-grid {
        grid-template-columns: 1fr;
    }

    .page-game-lobby__call-to-action {
        flex-direction: column;
    }
}

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

    .page-game-lobby__hero-description {
        font-size: 1em;
    }

    .page-game-lobby__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .page-game-lobby__section-title {
        font-size: 1.8em;
    }

    .page-game-lobby__text-content {
        font-size: 0.95em;
    }
}