﻿/* 青丘梦.css - 专属于你的青丘手札 */

:root {
    --bg-dark: #1a1f35;       /* 深夜背景 */
    --card-bg: rgba(25, 30, 50, 0.85); /* 卡片半透明背景 */
    --text-main: #e0e6ed;     /* 主要文字色 */
    --accent-gold: #ffd700;   /* 金色高亮 */
    --accent-red: #ff4d4d;    /* 辣油红 */
    --border-color: rgba(255, 215, 0, 0.3); /* 边框颜色 */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: var(--text-main);
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.8;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-x: hidden;
    position: relative;
}

/* 飘落的花瓣动画效果 */
.petal {
    position: fixed;
    top: -10%;
    z-index: 9999;
    user-select: none;
    cursor: default;
    animation-name: petal-fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes petal-fall {
    0% {
        top: -10%;
        transform: translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 110%;
        transform: translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

.container {
    width: 100%;
    max-width: 800px;
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
}

h1 {
    text-align: center;
    color: var(--accent-gold);
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    letter-spacing: 2px;
}

p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-align: justify;
}

.highlight-red {
    color: var(--accent-red);
    font-weight: bold;
}

.quote-box {
    background: rgba(0, 0, 0, 0.3);
    border-left: 4px solid var(--accent-red);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #fff;
}

.action-list {
    list-style: none;
    margin-top: 20px;
}

.action-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.action-list li::before {
    content: "🌸";
    position: absolute;
    left: 0;
    top: 2px;
}

.footer {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #aaa;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}
