﻿  * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Arial', 'Microsoft YaHei', sans-serif;
        }
        
        body {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            padding: 20px;
        }
        
        .ticket-container {
            width: 100%;
            max-width: 500px;
            perspective: 1000px;
        }
        
        .ticket {
            background: linear-gradient(to bottom, #ff9966, #ff5e62);
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            padding: 20px;
            position: relative;
            overflow: hidden;
            transform-style: preserve-3d;
            transition: transform 0.5s;
        }
        
        .ticket:hover {
            transform: rotateY(5deg);
        }
        
        .ticket::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: repeating-linear-gradient(
                45deg,
                transparent,
                transparent 10px,
                rgba(255, 255, 255, 0.5) 10px,
                rgba(255, 255, 255, 0.5) 20px
            );
        }
        
        .ticket-header {
            text-align: center;
            margin-bottom: 20px;
            color: white;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }
        
        .ticket-header h1 {
            font-size: 24px;
            margin-bottom: 5px;
        }
        
        .ticket-header p {
            font-size: 14px;
            opacity: 0.9;
        }
        
        .ticket-content {
            background: white;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }
        
        .ticket-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px dashed #e0e0e0;
        }
        
        .ticket-row:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }
        
        .ticket-label {
            font-weight: bold;
            color: #555;
            font-size: 14px;
            flex: 1;
        }
        
        .ticket-value {
            color: #333;
            font-size: 15px;
            flex: 2;
            text-align: right;
            word-break: break-all;
        }
        
        .ticket-footer {
            display: flex;
            justify-content: space-between;
            margin-top: 20px;
            color: white;
            font-size: 12px;
        }
        
        .perforation {
            position: absolute;
            top: 50%;
            right: -5px;
            transform: translateY(-50%);
            height: 100%;
            width: 10px;
            display: flex;
            flex-direction: column;
            justify-content: space-around;
        }
        
        .hole {
            width: 10px;
            height: 10px;
            background: white;
            border-radius: 50%;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
        }
        
        .tear-line {
            position: absolute;
            top: 50%;
            right: 0;
            transform: translateY(-50%);
            width: 20px;
            height: 2px;
            background: repeating-linear-gradient(
                to right,
                #ff5e62,
                #ff5e62 5px,
                transparent 5px,
                transparent 10px
            );
        }
        
        /* 响应式设计 */
        @media (max-width: 480px) {
            .ticket {
                padding: 15px;
            }
            
            .ticket-header h1 {
                font-size: 20px;
            }
            
            .ticket-content {
                padding: 15px;
            }
            
            .ticket-row {
                flex-direction: column;
            }
            
            .ticket-value {
                text-align: left;
                margin-top: 5px;
            }
            
            .perforation, .tear-line {
                display: none;
            }
        }
        
        @media (max-width: 350px) {
            .ticket-header h1 {
                font-size: 18px;
            }
            
            .ticket-label, .ticket-value {
                font-size: 13px;
            }
        }