*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#050505;
    color:#fff;
    font-family:"Poppins",sans-serif;
    overflow-x:hidden;
}

a{
    text-decoration:none;
    color:white;
}

img{
    max-width:100%;
    display:block;
}

.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:20px 8%;

    background:rgba(0,0,0,.45);
    backdrop-filter:blur(12px);
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo img{
    width:52px;
    height:52px;
    border-radius:50%;
}

.logo span{
    font-size:24px;
    font-weight:700;
}

.nav-links{
    display:flex;
    align-items:center;
    gap:20px;
}

.nav-links a{
    color:#ddd;
    transition:.3s;
}

.nav-links a:hover{
    color:#9b5cff;
}

#connectWallet{
    background:#8B5CF6;
    border:none;
    color:#fff;
    padding:12px 22px;
    border-radius:40px;
    cursor:pointer;
    font-weight:600;
    transition:.3s;
}

#connectWallet:hover{
    transform:translateY(-2px);
    box-shadow:0 0 25px #8B5CF6;
}

.hero{
    position:relative;
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.hero-bg{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.65);
}

.hero-content{
    position:relative;
    z-index:2;
    width:min(900px,90%);
}

.hero h1{
    font-size:72px;
    line-height:1.05;
    font-weight:800;
}

.hero h1 span{
    color:#9b5cff;
}

.hero p{
    margin-top:25px;
    color:#cfcfcf;
    font-size:20px;
}

.buttons{
    margin-top:40px;
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.btn{
    padding:16px 34px;
    border-radius:999px;
    transition:.3s;
    font-weight:600;
}

.primary{
    background:#8B5CF6;
}

.primary:hover{
    transform:translateY(-3px);
    box-shadow:0 0 35px #8B5CF6;
}

.secondary{
    border:2px solid #8B5CF6;
}

.secondary:hover{
    background:#8B5CF6;
}

.gallery{
    width:min(1200px,90%);
    margin:auto;
    padding:100px 0;
}

.gallery h2{
    text-align:center;
    margin-bottom:60px;
    font-size:42px;
}

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.card{
    background:#111;
    border:1px solid rgba(255,255,255,.08);
    border-radius:24px;
    overflow:hidden;
    transition:.35s;
}

.card img{
    width:100%;
}

.card:hover{
    transform:translateY(-8px);
    box-shadow:0 0 40px rgba(139,92,246,.35);
}

.about,
.community{
    width:min(900px,90%);
    margin:auto;
    text-align:center;
    padding:80px 0;
}

.about h2,
.community h2{
    font-size:42px;
    margin-bottom:25px;
}

.about p,
.community p{
    color:#c7c7c7;
    line-height:1.9;
    font-size:18px;
    margin-bottom:35px;
}

footer{
    border-top:1px solid rgba(255,255,255,.08);
    padding:35px;
    text-align:center;
    color:#888;
}

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-thumb{
    background:#8B5CF6;
    border-radius:20px;
}

@media(max-width:768px){

.navbar{
    flex-direction:column;
    gap:18px;
}

.hero h1{
    font-size:46px;
}

.hero p{
    font-size:17px;
}

.nav-links{
    flex-wrap:wrap;
    justify-content:center;
}

}
.hidden{
    opacity:0;
    transform:translateY(60px);
    transition:1s;
}

.show{
    opacity:1;
    transform:translateY(0);
}