.icons-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    position: relative;
}

/* Glowing lines connecting icons */
.icons-grid::before {
    content: '';
    position: absolute;
    inset: -20px;
    background:
        linear-gradient(90deg, transparent 49%, rgba(100, 200, 255, 0.1) 50%, transparent 51%),
        linear-gradient(0deg, transparent 49%, rgba(255, 100, 200, 0.1) 50%, transparent 51%);
    background-size: 33.33% 33.33%;
    animation: gridPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gridPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.7;
    }
}

.icon-card {
    width: 100%;
    height: 90px;
    position: relative;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-card:hover {
    transform: rotateY(180deg);
}

.icon-front,
.icon-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    overflow: hidden;
}

.icon-front {
    /* background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px); */
    backdrop-filter: blur(10px);
    background: linear-gradient(135deg, #46466a, #0c5160);
    flex-shrink: 0;
    border-radius: 18px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    box-shadow: 0 0 12px rgba(0, 128, 128, 0.25);
}

.icon-back {
    background: linear-gradient(135deg,
			hsl(190 100% 38%),
			hsl(190 100% 50%));
    line-height: 1.1;
    transform: rotateY(180deg);
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    padding: 20px;
}

.icon-front img {
    max-width: 75%;
    height: 75%;
    object-fit: contain;
    object-fit: contain;
}

/* Icon shapes */
.icon-shape {
    width: 70px;
    height: 70px;
    position: relative;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(5deg);
    }
}

/* Unique shape for each icon */
.icon-1 .icon-shape {
    /* background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            border-radius: 50%; */
    /* box-shadow: 0 0 30px rgba(240, 147, 251, 0.5); */
    animation-delay: 0s;
}

.icon-2 .icon-shape {
    /* background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
            border-radius: 20px; */
    /* transform: rotate(45deg); */
    /* box-shadow: 0 0 30px rgba(79, 172, 254, 0.5); */
    animation-delay: 0.2s;
}

.icon-3 .icon-shape {
    /* background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); */
    /* clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%); */
    /* box-shadow: 0 0 30px rgba(67, 233, 123, 0.5); */
    animation-delay: 0.4s;
}

.icon-4 .icon-shape {
    /* background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
            border-radius: 50% 50% 0 50%;
            box-shadow: 0 0 30px rgba(250, 112, 154, 0.5); */
    animation-delay: 0.6s;
}

.icon-5 .icon-shape {
    /* background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
            clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
            box-shadow: 0 0 30px rgba(48, 207, 208, 0.5); */
    animation-delay: 0.8s;
}

.icon-6 .icon-shape {
    /* background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
            border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
            box-shadow: 0 0 30px rgba(168, 237, 234, 0.5); */
    animation-delay: 1s;
}

.icon-7 .icon-shape {
    /* background: linear-gradient(135deg, #ff9a56 0%, #ff6a88 100%);
            clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
            box-shadow: 0 0 30px rgba(255, 154, 86, 0.5); */
    animation-delay: 1.2s;
}

/* Particle effect on hover */
/* .icon-card::after {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    animation: particle 2s linear infinite;
}

.icon-card:hover::after {
    opacity: 0.3;
} */

@keyframes particle {
    0% {
        transform: rotate(0deg) scale(0.8);
    }

    100% {
        transform: rotate(360deg) scale(1.2);
    }
}

/* Staggered entrance animation */
.icon-card {
    animation: slideInScale 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}
/* 
.icon-1 {
    animation-delay: 0.1s;
}

.icon-2 {
    animation-delay: 0.2s;
}

.icon-3 {
    animation-delay: 0.3s;
}

.icon-4 {
    animation-delay: 0.4s;
}

.icon-5 {
    animation-delay: 0.5s;
}

.icon-6 {
    animation-delay: 0.6s;
}

.icon-7 {
    animation-delay: 0.7s;
} */

@keyframes slideInScale {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.5) rotate(-10deg);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

/* Sparkle effect */
@keyframes sparkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.sparkle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: sparkle 2s ease-in-out infinite;
}

.icon-card .sparkle:nth-child(1) {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.icon-card .sparkle:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 0.5s;
}

.icon-card .sparkle:nth-child(3) {
    bottom: 25%;
    left: 15%;
    animation-delay: 1s;
}