/* 背景样式 */
body {
    font-family: 'Arial', sans-serif;
    color: transparent;
    background-image: url('/images/background.png'); /* 自定义魔法背景 */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transition: background-image 1s ease-in-out;
}

/* 魔法标题效果 */
.magic-title {
    font-size: 4rem;
    color: #ffcc00;
    text-shadow: 0 0 20px #ff0000, 0 0 30px #ff6600, 0 0 50px #ffcc00;
    animation: glow 2s infinite alternate;
}

/* 发光效果动画 */
@keyframes glow {
    0% {
        text-shadow: 0 0 20px #ff0000, 0 0 30px #ff6600;
    }
    100% {
        text-shadow: 0 0 40px #ffcc00, 0 0 50px #ff6600;
    }
}

/* 魔法卡片的阴影效果 */
.novel-card {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: rgba(255, 255, 255, 0.8); /* 半透明背景 */
}

.novel-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* 卡片内部的文字样式 */
.novel-card-body h3 {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 10px;
    text-shadow: 0 0 10px #ffcc00;
}

.novel-card-body p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    text-shadow: 0 0 5px #ff0000;
}

/* 图片过渡效果 */
.novel-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 3px solid #f5f5f5;
    transition: transform 0.3s ease;
}

.novel-card img:hover {
    transform: scale(1.05);
}

/* 魔法按钮样式 */
.magic-button {
    background: linear-gradient(45deg, #ff0000, #ff9900);
    padding: 10px 20px;
    border-radius: 25px;
    color: #fff;
    font-size: 1.1rem;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.magic-button:hover {
    background: linear-gradient(45deg, #ff6600, #ffcc00);
    transform: scale(1.05);
}

/* 页面过渡效果 */
.novel-list-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    transition: transform 0.3s ease;
}
