/**
 * Vanilla 偶像事务所 - 全局样式
 */

/* 字体引入 - 必须放在所有规则之前 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* 颜色变量 */
:root {
    /* 丁香紫与浅蓝色（全站统一） */
    --lilac-purple: #C9B8E8;
    --lilac-light: #E5DFF5;
    --light-blue: #A7C7FF;
    --light-blue-light: #D4E5FF;
    --gold-accent: #D4B896;
    --white: #FFFFFF;
    --white-soft: #F8F9FC;
    --text-dark: #4A5568;
    --text-light: #718096;
    --shadow: rgba(201, 184, 232, 0.2);

    /* 子页面兼容变量（直接赋色值，确保内联样式生效） */
    --primary-purple: #C9B8E8;
    --primary-blue: #A7C7FF;
}

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
}

/* 允许文本选择的元素 */
p, h1, h2, h3, h4, h5, h6, span, a, li, td, th, label, input, textarea, .card-desc, .card-desc-full, .info-text, .prelude-text, .guide-item-content, .comment-content, .song-note, .song-singer {
    user-select: text;
    -webkit-user-select: text;
}

/* 头部导航 */
.header {
    background: linear-gradient(135deg, var(--lilac-purple) 0%, var(--light-blue) 100%);
    padding: 15px 30px;
    position: sticky;
    top: 0;
    z-index: 10002;
    box-shadow: 0 2px 20px rgba(201, 184, 232, 0.3);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-icon {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ========================================
   关于我们页面 - 梦幻五线谱版
   ======================================== */

/* ===== 全局背景装饰（仅首页） ===== */
.page-bg-decor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: linear-gradient(180deg, var(--white) 0%, var(--white-soft) 30%, var(--light-blue-light) 100%);
}

.page-bg-decor::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(167, 199, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatDecor 20s ease-in-out infinite;
}

.page-bg-decor::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(201, 184, 232, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatDecor 25s ease-in-out infinite reverse;
}

@keyframes floatDecor {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 30px) scale(0.95); }
}

/* ===== 视差背景层（五线谱从顶部到底部贯穿） ===== */
.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    pointer-events: none;
    overflow: visible;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.parallax-bg canvas {
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* 音符点击检测层 - 不在 header 和 CTA 区域响应 */
.parallax-bg .note-canvas {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100% - 270px);
    pointer-events: auto;
    z-index: 1;
}

/* ===== 内容区域层级（高于音符） ===== */
.prelude-section,
.info-section,
.gallery-section,
.mechanics-section,
.guide-section,
.prelude-container,
.info-container,
.gallery-container,
.mechanics-grid,
.guide-container {
    position: relative;
    z-index: 10001;
    pointer-events: auto;
}

/* 机制气泡内容保护 */
.mechanic-bubble-content {
    position: relative;
    z-index: 10002;
    pointer-events: none;
}

/* ===== 禁用文本选择（关于我们页面） ===== */
.prelude-section,
.info-section,
.gallery-section,
.mechanics-section,
.guide-section,
.cta-section,
.prelude-text,
.prelude-title,
.info-item,
.gallery-placeholder,
.mechanic-bubble,
.guide-item {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* ===== 区块一：企划序言 ===== */
.prelude-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 40px 100px;
    z-index: 10;
}

.prelude-container {
    position: relative;
    z-index: 10;
    max-width: 900px;
}

.prelude-header {
    margin-bottom: 50px;
}

.prelude-label {
    font-family: 'Noto Serif SC', serif;
    font-size: 16px;
    font-weight: 400;
    color: #8A9FB5;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.prelude-label::before {
    content: '';
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, rgba(201, 184, 232, 0.4), transparent);
}

.prelude-title {
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 500;
    color: #5A6B85;
    letter-spacing: 0.05em;
    line-height: 1.5;
}

.prelude-title .highlight {
    background: linear-gradient(135deg, var(--gold-accent) 0%, #C9A970 50%, #E8D5A3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    position: relative;
}

.prelude-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 184, 150, 0.4), transparent);
}

.prelude-text {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: clamp(15px, 2vw, 17px);
    line-height: 2.2;
    color: #5A6575;
    text-align: left;
    max-width: 500px;
}

.prelude-text p {
    margin-bottom: 20px;
}

.prelude-text .highlight-gold {
    color: var(--gold-accent);
    font-weight: 500;
    position: relative;
}

.prelude-text .highlight-gold::after {
    content: '✦';
    position: absolute;
    right: -12px;
    top: -8px;
    font-size: 10px;
    color: rgba(212, 184, 150, 0.4);
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.prelude-text .hover-glow {
    position: relative;
    cursor: default;
    transition: all 0.4s ease;
    color: #7A8595;
}

.prelude-text .hover-glow:hover {
    color: var(--lilac-purple);
    text-shadow: 
        0 0 20px rgba(201, 184, 232, 0.4),
        0 0 40px rgba(201, 184, 232, 0.2);
}

/* ===== 区块二：基本信息介绍 ===== */
.info-section {
    position: relative;
    padding: 80px 40px;
    z-index: 10;
}

.info-container {
    max-width: 800px;
    margin: 0 auto;
}

.info-header {
    margin-bottom: 40px;
}

.info-label {
    font-family: 'Noto Serif SC', serif;
    font-size: 16px;
    font-weight: 400;
    color: #8A9FB5;
    letter-spacing: 0.2em;
    margin-bottom: 15px;
}

.info-title {
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 500;
    color: #5A6B85;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    border: 1px solid rgba(201, 184, 232, 0.2);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(201, 184, 232, 0.15);
    border-color: rgba(201, 184, 232, 0.4);
}

.info-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-accent);
    font-size: 16px;
    animation: twinkle 3s ease-in-out infinite;
}

.info-text {
    flex: 1;
}

.info-label-text {
    font-family: 'Noto Serif SC', serif;
    font-size: 15px;
    font-weight: 600;
    color: #5A6B85;
    display: block;
    margin-bottom: 6px;
}

.info-text p {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #5A6575;
    margin: 0;
}

/* ===== 区块三：相关图片 ===== */
.gallery-section {
    position: relative;
    padding: 80px 40px;
    z-index: 10001;
}

.gallery-container {
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-header {
    margin-bottom: 40px;
}

.gallery-label {
    font-family: 'Noto Serif SC', serif;
    font-size: 16px;
    font-weight: 400;
    color: #8A9FB5;
    letter-spacing: 0.2em;
    margin-bottom: 15px;
}

.gallery-title {
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 500;
    color: #5A6B85;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(195, 179, 232, 0.3);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.gallery-placeholder {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, rgba(201, 184, 232, 0.1) 0%, rgba(167, 199, 255, 0.1) 100%);
    border: 2px dashed rgba(201, 184, 232, 0.3);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.gallery-placeholder:hover {
    border-color: rgba(201, 184, 232, 0.5);
    background: linear-gradient(135deg, rgba(201, 184, 232, 0.15) 0%, rgba(167, 199, 255, 0.15) 100%);
    transform: translateY(-4px);
}

.placeholder-icon {
    font-size: 32px;
    color: rgba(201, 184, 232, 0.5);
    animation: twinkle 3s ease-in-out infinite;
}

.gallery-placeholder p {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 14px;
    color: #8A9FB5;
    margin: 0;
}

/* ===== 区块四：核心机制 ===== */
.mechanics-section {
    position: relative;
    padding: 100px 40px;
    z-index: 10;
}

.mechanics-header {
    margin-bottom: 60px;
}

.mechanics-label {
    font-family: 'Noto Serif SC', serif;
    font-size: 16px;
    font-weight: 400;
    color: #8A9FB5;
    letter-spacing: 0.2em;
    margin-bottom: 15px;
}

.mechanics-title {
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 500;
    color: #5A6B85;
}

.mechanics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.mechanic-bubble {
    position: relative;
    padding: 45px 35px;
    border-radius: 50%;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.mechanic-bubble-a {
    background: radial-gradient(140% 140% at 30% 30%, 
        rgba(167, 199, 255, 0.45) 0%, 
        rgba(167, 199, 255, 0.2) 40%, 
        rgba(255, 255, 255, 0.1) 100%);
    box-shadow: 
        inset 0 0 60px rgba(167, 199, 255, 0.2),
        0 8px 32px rgba(167, 199, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(167, 199, 255, 0.3);
}

.mechanic-bubble-b {
    background: radial-gradient(140% 140% at 70% 30%, 
        rgba(201, 184, 232, 0.45) 0%, 
        rgba(201, 184, 232, 0.2) 40%, 
        rgba(255, 255, 255, 0.1) 100%);
    box-shadow: 
        inset 0 0 60px rgba(201, 184, 232, 0.2),
        0 8px 32px rgba(201, 184, 232, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 184, 232, 0.3);
}

.mechanic-bubble:hover {
    transform: scale(1.08);
}

.mechanic-bubble-a:hover {
    box-shadow: 
        inset 0 0 80px rgba(167, 199, 255, 0.35),
        0 15px 50px rgba(167, 199, 255, 0.25);
    border-color: rgba(167, 199, 255, 0.5);
}

.mechanic-bubble-b:hover {
    box-shadow: 
        inset 0 0 80px rgba(201, 184, 232, 0.35),
        0 15px 50px rgba(201, 184, 232, 0.25);
    border-color: rgba(201, 184, 232, 0.5);
}

.mechanic-bubble-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* 奖励列表 */
.reward-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0 0;
    width: 100%;
    text-align: center;
}

.reward-list li {
    font-size: 11px;
    line-height: 1.6;
    color: rgba(70, 80, 100, 0.75);
}

.mechanic-bubble-a .reward-list li {
    color: rgba(50, 65, 90, 0.7);
}

.mechanic-bubble-b .reward-list li {
    color: rgba(70, 50, 80, 0.7);
}

.reward-amount {
    font-family: 'Noto Serif SC', serif;
    font-weight: 600;
    color: var(--gold-accent);
    margin-right: 4px;
    font-size: 12px;
}

.reward-item {
    color: inherit;
}

.mechanic-bubble-label {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: rgba(100, 120, 150, 0.5);
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.mechanic-bubble-title {
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.3;
}

.mechanic-bubble-a .mechanic-bubble-title {
    color: #4A5A7A;
}

.mechanic-bubble-b .mechanic-bubble-title {
    color: #5A4A6A;
}

.mechanic-bubble-subtitle {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 12px;
    color: rgba(90, 100, 120, 0.5);
    letter-spacing: 0.1em;
    font-weight: 300;
}

/* ===== 区块三：观测指南 ===== */
.guide-section {
    position: relative;
    padding: 100px 40px;
    z-index: 10;
}

.guide-container {
    max-width: 900px;
    margin: 0 auto;
}

.guide-header {
    margin-bottom: 50px;
}

.guide-label {
    font-family: 'Noto Serif SC', serif;
    font-size: 16px;
    font-weight: 400;
    color: #8A9FB5;
    letter-spacing: 0.2em;
    margin-bottom: 15px;
}

.guide-title {
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 500;
    color: #5A6B85;
}

.guide-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid rgba(167, 199, 255, 0.15);
    transition: all 0.3s ease;
}

.guide-item:last-child {
    border-bottom: none;
}

.guide-item:hover {
    transform: translateX(10px);
}

.guide-item-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-accent);
    font-size: 14px;
    animation: twinkle 3s ease-in-out infinite;
}

.guide-item-content h3 {
    font-family: 'Noto Serif SC', serif;
    font-size: 17px;
    font-weight: 500;
    color: #4A5A7A;
    margin-bottom: 8px;
}

.guide-item-content p {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: #718096;
}

/* ===== 底部 CTA ===== */
.cta-section {
    padding: 80px 40px 120px;
    text-align: center;
    z-index: 10000;
    position: relative;
    background: transparent;
}

.cta-section .cta-container,
.cta-section .cta-btn {
    pointer-events: auto;
}

.cta-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 14px 40px;
    font-size: 15px;
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 500;
    letter-spacing: 0.08em;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-btn.btn-primary {
    background: linear-gradient(135deg, rgba(201, 184, 232, 0.2), rgba(167, 199, 255, 0.2));
    color: #5A6B85;
    border: 1px solid rgba(201, 184, 232, 0.3);
}

.cta-btn.btn-primary:hover {
    background: linear-gradient(135deg, rgba(201, 184, 232, 0.3), rgba(167, 199, 255, 0.3));
    border-color: rgba(201, 184, 232, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 184, 232, 0.2);
}

.cta-btn.btn-secondary {
    background: rgba(255, 255, 255, 0.6);
    color: #718096;
    border: 1px solid rgba(167, 199, 255, 0.25);
}

.cta-btn.btn-secondary:hover {
    border-color: rgba(167, 199, 255, 0.4);
    color: #4A5A7A;
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.8);
}

/* ===== 入场动画 ===== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUpAnim 0.8s ease forwards;
}

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

/* ===== 响应式 ===== */
@media (max-width: 1023px) {
    .mechanics-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mechanic-bubble {
        aspect-ratio: auto;
        padding: 40px 30px;
        min-height: 280px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .prelude-section {
        padding: 100px 20px 80px;
    }

    .prelude-text {
        max-width: 100%;
    }

    .info-section,
    .gallery-section,
    .mechanics-section,
    .guide-section {
        padding: 60px 20px;
    }

    .cta-section {
        padding: 60px 20px 100px;
    }

    .info-item {
        padding: 18px 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .mechanics-grid {
        gap: 20px;
    }

    .mechanic-bubble {
        padding: 30px 20px;
    }

    .guide-item {
        gap: 14px;
    }

    .guide-item:hover {
        transform: none;
    }
}

/* ===== 其他页面基础样式 ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px;
}

.hero {
    background: linear-gradient(135deg, var(--lilac-purple) 0%, var(--light-blue) 100%);
    padding: 80px 30px;
    text-align: center;
    color: var(--white);
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    opacity: 0.9;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
    align-items: start;
}

.friend-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.friend-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 16px 48px rgba(201, 184, 232, 0.4);
}

.card-banner {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.card-content {
    padding: 20px;
    flex: 1 1 auto;
    min-height: 0;
}

.card-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.tag {
    background: var(--lilac-light);
    color: var(--text-dark);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
    margin: 4px 4px 0 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--lilac-purple), var(--light-blue));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 184, 232, 0.4);
}

.footer {
    background: var(--white);
    padding: 30px;
    text-align: center;
    margin-top: 60px;
    border-top: 1px solid rgba(201, 184, 232, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--lilac-purple);
    border: 2px solid var(--lilac-purple);
}

.btn-secondary:hover {
    background: var(--lilac-purple);
    color: var(--white);
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 10px;
}

.card-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-desc-full {
    max-height: 0;
    overflow: hidden;
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.8;
    margin-top: 0;
    padding-top: 0;
    border-top: 0px solid transparent;
    transition: max-height 0.35s ease, margin-top 0.35s ease, padding-top 0.35s ease, border-top-width 0.35s ease;
}

.friend-card:hover .card-desc-full {
    max-height: 300px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--lilac-light);
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
    margin-top: auto;
    flex-shrink: 0;
}

.vote-count {
    font-size: 14px;
    color: var(--text-light);
}

.vote-count span {
    font-size: 20px;
    font-weight: 700;
    color: var(--lilac-purple);
}

.btn-detail {
    padding: 6px 16px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--lilac-purple), var(--light-blue));
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 184, 232, 0.4);
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color 0.3s ease;
}

.form-select:focus {
    outline: none;
    border-color: var(--lilac-purple);
    box-shadow: 0 0 0 3px rgba(201, 184, 232, 0.15);
}

.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    color: var(--text-dark);
    background: var(--white);
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--lilac-purple);
    box-shadow: 0 0 0 3px rgba(201, 184, 232, 0.15);
}

/* 提示框 */
.alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.alert-error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.footer p {
    color: var(--text-light);
    font-size: 14px;
}
