/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* BODY */
body {
    background: #020617;
    color: white;
    overflow-x: hidden;
}

/* 🌈 ANIMATED BACKGROUND */
.bg-animation {
    position: fixed;
    width: 200%;
    height: 200%;
    background: linear-gradient(270deg, #0ea5e9, #9333ea, #22c55e, #0ea5e9);
    background-size: 800% 800%;
    animation: gradientMove 15s ease infinite;
    z-index: -1;
    opacity: 0.15;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
h3 {
    margin-bottom: 10px;
    color: #f1f5f9;
}
/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    padding: 20px 50px;
}

.navbar h1 {
    color: #38bdf8;
}

.btn {
    padding: 10px 20px;
    background: #38bdf8;
    color: black;
    border-radius: 20px;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(56,189,248,0.6);
}

.btn:hover {
    background: #0ea5e9;
}

/* HERO */
.hero {
    text-align: center;
    margin-top: 80px;
}

.hero h2 {
    font-size: 2.5rem;
}

.hero p {
    color: #94a3b8;
}

/* SECTION */
.section {
    padding: 50px;
}

.section h2 {
    margin-bottom: 20px;

    background: linear-gradient(
        90deg,
        #38bdf8,
        #9333ea,
        #22c55e
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    font-size: 1.7rem;
}
.section:nth-of-type(1) .card {
    background: rgba(139, 92, 246, 0.2);
    border-color: #8b5cf6;
}

.section:nth-of-type(2) .card {
    background: rgba(249, 115, 22, 0.2);
    border-color: #340df7;
}

.section:nth-of-type(3) .card {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
}

.section:nth-of-type(4) .card {
    background: rgba(34, 197, 94, 0.2);
    border-color: #22c55e;
}

.section:nth-of-type(5) .card {
    background: rgba(6, 182, 212, 0.2);
    border-color: #06b6d4;
}
.section:nth-of-type(6) .card {
    background: rgba(236, 72, 153, 0.2);
    border-color: #020617;
}
.section:nth-of-type(7) .card {
    background: rgba(122, 173, 11, 0.2);
    border-color: #cb5f21;
}
.section:nth-of-type(8) .card {
    background: rgba(220, 38, 38, 0.2);
    border-color: #dc2626;
}
.section:nth-of-type(9) .card {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10b981;
}

/* CARDS */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.card {
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: 0.35s;

    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(56,189,248,0.35);

    backdrop-filter: blur(10px);
}

/* ICON */
.card i {
    font-size: 32px;
    color: #38bdf8;
    margin-bottom: 10px;

    text-shadow: 0 0 10px #38bdf8;
}

.card:hover i {
    transform: scale(1.2);
    text-shadow: 0 0 20px #38bdf8;
}

/* HOVER */
.card:hover {
    transform: translateY(-10px) scale(1.05);

    box-shadow:
        0 0 10px #38bdf8,
        0 0 30px rgba(56,189,248,0.6);

    border: 1px solid #38bdf8;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    color: #64748b;
}
body {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
