body {
    background: url("../Image/WinStreak background.png") no-repeat center center fixed;
    background-size: cover;
    color: #eaf3ff;
    min-height: 100vh;
    overflow-x: hidden;
}

.flag-icon {
    width: 35px;
    height: 35px;
}

.top-nav {
    position: absolute;
    top: 20px;
    right: 40px;
}

.top-nav ul {
    display: flex;
    gap: 15px;
    list-style: none;
}

.top-nav a {
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 500;
    backdrop-filter: blur(8px);
    transition: 0.3s ease;
}

.top-nav a:hover {
    background: rgba(160, 200, 255, 0.3);
    box-shadow: 0 0 10px rgba(140, 190, 255, 0.6);
}

.main-content {
    text-align: center;
    padding-top: 140px;
}
.main-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #d9e8ff;
    text-shadow: 0 0 20px rgba(180, 220, 255, 0.9);
}

.subtitle {
    margin-top: 15px;
    font-size: 1.2rem;
    color: #d2e1ff;
    line-height: 1.5;
}

.game-selection {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-top: 80px;
    flex-wrap: wrap;
}

.game-card {
    width: 240px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 1.3rem;
    border-radius: 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.game-card:hover {
    border-color: #a5c9ff;
    box-shadow: 0 0 25px rgba(140, 200, 255, 0.7);
    transform: translateY(-6px);
    color: #bcdfff;
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.3rem;
    }

    .game-selection {
        gap: 30px;
    }

    .game-card {
        width: 180px;
        height: 120px;
        font-size: 1.1rem;
    }
}

.lang-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    text-decoration: none;
    color: #eaf3ff;
    padding: 8px 18px;
    font-weight: 600;
    font-size: 1rem;

    background: rgba(255, 255, 255, 0.10);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 25px;
    backdrop-filter: blur(8px);

    box-shadow: 0 0 10px rgba(140, 190, 255, 0.35);
    transition: 0.3s ease;
    z-index: 1000;
}

.lang-btn:hover {
    background: rgba(160, 200, 255, 0.25);
    border-color: rgba(200, 220, 255, 0.5);
    color: #dce9ff;
    box-shadow: 0 0 15px rgba(160, 210, 255, 0.65);
    transform: scale(1.05);
}