*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#080b16;
    color:white;
    overflow-x:hidden;
}

.bg{
    position:fixed;
    inset:0;
    background:
    radial-gradient(circle at 20% 20%,#6a00ff55,transparent 35%),
    radial-gradient(circle at 80% 30%,#00d9ff55,transparent 35%),
    radial-gradient(circle at 50% 80%,#ff00c855,transparent 40%);
    filter:blur(90px);
    animation:move 12s infinite alternate ease-in-out;
    z-index:-1;
}

@keyframes move{
    from{
        transform:scale(1) rotate(0deg);
    }
    to{
        transform:scale(1.3) rotate(25deg);
    }
}

header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:25px 10%;
}

.logo{
    letter-spacing:6px;
}

#themeBtn{
    width:50px;
    height:50px;
    border:none;
    border-radius:50%;
    background:white;
    cursor:pointer;
    font-size:20px;
    transition:.3s;
}

#themeBtn:hover{
    transform:rotate(20deg) scale(1.1);
}

.hero{
    min-height:70vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:20px;
}

.hero h2{
    font-size:4rem;
    background:linear-gradient(90deg,#00f5ff,#8a2eff,#ff4fd8);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.hero p{
    margin:20px 0 35px;
    color:#d0d0d0;
}

#magicBtn{
    padding:15px 40px;
    border:none;
    border-radius:50px;
    font-size:18px;
    cursor:pointer;
    background:linear-gradient(90deg,#00d4ff,#7a5cff);
    color:white;
    transition:.3s;
}

#magicBtn:hover{
    transform:translateY(-5px);
    box-shadow:0 15px 40px rgba(0,212,255,.4);
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
    width:85%;
    margin:auto;
    padding-bottom:100px;
}

.card{
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(20px);
    border:1px solid rgba(255,255,255,.15);
    border-radius:25px;
    padding:35px;
    text-align:center;
    transition:.4s;
}

.card span{
    font-size:50px;
}

.card h3{
    margin:20px 0;
}

.card:hover{
    transform:translateY(-10px) scale(1.03);
}

footer{
    text-align:center;
    padding:30px;
    opacity:.7;
}

.light{
    background:#f5f7ff;
    color:#111;
}

.light .card{
    background:rgba(255,255,255,.7);
}

.light #themeBtn{
    background:#222;
    color:white;
}