/* ========================================
    淡紫色可爱风格 - Cute Lavender Theme
    ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 主色调 - 清爽蓝 */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --secondary: #3b82f6;
    --accent: #0ea5e9;
    
    /* 功能色 */
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    
    /* 文本色 - 高对比度 */
    --text-primary: #111827;
    --text-secondary: #374151;
    --text-muted: #6b7280;
    
    /* 背景色 - 干净清爽 */
    --bg-primary: #f9fafb;
    --bg-secondary: #f3f4f6;
    --bg-card: #ffffff;
    
    /* 边框 - 清晰可见 */
    --border: #d1d5db;
    --border-light: #e5e7eb;
    
    /* 阴影 - 更有层次 */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 24px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 24px 56px rgba(0, 0, 0, 0.16);
    
    /* 圆角 - 适中 */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* 过渡 */
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* 背景装饰 - 柔和渐变 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 85%, rgba(219, 234, 254, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 15%, rgba(191, 219, 254, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(224, 231, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ========================================
    Header - 可爱导航
    ======================================== */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(219, 234, 254, 0.8);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(37, 99, 235, 0.4),
        rgba(59, 130, 246, 0.3),
        rgba(14, 165, 233, 0.2),
        transparent);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.03);
}

.logo img {
    height: 40px;
    border-radius: var(--radius-sm);
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-text::after {
    display: none;
}

.nav {
    display: flex;
    gap: 8px;
}

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

.nav a:hover {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.06);
}

.nav a.active {
    color: white;
    background: var(--primary);
}

/* 导航按钮样式 - 用于突出显示重要入口 */
.nav .nav-btn {
    background: var(--primary);
    color: #fff !important;
    padding: 9px 22px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    margin-left: 8px;
    transition: all 0.2s;
}

.nav .nav-btn::before {
    display: none;
}

.nav .nav-btn:hover {
    background: var(--primary-dark);
    color: #fff !important;
    transform: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* ========================================
    Main Content
    ======================================== */
.main {
    padding: 32px 0;
    min-height: calc(100vh - 180px);
    position: relative;
    z-index: 1;
}

/* ========================================
    Notice - 可爱公告
    ======================================== */
.notice {
    background: linear-gradient(135deg, rgba(255, 217, 61, 0.15), rgba(255, 183, 77, 0.12));
    border: 1px solid rgba(255, 217, 61, 0.3);
    border-radius: var(--radius-lg);
    padding: 16px 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #8a6d00;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: slideInDown 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

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

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.icon-notice {
    font-size: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
    Goods Group - 商品分组
    ======================================== */
.goods-group {
    margin-bottom: 48px;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.group-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-left: 16px;
    position: relative;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.group-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 26px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.group-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 2px;
}

.goods-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

/* ========================================
    Goods Item - 可爱商品卡片
    ======================================== */
.goods-item {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    border: 1px solid var(--border-light);
}

.goods-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.08) 0%, 
        rgba(59, 130, 246, 0.08) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
    pointer-events: none;
}

.goods-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.4);
}

.goods-item:hover::before {
    opacity: 1;
}

.goods-item:hover .goods-image img {
    transform: scale(1.08);
}

.goods-item:hover .goods-placeholder {
    transform: scale(1.15) rotate(5deg);
}

.goods-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.goods-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(37, 99, 235, 0.05));
    pointer-events: none;
}

.goods-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.goods-placeholder {
    font-size: 56px;
    transition: var(--transition);
    filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.15));
}

.goods-info {
    padding: 20px;
    position: relative;
    z-index: 2;
}

.goods-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.goods-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.goods-price {
    color: var(--danger);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.5px;
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.goods-price::before {
    content: '¥';
    font-size: 14px;
    font-weight: 600;
}

.goods-stock {
    color: var(--text-muted);
    font-size: 13px;
    padding: 4px 10px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    font-weight: 500;
}

/* ========================================
    Buy Page - 购买页面
    ======================================== */
.buy-page {
    max-width: 640px;
    margin: 0 auto;
}

.goods-detail {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.goods-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
}

.goods-image-large {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 24px;
    position: relative;
}

.goods-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.goods-placeholder-large {
    font-size: 96px;
    filter: drop-shadow(0 8px 16px rgba(37, 99, 235, 0.15));
}

.goods-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.goods-price-large {
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-symbol {
    color: var(--danger);
    font-size: 18px;
    font-weight: 600;
}

.price-value {
    color: var(--danger);
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--danger), #ff6b7a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.goods-meta-detail {
    display: flex;
    gap: 24px;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
}

.goods-desc {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

/* ========================================
    Form - 可爱表单
    ======================================== */
.form-section {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.form-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-section h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.required {
    color: var(--danger);
    margin-left: 2px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    transition: var(--transition);
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
    transform: translateY(-1px);
}

.form-hint {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* ========================================
    Quantity Input - 数量选择器
    ======================================== */
.quantity-input {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qty-btn {
    width: 44px;
    height: 44px;
    border: 2px solid var(--border);
    background: var(--bg-card);
    border-radius: var(--radius);
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.quantity-input input {
    width: 100px;
    text-align: center;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ========================================
    Pay List - 支付方式
    ======================================== */
.pay-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.pay-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-card);
}

.pay-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.pay-item input {
    display: none;
}

.pay-item input:checked + .pay-info {
    color: var(--primary-dark);
}

.pay-item:has(input:checked) {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(59, 130, 246, 0.08));
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.2);
}

.pay-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.pay-info img {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
}

/* ========================================
    Order Summary - 订单摘要
    ======================================== */
.order-summary {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 15px;
    color: var(--text-secondary);
}

.summary-row.total {
    border-top: 2px solid var(--border);
    margin-top: 12px;
    padding-top: 20px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.summary-row.total span:last-child {
    color: var(--danger);
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--danger), #ff6b7a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
    Submit Button - 提交按钮
    ======================================== */
.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.submit-btn::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;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.4);
}

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

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ========================================
    Bill Page - 账单页面
    ======================================== */
.bill-page {
    max-width: 540px;
    margin: 0 auto;
}

.bill-header {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.bill-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
}

.bill-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.bill-info {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .label {
    color: var(--text-muted);
    font-size: 14px;
}

.info-row .value {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
}

.info-row.highlight .value.price {
    color: var(--danger);
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--danger), #ff6b7a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bill-actions {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.pay-btn {
    display: inline-block;
    padding: 18px 48px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-size: 17px;
    font-weight: 700;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pay-btn::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;
}

.pay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.4);
}

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

.pay-hint {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 13px;
}

/* ========================================
    Bill Status - 账单状态
    ======================================== */
.bill-status {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.status-icon {
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    font-size: 40px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.bill-status.success .status-icon {
    background: linear-gradient(135deg, rgba(168, 230, 207, 0.2), rgba(168, 230, 207, 0.3));
    color: #4caf82;
}

.bill-status.error .status-icon {
    background: linear-gradient(135deg, rgba(255, 139, 148, 0.15), rgba(255, 139, 148, 0.25));
    color: var(--danger);
}

.bill-status.pending .status-icon {
    background: linear-gradient(135deg, rgba(255, 217, 61, 0.15), rgba(255, 217, 61, 0.25));
    color: #c9a200;
}

/* ========================================
    Cards Result - 卡密结果
    ======================================== */
.cards-result {
    margin-top: 24px;
    text-align: left;
}

.cards-result h4 {
    font-size: 15px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.card-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    border-radius: var(--radius);
    margin-bottom: 10px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.card-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow);
}

.card-item span {
    font-family: 'Courier New', monospace;
    word-break: break-all;
    flex: 1;
    margin-right: 12px;
    font-size: 14px;
    color: var(--text-primary);
}

.card-item button {
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.card-item button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.bill-footer {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.link-btn {
    color: var(--primary-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.link-btn:hover {
    color: var(--primary);
    transform: translateX(2px);
}

/* ========================================
    Query Page - 查询页面
    ======================================== */
.query-page {
    max-width: 640px;
    margin: 0 auto;
}

.query-page h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.query-page > p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 15px;
}

.query-form {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

/* ========================================
    Order List - 订单列表
    ======================================== */
.order-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-item {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.order-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.order-sn {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
}

.order-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.status-0 { background: linear-gradient(135deg, #fff3cd, #ffe69c); color: #8a6d00; }
.status-1 { background: linear-gradient(135deg, #d4edda, #b8e6c7); color: #2d6a4f; }
.status-2 { background: linear-gradient(135deg, #d1ecf1, #b8daff); color: #0c5460; }
.status-3 { background: linear-gradient(135deg, #d4edda, #b8e6c7); color: #2d6a4f; }
.status--1 { background: linear-gradient(135deg, #f8d7da, #f5c6cb); color: #721c24; }

.order-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.order-info {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}

.order-time {
    font-size: 13px;
    color: var(--text-muted);
}

.order-actions {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.btn-small {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-small:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.order-cards {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.order-cards h4 {
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

/* ========================================
    Empty State - 空状态
    ======================================== */
.empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}

.empty::before {
    content: '📭';
    display: block;
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* ========================================
    Footer - 页脚
    ======================================== */
.footer {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    border-top: 1px solid var(--border-light);
    position: relative;
    z-index: 1;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.04);
}

/* ========================================
    Responsive - 响应式设计
    ======================================== */
@media (max-width: 768px) {
    .header .container {
        height: 60px;
    }
    
    .logo-text {
        font-size: 19px;
    }
    
    .nav {
        gap: 6px;
    }
    
    .nav a {
        font-size: 14px;
        padding: 7px 12px;
    }
    
    .nav .nav-btn {
        padding: 7px 16px;
        font-size: 14px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .goods-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .goods-image {
        height: 140px;
    }
    
    .goods-info {
        padding: 14px;
    }
    
    .goods-name {
        font-size: 14px;
    }
    
    .goods-price {
        font-size: 16px;
    }
    
    .group-title {
        font-size: 20px;
    }
    
    .goods-image-large {
        height: 180px;
    }
    
    .pay-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .order-info {
        flex-direction: column;
        gap: 6px;
    }
    
    .bill-status {
        padding: 32px 20px;
    }
}

@media (max-width: 480px) {
    .goods-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .goods-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .goods-image {
        height: 120px;
    }
    
    .goods-placeholder {
        font-size: 40px;
    }
}

/* ========================================
    Animations - 动画效果
    ======================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.goods-item {
    animation: fadeInUp 0.6s ease-out backwards;
}

.goods-item:nth-child(1) { animation-delay: 0.1s; }
.goods-item:nth-child(2) { animation-delay: 0.15s; }
.goods-item:nth-child(3) { animation-delay: 0.2s; }
.goods-item:nth-child(4) { animation-delay: 0.25s; }
.goods-item:nth-child(5) { animation-delay: 0.3s; }
.goods-item:nth-child(6) { animation-delay: 0.35s; }
