:root {
    --bg-light: #ffffff;
    --text-black: #1a1a1a;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.4);
    --accent-color: #6366f1; /* Modern Indigo */
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --nav-height: 80px;
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-light);
    background: radial-gradient(circle at top right, #ffffff, #f3f4f6);
    background-attachment: fixed;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    margin: 0;
    padding-top: 80px;
}


/* --- 404 Error Page --- */
.error-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.error-container {
    max-width: 600px;
    padding: 80px 40px;
    border-radius: 40px;
}

.error-visual {
    position: relative;
    margin-bottom: 30px;
}

.error-code {
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent-color), #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -5px;
    opacity: 0.2;
}

.error-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--accent-color);
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    animation: errorGlow 4s infinite alternate;
}

@keyframes errorGlow {
    from { opacity: 0.2; transform: translate(-50%, -50%) scale(1); }
    to { opacity: 0.5; transform: translate(-50%, -50%) scale(1.3); }
}

.error-message {
    color: var(--text-muted);
    margin: 20px 0 40px;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

a{
    text-decoration: none;
}

.trending-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(249, 115, 22, 0.2); /* Orange border */
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.1);
    animation: fadeInSlide 0.8s ease forwards;
}

.fire-icon {
    font-size: 1.1rem;
    animation: flamePulse 1.5s infinite alternate;
}

.trending-text {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ea580c; /* Deep orange */
}

@keyframes flamePulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 2px #fb923c); }
    100% { transform: scale(1.2); filter: drop-shadow(0 0 8px #f97316); }
}

@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mini Trending Badge for Homepage Cards */
.trending-badge-mini {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    color: #ea580c;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 1px solid rgba(234, 88, 12, 0.2);
    animation: fadeIn 0.5s ease;
}

.trending-badge-small {
    display: inline-block;
    background: #fff;
    color: #ea580c;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 900;
    margin-bottom: 5px;
    border: 1px solid #ea580c;
}