/* Custom Styles & Animations for Hotmail143 Clone */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --indigo: #4f46e5;
    --indigo-dark: #4338ca;
}

body {
    font-family: 'Inter', 'Hind Siliguri', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.taka-symbol {
    font-family: 'Hind Siliguri', 'Noto Sans Bengali', Arial, sans-serif;
    font-weight: 600;
}

/* Product Card Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.product-card {
    background: #ffffff;
    border-radius: 0.875rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.25s ease-in-out;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e7eb;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px -5px rgba(37, 99, 235, 0.15), 0 8px 10px -6px rgba(37, 99, 235, 0.1);
    border-color: #93c5fd;
}

/* Hotmail Illustration Keyframes */
@keyframes emailFloat {
    0%, 100% { transform: translateY(0px) rotate(2deg); }
    50% { transform: translateY(-10px) rotate(-1deg); }
}

@keyframes emailPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

@keyframes paperPlaneMove {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(6px, -6px) rotate(12deg); }
    50% { transform: translate(0, -12px) rotate(0deg); }
    75% { transform: translate(-6px, -6px) rotate(-12deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

.email-float {
    animation: emailFloat 3.5s ease-in-out infinite;
}

.email-pulse {
    animation: emailPulse 2s ease-in-out infinite;
}

.paper-plane-move {
    animation: paperPlaneMove 4s ease-in-out infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Modal backdrop blur */
.modal-overlay {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
}
