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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: linear-gradient(135deg, #d4dce6, #c8d4e0);
    color: #2c3e50;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(245, 248, 250, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 20px;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #2c3e50;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.date-time {
    font-size: 1.2rem;
    color: #7f8c8d;
    font-style: italic;
}

.current-performance, .up-next {
    margin-bottom: 30px;
    background: rgba(52, 152, 219, 0.08);
    border-radius: 15px;
    padding: 25px;
    border-left: 5px solid #3498db;
}

.current-performance h2, .up-next h2, .program-list h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.current-item, .next-item {
    background: rgba(240, 245, 248, 0.9);
    padding: 20px;
    border-radius: 10px;
    position: relative;
    transition: transform 0.3s ease;
    border: 1px solid rgba(52, 152, 219, 0.25);
}

.current-item:hover, .next-item:hover {
    transform: translateY(-2px);
}

.program-number, .program-number-small {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.program-number {
    font-size: 1.3rem;
    font-weight: bold;
    color: #3498db;
    background: rgba(52, 152, 219, 0.15);
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 15px;
    text-align: center;
}

.program-number-small {
    font-size: 1rem;
    font-weight: bold;
    color: #3498db;
    background: rgba(52, 152, 219, 0.12);
    padding: 6px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
    text-align: center;
}
.program-count {
    font-size: 0.85rem;
    color: #5a6c7d;
    font-weight: normal;
}

.program-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.program-image-small {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 12px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.program-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.performer-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: #2c3e50;
}

.piece-info {
    font-size: 1.1rem;
    color: #5a6c7d;
    line-height: 1.4;
}

.actors-list, .item-actors {
    margin-top: 10px;
    color: #34495e;
    line-height: 1.5;
}

.item-actors {
    font-size: 0.95rem;
    margin-top: 6px;
}

.actors-list strong,
.item-actors strong {
    color: #2c3e50;
}

.status-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-indicator.playing {
    background-color: #27ae60;
    box-shadow: 0 0 15px #27ae60;
}

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

.program-list {
    background: rgba(52, 152, 219, 0.05);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(52, 152, 219, 0.15);
}

.controls {
    margin-bottom: 20px;
    text-align: center;
}

.controls button {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    margin: 0 10px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.controls button:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.controls button:disabled {
    background: #7f8c8d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.program-items {
    display: grid;
    gap: 15px;
}

.program-item {
    background: rgba(240, 245, 248, 0.8);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.program-item:hover {
    background: rgba(235, 242, 247, 0.95);
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.program-item.completed {
    border-left-color: #27ae60;
    opacity: 0.7;
}

.program-item.current {
    border-left-color: #3498db;
    background: rgba(52, 152, 219, 0.15);
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.2);
}

.program-item.upcoming {
    border-left-color: #95a5a6;
}

.item-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #3498db;
    min-width: 40px;
    text-align: center;
    padding: 8px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 8px;
}

.item-number small {
    display: block;
    margin-top: 4px;
    font-size: 0.75rem;
    color: #5a6c7d;
    font-weight: normal;
}

.item-info {
    flex: 1;
}

.item-performer {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #2c3e50;
}

.item-piece {
    color: #5a6c7d;
    line-height: 1.3;
}

.detail-toggle {
    margin-top: 12px;
    background: transparent;
    color: #3498db;
    border: 1px solid #3498db;
    padding: 6px 18px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.detail-toggle:hover {
    background: #3498db;
    color: #fff;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.35);
}

.detail-panel {
    max-height: 0;
    overflow: hidden;
    background: rgba(52, 152, 219, 0.05);
    border-left: 3px solid rgba(52, 152, 219, 0.35);
    margin-top: 12px;
    padding: 0 16px;
    transition: max-height 0.3s ease;
}

.detail-panel.open {
    padding: 16px;
}

.detail-row + .detail-row {
    margin-top: 12px;
}

.detail-label {
    font-weight: bold;
    color: #1f3b53;
    display: block;
    margin-bottom: 4px;
}

.detail-value {
    color: #2c3e50;
    white-space: pre-line;
}

.item-status {
    font-size: 0.9rem;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.item-status.completed {
    background: #27ae60;
    color: white;
}

.item-status.current {
    background: #3498db;
    color: white;
    animation: pulse 2s infinite;
}

.item-status.upcoming {
    background: #95a5a6;
    color: white;
}

.program-item.empty {
    justify-content: center;
    text-align: center;
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
        margin: 10px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .program-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .controls button {
        display: block;
        width: 100%;
        margin: 5px 0;
    }
}
