{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins', sans-serif;
    background:#f7f8fc;
    color:#333;
    line-height:1.6;
}

img{
    max-width:100%;
    display:block;
}

.hero{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    gap:40px;
    padding:80px 8%;
    background:linear-gradient(135deg,#ffffff 0%,#f5f7ff 100%);
}

.hero-reduced{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    gap:40px;
    padding:10px 4%;
    background:linear-gradient(135deg,#ffffff 0%,#f5f7ff 100%);
}

.hero-content{
    flex:1;
    min-width:320px;
    max-width:560px;
}

.logo{
    width:360px;
    margin-bottom:30px;
}

.logo-reduced{
    width:200px;
    margin-bottom:5px;
}

.hero h1{
    font-size:4rem;
    line-height:1.1;
    color:#2c2470;
    margin-bottom:25px;
}

.hero-subtitle{
    font-size:1.25rem;
    margin-bottom:20px;
}

.hero-small{
    color:#666;
    margin-bottom:35px;
}

.hero-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
}

.btn-primary,
.btn-secondary{
    text-decoration:none;
    padding:14px 24px;
    border-radius:14px;
    font-weight:600;
    transition:0.2s;
}

.btn-primary{
    background:#6C63FF;
    color:white;
}

.btn-secondary{
    background:white;
    color:#6C63FF;
    border:2px solid #6C63FF;
}

.btn-primary:hover,
.btn-secondary:hover{
    transform:translateY(-2px);
}

.hero-image{
    flex:1;
    min-width:300px;
    max-width:550px;
}

.hero-image img{
    border-radius:30px;
    box-shadow:0 20px 40px rgba(0,0,0,0.1);
}

.features{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:25px;
    padding:70px 8%;
}

.feature-card{
    background:white;
    padding:30px;
    border-radius:22px;
    box-shadow:0 8px 20px rgba(0,0,0,0.05);
    text-align:center;
}

.feature-card a{
    text-decoration:none;
}

.icon{
    font-size:2rem;
    margin-bottom:15px;
}

.feature-card h3{
    color:#2c2470;
    margin-bottom:10px;
}

.games,
.privacy,
.social{
    padding:80px 8%;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}
.section-title h2{
    font-size:2.2rem;
    color:#2c2470;
    margin-bottom:10px;
}

.language-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(10px,1fr));
    gap:20px;
    display: grid;
    grid-auto-flow: column dense;
}

.lang-card{
    background:white;
    padding:20px;
    border-radius:20px;
    text-decoration:none;
    color:#333;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,0.05);
    transition:0.2s;
    margin-bottom: 30px;
}

.lang-card-reduced{
    background:white;
    padding:15px;
    border-radius:20px;
    text-decoration:none;
    color:#333;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,0.05);
    transition:0.2s;
    margin-bottom: 8px;
}

.lang-card:hover{
    transform:translateY(-4px);
}

.flag{
    font-size:2rem;
    display:block;
    margin-bottom:10px;
}

.flagh{
    font-size:2rem;
    display:block;
    margin-bottom:10px;
}

.flagh a{
    text-decoration:none;
}


.lang-title{
    font-weight:600;
    display:block;
}

.lang-sub{
    color:#777;
    font-size:0.95rem;
}

.privacy-content{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:40px;
}

.privacy-text{
    flex:1;
    min-width:300px;
}

.privacy-text h2{
    color:#2c2470;
    margin-bottom:20px;
    font-size:2rem;
}

.privacy-text ul{
    list-style:none;
}

.privacy-text li{
    margin-bottom:12px;
}

.privacy-image{
    flex:1;
    min-width:280px;
    max-width:420px;
}

.social-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.social-card{
    background:white;
    border-radius:22px;
    overflow:hidden;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,0.05);
}

.social-card span{
    display:block;
    padding:18px;
    font-weight:600;
}

footer{
    background:#6d1bd5;
    color:white;
    text-align:center;
    padding:20px 20px;
}

footer p{
    color:white;
    text-align:center;
    padding:8px 8px;
}

.footer-logo{
    width:200px;
    margin:auto;
    margin-bottom:20px;
}

.footer-links{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:20px;
    margin-top:20px;
}

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

@media(max-width:768px){

    .hero h1{
        font-size:2.8rem;
    }

    .hero{
        padding-top:50px;
    }

}