/* 自定义工具类 */
<style type="text/tailwindcss">

    @layer utilities {
        .content-auto {
            content-visibility: auto;
        }

        .text-shadow {
            text-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .bg-gradient-primary {
            background: linear-gradient(135deg, #165DFF 0%, #0FC6C2 100%);
        }

        .transition-custom {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
    }
</style>

/* 全局样式 */
<style>

    body {
        font-family: 'Inter', system-ui, sans-serif;
        scroll-behavior: smooth;
    }

    /* 动画效果 */
    .fade-in {
        animation: fadeIn 0.8s ease-in-out;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .scale-hover {
        transition: transform 0.3s ease;
    }

        .scale-hover:hover {
            transform: scale(1.03);
        }
    .scale-hover-platform:hover {
        transform: scale(1.5);
    }
    .scale-hover-price:hover {
        transform: scale(1.1);
    }

    /* 导航栏滚动效果 */
    .nav-scrolled {
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    }

    /* 平滑滚动 */
    html {
        scroll-behavior: smooth;
    }

    /* 在 css/styles.css 中添加弹窗样式 */
#customAlert.hidden {
    display: none;
  }


        .back-link {
            display: inline-block;            
            color: #0066cc;
            text-decoration: none;
        }
        .back-link:hover {
            text-decoration: underline;
        }
</style>