/**
 * 結婚記 - 样式文件
 * @version 1.1.50
 * @date 2025-12-05
 */

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* 移除移动端蓝色点击高亮效果 */
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #fdfdfd;
    color: #222;
    font-family: "楷体", "STKaiti", "SimSun", serif;
    line-height: 1.8;
    overflow-x: hidden;
    position: relative;
    padding-top: 0;
}

/* 合规同意弹窗 */
.agree-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.popup-content {
    background: #fdfdfd;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    font-size: 1.1rem;
    color: #333;
    border: 3px solid #000;
    transform: rotate(-0.3deg);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.1);
    position: relative;
}

.popup-content:before {
    content: "";
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid #000;
    z-index: -1;
    opacity: 0.6;
    transform: rotate(0.8deg);
}

.popup-title {
    text-align: center;
    font-size: 1.8rem;
    margin: 0 0 20px 0;
    transform: rotate(0.5deg);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%) rotate(0.5deg);
}

.popup-title:after {
    content: "";
    display: block;
    width: 80px;
    height: 2px;
    background: #000;
    margin: 8px auto;
    transform: rotate(-0.3deg);
}

.popup-text {
    margin: 10px 0;
    line-height: 1.8;
    transform: rotate(calc(var(--rot, 0) * 0.2deg));
    padding: 0 5px;
}

.popup-text:nth-child(2) { --rot: 0.3; }
.popup-text:nth-child(3) { --rot: -0.2; }
.popup-text:nth-child(4) { --rot: 0.4; }
.popup-text:nth-child(5) { --rot: -0.3; }

.btn-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.popup-btn {
    background: none;
    border: 2px solid #000;
    border-radius: 2px;
    padding: 10px 25px;
    cursor: pointer;
    font-family: "楷体", serif;
    font-size: 1.2rem;
    transform: rotate(calc(var(--rot, 0) * 0.8deg));
    transition: all 0.2s;
}

.agree-btn {
    background-color: #000;
    color: #fff;
    --rot: -0.5;
}

.disagree-btn {
    background-color: #f5f5f5;
    --rot: 0.5;
}

.popup-btn:hover {
    transform: rotate(calc(var(--rot, 0) * 0.8deg)) scale(1.03);
    box-shadow: 3px 3px 0 rgba(0,0,0,0.1);
}

/* 条款详情弹窗 */
.terms-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    padding: 30px 0;
}

.terms-content {
    background: #fdfdfd;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    font-size: 1rem;
    color: #333;
    border: 3px solid #000;
    transform: rotate(-0.2deg);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.1);
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.terms-title {
    text-align: center;
    font-size: 1.6rem;
    margin: 0 0 20px 0;
    transform: rotate(0.3deg);
}

.terms-text {
    margin: 12px 0;
    line-height: 1.8;
    transform: rotate(calc(var(--rot, 0) * 0.1deg));
}

.close-terms {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: 2px solid #000;
    border-radius: 2px;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    transform: rotate(5deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-terms:hover {
    background-color: #f5f5f5;
    transform: rotate(5deg) scale(1.1);
}

/* 条款详情按钮 */
.terms-btn {
    background: none;
    border: 2px solid #000;
    border-radius: 2px;
    padding: 8px 20px;
    cursor: pointer;
    font-family: "楷体", serif;
    font-size: 1.1rem;
    transform: rotate(-0.5deg);
    transition: all 0.2s;
    margin: 20px auto;
    display: block;
}

.terms-btn:hover {
    transform: rotate(-0.5deg) scale(1.05);
    box-shadow: 3px 3px 0 rgba(0,0,0,0.1);
    background-color: #f5f5f5;
}

/* 手绘背景 */
.hand-drawn-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.12;
    pointer-events: none;
}

.bg-draw {
    position: absolute;
    font-size: 1.2rem;
    white-space: nowrap;
    transform: rotate(calc(var(--rot, 0) * 1deg));
    animation: float 25s infinite ease-in-out;
    animation-delay: calc(var(--delay, 0) * 1s);
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(calc(var(--rot, 0) * 1deg)); }
    25% { transform: translate(15px, 20px) rotate(calc(var(--rot, 0) * 1deg + 2deg)); }
    50% { transform: translate(5px, 10px) rotate(calc(var(--rot, 0) * 1deg)); }
    75% { transform: translate(-10px, 15px) rotate(calc(var(--rot, 0) * 1deg - 2deg)); }
    100% { transform: translate(0, 0) rotate(calc(var(--rot, 0) * 1deg)); }
}

.bg-line {
    position: absolute;
    width: 200px;
    height: 2px;
    background: #222;
    transform-origin: left center;
    transform: rotate(calc(var(--rot, 0) * 1deg));
    animation: float-line 30s infinite ease-in-out;
}

@keyframes float-line {
    0% { transform: rotate(calc(var(--rot, 0) * 1deg)) scaleX(1); }
    50% { transform: rotate(calc(var(--rot, 0) * 1deg + 5deg)) scaleX(1.1); }
    100% { transform: rotate(calc(var(--rot, 0) * 1deg)) scaleX(1); }
}

/* 加载页面 */
#loading-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fdfdfd;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s ease;
    padding-top: 0;
    height: 100%;
}

.loading-text {
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
    animation: shake 0.5s infinite alternate;
    transform: rotate(-1deg);
}

.loading-subtext {
    font-size: 16px;
    margin-top: 10px;
    color: #666;
    transform: rotate(0.5deg);
}

.hand-drawn-border {
    border: 3px solid #000;
    border-radius: 2px;
    padding: 20px;
    margin: 20px;
    position: relative;
    animation: pulse 2s infinite;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.1);
}

.hand-drawn-border:before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid #000;
    z-index: -1;
    opacity: 0.5;
}

.loading-animals {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
    font-size: 2rem;
    justify-content: center;
    max-width: 500px;
}

.loading-animals span {
    animation: bounce 1s infinite alternate;
    animation-delay: calc(var(--delay) * 0.1s);
}

.loading-bar {
    width: 300px;
    height: 12px;
    background-color: #f0f0f0;
    border: 2px solid #000;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    width: 0%;
    background-color: #000;
    transition: width 0.5s ease;
}

.sb-text {
    font-size: 14px;
    color: #999;
    margin-top: 10px;
    animation: blink 1.5s infinite;
    transform: rotate(1deg);
}

@keyframes shake {
    from { transform: translateX(-5px) rotate(-1deg); }
    to { transform: translateX(5px) rotate(-1deg); }
}

@keyframes pulse {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.02) rotate(0.5deg); }
    100% { transform: scale(1) rotate(0deg); }
}

@keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-10px); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* 主内容区 */
#main-content {
    display: none;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    opacity: 0;
    transition: opacity 1s ease;
    position: relative;
}

.dashed-line {
    border-top: 2px dashed #000;
    margin: 25px 0;
    transform: rotate(0.3deg);
}

.wavy-line {
    position: relative;
    height: 10px;
    margin: 20px 0;
}

.wavy-line:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10px 5px, #000 3px, transparent 4px) 0 0/20px 10px,
        radial-gradient(circle at 30px 5px, #000 3px, transparent 4px) 0 0/20px 10px;
}

.header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding: 20px 0;
}

h1 {
    font-size: 5rem;
    margin: 30px 0;
    position: relative;
    display: inline-block;
    font-weight: bold;
    letter-spacing: 10px;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.08);
    transform: rotate(-2deg);
}

h1:before, h1:after {
    content: "★";
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(5deg);
    font-size: 2.8rem;
}

h1:before { left: -50px; }
h1:after { right: -50px; }

.lyrics-section {
    margin: 60px 0;
    position: relative;
}

.lyric-block {
    margin: 50px 0;
    position: relative;
    padding: 0 15px;
}

.lyric-text {
    font-size: 1.4rem;
    line-height: 2.2;
    margin-bottom: 25px;
    position: relative;
    transform: rotate(calc(var(--rot, 0) * 0.5deg));
}

.lyric-text:nth-child(1) { --rot: 1; }
.lyric-text:nth-child(2) { --rot: -0.5; }
.lyric-text:nth-child(3) { --rot: 1.2; }
.lyric-text:nth-child(4) { --rot: -0.8; }

.highlight-text {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin: 45px 0;
    position: relative;
    transform: rotate(-0.8deg);
    padding: 15px 0;
    border-bottom: 2px dashed #333;
    border-top: 2px dashed #333;
}

.highlight-text:before, .highlight-text:after {
    content: "「";
    font-size: 3.5rem;
    position: absolute;
    top: -15px;
    left: -40px;
    transform: rotate(3deg);
}

.highlight-text:after {
    content: "」";
    left: auto;
    right: -40px;
    transform: rotate(-3deg);
}

.animal-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 30px 0;
}

.animal-item {
    text-align: center;
    margin: 10px 20px;
    position: relative;
    transform: rotate(calc(var(--rot, 0) * 1deg));
}

.animal-item:nth-child(1) { --rot: 2; }
.animal-item:nth-child(2) { --rot: -1; }
.animal-item:nth-child(3) { --rot: 1; }

.animal-icon {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

/* 音乐播放器 */
.music-player {
    background-color: #f8f8f8;
    padding: 25px;
    border-radius: 8px;
    margin: 50px 0;
    text-align: center;
    border: 2px dashed #000;
    transform: rotate(0.3deg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
}

.music-player::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 20px;
    height: 20px;
    background-color: #f8f8f8;
    border-top: 2px dashed #000;
    border-left: 2px dashed #000;
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

.control-btn {
    background: none;
    border: 2px solid #000;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin: 0 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(calc(var(--rot, 0) * 1deg));
    transition: all 0.3s;
}

.control-btn:hover {
    background-color: #000;
    color: white;
    transform: rotate(calc(var(--rot, 0) * 1deg)) scale(1.1);
}

.control-btn:nth-child(1) { --rot: -1; }
.control-btn:nth-child(2) { --rot: 0; }
.control-btn:nth-child(3) { --rot: 1; }

.progress-container {
    width: 100%;
    height: 8px;
    background-color: #ddd;
    margin: 20px 0;
    position: relative;
    cursor: pointer;
    transform: rotate(0.5deg);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #000, #333);
    width: 0%;
    transition: width 0.1s;
}

.time-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* 连续播放控制样式 */
.continuous-control {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
    gap: 10px;
}

.continuous-label {
    font-size: 0.9rem;
    color: #666;
}

.continuous-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.continuous-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.continuous-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.continuous-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .continuous-slider {
    background-color: #000;
}

input:checked + .continuous-slider:before {
    transform: translateX(26px);
}

.volume-control {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    gap: 10px;
}

.volume-slider {
    width: 100px;
    transform: rotate(0.5deg);
    cursor: pointer;
}

.current-track {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: bold;
    transform: rotate(-0.5deg);
}

.track-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.track-cover {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background-color: #f5f5f5;
    transform: rotate(5deg);
    transition: all 0.5s ease;
}

.track-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.track-details {
    text-align: left;
}

.track-title {
    font-weight: bold;
    font-size: 1.1rem;
}

.track-artist {
    font-size: 0.9rem;
    color: #666;
}

.player-status {
    font-size: 0.8rem;
    color: #666;
    text-align: center;
    margin-top: 5px;
    transform: rotate(0.5deg);
}

/* 合唱团成员部分 */
.choir-section {
    margin: 60px 0;
    padding: 20px 0;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(-0.2deg);
    background-color: rgba(255,255,255,0.7);
    border-radius: 8px;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
    position: relative;
    transform: rotate(0.5deg);
}

.section-title:after {
    content: "";
    display: block;
    width: 120px;
    height: 2px;
    background: #000;
    margin: 10px auto;
    transform: rotate(0.3deg);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.member-card {
    text-align: center;
    transform: rotate(calc(var(--rot, 0) * 1deg));
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 15px;
    border-radius: 8px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    /* 移除点击效果 */
    outline: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

.member-card:hover {
    transform: rotate(calc(var(--rot, 0) * 1deg)) scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: #fff;
}

.member-card.active {
    background-color: #000;
    color: white;
}

.member-avatar {
    width: 80px;
    height: 80px;
    border: 2px solid #000;
    border-radius: 50%;
    margin: 0 auto 10px;
    /* 移除点击效果 */
    outline: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background-color: #f5f5f5;
    transform: rotate(calc(var(--rot, 0) * 1deg));
    transition: all 0.3s;
}

.member-card:hover .member-avatar {
    transform: rotate(calc(var(--rot, 0) * 1deg)) scale(1.1);
    border-color: #666;
}

.member-card.active .member-avatar {
    border-color: white;
    background-color: #333;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 5px;
}

.member-quote {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.2;
    min-height: 30px;
    padding: 0 5px;
}

.member-card.active .member-quote {
    color: #ddd;
}

.duet-btn {
    background: none;
    border: 1px solid #000;
    border-radius: 2px;
    padding: 5px 10px;
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    font-family: inherit;
    font-size: 0.8rem;
    margin-top: 8px;
    transform: rotate(0.5deg);
    transition: all 0.3s;
}

.duet-btn:hover {
    background-color: #f0f0f0;
    transform: rotate(0.5deg) scale(1.05);
}

.pagination-controls {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    gap: 10px;
}

.page-btn {
    background: none;
    border: 2px solid #000;
    border-radius: 2px;
    padding: 5px 15px;
    cursor: pointer;
    font-family: inherit;
    transform: rotate(0.5deg);
    transition: all 0.3s;
}

.page-btn.active {
    background-color: #000;
    color: white;
}

.page-btn:hover {
    background-color: #f0f0f0;
}

.page-btn:disabled,
.page-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background-color: #e0e0e0;
    color: #999;
}

.page-btn:disabled:hover,
.page-btn.disabled:hover {
    background-color: #e0e0e0;
    transform: rotate(0.5deg);
}

.member-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-input {
    border: 2px solid #000;
    border-radius: 2px;
    padding: 8px 15px;
    font-family: inherit;
    transform: rotate(-0.5deg);
    min-width: 200px;
}

.filter-btn {
    background: none;
    border: 2px solid #000;
    border-radius: 2px;
    padding: 8px 15px;
    cursor: pointer;
    font-family: inherit;
    transform: rotate(0.5deg);
    transition: all 0.3s;
}

.filter-btn:hover {
    background-color: #f0f0f0;
}

/* 鸣谢区域 */
.thanks-section {
    margin: 60px 0;
    padding: 30px 20px;
    background-color: #fafafa;
    border: 2px solid #000;
    transform: rotate(0.2deg);
    position: relative;
    border-radius: 8px;
}

.thanks-section:before {
    content: "鸣谢";
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
    background-color: #fdfdfd;
    padding: 0 20px;
    font-size: 1.8rem;
    font-weight: bold;
}

.thanks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.thanks-card {
    text-align: center;
    transform: rotate(calc(var(--rot, 0) * 1deg));
    padding: 15px;
    border: 1px dashed #000;
    border-radius: 8px;
    transition: transform 0.3s;
}

.thanks-card:hover {
    transform: rotate(calc(var(--rot, 0) * 1deg)) scale(1.03);
    background-color: #fff;
}

.thanks-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid #000;
    margin: 0 auto 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background-color: #f5f5f5;
}

.thanks-name {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.thanks-role {
    font-size: 1rem;
    color: #666;
    margin-bottom: 10px;
    font-style: italic;
}

.thanks-desc {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 加入区域 */
.join-section {
    text-align: center;
    margin: 60px 0;
}

.join-btn {
    display: inline-block;
    background-color: #000;
    color: white;
    padding: 15px 40px;
    font-size: 1.3rem;
    border: 2px solid #000;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    transform: rotate(-0.5deg);
    box-shadow: 3px 3px 0 rgba(0,0,0,0.1);
}

.join-btn:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s;
}

.join-btn:hover:before { left: 100%; }

.join-btn:hover { 
    background-color: #333;
    transform: rotate(-0.5deg) scale(1.05);
}

/* 页脚 */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    border-top: 1px solid #ddd;
    color: #666;
    font-size: 0.9rem;
    transform: rotate(0.3deg);
}

/* 头像滑动动画 */
.avatar-flying {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #000;
    overflow: hidden;
    z-index: 1000;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background-color: #f5f5f5;
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.avatar-flying img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 特殊动物效果 */
.special-animal {
    position: relative;
    cursor: pointer;
}

.special-animal::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s;
}

.special-animal.active::after {
    animation: ripple 0.8s ease-out;
}

@keyframes ripple {
    0% {
        opacity: 1;
        transform: scale(0);
    }
    100% {
        opacity: 0;
        transform: scale(2.5);
    }
}

/* 响应式设计 - 平板 */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }
    
    h1:before, h1:after {
        display: none;
    }
    
    .lyric-text {
        font-size: 1.2rem;
    }
    
    .highlight-text {
        font-size: 1.6rem;
        padding: 15px 30px;
    }
    
    .members-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .highlight-text:before {
        font-size: 2.5rem;
        left: -5px;
        top: -10px;
    }
    
    .highlight-text:after {
        font-size: 2.5rem;
        right: -5px;
        top: -10px;
    }
    
    .loading-bar {
        width: 250px;
    }
    
    .loading-animals {
        max-width: 350px;
    }
    
    .thanks-grid {
        grid-template-columns: 1fr;
    }
    
    #loading-page {
        padding-top: 0;
        height: 100%;
    }
    
    .popup-content {
        padding: 20px 10px;
    }
    
    .popup-title {
        font-size: 1.5rem;
    }
    
    .popup-btn {
        padding: 8px 20px;
        font-size: 1rem;
    }
    
    .terms-content {
        padding: 25px 15px;
        max-height: 75vh;
    }
    
    .control-btn {
        width: 50px;
        height: 50px;
    }
    
    .track-cover {
        width: 50px;
        height: 50px;
    }
}

/* 响应式设计 - 手机 */
@media (max-width: 480px) {
    .members-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .member-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
    
    .member-name {
        font-size: 0.9rem;
    }
    
    .member-quote {
        font-size: 0.7rem;
    }
    
    .member-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-input {
        width: 90%;
    }
    
    .thanks-avatar {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    #loading-page {
        padding-top: 0;
        height: 100%;
    }
    
    .btn-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .popup-btn {
        width: 100%;
    }
    
    .player-controls {
        gap: 5px;
    }
    
    .control-btn {
        margin: 0 5px;
    }
    
    /* highlight-text 手机端适配 */
    .highlight-text {
        font-size: 1.3rem;
        padding: 12px 20px;
        margin: 30px 0;
    }
    
    .highlight-text:before,
    .highlight-text:after {
        font-size: 1.8rem;
        top: -8px;
    }
    
    .highlight-text:before {
        left: 2px;
    }
    
    .highlight-text:after {
        right: 2px;
    }
}
/* 视频播放器样式 */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: transparent;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 20px;
            gap: 30px;
        }

        .demo-section {
            width: 100%;
            max-width: 800px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 16px;
            padding: 20px;
            color: white;
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .demo-section h2 {
            margin-bottom: 15px;
            font-size: 1.2rem;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .audio-player {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            margin-top: 10px;
            flex-wrap: wrap;
        }

        .audio-btn {
            background: rgba(255, 255, 255, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: white;
            padding: 10px 20px;
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 14px;
            backdrop-filter: blur(5px);
        }

        .audio-btn:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        .audio-btn.playing {
            background: rgba(255, 255, 255, 0.4);
            border-color: rgba(255, 255, 255, 0.5);
        }

        .video-container {
            position: relative;
            width: 100%;
            max-width: 800px;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(10px);
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            transition: border-radius 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        video {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 24px;
            transition: border-radius 0.3s ease;
        }

        .play-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            background: rgba(0, 0, 0, 0.3);
            cursor: pointer;
            opacity: 1;
            transition: opacity 0.3s ease;
            border-radius: 24px;
        }

        .play-overlay.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .play-button {
            width: 80px;
            height: 80px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(10px);
        }

        .play-button:hover {
            transform: scale(1.1);
            background: white;
        }

        .play-icon {
            width: 0;
            height: 0;
            border-left: 25px solid #667eea;
            border-top: 15px solid transparent;
            border-bottom: 15px solid transparent;
            margin-left: 5px;
        }

        .pause-icon {
            width: 30px;
            height: 35px;
            display: none;
            position: relative;
        }

        .pause-icon::before,
        .pause-icon::after {
            content: '';
            position: absolute;
            width: 10px;
            height: 35px;
            background: #667eea;
        }

        .pause-icon::before {
            left: 0;
        }

        .pause-icon::after {
            right: 0;
        }

        .playing .play-icon {
            display: none;
        }

        .playing .pause-icon {
            display: block;
        }

        .status-indicator {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(10px);
            color: white;
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 12px;
            display: none;
            align-items: center;
            gap: 8px;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .status-indicator.show {
            display: flex;
        }

        .status-indicator .icon {
            animation: pulse 1.5s infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }

        /* 响应式圆角 */
        @media (max-width: 768px) {
            .video-container,
            video,
            .play-overlay {
                border-radius: 16px;
            }

            .play-button {
                width: 60px;
                height: 60px;
            }

            .play-icon {
                border-left-width: 20px;
                border-top-width: 12px;
                border-bottom-width: 12px;
            }
        }

        @media (max-width: 480px) {
            .video-container,
            video,
            .play-overlay {
                border-radius: 12px;
            }

            .play-button {
                width: 50px;
                height: 50px;
            }

            .play-icon {
                border-left-width: 16px;
                border-top-width: 10px;
                border-bottom-width: 10px;
            }
        }

        @media (min-width: 1200px) {
            .video-container,
            video,
            .play-overlay {
                border-radius: 32px;
            }
        }

        /* 为透明背景添加一些装饰性元素 */
        .decoration {
            position: fixed;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
            pointer-events: none;
            animation: float 20s infinite ease-in-out;
        }

        .decoration:nth-child(1) {
            width: 300px;
            height: 300px;
            top: -150px;
            left: -150px;
            animation-delay: 0s;
        }

        .decoration:nth-child(2) {
            width: 200px;
            height: 200px;
            bottom: -100px;
            right: -100px;
            animation-delay: 5s;
        }

        .decoration:nth-child(3) {
            width: 150px;
            height: 150px;
            top: 50%;
            left: 10%;
            animation-delay: 10s;
        }

        @keyframes float {
            0%, 100% { transform: translate(0, 0) scale(1); }
            25% { transform: translate(30px, -30px) scale(1.05); }
            50% { transform: translate(-20px, 20px) scale(0.95); }
            75% { transform: translate(40px, 10px) scale(1.02); }
        }
         <!-- 点赞 -->
         /* 点赞按钮核心样式：作用于.animal-item.like-btn，避免影响其他元素 */
.animal-item.like-btn {
    cursor: pointer; /* 鼠标悬浮显示手型，提示可点击 */
    transition: all 0.2s ease; /* 过渡效果，更流畅 */
    padding: 10px; /* 扩大点击区域，提升体验 */
    border-radius: 8px; /* 可选：添加圆角，更美观 */
}

/* 点击时轻微缩放效果 */
.animal-item.like-btn:active {
    transform: scale(0.95);
}

/* 点赞图标样式：保持原图标大小，可按需调整 */
.animal-icon.like-icon {
    font-size: 20px; /* 图标大小 */
    margin-right: 8px; /* 与文字间距 */
}

/* 点赞计数样式：加粗突出 */
.like-count {
    font-weight: 600;
    color: #1890ff; /* 计数颜色，可选 */
}

/* 状态提示文本：新增，显示点赞反馈 */
.animal-item .status {
    margin-top: 4px;
    font-size: 12px;
    color: #666;
}
/* 点赞功能样式 - 整合到原有CSS，不冲突 */
.animal-item.like-btn {
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 10px;
    border-radius: 8px;
}
.animal-item.like-btn:active {
    transform: scale(0.95);
}
.animal-icon.like-icon {
    font-size: 20px;
    margin-right: 8px;
}
.like-count {
    font-weight: 600;
    color: #1890ff;
}
.animal-item .status {
    margin-top: 4px;
    font-size: 12px;
    color: #666;
    text-align: center;
}
