@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700;14..32,800&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

body {
    background: #FDFDFC;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

.glass-card-light {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(237, 27, 36, 0.15);
}

.hover-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    border-color: rgba(237, 27, 36, 0.2);
}


.error-404-wrapper {
    position: relative;
    display: inline-block;
}

.error-404-outline {
    font-size: clamp(100px, 25vw, 200px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 4px #ED1B24;
    text-stroke: 4px #ED1B24;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.error-404-outline::before {
    content: '404';
    position: absolute;
    top: 0;
    left: 0;
    font-size: clamp(100px, 25vw, 200px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 12px rgba(237, 27, 36, 0.06);
    text-stroke: 12px rgba(237, 27, 36, 0.06);
    z-index: -1;
    transform: translate(4px, 4px);
    transition: all 0.3s ease;
}

.error-404-outline::after {
    content: '404';
    position: absolute;
    top: 0;
    left: 0;
    font-size: clamp(100px, 25vw, 200px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 20px rgba(237, 27, 36, 0.02);
    text-stroke: 20px rgba(237, 27, 36, 0.02);
    z-index: -2;
    transform: translate(8px, 8px);
}

.error-404-outline:hover {
    -webkit-text-stroke-color: #C9171F;
    text-stroke-color: #C9171F;
    transform: scale(1.02);
    transition: all 0.3s ease;
}

.error-404-outline:hover::before {
    -webkit-text-stroke-color: rgba(237, 27, 36, 0.12);
    text-stroke-color: rgba(237, 27, 36, 0.12);
}

@media (max-width: 640px) {
    .error-404-outline {
        -webkit-text-stroke: 2.5px #ED1B24;
        text-stroke: 2.5px #ED1B24;
    }

    .error-404-outline::before {
        -webkit-text-stroke: 8px rgba(237, 27, 36, 0.06);
        text-stroke: 8px rgba(237, 27, 36, 0.06);
        transform: translate(3px, 3px);
    }

    .error-404-outline::after {
        -webkit-text-stroke: 14px rgba(237, 27, 36, 0.02);
        text-stroke: 14px rgba(237, 27, 36, 0.02);
        transform: translate(6px, 6px);
    }
}

.header-search {
    transition: all 0.3s ease;
}

.header-search:focus {
    border-color: #ED1B24;
    box-shadow: 0 0 0 3px rgba(237, 27, 36, 0.08);
}

.search-btn-header {
    background: #ED1B24;
    transition: all 0.2s ease;
}

.search-btn-header:hover {
    background: #C9171F;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #ED1B24;
    border-radius: 10px;
}

@media (max-width: 640px) {
    .nav-cards-grid {
        display: none !important;
    }
}