:root {
    --glass-bg: rgba(30, 41, 59, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --accent-glow: rgba(212, 168, 83, 0.15);
}

.schedule-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    color: var(--text-primary);
}

.schedule-header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease-out;
}

.schedule-header h1 {
    font-size: 2.2rem;
    background: linear-gradient(135deg, var(--accent-primary), #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    font-weight: 800;
}

.schedule-header p {
    color: var(--text-secondary);
    font-size: 15px;
}

.day-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.day-tab {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.day-tab:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.day-tab.active {
    background: var(--accent-primary);
    color: #fff;
    border-color: var(--accent-primary);
    box-shadow: 0 8px 16px var(--accent-glow);
}

.day-tab .badge-count {
    position: absolute;
    top: -8px;
    left: -8px;
    background: var(--accent-primary);
    color: #fff;
    font-size: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-body);
}

.day-tab.today::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 8px #ef4444;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.airing-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.airing-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(10, 10, 26, 0.3);
}

.airing-card-img {
    width: 100px;
    object-fit: cover;
    flex-shrink: 0;
}

.airing-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    text-align: right;
}

.airing-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.airing-card-meta {
    font-size: 13px;
    color: var(--accent-primary);
    font-weight: 700;
    margin-bottom: 12px;
}

.airing-card-footer {
    border-top: 1px solid var(--glass-border);
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.airing-card-countdown {
    font-size: 13px;
    color: #10b981;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.airing-card-time {
    font-size: 11px;
    color: var(--text-secondary);
    opacity: 0.7;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: var(--glass-bg);
    border-radius: 20px;
    border: 1px dashed var(--glass-border);
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 50px;
    margin-bottom: 20px;
    opacity: 0.2;
}

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

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

@media (max-width: 600px) {
    .schedule-grid {
        grid-template-columns: 1fr;
    }
}
