/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", 
                 "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 通知卡片 */
.notification-card {
    background: linear-gradient(135deg, #64b5f6 0%, #42a5f5 100%);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(66, 165, 245, 0.2);
    position: relative;
    overflow: hidden;
    animation: slideIn 0.6s ease-out;
}

/* 标题部分 */
.header {
    margin-bottom: 40px;
}

.title {
    color: #ffffff;
    font-size: 48px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 2px;
}

/* 内容区域 */
.content-wrapper {
    display: flex;
    gap: 60px;
    align-items: center;
    background: #ffffff;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* 文字内容 */
.text-content {
    flex: 1;
    color: #333;
}

.greeting {
    font-size: 24px;
    color: #1976d2;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.8;
}

.main-message {
    margin: 30px 0;
    padding: 20px 0;
}

.highlight {
    font-size: 22px;
    color: #1a1a1a;
    font-weight: 500;
    margin-bottom: 12px;
    line-height: 1.8;
}

.store-name {
    font-size: 22px;
    color: #1976d2;
    font-weight: 600;
    margin-top: 8px;
}

.instruction {
    font-size: 20px;
    color: #ff6b6b;
    font-weight: 500;
    margin-top: 30px;
    line-height: 1.8;
}

/* 二维码部分 */
.qrcode-section {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qrcode-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.qrcode-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.qrcode-placeholder {
    width: 200px;
    height: 200px;
    background: #fafafa;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #e8e8e8;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

.qrcode-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.qrcode-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #42a5f5 0%, #1e88e5 100%);
    color: white;
    padding: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

.label-text {
    font-size: 16px;
    font-weight: 700;
}

.mini-program {
    font-size: 12px;
    opacity: 0.9;
}

.scan-tip {
    font-size: 18px;
    color: #1976d2;
    font-weight: 500;
    text-align: center;
}

/* 装饰元素 */
.decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    pointer-events: none;
}

.decoration-left {
    top: -100px;
    left: -100px;
    animation: float 6s ease-in-out infinite;
}

.decoration-right {
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    animation: float 8s ease-in-out infinite reverse;
}

/* 页脚 */
.footer {
    text-align: center;
    margin-top: 30px;
    color: #ffffff;
    font-size: 18px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* 动画 */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .notification-card {
        padding: 40px;
    }
    
    .content-wrapper {
        gap: 40px;
        padding: 40px;
    }
    
    .title {
        font-size: 40px;
    }
    
    .greeting {
        font-size: 20px;
    }
    
    .highlight {
        font-size: 18px;
    }
    
    .store-name {
        font-size: 18px;
    }
    
    .instruction {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 15px;
    }
    
    .notification-card {
        padding: 30px 20px;
    }
    
    .title {
        font-size: 32px;
        margin-bottom: 10px;
    }
    
    .content-wrapper {
        flex-direction: column;
        gap: 40px;
        padding: 30px 20px;
    }
    
    .text-content {
        order: 2;
    }
    
    .qrcode-section {
        order: 1;
    }
    
    .greeting {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .highlight {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .store-name {
        font-size: 16px;
    }
    
    .instruction {
        font-size: 15px;
        margin-top: 20px;
    }
    
    .qrcode-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .qrcode-placeholder {
        width: 200px;
        height: 200px;
    }
    
    .qrcode-label {
        padding: 10px;
    }
    
    .brand {
        font-size: 12px;
    }
    
    .label-text {
        font-size: 14px;
    }
    
    .mini-program {
        font-size: 11px;
    }
    
    .scan-tip {
        font-size: 16px;
    }
    
    .footer {
        font-size: 16px;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .notification-card {
        padding: 25px 15px;
    }
    
    .title {
        font-size: 28px;
    }
    
    .content-wrapper {
        padding: 25px 15px;
    }
    
    .greeting {
        font-size: 16px;
    }
    
    .highlight {
        font-size: 15px;
    }
    
    .store-name {
        font-size: 15px;
    }
    
    .instruction {
        font-size: 14px;
    }
    
    .qrcode-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .qrcode-placeholder {
        width: 180px;
        height: 180px;
    }
    
    .scan-tip {
        font-size: 14px;
    }
    
    .footer {
        font-size: 14px;
    }
}

/* 打印样式 */
@media print {
    body {
        background: white;
    }
    
    .notification-card {
        box-shadow: none;
        page-break-inside: avoid;
    }
    
    .decoration {
        display: none;
    }
}

