body {
    background-color: #f5f5f5;
}

/* Navbar */
.navbar-logo {
    height: 38px;
}

/* Page1 */
.page1 {
    background-image: url("/static/img/Page1BG.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
}

.page1 .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page1 .container img {
    width: 60%;
}

.page1 .container h2 {
    font-size: clamp(20px, 5vw, 80px);
    color: #fff;
}

.page1 .container .app img {
    width: 40vw;
    min-width: 150px;
    max-width: 400px;
}

/* Page2 */
.page2-card {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    margin-top: 2rem;
    margin-bottom: 2rem;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page2-card.row {
    margin-left: 0;
    margin-right: 0;
}

.page2-text {
    padding: 24px 30px;
}

.page2-img {
    min-height: 300px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

@media (max-width: 768px) {
    .page2-card {
        flex-direction: column;
    }
}

/* Games Section */
.games-section {
    background: #fff;
    border-radius: 30px;
    padding: 40px 30px;
    margin: 2rem auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.games-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.games-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
}

.gameicons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    justify-items: center;
}

.game-item {
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.game-item img {
    width: 100%;
    max-width: 100px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.game-item p {
    font-size: 0.95rem;
    color: #333;
    margin: 0;
    font-weight: 500;
}

/* Page3 */
.page3 {
    color: #000;
    border-radius: 30px;
    background-image: url('/static/img/TextBG1.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.page3-img{
    background-image: url('/static/img/Page4BG.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 500px;
}

.page3-text {
    padding: 30px;
}

/* Page4 */
.page4 {
    padding-left: 12px;
    padding-right: 12px;
    margin-top: 4vw;

    min-height: 400px;
    border-radius: 30px;
    color: #000;
    min-height: 500px;
    border-radius: 30px;
    background-image: url('/static/img/TextBG.png'), url('/static/img/Page5BG.png');
    background-repeat: no-repeat, no-repeat;
    background-size: cover, cover;
    background-position: center center, 20% center;
}

.page4 .text {
    padding-top: 30px;
    padding-left: 10vw;
    padding-right: 5vw;
}

/* Footer */
.footer {
    background-color: #2b3035;
}

.footer-logo {
    width: 30vw;
    max-width: 150px;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}