/* 班级神兽模块样式 */

/* 神兽页面容器 */
.shenshou-page {
    display: none;
    padding: 24px;
    max-width: 1400px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease;
}

.shenshou-page.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 神兽主卡片 */
.shenshou-main-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 32px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 100px rgba(102, 126, 234, 0.2);
    margin-bottom: 32px;
}

/* 星空背景动画 */
.shenshou-main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.9), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 160px 20px, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 200px 60px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 250px 30px, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 300px 90px, rgba(255,255,255,0.5), transparent);
    background-repeat: repeat;
    background-size: 350px 120px;
    opacity: 0.6;
    animation: twinkle 4s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* 神兽内容布局 */
.shenshou-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    position: relative;
    z-index: 1;
}

@media (max-width: 968px) {
    .shenshou-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* 神兽图片区域 */
.shenshou-image-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.shenshou-image-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 神兽光环 */
.shenshou-aura {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.3) 0%, transparent 70%);
    animation: pulseAura 3s ease-in-out infinite;
}

@keyframes pulseAura {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* 神兽图片 */
.shenshou-image {
    width: 300px;
    height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(102, 126, 234, 0.7));
    animation: float 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.shenshou-image-wrapper:hover .shenshou-image {
    transform: scale(1.15);
}

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

/* 神兽蛋图片 */
.shenshou-egg {
    width: 250px;
    height: 200px;
    object-fit: contain;
    animation: eggGlow 2s ease-in-out infinite;
}

@keyframes eggGlow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.4)); }
    50% { filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.8)); }
}

/* 神兽信息区域 */
.shenshou-info-section {
    color: white;
}

/* 神兽名称 */
.shenshou-name-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.shenshou-name {
    font-size: 36px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 4px 12px;
    border-radius: 12px;
    border: 2px dashed transparent;
}

.shenshou-name:hover {
    border-color: rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 237, 78, 0.1) 100%);
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    color: #ffd700;
}

.shenshou-name-input {
    font-size: 28px;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #ffd700;
    border-radius: 12px;
    padding: 8px 16px;
    color: #ffd700;
    outline: none;
    width: 280px;
}

/* 等级徽章 */
.shenshou-level-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* 等级名称 */
.shenshou-stage-name {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    font-weight: 600;
}

/* 经验条容器 */
.shenshou-exp-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
}

.shenshou-exp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.shenshou-exp-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.shenshou-exp-value {
    font-size: 16px;
    font-weight: 800;
    color: #ffd700;
}

/* 经验进度条 */
.shenshou-exp-bar-bg {
    height: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.shenshou-exp-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 10px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.shenshou-exp-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* 神兽统计 */
.shenshou-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 600px) {
    .shenshou-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .shenshou-stat-item {
        padding: 10px 4px;
    }

    .shenshou-stat-value {
        font-size: 18px;
    }

    .shenshou-stat-label {
        font-size: 11px;
    }
}

.shenshou-stat-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.shenshou-stat-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.shenshou-stat-value {
    font-size: 28px;
    font-weight: 900;
    color: #ffd700;
    margin-bottom: 4px;
}

.shenshou-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* 操作按钮 */
.shenshou-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.shenshou-btn {
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.shenshou-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.shenshou-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.shenshou-btn-gold {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a2e;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(255, 215, 0, 0.7); }
}

.shenshou-btn-gold:hover {
    transform: translateY(-2px) scale(1.02);
}

.shenshou-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.shenshou-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 贡献榜卡片 */
.shenshou-contribution-card {
    background: white;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.shenshou-contribution-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.shenshou-contribution-title {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shenshou-contribution-subtitle {
    font-size: 13px;
    color: #64748b;
}

/* 贡献榜列表 */
.shenshou-contribution-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shenshou-contribution-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.shenshou-contribution-item:hover {
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    border-color: #93c5fd;
    transform: translateX(4px);
}

.shenshou-contribution-item.top-1 {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #f59e0b;
}

.shenshou-contribution-item.top-2 {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-color: #94a3b8;
}

.shenshou-contribution-item.top-3 {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-color: #f87171;
}

/* 排名 */
.shenshou-rank {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}

.shenshou-rank.gold {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #92400e;
}

.shenshou-rank.silver {
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
    color: #475569;
}

.shenshou-rank.bronze {
    background: linear-gradient(135deg, #cd7f32 0%, #daa520 100%);
    color: white;
}

.shenshou-rank.normal {
    background: #e2e8f0;
    color: #64748b;
}

/* 贡献者头像 */
.shenshou-contributor-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

/* 贡献者信息 */
.shenshou-contributor-info {
    flex: 1;
    min-width: 0;
}

.shenshou-contributor-name {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shenshou-contributor-meta {
    font-size: 12px;
    color: #64748b;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.shenshou-contributor-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 贡献值 */
.shenshou-contribution-value {
    text-align: right;
    flex-shrink: 0;
}

.shenshou-contribution-points {
    font-size: 20px;
    font-weight: 900;
    color: #667eea;
}

.shenshou-contribution-label {
    font-size: 12px;
    color: #94a3b8;
}

/* 神兽选择网格 */
.shenshou-select-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    padding: 20px;
}

.shenshou-option {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.shenshou-option:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.shenshou-option-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.shenshou-option-name {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

/* 升级弹窗 */
.shenshou-levelup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    flex-direction: column;
}

.shenshou-levelup-overlay.active {
    display: flex;
    animation: fadeIn 0.5s ease;
}

.shenshou-levelup-content {
    text-align: center;
    padding: 40px;
    position: relative;
}

.shenshou-levelup-title {
    font-size: 48px;
    font-weight: 900;
    color: #ffd700;
    margin-bottom: 20px;
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.5);
    animation: bounceIn 0.8s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

.shenshou-levelup-image {
    width: 280px;
    height: 280px;
    object-fit: contain;
    margin: 30px auto;
    display: block;
    filter: drop-shadow(0 0 60px rgba(255, 215, 0, 0.8));
    animation: shenshouCelebrate 2s ease-in-out infinite;
}

@keyframes shenshouCelebrate {
    0%, 100% { transform: translateY(0) scale(1) rotate(-3deg); }
    25% { transform: translateY(-15px) scale(1.05) rotate(3deg); }
    50% { transform: translateY(-25px) scale(1.1) rotate(-3deg); }
    75% { transform: translateY(-15px) scale(1.05) rotate(3deg); }
}

.shenshou-levelup-text {
    font-size: 28px;
    color: white;
    font-weight: 700;
    margin-bottom: 16px;
}

.shenshou-levelup-reward {
    font-size: 20px;
    color: #10b981;
    font-weight: 700;
    background: rgba(16, 185, 129, 0.2);
    padding: 12px 24px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 24px;
}

.shenshou-levelup-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shenshou-levelup-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

/* 视频播放器 */
.shenshou-video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10003;
}

.shenshou-video-overlay.active {
    display: flex;
}

.shenshou-video-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.shenshou-video-skip {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.shenshou-video-skip:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 神兽墙 */
.shenshou-wall-section {
    background: white;
    border-radius: 24px;
    padding: 28px;
    margin-top: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.shenshou-wall-title {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shenshou-wall-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.shenshou-wall-item {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.shenshou-wall-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.shenshou-wall-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

.shenshou-wall-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.shenshou-wall-name {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 8px;
}

.shenshou-wall-date {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 16px;
}

.shenshou-wall-level {
    font-size: 14px;
    color: #f59e0b;
    font-weight: 700;
    margin-bottom: 12px;
}

.shenshou-wall-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.shenshou-wall-item.current {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.shenshou-wall-contributors {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.shenshou-wall-contributor {
    display: flex;
    align-items: center;
    gap: 6px;
    background: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
}

.shenshou-wall-contributor img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

/* 工作台神兽管理 */
.shenshou-management-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    border: 2px solid #bae6fd;
}

.shenshou-management-title {
    font-size: 18px;
    font-weight: 800;
    color: #0369a1;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.shenshou-settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.shenshou-setting-item {
    background: white;
    padding: 16px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
}

.shenshou-setting-label {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 600;
}

.shenshou-setting-input {
    width: 100%;
    padding: 10px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
}

.shenshou-setting-input:focus {
    outline: none;
    border-color: #3b82f6;
}

/* 历史记录 */
.shenshou-history-list {
    max-height: 300px;
    overflow-y: auto;
}

.shenshou-history-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    margin-bottom: 12px;
    border-left: 4px solid #667eea;
}

.shenshou-history-date {
    font-size: 12px;
    color: #94a3b8;
    white-space: nowrap;
}

.shenshou-history-content {
    flex: 1;
}

.shenshou-history-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.shenshou-history-detail {
    font-size: 13px;
    color: #64748b;
}

/* 提示信息 */
.shenshou-hint {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    border: 2px solid #f59e0b;
}

.shenshou-hint-title {
    font-size: 16px;
    font-weight: 800;
    color: #92400e;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.shenshou-hint-text {
    font-size: 14px;
    color: #78350f;
    line-height: 1.6;
}

/* 空状态 */
.shenshou-empty {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}

.shenshou-empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.shenshou-empty-text {
    font-size: 16px;
    font-weight: 600;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .shenshou-page {
        padding: 16px;
    }
    
    .shenshou-main-card {
        padding: 24px;
        border-radius: 24px;
    }
    
    .shenshou-image-wrapper {
        width: 200px;
        height: 200px;
    }
    
    .shenshou-image {
        width: 160px;
        height: 160px;
    }
    
    .shenshou-name {
        font-size: 24px;
    }
    
    .shenshou-levelup-title {
        font-size: 32px;
    }
    
    .shenshou-contribution-item {
        padding: 12px;
        gap: 12px;
    }
    
    .shenshou-contributor-avatar {
        width: 40px;
        height: 40px;
    }
    
    .shenshou-contributor-meta {
        display: none;
    }
}

/* 动画效果 */
.shenshou-fade-in {
    animation: fadeIn 0.5s ease;
}

.shenshou-slide-up {
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 神兽蛋选择弹窗 */
.shenshou-egg-select-modal .modal-content {
    max-width: 900px;
    margin: 0 auto;
}

.shenshou-egg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-items: center;
}

.shenshou-egg-option {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    width: 100%;
    max-width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.shenshou-egg-option:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #ffd700;
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
}

.shenshou-egg-option img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 12px;
    animation: eggFloat 2s ease-in-out infinite;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.shenshou-egg-option-name {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .shenshou-egg-select-modal .modal-content {
        max-width: 100%;
        width: 100%;
        margin: 0;
        border-radius: 16px;
    }
    
    .shenshou-egg-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 16px;
    }
    
    .shenshou-egg-option {
        padding: 16px 12px;
        max-width: none;
    }
    
    .shenshou-egg-option img {
        width: 60px;
        height: 60px;
    }
    
    .shenshou-egg-option-name {
        font-size: 13px;
    }
}

/* 神兽进化图鉴 */
.shenshou-evolution-guide {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 24px;
    padding: 28px;
    margin-bottom: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.shenshou-evolution-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffd700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shenshou-evolution-timeline {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    padding: 20px 0;
}

/* 移动端横向滑动 */
@media (max-width: 768px) {
    .shenshou-evolution-timeline {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding: 20px 10px;
        justify-content: flex-start;
        gap: 8px;
    }
    
    .shenshou-evolution-timeline::-webkit-scrollbar {
        height: 6px;
    }
    
    .shenshou-evolution-timeline::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 3px;
    }
    
    .shenshou-evolution-timeline::-webkit-scrollbar-thumb {
        background: #ffd700;
        border-radius: 3px;
    }
    
    .shenshou-evolution-stage {
        flex-shrink: 0;
        scroll-snap-align: center;
    }
    
    .shenshou-evolution-image-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .shenshou-evolution-image {
        width: 60px;
        height: 60px;
    }
    
    .shenshou-evolution-arrow {
        font-size: 24px;
        flex-shrink: 0;
        align-self: center;
        margin-top: 0;
    }
    
    .shenshou-evolution-name {
        font-size: 11px;
        max-width: 70px;
    }
}

.shenshou-evolution-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
}

.shenshou-evolution-stage.locked {
    opacity: 0.5;
}

.shenshou-evolution-stage.unlocked {
    opacity: 1;
}

.shenshou-evolution-level {
    font-size: 14px;
    font-weight: 700;
    color: #667eea;
    background: rgba(102, 126, 234, 0.2);
    padding: 4px 12px;
    border-radius: 12px;
}

.shenshou-evolution-image-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.shenshou-evolution-stage.unlocked .shenshou-evolution-image-wrapper {
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.shenshou-evolution-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.shenshou-evolution-lock {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    opacity: 0.8;
}

.shenshou-evolution-name {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    max-width: 80px;
}

.shenshou-evolution-arrow {
    font-size: 32px;
    color: #ffd700;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    animation: arrowPulse 1.5s ease-in-out infinite;
    align-self: center;
    margin-top: 0;
}

@keyframes arrowPulse {
    0%, 100% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(5px); opacity: 0.7; }
}

/* 荣誉殿堂 */
.shenshou-honor-hall {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 24px;
    padding: 28px;
    margin-bottom: 32px;
    border: 2px solid #f59e0b;
}

.shenshou-honor-title {
    font-size: 22px;
    font-weight: 800;
    color: #92400e;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shenshou-honor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.shenshou-honor-item {
    background: white;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.shenshou-honor-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.shenshou-honor-rank {
    font-size: 14px;
    font-weight: 800;
    color: #f59e0b;
    margin-bottom: 12px;
}

.shenshou-honor-image-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fef9e7 0%, #fde68a 100%);
    border-radius: 50%;
    border: 3px solid #f59e0b;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.shenshou-honor-image {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.shenshou-honor-crown {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    animation: crownGlow 2s ease-in-out infinite;
}

@keyframes crownGlow {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.1); }
}

.shenshou-honor-name {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.shenshou-honor-date {
    font-size: 12px;
    color: #64748b;
}

/* 按钮徽章 */
.shenshou-btn {
    position: relative;
}

.shenshou-btn-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    font-size: 12px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* 召唤神兽弹窗 */
.summon-pet-option {
    transition: all 0.3s ease;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .shenshou-evolution-timeline {
        gap: 8px;
    }
    
    .shenshou-evolution-image-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .shenshou-evolution-image {
        width: 55px;
        height: 55px;
    }
    
    .shenshou-evolution-name {
        font-size: 10px;
        max-width: 60px;
    }
    
    .shenshou-evolution-arrow {
        font-size: 18px;
        margin-top: 20px;
    }
    
    .shenshou-honor-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
    }
    
    .shenshou-honor-image {
        width: 60px;
        height: 60px;
    }
}
