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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

.container {
    width: 100%;
    height: 100vh;
    position: relative;
}

#notifications-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.notification-card {
    position: absolute;
    min-width: 200px;
    max-width: 280px;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    animation: fadeInScale 0.5s ease-out;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}

.notification-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.notification-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #666;
}

.notification-icon {
    font-size: 14px;
}

.notification-content {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    font-weight: 500;
    word-wrap: break-word;
}

/* 不同颜色的卡片 */
.card-pink {
    background: linear-gradient(135deg, #FFE5E5 0%, #FFD6D6 100%);
}

.card-blue {
    background: linear-gradient(135deg, #E5F3FF 0%, #D6EBFF 100%);
}

.card-yellow {
    background: linear-gradient(135deg, #FFF9E5 0%, #FFF3D6 100%);
}

.card-purple {
    background: linear-gradient(135deg, #F3E5FF 0%, #EBD6FF 100%);
}

.card-green {
    background: linear-gradient(135deg, #E5FFF3 0%, #D6FFEB 100%);
}

.card-peach {
    background: linear-gradient(135deg, #FFEBE5 0%, #FFE0D6 100%);
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.8);
    }
}

.notification-card.removing {
    animation: fadeOut 0.3s ease-out forwards;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .notification-card {
        min-width: 150px;
        max-width: 200px;
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .notification-content {
        font-size: 14px;
    }
}

