/* 整合页面专用样式 */

/* 应用外层容器 */
.app-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

/* 顶部导航栏 - 移动端优化 */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: linear-gradient(180deg, rgba(12, 12, 12, 0.95) 0%, rgba(26, 26, 46, 0.95) 100%);
    backdrop-filter: blur(30px);
    border-bottom: 2px solid var(--glass-border);
    padding: 10px 4px 8px;
    z-index: 1000;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.5),
        0 2px 8px rgba(0, 245, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 8px;
    background: transparent;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    max-width: 70px;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.nav-item::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--neon-blue);
    border-radius: 2px 2px 0 0;
}

.nav-item.active::before {
    width: 70%;
}

.nav-item.active {
    background: linear-gradient(180deg, rgba(0, 245, 255, 0.15) 0%, rgba(0, 245, 255, 0.05) 100%);
}

.nav-item:active {
    transform: scale(0.95);
}

.nav-icon {
    font-size: 1.4rem;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(0, 245, 255, 0.3));
}

.nav-item.active .nav-icon {
    text-shadow: 
        0 0 15px var(--neon-blue),
        0 0 25px var(--neon-blue),
        0 0 35px var(--neon-blue);
    transform: scale(1.15);
    filter: drop-shadow(0 0 10px var(--neon-blue));
}

.nav-text {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-item.active .nav-text {
    color: var(--neon-blue);
    text-shadow: 
        0 0 10px var(--neon-blue),
        0 0 15px var(--neon-blue);
    font-weight: 700;
}

/* 内容区域 */
.content-wrapper {
    flex: 1;
    margin-top: 65px;
    position: relative;
    padding-bottom: 20px;
}

/* 面板容器 */
.panel-container {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.panel-container.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 面板头部 */
.panel-header {
    text-align: center;
    padding: 14px 12px 10px;
    margin-bottom: 12px;
}

.panel-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 
        0 0 10px var(--neon-blue),
        0 0 20px var(--neon-blue),
        0 0 30px var(--neon-blue);
    animation: titleGlow 2s ease-in-out infinite alternate;
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.panel-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    font-weight: 500;
}

/* 活动区域样式 */
.activity-section {
    margin-bottom: 16px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 14px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--glass-border);
}

.section-icon {
    font-size: 1.4rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.5);
    animation: iconGlow 3s ease-in-out infinite alternate;
}

.section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-accent);
    letter-spacing: 0.3px;
    text-shadow: 0 0 8px var(--neon-blue);
}

/* 包赔卡片样式 - 移动端优化 */
.compensation-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
}

.compensation-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    box-shadow: 
        0 8px 24px rgba(102, 126, 234, 0.5),
        0 0 20px rgba(118, 75, 162, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.compensation-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.compensation-card:active {
    transform: scale(0.98);
    box-shadow: 
        0 6px 20px rgba(102, 126, 234, 0.4),
        0 0 15px rgba(118, 75, 162, 0.3);
}

.compensation-amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    text-shadow: 
        0 0 15px rgba(255, 255, 255, 0.9),
        0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}

.compensation-details {
    width: 100%;
    position: relative;
    z-index: 1;
}

.compensation-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.compensation-info {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    line-height: 1.3;
}

/* 活动说明样式 */
.activity-note {
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(0, 245, 255, 0.2);
}

.note-icon {
    font-size: 0.9rem;
    color: var(--neon-blue);
    text-shadow: 0 0 8px var(--neon-blue);
}

.note-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.2);
}

/* 表格容器样式 */
.table-container {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.bonus-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
}

.bonus-table thead {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
}

.bonus-table th {
    padding: 10px 6px;
    text-align: center;
    font-weight: 700;
    color: var(--text-primary);
    border-bottom: 1px solid var(--glass-border);
    letter-spacing: 0.3px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.bonus-table td {
    padding: 8px 6px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-weight: 600;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.bonus-table tbody tr:hover {
    background: rgba(0, 245, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.2);
}

.bonus-table tbody tr:last-child td {
    border-bottom: none;
}

/* 体育活动列表样式 - 移动端优化 */
.sports-activities {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.25) 100%);
    border: 1.5px solid var(--glass-border);
    border-radius: 12px;
    padding: 14px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

.activity-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--neon-purple), var(--neon-pink));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.activity-item:active {
    background: rgba(0, 245, 255, 0.15);
    border-color: var(--neon-blue);
    transform: scale(0.98);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

.activity-item:active::before {
    transform: scaleY(1);
}

.activity-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
    box-shadow: 
        0 0 15px rgba(191, 0, 255, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

/* 更多面板特殊样式 */
.more-content {
    text-align: center;
    padding: 20px 0;
}

.coming-soon {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.contact-section {
    margin-top: 30px;
}

.contact-section h3 {
    font-size: 1.2rem;
    color: var(--text-accent);
    margin-bottom: 16px;
    text-shadow: 0 0 10px var(--neon-blue);
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.contact-buttons .launch-button {
    max-width: 200px;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--neon-green), var(--neon-pink));
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.7);
}

/* 小屏幕设备优化 */
@media (max-width: 380px) {
    .nav-icon {
        font-size: 1.2rem;
    }
    
    .nav-text {
        font-size: 0.65rem;
    }
    
    .panel-title {
        font-size: 1.4rem;
    }
    
    .compensation-amount {
        font-size: 1.8rem;
    }
    
    .activity-title {
        font-size: 0.8rem;
    }
}

/* 屏幕高度优化 - 适配刘海屏等 */
@media (max-height: 700px) {
    .top-nav {
        padding: 8px 4px 6px;
    }
    
    .content-wrapper {
        margin-top: 60px;
    }
    
    .panel-header {
        padding: 10px 12px 8px;
        margin-bottom: 10px;
    }
    
    .activity-section {
        margin-bottom: 12px;
        padding: 12px;
    }
    
    .section-header {
        margin-bottom: 12px;
        padding-bottom: 8px;
    }
}

