body {
    font-family: Arial, sans-serif;
    background: #f0f3fa;
    margin: 0;
    padding: 0;
    text-align: center;
    overflow-x: hidden;
}

header {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    flex-wrap: wrap;
}

.logo {
    height: 40px;
}

.all-services {
    background: #7892f4;
    padding: 10px 20px;
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

h1 {
    margin-top: 0;
}

.highlight {
    color: #7892f4;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 20px;
}

.card {
    width: 180px;
    height: 80px;
    border-radius: 8px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
    color: white;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.4s ease, box-shadow 0.4s ease, rotate 0.4s ease;
    opacity: 0;
    animation: fadeUp 1s ease forwards;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }
.card:nth-child(7) { animation-delay: 0.7s; }
.card:nth-child(8) { animation-delay: 0.8s; }
.card:nth-child(9) { animation-delay: 0.9s; }
.card:nth-child(10) { animation-delay: 1.0s; }

.card i {
    margin-right: 5px;
    font-size: 18px;
    vertical-align: middle;
}

.card:hover {
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 6px 6px 16px rgba(0, 0, 0, 0.35);
}

.card span {
    font-weight: normal;
    font-size: 13px;
}

.instagram { background: #e4405f; }
.twitter { background: #1da1f2; }
.tiktok { background: #111; }
.youtube { background: #ff0000; }
.google { background: #db4a39; }
.facebook { background: #1877f2; }
.spotify { background: #1db954; }
.telegram { background: #0088cc; }
.twitch { background: #9146ff; }
.discord { background: #5865f2; }

@media screen and (max-width: 768px) {
    .grid {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
        max-width: 300px;
    }

    header {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .logo {
        height: 50px;
    }
}

/* Fade Up Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
