* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

/* 添加背景容器 */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.background-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: 200% 200%;
    opacity: 0;
}

.background-layer.active {
    opacity: 1;
}

/* 修改主题样式 */
.theme-1 {
    background-image: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
}

.theme-2 {
    background-image: linear-gradient(135deg, #2E3192, #1BFFFF);
}

.theme-3 {
    background-image: linear-gradient(135deg, #16222A, #3A6073);
}

.theme-4 {
    background-image: linear-gradient(135deg, #834d9b, #d04ed6);
}

.theme-5 {
    background-image: linear-gradient(135deg, #134E5E, #71B280);
}

.theme-6 {
    background-image: linear-gradient(135deg, #4B79A1, #283E51);
}

.container {
    padding: 20px;
}

.quote-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    transform: translateY(0) scale(1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: pulse 3s ease-in-out infinite;
}

.quote-box:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
}

.quote-content {
    margin-bottom: 30px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.quote-box:hover .quote-content {
    transform: scale(1.01);
}

#quote-text, #quote-author {
    transition: all 0.3s ease;
}

#quote-text {
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s ease forwards;
}

#quote-author {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    text-align: right;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s ease 0.3s forwards;
}

.quote-box:hover #quote-text {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.quote-box:hover #quote-author {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
}

button {
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.3)
    );
    border: none;
    padding: 12px 24px;
    color: white;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

button:hover {
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.4)
    );
    transform: scale(1.02);
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 8px 32px rgba(255, 255, 255, 0.3);
    }
    100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
} 