/* ==========================================================================
   APP ICONS - Organic Flow Design
   Consistent styling for app icons with nature-inspired effects
   ========================================================================== */

.app-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 2px 8px rgba(45, 90, 71, 0.1),
        0 4px 16px rgba(45, 90, 71, 0.08);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Subtle shine overlay */
.app-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0) 50%,
        rgba(0, 0, 0, 0.05) 100%
    );
    border-radius: inherit;
    pointer-events: none;
}

/* Border overlay for depth */
.app-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
}

/* Icon images */
.icon-snakeboard {
    background-image: url('Icons/SnakeBoardIcon.webp');
}

.icon-scrapit {
    background-image: url('Icons/ScrapitIcon.webp');
}

.icon-tidycam {
    background-image: url('Icons/TidyCameIcon.webp');
}

.icon-ringrush {
    background-image: url('Icons/RingRushIcon.webp');
}

.icon-didit {
    background-image: url('Icons/DiditHabitIcon.webp');
}

.icon-phyziq {
    background-image: url('Icons/PhyziqIcon.webp');
}

/* Hover effects */
.app:hover .app-icon {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 8px 24px rgba(45, 90, 71, 0.15),
        0 12px 32px rgba(45, 90, 71, 0.1);
}

/* Responsive sizing */
@media (max-width: 768px) {
    .app-icon {
        width: 64px;
        height: 64px;
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    .app-icon {
        width: 56px;
        height: 56px;
        border-radius: 12px;
    }
}
