body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0f172a;
    color: white;
    overflow-x: hidden;
}

/* animated gradient background */
.bg {
    position: fixed;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, #38bdf8 2px, transparent 3px),
                radial-gradient(circle, #22c55e 2px, transparent 3px);
    background-size: 60px 60px;
    animation: move 25s linear infinite;
    opacity: 0.12;
    z-index: 0;
}

@keyframes move {
    from { transform: translate(0,0); }
    to { transform: translate(-200px,-200px); }
}

/* header */
header {
    text-align: center;
    padding: 25px;
    font-size: 32px;
    font-weight: bold;
    color: #38bdf8;
    text-shadow: 0 0 12px #38bdf8;
    position: relative;
    z-index: 2;
}

/* typing text */
.intro {
    text-align: center;
    margin-top: 10px;
    font-size: 16px;
    color: #94a3b8;
    position: relative;
    z-index: 2;
    height: 30px;
}

/* grid container */
.container {
    width: 85%;
    margin: auto;
    padding: 30px 0;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;

    position: relative;
    z-index: 2;
}

/* glass cards */
.card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(56,189,248,0.2);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);

    transition: 0.4s;
    animation: fadeUp 0.8s ease;
}

/* fade animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* hover effect */
.card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 0 25px rgba(56,189,248,0.5);
    border-color: #38bdf8;
}

/* highlight */
.highlight {
    border: 2px solid #38bdf8;
}

/* headings */
h2 {
    color: #38bdf8;
}

/* text */
p {
    color: #cbd5e1;
    line-height: 1.6;
}

/* footer */
footer {
    text-align: center;
    padding: 15px;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 20px;
    position: relative;
    z-index: 2;
}