/* 节目单页面样式 - 多巴胺配色 */

.program-header {
    text-align: center;
    padding: 2rem 0;
    background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 50%, #45B7D1 100%);
    color: white;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.3);
}

.program-header h1 {
    font-size: 2.5rem;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.program-header .subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* 演出列表样式 */
.shows-list {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.show-card {
    background: linear-gradient(135deg, #FFF9E6 0%, #E8F8F5 100%);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.show-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF6B6B, #4ECDC4, #45B7D1, #96CEB4, #FFEAA7);
}

.show-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 40px rgba(255, 107, 107, 0.25);
    border-color: #FF6B6B;
}

.show-card h3 {
    color: #2D3436;
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.show-card .show-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 1rem;
}

.show-card .meta-row {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(52, 152, 219, 0.1);
    padding: 8px 12px;
    border-radius: 15px;
    border: 1px solid rgba(52, 152, 219, 0.2);
    font-size: 0.9rem;
}

.show-card .meta-label {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    min-width: 60px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(116, 185, 255, 0.3);
    flex-shrink: 0;
}

.show-card .show-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 节目单详情样式 */
.program-detail {
    animation: fadeIn 0.3s ease;
}

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

.back-button {
    margin-bottom: 1.5rem;
}

.btn-back {
    background: linear-gradient(135deg, #A29BFE 0%, #6C5CE7 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(162, 155, 254, 0.3);
}

.btn-back:hover {
    background: linear-gradient(135deg, #6C5CE7 0%, #A29BFE 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(162, 155, 254, 0.4);
}

/* 预约按钮样式 */
.booking-action {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem 0;
}

.btn-booking {
    background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

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

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

.btn-booking:hover {
    background: linear-gradient(135deg, #4ECDC4 0%, #FF6B6B 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
}

.btn-booking:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
}

.show-info {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 248, 255, 0.95));
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    color: #2c3e50;
    font-size: 16px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.show-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* 第一行：节目名称 */
.show-title-row {
    border-bottom: 2px solid rgba(52, 152, 219, 0.3);
    padding-bottom: 15px;
}

.show-title-row h2 {
    color: #2c3e50;
    margin: 0;
    font-size: 28px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

/* 第二行：详细信息 */
.show-details-row {
    border-bottom: 2px solid rgba(52, 152, 219, 0.3);
    padding-bottom: 15px;
}

/* 第三行：介绍 */
.show-description-row {
    flex: 1;
}

.show-info h2 {
    color: #2c3e50;
    margin: 0 0 1.5rem 0;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

.show-info .show-meta {
    display: grid;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.show-info .meta-row {
    display: flex;
    align-items: flex-start;
    font-size: 1rem;
}

.show-info .meta-label {
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    min-width: 100px;
    flex-shrink: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.show-description {
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(52, 152, 219, 0.3);
    max-height: 150px;
    overflow-y: auto;
    color: #2c3e50;
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-line;
    position: relative;
    z-index: 1;
    padding-right: 8px;
}

/* 自定义滚动条样式 */
.show-description::-webkit-scrollbar {
    width: 6px;
}

.show-description::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.show-description::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
    transition: background 0.3s ease;
}

.show-description::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.5);
}

/* 节目单部分样式 */
.programs-section {
    background: linear-gradient(135deg, #74B9FF 0%, #0984E3 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 12px 40px rgba(116, 185, 255, 0.3);
    color: white;
    position: relative;
    overflow: hidden;
}

.programs-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.programs-section h3 {
    color: white;
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    border-bottom: 3px solid rgba(255,255,255,0.3);
    padding-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

.programs-list {
    display: grid;
    gap: 1rem;
}

.program-item {
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.95) 100%);
    border-radius: 16px;
    padding: 1.5rem;
    border-left: 6px solid #FFEAA7;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: #2D3436;
    position: relative;
    z-index: 1;
    /* 提高背景不透明度，增强文字对比度 */
}

.program-item:hover {
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.95) 100%);
    transform: translateX(8px) translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-left-color: #FDCB6E;
}

.program-item.hidden-item {
    background: linear-gradient(135deg, #FD79A8 0%, #E84393 100%);
    border-left-color: #FFEAA7;
    position: relative;
    color: white;
}

.program-item.hidden-item::before {
    content: "🎭 隐藏项目（彩蛋）";
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    background: linear-gradient(135deg, #FFEAA7 0%, #FDCB6E 100%);
    color: #2D3436;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.program-item.invisible {
    display: none;
}

.program-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.program-order {
    background: linear-gradient(135deg, #E17055 0%, #D63031 100%);
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(255, 118, 117, 0.4);
    border: 3px solid rgba(255,255,255,0.5);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    /* 使用更深的背景色、更明显的边框和文字阴影提高可读性 */
}

.program-title {
    flex: 1;
    min-width: 200px;
}

.program-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2D3436;
    margin: 0 0 0.2rem 0;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
    /* 移除渐变文字效果，使用纯色提高可读性 */
}

.program-type {
    font-size: 0.8rem;
    color: white;
    background: linear-gradient(135deg, #6C5CE7 0%, #5A4FCF 100%);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    display: inline-block;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(162, 155, 254, 0.3);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    /* 使用更深的背景色和文字阴影提高可读性 */
}

.program-details {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.program-detail-row {
    display: flex;
    align-items: flex-start;
    font-size: 0.9rem;
}

.program-detail-label {
    font-weight: 600;
    color: #2D3436;
    min-width: 80px;
    flex-shrink: 0;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
    /* 使用更深的颜色和文字阴影提高可读性 */
}

.program-description {
    color: #495057;
    font-size: 0.9rem;
    line-height: 1.5;
    font-style: italic;
    padding: 0.5rem 0;
    border-top: 1px solid #dee2e6;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.6);
    /* 使用更深的颜色和文字阴影提高可读性 */
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .program-header {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .program-header h1 {
        font-size: 2rem;
    }
    
    .show-card {
        padding: 1rem;
    }
    
    .show-card h3 {
        font-size: 1.1rem;
    }
    
    .show-info {
        padding: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .show-info h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .show-info .show-meta {
        gap: 0.6rem;
        margin-bottom: 1rem;
    }
    
    .show-info .meta-row {
        font-size: 0.9rem;
    }
    
    .show-info .meta-label {
        min-width: 70px;
        font-size: 0.85rem;
    }
    
    .show-description {
        font-size: 0.9rem;
        max-height: 150px;
        line-height: 1.5;
    }
    
    .programs-section {
        padding: 1.5rem;
    }
    
    .program-item {
        padding: 1rem;
    }
    
    .program-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .program-title {
        min-width: auto;
        width: 100%;
    }
    
    .program-detail-label {
        min-width: 60px;
    }
}

@media (max-width: 480px) {
    .program-header h1 {
        font-size: 1.8rem;
    }
    
    .show-info {
        padding: 1rem;
        border-radius: 15px;
    }
    
    .show-info h2 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .show-info .show-meta {
        gap: 0.4rem;
        margin-bottom: 0.8rem;
    }
    
    .show-card .meta-row,
    .show-info .meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.1rem;
        font-size: 0.85rem;
    }
    
    .show-card .meta-label,
    .show-info .meta-label {
        min-width: auto;
        font-weight: 600;
        color: rgba(255,255,255,0.9);
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
        font-size: 0.8rem;
    }
    
    .show-description {
        font-size: 0.85rem;
        max-height: 120px;
        line-height: 1.4;
    }
    
    .program-detail-row {
        flex-direction: column;
        gap: 0.2rem;
    }
    
    .program-detail-label {
        min-width: auto;
        font-weight: 600;
        color: #2D3436;
        text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .show-info {
        padding: 20px;
        gap: 15px;
    }

    .show-title-row h2 {
        font-size: 24px;
    }

    .show-details-row {
        padding-bottom: 12px;
    }

    .show-meta {
        gap: 8px;
    }

    .meta-row {
        padding: 6px 10px;
        font-size: 12px;
    }

    .meta-label {
        min-width: 50px;
        font-size: 10px;
        padding: 3px 6px;
    }

    .meta-row span:not(.meta-label) {
        font-size: 12px;
    }

    .show-description {
        max-height: 120px;
        padding: 15px;
        font-size: 13px;
    }
}

/* 超小屏幕适配 */
@media (max-width: 480px) {
    .show-info {
        padding: 15px;
        gap: 12px;
    }

    .show-title-row h2 {
        font-size: 20px;
    }

    .show-meta {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .meta-row {
        justify-content: space-between;
        width: 100%;
    }

    .show-description {
        max-height: 100px;
        padding: 12px;
        font-size: 12px;
    }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    .show-card,
    .show-info,
    .programs-section {
        background: #2d3748;
        color: #e2e8f0;
    }
    
    .show-card h3,
    .show-info h2,
    .programs-section h3 {
        color: #f7fafc;
    }
    
    .program-item {
        background: #4a5568;
        color: #e2e8f0;
    }
    
    .program-item:hover {
        background: #2d3748;
    }
    
    .program-type {
        background: #4a5568;
        color: #e2e8f0;
    }
}

/* ===== 从HTML内联样式迁移的CSS ===== */

/* 加载状态样式 */
.loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

/* 错误状态样式 */
.error {
    text-align: center;
    padding: 2rem;
    color: #e74c3c;
    background: #fdf2f2;
    border-radius: 8px;
    margin: 1rem 0;
}

/* 无演出状态样式 */
.no-shows {
    text-align: center;
    padding: 3rem;
    color: #666;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 2rem 0;
}

.no-shows h3 {
    margin-bottom: 1rem;
    color: #333;
}