/* Tailwind CSS v3 */
/* Font Awesome */
/* 统一的 Tailwind 配置 */
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer utilities {
    .bg-blur {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    .text-shadow {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    .transition-all-300 {
        transition: all 300ms ease-in-out;
    }
}

/* 自定义样式 */
body {
    background-image: url('https://123.min68.com/assets/img/3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}

.content-card {
    background-color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
}

.section-title {
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: #3b82f6;
}

a {
    position: relative;
    transition: all 0.3s ease;
}

a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #3b82f6;
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}

.feature-item {
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(5px);
}

/* Toast 提示组件样式 */
#toast {
    position: fixed;
    bottom: 4px;
    right: 4px;
    background-color: #1f2937;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: translateY(5rem);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 50;
}

#toast.show {
    transform: translateY(0);
    opacity: 1;
}
