/* Calculator Card Styling */
.calc-card {
    position: relative;
    cursor: pointer;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    backdrop-filter: blur(10px);
}

.calc-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.1), rgba(209, 213, 219, 0.1));
    border-radius: 1rem;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.calc-card:hover::after {
    opacity: 1;
}

/* Button Styling */
.calc-card button {
    position: relative;
    overflow: hidden;
}

.calc-card button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.calc-card button:hover::before {
    width: 300px;
    height: 300px;
}

/* Egg Hatch Timer Button Specific Styling */
.egg-hatch-btn {
    background: linear-gradient(to right, #0891b2, #0d9488) !important;
}

.egg-hatch-btn:hover {
    background: linear-gradient(to right, #0e7490, #0f766e) !important;
}

/* Stagger Animation for Cards */
.calc-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.calc-card:nth-child(1) { animation-delay: 0.05s; }
.calc-card:nth-child(2) { animation-delay: 0.1s; }
.calc-card:nth-child(3) { animation-delay: 0.15s; }
.calc-card:nth-child(4) { animation-delay: 0.2s; }
.calc-card:nth-child(5) { animation-delay: 0.25s; }
.calc-card:nth-child(6) { animation-delay: 0.3s; }
.calc-card:nth-child(7) { animation-delay: 0.35s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .calc-card {
        animation-delay: 0s !important;
    }
}

