* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8f5e8 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    text-align: center;
    color: #ff6b6b;
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    color: #555;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
    position: relative;
    padding-left: 15px;
}

h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 20px;
    background-color: #ff6b6b;
    border-radius: 5px;
}

.share-form {
    margin-bottom: 50px;
    padding: 30px;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f8ff 100%);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.share-form:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.share-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    resize: vertical;
    min-height: 120px;
    font-size: 16px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.share-form textarea:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.share-form button {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.share-form button:hover {
    background: linear-gradient(135deg, #ee5a52 0%, #ff6b6b 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.share-form button:active {
    transform: translateY(0);
}

.price-filter-form {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.price-filter-form:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.coupon-list {
    padding: 30px;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f8ff 100%);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.coupons {
    margin-top: 30px;
}

.coupon-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    position: relative;
    transition: all 0.3s ease;
    border-left: 4px solid #4ecdc4;
}

.coupon-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-left-color: #ff6b6b;
}

.coupon-time {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
    font-weight: 500;
}

.coupon-content {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    word-break: break-all;
    font-weight: 500;
    color: #555;
}

.coupon-price {
    font-size: 18px;
    font-weight: bold;
    color: #ff6b6b;
    margin-bottom: 15px;
    display: inline-block;
    padding: 5px 12px;
    background-color: rgba(255, 107, 107, 0.1);
    border-radius: 20px;
}

.copy-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #4ecdc4 0%, #45b7aa 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.copy-btn:hover {
    background: linear-gradient(135deg, #45b7aa 0%, #4ecdc4 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.4);
}

.copy-btn:active {
    transform: translateY(0);
}

.empty {
    text-align: center;
    color: #999;
    padding: 50px 0;
    font-size: 18px;
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    margin-top: 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        margin: 20px;
        padding: 20px;
    }
    
    h1 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    .share-form,
    .coupon-list {
        padding: 20px;
    }
    
    .coupon-item {
        padding: 15px;
    }
    
    .share-form button,
    .copy-btn {
        font-size: 16px;
        padding: 12px;
    }
}

@media (max-width: 576px) {
    .container {
        margin: 10px;
        padding: 15px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 18px;
    }
    
    .share-form textarea {
        min-height: 100px;
        font-size: 14px;
    }
    
    .coupon-price {
        font-size: 16px;
    }
}