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

.page-game-lobby__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #1A1A2E 0%, #3a3a5a 100%); /* Dark gradient for hero */
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.page-game-lobby__hero-title {
    font-size: 3.5em;
    color: #E6B325; /* Gold for main title */
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.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;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-game-lobby__btn--primary {
    background-color: #E6B325; /* Gold button */
    color: #1A1A2E; /* Dark text on gold */
}

.page-game-lobby__btn--primary:hover {
    background-color: #ffc93c;
    transform: translateY(-3px);
}

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

.page-game-lobby__btn--secondary:hover {
    background-color: #E6B325;
    color: #1A1A2E;
    transform: translateY(-3px);
}

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

.page-game-lobby__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.page-game-lobby__overview, .page-game-lobby__why-ax88, .page-game-lobby__cta-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

.page-game-lobby__section-title {
    font-size: 2.8em;
    color: #E6B325;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-game-lobby__section-description {
    font-size: 1.1em;
    color: #F0F0F0;
    margin-bottom: 50px;
}

.page-game-lobby__game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-game-lobby__category-card {
    background-color: #2A2A4A; /* Slightly lighter dark blue for cards */
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-game-lobby__category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: brightness(0.8);
}

.page-game-lobby__category-title {
    font-size: 1.8em;
    color: #E6B325;
    margin: 25px 15px 15px;
    font-weight: bold;
}

.page-game-lobby__category-description {
    font-size: 1em;
    color: #CCCCCC;
    padding: 0 20px 25px;
    flex-grow: 1;
}

.page-game-lobby__category-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 0 20px 30px;
    margin-top: auto; /* Push buttons to the bottom */
}

.page-game-lobby__btn--detail {
    background-color: #4A4A6A;
    color: #F0F0F0;
    padding: 10px 20px;
    font-size: 0.95em;
}

.page-game-lobby__btn--detail:hover {
    background-color: #5A5A7A;
}

.page-game-lobby__btn--play {
    background-color: #E6B325;
    color: #1A1A2E;
    padding: 10px 20px;
    font-size: 0.95em;
}

.page-game-lobby__btn--play:hover {
    background-color: #ffc93c;
}

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

.page-game-lobby__why-ax88-item {
    background-color: #2A2A4A;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-game-lobby__why-ax88-item:hover {
    transform: translateY(-5px);
}

.page-game-lobby__why-ax88-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px #E6B325);
}

.page-game-lobby__item-title {
    font-size: 1.5em;
    color: #E6B325;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-game-lobby__item-description {
    font-size: 1em;
    color: #CCCCCC;
}

.page-game-lobby__cta-bottom {
    background-color: #2A2A4A;
    padding: 80px 20px;
    border-radius: 12px;
    margin-bottom: 60px;
}

.page-game-lobby__cta-title {
    font-size: 2.5em;
    color: #E6B325;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-game-lobby__cta-description {
    font-size: 1.1em;
    color: #F0F0F0;
    margin-bottom: 40px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-game-lobby__hero-title {
        font-size: 3em;
    }
    .page-game-lobby__section-title {
        font-size: 2.2em;
    }
    .page-game-lobby__game-categories {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-game-lobby__why-ax88-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-game-lobby__hero {
        padding: 60px 15px;
    }
    .page-game-lobby__hero-title {
        font-size: 2.5em;
    }
    .page-game-lobby__hero-description {
        font-size: 1em;
    }
    .page-game-lobby__hero-actions, .page-game-lobby__cta-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-game-lobby__btn {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-game-lobby__overview, .page-game-lobby__why-ax88, .page-game-lobby__cta-bottom {
        padding: 40px 15px;
    }
    .page-game-lobby__section-title {
        font-size: 1.8em;
    }
    .page-game-lobby__game-categories {
        grid-template-columns: 1fr;
        padding: 40px 15px;
    }
    .page-game-lobby__why-ax88-grid {
        grid-template-columns: 1fr;
    }
    .page-game-lobby__cta-title {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .page-game-lobby__hero-title {
        font-size: 2em;
    }
    .page-game-lobby__section-title {
        font-size: 1.5em;
    }
    .page-game-lobby__cta-title {
        font-size: 1.6em;
    }
    .page-game-lobby__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-game-lobby__category-title {
        font-size: 1.5em;
    }
}