
        header {
            text-align: center;
            margin-bottom: 50px;
        }
        
        h1 {
            color: #2c3e50;
            font-size: 1.2rem;
            margin-bottom: 15px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
            background: linear-gradient(90deg, #ff0000, #ff9900, #ffff00, #33cc33, #3399ff, #cc66ff, #ff3399);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-size: 400% 400%;
            animation: rainbow 5s ease infinite;
        }
        
        @keyframes rainbow {
            0% { background-position: 0% 50% }
            50% { background-position: 100% 50% }
            100% { background-position: 0% 50% }
        }
        
        .subtitle {
            color: #7f8c8d;
            font-size: 1.2rem;
            max-width: 600px;
            margin: 0 auto;
        }
        
        .effects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 30px;
        }
        
        .effect-card {
            background: white;
            border-radius: 12px;
            padding: 30px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
            overflow: hidden;
        }
        
        .effect-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
        }
        
        .effect-title {
            font-size: 1.4rem;
            color: #2c3e50;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .demo-box {
            width: 200px;
            height: 120px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 15px 0 25px;
            font-weight: bold;
            color: #2c3e50;
            font-size: 1.1rem;
            border-radius: 8px;
            background-color: white;
            position: relative;
        }
        
        .code-container {
            background: #2c3e50;
            color: #ecf0f1;
            padding: 15px;
            border-radius: 8px;
            width: 100%;
            font-family: 'Courier New', monospace;
            font-size: 0.9rem;
            overflow-x: auto;
            margin-top: 10px;
        }
        
        /* 效果1: 彩虹渐变花边 */
        .rainbow-border {
            position: relative;
            border-radius: 8px;
            background: white;
            padding: 3px;
        }
        
        .rainbow-border::before {
            content: '';
            position: absolute;
            top: -4px;
            left: -4px;
            right: -4px;
            bottom: -4px;
            background: linear-gradient(45deg, 
                #ff0000, #ff9900, #ffff00, #33cc33, 
                #3399ff, #cc66ff, #ff3399);
            border-radius: 12px;
            z-index: -1;
            background-size: 400% 400%;
            animation: rainbow 5s ease infinite;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }
        
        /* 效果2: 波浪花边 */
        .wave-border {
            position: relative;
            border-radius: 8px;
        }
        
        .wave-border::before {
            content: '';
            position: absolute;
            top: -8px;
            left: -8px;
            right: -8px;
            bottom: -8px;
            background: 
                radial-gradient(circle at 0% 50%, rgba(255,0,0,.8) 0%, rgba(255,0,0,0) 50%),
                radial-gradient(circle at 10% 50%, rgba(255,153,0,.8) 0%, rgba(255,153,0,0) 50%),
                radial-gradient(circle at 20% 50%, rgba(255,255,0,.8) 0%, rgba(255,255,0,0) 50%),
                radial-gradient(circle at 30% 50%, rgba(51,204,51,.8) 0%, rgba(51,204,51,0) 50%),
                radial-gradient(circle at 40% 50%, rgba(51,153,255,.8) 0%, rgba(51,153,255,0) 50%),
                radial-gradient(circle at 50% 50%, rgba(204,102,255,.8) 0%, rgba(204,102,255,0) 50%),
                radial-gradient(circle at 60% 50%, rgba(255,51,153,.8) 0%, rgba(255,51,153,0) 50%);
            border-radius: 12px;
            z-index: -1;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            background-size: 200% 100%;
            animation: wave 3s linear infinite;
        }
        
        @keyframes wave {
            0% { background-position: 0% 50% }
            100% { background-position: 200% 50% }
        }
        
        /* 效果3: 锯齿花边 */
        .zigzag-border {
            position: relative;
            border-radius: 8px;
        }
        
        .zigzag-border::before {
            content: '';
            position: absolute;
            top: -8px;
            left: -8px;
            right: -8px;
            bottom: -8px;
            background: 
                repeating-linear-gradient(45deg, 
                    #ff0000 0px, #ff0000 10px, 
                    #ff9900 10px, #ff9900 20px,
                    #ffff00 20px, #ffff00 30px,
                    #33cc33 30px, #33cc33 40px,
                    #3399ff 40px, #3399ff 50px,
                    #cc66ff 50px, #cc66ff 60px,
                    #ff3399 60px, #ff3399 70px);
            border-radius: 12px;
            z-index: -1;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            animation: zigzag 2s linear infinite;
        }
        
        @keyframes zigzag {
            0% { background-position: 0 0 }
            100% { background-position: 70px 0 }
        }
        
        /* 效果4: 圆点花边 */
        .dot-border {
            position: relative;
            border-radius: 8px;
        }
        
        .dot-border::before {
            content: '';
            position: absolute;
            top: -8px;
            left: -8px;
            right: -8px;
            bottom: -8px;
            background: 
                radial-gradient(circle at 10px 10px, #ff0000 3px, transparent 3px),
                radial-gradient(circle at 30px 10px, #ff9900 3px, transparent 3px),
                radial-gradient(circle at 50px 10px, #ffff00 3px, transparent 3px),
                radial-gradient(circle at 70px 10px, #33cc33 3px, transparent 3px),
                radial-gradient(circle at 90px 10px, #3399ff 3px, transparent 3px),
                radial-gradient(circle at 110px 10px, #cc66ff 3px, transparent 3px),
                radial-gradient(circle at 130px 10px, #ff3399 3px, transparent 3px);
            background-size: 140px 20px;
            border-radius: 12px;
            z-index: -1;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            animation: dots 3s linear infinite;
        }
        
        @keyframes dots {
            0% { background-position: 0 0 }
            100% { background-position: 140px 0 }
        }
        
        /* 效果5: 菱形花边 */
        .diamond-border {
            position: relative;
            border-radius: 8px;
        }
        
        .diamond-border::before {
            content: '';
            position: absolute;
            top: -8px;
            left: -8px;
            right: -8px;
            bottom: -8px;
            background: 
                repeating-linear-gradient(45deg, 
                    transparent, transparent 10px, 
                    #ff0000 10px, #ff0000 12px),
                repeating-linear-gradient(-45deg, 
                    transparent, transparent 10px, 
                    #ff9900 10px, #ff9900 12px),
                repeating-linear-gradient(135deg, 
                    transparent, transparent 10px, 
                    #ffff00 10px, #ffff00 12px),
                repeating-linear-gradient(-135deg, 
                    transparent, transparent 10px, 
                    #33cc33 10px, #33cc33 12px);
            border-radius: 12px;
            z-index: -1;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            animation: diamond 4s linear infinite;
        }
        
        @keyframes diamond {
            0% { background-position: 0 0 }
            100% { background-position: 24px 24px }
        }
        
        /* 效果6: 心形花边 */
        .heart-border {
            position: relative;
            border-radius: 8px;
        }
        
        .heart-border::before {
            content: '';
            position: absolute;
            top: -8px;
            left: -8px;
            right: -8px;
            bottom: -8px;
            background: 
                radial-gradient(circle at 30% 35%, #ff0000 20%, transparent 20%),
                radial-gradient(circle at 70% 35%, #ff9900 20%, transparent 20%),
                radial-gradient(circle at 50% 60%, #ffff00 20%, transparent 20%);
            background-size: 100px 60px;
            border-radius: 12px;
            z-index: -1;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            animation: hearts 5s linear infinite;
        }
        
        @keyframes hearts {
            0% { background-position: 0 0 }
            100% { background-position: 100px 60px }
        }
        
        footer {
            margin-top: 50px;
            text-align: center;
            color: #7f8c8d;
            font-size: 0.9rem;
        }
        
        @media (max-width: 768px) {
            .effects-grid {
                grid-template-columns: 1fr;
            }
            
            h1 {
                font-size: 1.2rem;
            }
        }