/* ===== 基础重置 ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== CSS 变量 - 粉色主题 ===== */
:root {
    --pink-50: #fff0f3;
    --pink-100: #ffe0e6;
    --pink-200: #ffc2d1;
    --pink-300: #ffb6c1;
    --pink-400: #ff8fa3;
    --pink-500: #ff6b8a;
    --pink-600: #e84672;
    --rose: #ff4d6d;
    --coral: #ff8a80;
    --peach: #ffab91;
    --lavender: #d4a5ff;
    --mint: #a8e6cf;

    --bg-main: #fff5f7;
    --bg-card: #ffffff;
    --text-primary: #3d2c3e;
    --text-secondary: #7a6b7d;
    --text-light: #a89ea9;
    --shadow: rgba(255, 107, 138, 0.15);
    --radius: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== 全局样式 ===== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica,
        Arial, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== 顶部波浪装饰 ===== */
.wave-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 0;
    pointer-events: none;
}

.wave-bg svg {
    display: block;
    width: 100%;
    height: 100px;
}

/* ===== 头部 ===== */
.header {
    position: relative;
    z-index: 1;
    padding: 60px 20px 40px;
    text-align: center;
}

.header-inner {
    max-width: 600px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.logo-icon {
    font-size: 48px;
    line-height: 1;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.logo-text h1 {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--pink-500), var(--rose));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    letter-spacing: 4px;
    margin-top: 2px;
}

.header-desc {
    font-size: 15px;
    color: var(--text-light);
    margin-top: 8px;
}

/* ===== 内容区域 ===== */
.content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.banner-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ===== 单个 Banner 条目 ===== */
.banner-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: 0 2px 12px var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(255, 182, 193, 0.2);
    position: relative;
    overflow: hidden;
}

.banner-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 4px 0 0 4px;
    transition: var(--transition);
}

/* 每种颜色变体 */
.banner-item[data-color="pink"]::before { background: var(--pink-400); }
.banner-item[data-color="rose"]::before { background: var(--rose); }
.banner-item[data-color="coral"]::before { background: var(--coral); }
.banner-item[data-color="peach"]::before { background: var(--peach); }
.banner-item[data-color="lavender"]::before { background: var(--lavender); }
.banner-item[data-color="mint"]::before { background: var(--mint); }

.banner-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 107, 138, 0.25);
    border-color: rgba(255, 107, 138, 0.3);
}

.banner-item:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px var(--shadow);
}

/* 图标 */
.banner-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    border-radius: 12px;
    background: var(--pink-50);
    transition: var(--transition);
}

.banner-item:hover .banner-icon {
    transform: scale(1.1);
}

/* 信息区 */
.banner-info {
    flex: 1;
    min-width: 0;
}

.banner-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.banner-desc {
    font-size: 13px;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 箭头 */
.banner-arrow {
    flex-shrink: 0;
    font-size: 22px;
    color: var(--pink-300);
    transition: var(--transition);
    font-weight: 300;
}

.banner-item:hover .banner-arrow {
    color: var(--pink-500);
    transform: translateX(4px);
}

/* ===== 页脚 ===== */
.footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 30px 20px;
    color: var(--text-light);
    font-size: 13px;
}

/* ===== 入场动画 ===== */
.banner-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.banner-item:nth-child(1) { animation-delay: 0.1s; }
.banner-item:nth-child(2) { animation-delay: 0.18s; }
.banner-item:nth-child(3) { animation-delay: 0.26s; }
.banner-item:nth-child(4) { animation-delay: 0.34s; }
.banner-item:nth-child(5) { animation-delay: 0.42s; }
.banner-item:nth-child(6) { animation-delay: 0.50s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 响应式 ===== */
@media (max-width: 480px) {
    .header {
        padding: 50px 16px 30px;
    }

    .logo-icon {
        font-size: 40px;
    }

    .logo-text h1 {
        font-size: 26px;
    }

    .content {
        padding: 0 16px 30px;
    }

    .banner-item {
        padding: 16px 18px;
        gap: 12px;
    }

    .banner-icon {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    .banner-title {
        font-size: 15px;
    }
}
