:root {
        --primary-pink: #ff6b9d;
        --primary-pink-light: #ff8ab5;
        --primary-pink-dark: #e04c7a;
        --secondary-pink: #ffccd5;
        --pink-gradient: linear-gradient(135deg, #ff6b9d 0%, #ff8ab5 100%);
        --pink-gradient-secondary: linear-gradient(135deg, #ff8ab5 0%, #ffccd5 100%);
        --pink-gradient-dark: linear-gradient(135deg, #e04c7a 0%, #ff6b9d 100%);
    }

    .glass-effect {
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.18);
    }

    .border-gradient-frame {
        position: relative;
        border: 2px solid transparent;
        background: linear-gradient(white, white) padding-box,
        var(--pink-gradient) border-box;
    }

    .input-frame {
        background: linear-gradient(white, white) padding-box,
        var(--pink-gradient-secondary);
        border: 2px solid transparent;
        background-clip: padding-box;
    }

    .border-frame {
        border: 2px solid transparent;
        background: linear-gradient(white, white) padding-box,
        var(--pink-gradient) border-box;
    }

    .btn-glow {
        position: relative;
        overflow: hidden;
    }

    .btn-glow::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        transition: left 0.5s;
    }

    .btn-glow:hover::before {
        left: 100%;
    }

    .gradient-text {
        background: var(--pink-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .card-hover {
        transition: all 0.3s ease;
    }

    .card-hover:hover {
        transform: translateY(-5px);
        box-shadow: 0 25px 50px -12px rgba(255, 107, 157, 0.25);
    }

    .countdown-timer {
        font-size: 1.25rem;
        font-weight: bold;
        color: var(--primary-pink);
    }

    @keyframes pulse {
        0%, 100% {
            opacity: 1;
        }
        50% {
            opacity: 0.8;
        }
    }

    .pulse-animation {
        animation: pulse 1s infinite;
    }

    @keyframes shimmer {
        0% { transform: translateX(-100%); }
        100% { transform: translateX(100%); }
    }

    .shimmer-effect {
        position: relative;
        overflow: hidden;
    }

    .shimmer-effect::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
        animation: shimmer 2s infinite;
    }

    /* 粉色主题覆盖样式 */
    body {
        background: linear-gradient(135deg, #fff5f7 0%, #ffeef2 100%) !important;
        min-height: 100vh;
        display: flex;
        flex-direction: row;
    }

    nav {
        background: rgba(255, 255, 255, 0.9) !important;
        border-bottom: 1px solid var(--secondary-pink) !important;
    }

    nav .text-2xl {
        color: var(--primary-pink) !important;
    }

    nav .text-xl {
        color: var(--primary-pink-dark) !important;
    }

    #langToggle {
        background: var(--pink-gradient) !important;
    }

    #langToggle:hover {
        background: var(--pink-gradient-dark) !important;
    }

    .border-gradient-frame > .absolute {
        background: var(--pink-gradient) !important;
    }

    /* 修复：只对特定元素应用粉色渐变，而不是所有白色文字 */
    div.p-6.bg-gradient-to-r.text-white,
    .bg-gradient-to-r.text-white {
        background: var(--pink-gradient) !important;
        color: white !important;
    }

    div.p-6.bg-gradient-to-r.text-white:hover {
        background: var(--pink-gradient-dark) !important;
    }

    /* 确保欢迎横幅中的文字是白色可见的 */
    .relative.z-10.text-center h1,
    .relative.z-10.text-center p {
        color: white !important;
    }

    /* 修复验证码显示 */
    .text-purple-700 {
        color: var(--primary-pink-dark) !important;
    }

    .hover\:text-pink-600:hover {
        color: var(--primary-pink) !important;
    }

    .border-purple-200 {
        border-color: var(--secondary-pink) !important;
    }

    .focus\:ring-purple-500:focus {
        --tw-ring-color: var(--primary-pink) !important;
    }

    .focus\:border-purple-500:focus {
        border-color: var(--primary-pink) !important;
    }

    .text-gray-500 {
        color: #666 !important;
    }

    .text-gray-700 {
        color: #444 !important;
    }

    .text-gray-400 {
        color: #888 !important;
    }

    .fa-clock {
        color: #888 !important;
    }

    .from-purple-50 {
        --tw-gradient-from: #fff5f7 !important;
        --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 245, 247, 0)) !important;
    }

    .to-pink-50 {
        --tw-gradient-to: #ffeef2 !important;
    }

    .from-pink-50 {
        --tw-gradient-from: #ffeef2 !important;
        --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 238, 242, 0)) !important;
    }

    .to-rose-50 {
        --tw-gradient-to: #ffdbe2 !important;
    }

    .from-purple-50.to-violet-50 {
        --tw-gradient-from: #fff5f7 !important;
        --tw-gradient-to: #f2f0ff !important;
    }

    .fas.fa-code,
    .fas.fa-sync-alt,
    .fas.fa-shield-alt {
        color: var(--primary-pink) !important;
    }

    footer {
        background: rgba(255, 255, 255, 0.9) !important;
        border-top: 1px solid var(--secondary-pink) !important;
    }

    .bg-emerald-100 {
        background-color: #d4edda !important;
    }

    .text-emerald-800 {
        color: #155724 !important;
    }

    .border-emerald-200 {
        border-color: #c3e6cb !important;
    }

    .bg-red-100 {
        background-color: #f8d7da !important;
    }

    .text-red-800 {
        color: #721c24 !important;
    }

    .border-red-200 {
        border-color: #f5c6cb !important;
    }

    /* 按钮悬停状态 */
    .btn-glow:hover {
        background: var(--pink-gradient-dark) !important;
    }

    /* 特别修复：确保所有白色文字在粉色背景上是可见的 */
    [class*="bg-gradient"].text-white,
    [class*="bg-gradient-to-r"].text-white,
    .text-white[style*="background"] {
        color: white !important;
    }

    /* 左侧导航栏样式 */
    .left-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, #fff5f7 0%, #ffeef2 100%);
        box-shadow: 5px 0 20px rgba(255, 107, 157, 0.1);
        border-right: 1px solid var(--secondary-pink);
        z-index: 100;
        padding: 20px;
        overflow-y: auto;
        transition: transform 0.3s ease;
    }

    .left-sidebar-header {
        text-align: center;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--secondary-pink);
        margin-bottom: 10px;
    }

    .left-sidebar-header h3 {
        font-size: 2.3rem;
        font-weight: bold;
        color: var(--primary-pink-dark);

    }

    .nav-item {
        display: flex;
        align-items: center;
        padding: 12px 10px;
        margin-bottom: 10px;
        background: white;
        border-radius: 12px;
        border: 2px solid transparent;
        background: linear-gradient(white, white) padding-box,
        var(--pink-gradient-secondary) border-box;
        text-decoration: none;
        color: var(--primary-pink-dark);
        font-weight: 500;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .nav-item:hover {
        transform: translateX(5px);
        box-shadow: 0 5px 15px rgba(255, 107, 157, 0.2);
        background: linear-gradient(white, white) padding-box,
        var(--pink-gradient) border-box;
    }

    .nav-item i {
        margin-right: 12px;
        font-size: 1.2rem;
        width: 24px;
        text-align: center;
    }

    .nav-item.active {
        background: var(--pink-gradient);
        color: white;
        border: 2px solid transparent;
    }

    .nav-item.active:hover {
        background: var(--pink-gradient-dark);
    }

    .main-content {
        margin-left: 280px;
        flex: 1;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        transition: margin-left 0.3s ease;
        width: calc(100% - 280px);
    }

    /* 移动设备适配 */
    @media (max-width: 1200px) {
        .left-sidebar {
            transform: translateX(-100%);
            width: 250px;
        }
        
        .main-content {
            margin-left: 0;
            width: 100%;
        }
        
        .sidebar-toggle {
            display: block !important;
        }
        
        .left-sidebar.show {
            transform: translateX(0);
        }
    }

    @media (max-width: 768px) {
        .border-gradient-frame {
            border-width: 1px;
        }
        
        .left-sidebar {
            width: 100%;
            max-width: 280px;
        }
        
        .main-content {
            padding: 10px;
        }
    }

    /* 侧边栏切换按钮 */
    .sidebar-toggle {
        position: fixed;
        top: 80px;
        left: 20px;
        width: 40px;
        height: 40px;
        background: var(--pink-gradient);
        color: white;
        border-radius: 50%;
        display: none;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 101;
        box-shadow: 0 4px 10px rgba(255, 107, 157, 0.3);
    }

    .sidebar-toggle:hover {
        background: var(--pink-gradient-dark);
    }

    .max-w-8xl{
        max-width: 1470px;
        width: 100%;
    }
    .currentCode{
        height: 60px;
    }

    .i-img{
        width: 25px;
        margin-right: 5px;
    }

    #keyLabel{
        font-size: 18px;
    }

    .table-auto{
        width: 100%;
        text-align: center;
        border: 1px solid var(--secondary-pink);
        margin-top: 30px;
    }

.table-auto th{
    border: 1px solid var(--secondary-pink);
    padding: 5px;
}
.table-auto td{
    border: 1px solid var(--secondary-pink);
    padding: 5px;
}