@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    background-color: whitesmoke;
    font-family: 'Poppins', sans-serif;
}

i {
    margin-right: 5px;
    margin-left: 5px;
}

.navbar {
    padding: 1rem;
    background-color: darkred;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.navbar a {
    text-decoration: none;
    color: white;
    font-size: large;
    font-weight: bold;
}

.navbar a:hover {
    color: darkblue;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    border:solid wheat;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.cta-btn {
    padding: 10px 8px;
    background-color:darkblue;
    color:white !important;
    border-radius: 10px;
}

.cta-btn:hover {
    background-color: rgb(14, 2, 59);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle i {
    color: white;
    font-size: 1.8rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: darkred;
        position: absolute;
        padding: 1rem;
        top: 90px;
        left: 0;
        align-items: center;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }
}

.home {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(banner.jfif);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    gap: 0.5rem;
    height: 100vh;
}

.home p {
    max-width: 80vw;
    font-size: 1.2rem;
    margin-bottom: 50px;
}

.banner {
    margin-top: 5rem;
    width: 220px;
    border: 3px solid white;
    border-radius: 20px;
}

.button {
    margin-top:-40px;
    text-decoration: none;
    color:white;
    font-size: large;
    font-weight: bold;
    padding: 10px 8px;
    background-color: darkblue;
    border-radius: 10px;
}

.button:hover {
    background-color: rgb(78, 37, 227);
}

@media (max-width: 768px) {
    .banner {
        width: 60vw;
    }
    
    .home p {
        width: 90vw;;
    }
}

.features {
    padding: 2rem 1rem;
    background-color: whitesmoke;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.feature {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    text-align: center;
    flex-wrap: wrap;

}

.feature-card {
    padding: 30px 24px;
    background-color: white;
    border-radius: 10px;
    color:black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    width: calc(25% - 40px);
    transition: transform 0.3s ease;
    height: 250px;
}

@media (max-width: 768px) {
    .feature {
        flex-direction: column;
    }

    .feature-card {
        width: 90vw;
    }
}

.feature-card:hover {
    transform: translateY(-5px);
}

.features i {
    font-size: 3rem;
    color: darkred;
}

.features h2 {
    font-size: 3rem;
    color: darkred;
    font-weight: bold;
}

@media (max-width: 768px) {
    .cards {
        flex-direction: column;
    }
}

.games {
    padding: 2rem 1rem;
    background-color: whitesmoke;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.game {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    text-align: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.game-card {
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: black;
    width: calc(25% - 40px);
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
}

.games img {
    width: 100%;
    height: 280px;
}

.games h2 {
    color: darkred;
    font-size: 3rem;
    font-weight: bold;
}

.game-card h3 {
    background-color: darkred;
    color: white;
    padding: 20px 16px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    width: 100%;
    font-weight: bold;
}

@media (max-width: 768px) {
    .game {
        flex-direction: column;
    }

    .game-card {
        width: 90vw;
    }
}

.benifits {
    padding: 2rem 1rem;
    background-color: whitesmoke;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.benifit {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    text-align: center;
    flex-wrap: wrap;
}

.benifit-card {
    padding: 10px 8px;
    background-color:white;
    border-radius: 10px;
    color:black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: calc(25% - 40px);
    gap: 0.5rem;
    height: 250px;
}

@media (max-width: 768px) {
    .benifit {
        flex-direction: column;
    }

    .benifit-card {
        width: 90vw;
    }
}


.benifit i {
    font-size: 3rem;
    color: rgb(252, 252, 28);
}

.benifits h2 {
    font-size: 3rem;
    color: darkred;
    font-weight: bold;
}

.stats {
    padding: 2rem 1rem;
    background-color: whitesmoke;
    text-align: center;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat {
    margin-top: 20px;
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 2rem;
    text-align: center;
    flex-wrap: wrap;
}

.stat-card {
    padding: 30px 24px;
    background-color: white;
    border-radius: 10px;
    color:black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: calc(20% - 40px);
    gap: 0.5rem;
    height: 250px;
}

@media (max-width: 768px) {
    .stat {
        flex-direction: column;
    }

    .stat-card {
        width: 90vw;
    }
}

.stat i {
    font-size: 3rem;
    color: darkred;
    gap: 1rem;
}

.stats h2 {
    font-size: 3rem;
    color: darkred;
    font-weight: bold;
}

.stats h3 {
    font-size: 2rem;
    color: darkgoldenrod;
    font-weight: bold;
}

.faq {
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.faq p {
    max-width: 90vw;
}

.faqs {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 2rem;
    text-align: start;
}

.qa {
    background-color:white;
    border-radius: 10px;
    max-width: 85vw;
    width: 110vw;
}

.qa h3 {
    padding: 10px 8px;
    background-color: darkred;
    color: white;
    border-radius: 5px;
    height: 4rem;
    display: flex;
    justify-content: start;
    align-items: center;
}

.qa p {
    margin-top: 20px;
    font-size: 1rem;
    text-align: start;
    height: 4rem;
    display: flex;
    justify-content: start;
    align-items: center;
    margin-left: 5px;
}

.faq h2 {
    font-size: 3rem;
    color: darkred;
    font-weight: bold;
}

@media (max-width: 768px) {
    .faq {
        text-align: center;
    }

    .qa h3 {
        height: 8rem;
    }

    .qa p {
        height: 13rem;
    }
}

.how-to-play {
    padding: 2rem 1rem;
    background-color: red;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    height: 100vh;
}

.htp {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.htp-list {
    list-style: none;
    color: white;
}

.htp-list li {
    width: 50vw;
    margin-top: 10px;
}

.cta-button {
    margin-top: 20px;
    text-decoration: none;
    padding: 10px 8px;
    background-color: black;
    color: white;
    font-size: large;
    font-weight: bold;
    border-radius: 10px;
}

.cta-button:hover {
    background-color: navy;
}

.floating-icons {
    position: fixed;
    top: 50%;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: -7rem;
}

.floating-icons a {
    text-decoration: none;
    color: white;
    padding: 5px 5px;
    background-color: darkred;
    border: 3px solid white;
    border-radius: 10px;
}

.floating-icons a:hover {
    background-color: red;
}

.top-btn {
    position: fixed;
    right: 30px;
    bottom: 30px;
}

.top-icon {
    text-decoration: none;
    color: white;
    background-color: darkred;
    padding: 10px 10px;
    border: 3px solid white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.top-icon:hover {
    background-color: rgb(72, 2, 2);
    transform: translateY(-5px);
}

.footer-btn {
    margin-top: 50px;
    padding: 10px 8px;
    background-color: yellow;
    color: darkred;
    border-radius: 5px;
    text-decoration: none;
    font-size: large;
    font-weight: bold;
}

.left-cta {
    margin-left: 9rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    color: white;
}

.left-cta img {
    width: 50px;
    height: 50px;
    border-radius: 20px;
}

.left-cta-text {
    display: flex;
    flex-direction: column;
}

.footer-btn:hover {
    background-color: gold;
}

.about {
    margin-top: 5rem;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1rem;
    height: 100vh;
}

.privacy {
    margin-top: 5rem;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0.2rem;
    height: 100vh;
}

.terms {
    margin-top: 5rem;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0.2rem;
    height: 100vh;
}

footer {
    padding: 5rem 4rem;
    background-color:darkblue;
    font-size: large;
    font-weight: bold;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    text-decoration: none;
    color: white;
}

.social-icons {
    margin-top: 20px;
    font-size: 2rem;
}

.social-icons a {
    text-decoration: none;
    color: white;
}

.fa-brands:hover {
    color: goldenrod;
}